47 instantiations of BuiltInExpr
System.Data.Entity (47)
System\Data\Common\EntitySql\CqlParser.cs (47)
2637
yyval = new
BuiltInExpr
(BuiltInKind.Plus, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2644
yyval = new
BuiltInExpr
(BuiltInKind.Minus, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2651
yyval = new
BuiltInExpr
(BuiltInKind.Multiply, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2658
yyval = new
BuiltInExpr
(BuiltInKind.Divide, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2665
yyval = new
BuiltInExpr
(BuiltInKind.Modulus, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2680
yyval = new
BuiltInExpr
(BuiltInKind.UnaryMinus, Terminal(val_peek(1)).Token, (Node)val_peek(0));
2697
yyval = new
BuiltInExpr
(BuiltInKind.UnaryPlus, Terminal(val_peek(1)).Token, (Node)val_peek(0));
2705
yyval = new
BuiltInExpr
(BuiltInKind.NotEqual, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2712
yyval = new
BuiltInExpr
(BuiltInKind.GreaterThan, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2719
yyval = new
BuiltInExpr
(BuiltInKind.GreaterEqual, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2726
yyval = new
BuiltInExpr
(BuiltInKind.LessThan, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2733
yyval = new
BuiltInExpr
(BuiltInKind.LessEqual, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2740
yyval = new
BuiltInExpr
(BuiltInKind.Intersect, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2747
yyval = new
BuiltInExpr
(BuiltInKind.Union, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2754
yyval = new
BuiltInExpr
(BuiltInKind.UnionAll, Terminal(val_peek(2)).Token, (Node)val_peek(3), (Node)val_peek(0));
2761
yyval = new
BuiltInExpr
(BuiltInKind.Except, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2768
yyval = new
BuiltInExpr
(BuiltInKind.Overlaps, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2775
yyval = new
BuiltInExpr
(BuiltInKind.In, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2782
yyval = new
BuiltInExpr
(BuiltInKind.NotIn, Terminal(val_peek(2)).Token, (Node)val_peek(3), (Node)val_peek(0));
2789
yyval = new
BuiltInExpr
(BuiltInKind.Exists, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2796
yyval = new
BuiltInExpr
(BuiltInKind.AnyElement, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2803
yyval = new
BuiltInExpr
(BuiltInKind.Element, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2810
yyval = new
BuiltInExpr
(BuiltInKind.Flatten, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2817
yyval = new
BuiltInExpr
(BuiltInKind.Distinct, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2824
yyval = new
BuiltInExpr
(BuiltInKind.IsNull, "IsNull", (Node)val_peek(2));
2831
yyval = new
BuiltInExpr
(BuiltInKind.IsNotNull, "IsNotNull", (Node)val_peek(3));
2844
yyval = new
BuiltInExpr
(BuiltInKind.Treat, Terminal(val_peek(5)).Token, (Node)val_peek(3), (Node)val_peek(1));
2851
yyval = new
BuiltInExpr
(BuiltInKind.Cast, Terminal(val_peek(5)).Token, (Node)val_peek(3), (Node)val_peek(1));
2858
yyval = new
BuiltInExpr
(BuiltInKind.OfType,
2870
yyval = new
BuiltInExpr
(BuiltInKind.OfType,
2882
yyval = new
BuiltInExpr
( BuiltInKind.IsOf,
2896
yyval = new
BuiltInExpr
( BuiltInKind.IsOf,
2910
yyval = new
BuiltInExpr
( BuiltInKind.IsOf,
2924
yyval = new
BuiltInExpr
( BuiltInKind.IsOf,
2938
yyval = new
BuiltInExpr
(BuiltInKind.Like, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2945
yyval = new
BuiltInExpr
(BuiltInKind.Not,
2947
new
BuiltInExpr
(BuiltInKind.Like, Terminal(val_peek(1)).Token, (Node)val_peek(3), (Node)val_peek(0)));
2954
yyval = new
BuiltInExpr
(BuiltInKind.Like, Terminal(val_peek(3)).Token, (Node)val_peek(4), (Node)val_peek(2), (Node)val_peek(0));
2961
yyval = new
BuiltInExpr
(BuiltInKind.Not,
2963
new
BuiltInExpr
(BuiltInKind.Like, Terminal(val_peek(3)).Token, (Node)val_peek(5), (Node)val_peek(2), (Node)val_peek(0)));
2972
yyval = new
BuiltInExpr
(BuiltInKind.Between, "between", elist[0], elist[1], (Node)val_peek(0) );
2981
yyval = new
BuiltInExpr
(BuiltInKind.NotBetween, "notbetween", elist[0], elist[1], (Node)val_peek(0) );
2988
yyval = new
BuiltInExpr
(BuiltInKind.Or, "or", (Node)val_peek(2), (Node)val_peek(0));
2995
yyval = new
BuiltInExpr
(BuiltInKind.Not, "not", (Node)val_peek(0));
3002
yyval = new
BuiltInExpr
(BuiltInKind.And, "and", (Node)val_peek(2), (Node)val_peek(0));
3027
yyval = new
BuiltInExpr
(BuiltInKind.Equal, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
3034
yyval = new
BuiltInExpr
(BuiltInKind.Equal, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
50 references to BuiltInExpr
System.Data.Entity (50)
System\Data\Common\EntitySql\AST\NamespaceImport.cs (1)
39
internal NamespaceImport(
BuiltInExpr
bltInExpr)
System\Data\Common\EntitySql\CqlParser.cs (1)
2035
yyval = new NamespaceImport((
BuiltInExpr
)val_peek(1));
System\Data\Common\EntitySql\SemanticAnalyzer.cs (48)
1965
AST.
BuiltInExpr
bltInExpr = (AST.
BuiltInExpr
)astExpr;
1982
private static Pair<DbExpression, DbExpression> ConvertArithmeticArgs(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
2019
private static Pair<DbExpression, DbExpression> ConvertPlusOperands(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
2053
private static Pair<DbExpression, DbExpression> ConvertLogicalArgs(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
2096
private static Pair<DbExpression, DbExpression> ConvertEqualCompArgs(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
2126
private static Pair<DbExpression, DbExpression> ConvertOrderCompArgs(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
2153
private static Pair<DbExpression, DbExpression> ConvertSetArgs(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
2271
private static Pair<DbExpression, DbExpression> ConvertInExprArgs(AST.
BuiltInExpr
astBuiltInExpr, SemanticResolver sr)
4343
private delegate DbExpression BuiltInExprConverter(AST.
BuiltInExpr
astBltInExpr, SemanticResolver sr);
4354
astExprConverters.Add(typeof(AST.
BuiltInExpr
), new AstExprConverter(ConvertBuiltIn));
4383
builtInExprConverter.Add(AST.BuiltInKind.Plus, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4428
builtInExprConverter.Add(AST.BuiltInKind.Minus, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4440
builtInExprConverter.Add(AST.BuiltInKind.Multiply, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4452
builtInExprConverter.Add(AST.BuiltInKind.Divide, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4464
builtInExprConverter.Add(AST.BuiltInKind.Modulus, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4476
builtInExprConverter.Add(AST.BuiltInKind.UnaryMinus, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4497
builtInExprConverter.Add(AST.BuiltInKind.UnaryPlus, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4512
builtInExprConverter.Add(AST.BuiltInKind.And, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4525
builtInExprConverter.Add(AST.BuiltInKind.Or, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4538
builtInExprConverter.Add(AST.BuiltInKind.Not, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4552
builtInExprConverter.Add(AST.BuiltInKind.Equal, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4564
builtInExprConverter.Add(AST.BuiltInKind.NotEqual, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4578
builtInExprConverter.Add(AST.BuiltInKind.GreaterEqual, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4590
builtInExprConverter.Add(AST.BuiltInKind.GreaterThan, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4602
builtInExprConverter.Add(AST.BuiltInKind.LessEqual, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4614
builtInExprConverter.Add(AST.BuiltInKind.LessThan, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4632
builtInExprConverter.Add(AST.BuiltInKind.Union, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4644
builtInExprConverter.Add(AST.BuiltInKind.UnionAll, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4656
builtInExprConverter.Add(AST.BuiltInKind.Intersect, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4668
builtInExprConverter.Add(AST.BuiltInKind.Overlaps, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4680
builtInExprConverter.Add(AST.BuiltInKind.AnyElement, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4690
builtInExprConverter.Add(AST.BuiltInKind.Element, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4700
builtInExprConverter.Add(AST.BuiltInKind.Except, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4712
builtInExprConverter.Add(AST.BuiltInKind.Exists, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4722
builtInExprConverter.Add(AST.BuiltInKind.Flatten, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4750
builtInExprConverter.Add(AST.BuiltInKind.In, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4788
builtInExprConverter.Add(AST.BuiltInKind.NotIn, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4823
builtInExprConverter.Add(AST.BuiltInKind.Distinct, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4840
builtInExprConverter.Add(AST.BuiltInKind.IsNull, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4860
builtInExprConverter.Add(AST.BuiltInKind.IsNotNull, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4884
builtInExprConverter.Add(AST.BuiltInKind.IsOf, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
4962
builtInExprConverter.Add(AST.BuiltInKind.Treat, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
5027
builtInExprConverter.Add(AST.BuiltInKind.Cast, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
5066
builtInExprConverter.Add(AST.BuiltInKind.OfType, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
5131
builtInExprConverter.Add(AST.BuiltInKind.Like, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
5189
builtInExprConverter.Add(AST.BuiltInKind.NotBetween, delegate(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)
5198
private static DbExpression ConvertBetweenExpr(AST.
BuiltInExpr
bltInExpr, SemanticResolver sr)