3 instantiations of Literal
System.Data.Entity (3)
System\Data\Common\EntitySql\AST\Literal.cs (1)
63
internal static Literal NewBooleanLiteral(bool value) { return new
Literal
(value); }
System\Data\Common\EntitySql\CqlLexerHelpers.cs (1)
600
return NewToken(CqlParser.LITERAL, new AST.
Literal
(literalValue, literalKind, _query, _iPos));
System\Data\Common\EntitySql\CqlParser.cs (1)
3393
yyval = new
Literal
(null, LiteralKind.Null, _query, TerminalPos(val_peek(0)));
26 references to Literal
System.Data.Entity (26)
System\Data\Common\EntitySql\AST\Literal.cs (1)
63
internal static
Literal
NewBooleanLiteral(bool value) { return new Literal(value); }
System\Data\Common\EntitySql\CqlParser.cs (14)
2672
Literal
literal = val_peek(0) as
Literal
;
2689
Literal
literal = val_peek(0) as
Literal
;
2862
Literal
.NewBooleanLiteral( false ) /* only */);
2874
Literal
.NewBooleanLiteral( true ) /* only */);
2886
Literal
.NewBooleanLiteral( false ), /* only */
2887
Literal
.NewBooleanLiteral( false ) /* not */
2900
Literal
.NewBooleanLiteral( false ), /* only */
2901
Literal
.NewBooleanLiteral( true ) /* not */
2914
Literal
.NewBooleanLiteral( true ), /* only */
2915
Literal
.NewBooleanLiteral( false ) /* not */
2928
Literal
.NewBooleanLiteral( true ), /* only */
2929
Literal
.NewBooleanLiteral( true ) /* not */
System\Data\Common\EntitySql\SemanticAnalyzer.cs (11)
604
AST.
Literal
literal = (AST.
Literal
)expr;
619
private static TypeUsage GetLiteralTypeUsage(AST.
Literal
literal)
2401
if (!(arg is AST.
Literal
))
2428
ConvertTypeFacetValue(primitiveType, (AST.
Literal
)typeSpecArgs[0], DbProviderManifest.PrecisionFacetName, out precision);
2436
ConvertTypeFacetValue(primitiveType, (AST.
Literal
)typeSpecArgs[1], DbProviderManifest.ScaleFacetName, out scale);
2450
private static void ConvertTypeFacetValue(PrimitiveType type, AST.
Literal
value, string facetName, out byte byteValue)
4350
astExprConverters.Add(typeof(AST.
Literal
), new AstExprConverter(ConvertLiteral));
4889
bool isOnly = (bool)((AST.
Literal
)bltInExpr.Arg3).Value;
4890
bool isNot = (bool)((AST.
Literal
)bltInExpr.Arg4).Value;
5071
bool isOnly = (bool)((AST.
Literal
)bltInExpr.Arg3).Value;