System\Data\Common\EntitySql\CqlParser.cs (211)
146yyval=(object)0;
1970yyval = val_peek(yym-1);
1977yyval = _parsedTree = null;
1983yyval = _parsedTree = (Node)val_peek(0);
1989yyval = new Command(ToNodeList<NamespaceImport>(val_peek(1)),(Statement)val_peek(0));
1996yyval = null;
2002yyval = val_peek(0);
2008yyval = new NodeList<NamespaceImport>((NamespaceImport)val_peek(0));
2015yyval = ToNodeList<NamespaceImport>(val_peek(1)).Add((NamespaceImport)val_peek(0));
2021yyval = new NamespaceImport((Identifier)val_peek(1));
2028yyval = new NamespaceImport((DotExpr)val_peek(1));
2035yyval = new NamespaceImport((BuiltInExpr)val_peek(1));
2042yyval = new QueryStatement(ToNodeList<AST.FunctionDefinition>(val_peek(2)),(Node)val_peek(1));
2049yyval = null;
2055yyval = val_peek(0);
2061yyval = new NodeList<AST.FunctionDefinition>((AST.FunctionDefinition)val_peek(0));
2068yyval = ToNodeList<AST.FunctionDefinition>(val_peek(1)).Add((AST.FunctionDefinition)val_peek(0));
2075yyval = new AST.FunctionDefinition((Identifier)val_peek(5), ToNodeList<PropDefinition>(val_peek(4)), (Node)val_peek(1), Terminal(val_peek(6)).IPos, Terminal(val_peek(0)).IPos);
2082yyval = null;
2088yyval = val_peek(1);
2094yyval = new NodeList<PropDefinition>((PropDefinition)val_peek(0));
2101yyval = ToNodeList<PropDefinition>(val_peek(2)).Add((PropDefinition)val_peek(0));
2108yyval = new PropDefinition((Identifier)val_peek(1), (Node)val_peek(0));
2115yyval = val_peek(0);
2121yyval = val_peek(0);
2127yyval = null;
2133yyval = null;
2139yyval = new QueryExpr( (SelectClause)val_peek(5) ,
2158yyval = new SelectClause(ToNodeList<AliasedExpr>(val_peek(0)), SelectKind.Row, (DistinctKind)val_peek(2), (Node)val_peek(1), EndMethodExprCounting());
2171yyval = new SelectClause(ToNodeList<AliasedExpr>(val_peek(0)), SelectKind.Value, (DistinctKind)val_peek(2), (Node)val_peek(1), EndMethodExprCounting());
2178yyval = DistinctKind.None;
2184yyval = DistinctKind.All;
2190yyval = DistinctKind.Distinct;
2196yyval = null;
2202yyval = val_peek(1);
2209yyval = new FromClause(ToNodeList<FromClauseItem>(val_peek(0)));
2216yyval = new NodeList<FromClauseItem>((FromClauseItem)val_peek(0));
2223yyval = ToNodeList<FromClauseItem>(val_peek(2)).Add((FromClauseItem)val_peek(0));
2230yyval = new FromClauseItem((AliasedExpr)val_peek(0));
2237yyval = new FromClauseItem((JoinClauseItem)val_peek(1));
2244yyval = new FromClauseItem((JoinClauseItem)val_peek(0));
2251yyval = new FromClauseItem((ApplyClauseItem)val_peek(1));
2258yyval = new FromClauseItem((ApplyClauseItem)val_peek(0));
2265yyval = new JoinClauseItem((FromClauseItem)val_peek(2), (FromClauseItem)val_peek(0), (JoinKind)val_peek(1));
2272yyval = new JoinClauseItem((FromClauseItem)val_peek(4), (FromClauseItem)val_peek(2), (JoinKind)val_peek(3), (Node)val_peek(0));
2279yyval = new ApplyClauseItem((FromClauseItem)val_peek(2), (FromClauseItem)val_peek(0), (ApplyKind)val_peek(1));
2286yyval = JoinKind.Cross;
2292yyval = JoinKind.LeftOuter;
2298yyval = JoinKind.LeftOuter;
2304yyval = JoinKind.RightOuter;
2310yyval = JoinKind.RightOuter;
2316yyval = JoinKind.Inner;
2322yyval = JoinKind.Inner;
2328yyval = JoinKind.FullOuter;
2334yyval = JoinKind.FullOuter;
2340yyval = JoinKind.FullOuter;
2346yyval = ApplyKind.Cross;
2352yyval = ApplyKind.Outer;
2358yyval = null;
2364yyval = val_peek(0);
2370yyval = (Node)val_peek(0);
2377yyval = null;
2383yyval = val_peek(0);
2389yyval = new GroupByClause(ToNodeList<AliasedExpr>(val_peek(0)));
2396yyval = null;
2402yyval = val_peek(0);
2414yyval = new HavingClause((Node)val_peek(0), EndMethodExprCounting());
2421yyval = null;
2427yyval = val_peek(0);
2439yyval = new OrderByClause(ToNodeList<OrderByClauseItem>(val_peek(2)), (Node)val_peek(1), (Node)val_peek(0), EndMethodExprCounting());
2446yyval = null;
2452yyval = val_peek(0);
2459yyval = null;
2465yyval = val_peek(0);
2472yyval = new NodeList<OrderByClauseItem>((OrderByClauseItem)val_peek(0));
2479yyval = ToNodeList<OrderByClauseItem>(val_peek(2)).Add((OrderByClauseItem)val_peek(0));
2486yyval = new OrderByClauseItem((Node)val_peek(1), (OrderKind)val_peek(0));
2493yyval = new OrderByClauseItem((Node)val_peek(3), (OrderKind)val_peek(0), (Identifier)val_peek(1));
2500yyval = OrderKind.None;
2506yyval = OrderKind.Asc;
2512yyval = OrderKind.Desc;
2518yyval = new NodeList<Node>((Node)val_peek(0));
2525yyval = ToNodeList<Node>(val_peek(2)).Add((Node)val_peek(0));
2532yyval = val_peek(0);
2538yyval = (QueryParameter)val_peek(0);
2544yyval = (Identifier)val_peek(0);
2550yyval = val_peek(0);
2556yyval = val_peek(0);
2562yyval = val_peek(0);
2568yyval = val_peek(0);
2574yyval = val_peek(0);
2580yyval = val_peek(0);
2587yyval = val_peek(0);
2594yyval = val_peek(0);
2600yyval = val_peek(0);
2606yyval = val_peek(0);
2612yyval = val_peek(0);
2618yyval = new ParenExpr((Node)val_peek(1));
2625yyval = new NodeList<Node>((Node)val_peek(2)).Add((Node)val_peek(0));
2631yyval = new NodeList<Node>((Node)val_peek(3)).Add((Node)val_peek(0));
2637yyval = new BuiltInExpr(BuiltInKind.Plus, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2644yyval = new BuiltInExpr(BuiltInKind.Minus, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2651yyval = new BuiltInExpr(BuiltInKind.Multiply, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2658yyval = new BuiltInExpr(BuiltInKind.Divide, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2665yyval = new BuiltInExpr(BuiltInKind.Modulus, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2676yyval = val_peek(0);
2680yyval = new BuiltInExpr(BuiltInKind.UnaryMinus, Terminal(val_peek(1)).Token, (Node)val_peek(0));
2693yyval = val_peek(0);
2697yyval = new BuiltInExpr(BuiltInKind.UnaryPlus, Terminal(val_peek(1)).Token, (Node)val_peek(0));
2705yyval = new BuiltInExpr(BuiltInKind.NotEqual, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2712yyval = new BuiltInExpr(BuiltInKind.GreaterThan, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2719yyval = new BuiltInExpr(BuiltInKind.GreaterEqual, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2726yyval = new BuiltInExpr(BuiltInKind.LessThan, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2733yyval = new BuiltInExpr(BuiltInKind.LessEqual, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2740yyval = new BuiltInExpr(BuiltInKind.Intersect, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2747yyval = new BuiltInExpr(BuiltInKind.Union, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2754yyval = new BuiltInExpr(BuiltInKind.UnionAll, Terminal(val_peek(2)).Token, (Node)val_peek(3), (Node)val_peek(0));
2761yyval = new BuiltInExpr(BuiltInKind.Except, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2768yyval = new BuiltInExpr(BuiltInKind.Overlaps, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2775yyval = new BuiltInExpr(BuiltInKind.In, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2782yyval = new BuiltInExpr(BuiltInKind.NotIn, Terminal(val_peek(2)).Token, (Node)val_peek(3), (Node)val_peek(0));
2789yyval = new BuiltInExpr(BuiltInKind.Exists, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2796yyval = new BuiltInExpr(BuiltInKind.AnyElement, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2803yyval = new BuiltInExpr(BuiltInKind.Element, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2810yyval = new BuiltInExpr(BuiltInKind.Flatten, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2817yyval = new BuiltInExpr(BuiltInKind.Distinct, Terminal(val_peek(3)).Token, (Node)val_peek(1));
2824yyval = new BuiltInExpr(BuiltInKind.IsNull, "IsNull", (Node)val_peek(2));
2831yyval = new BuiltInExpr(BuiltInKind.IsNotNull, "IsNotNull", (Node)val_peek(3));
2838yyval = (CaseExpr)val_peek(0);
2844yyval = new BuiltInExpr(BuiltInKind.Treat, Terminal(val_peek(5)).Token, (Node)val_peek(3), (Node)val_peek(1));
2851yyval = new BuiltInExpr(BuiltInKind.Cast, Terminal(val_peek(5)).Token, (Node)val_peek(3), (Node)val_peek(1));
2858yyval = new BuiltInExpr(BuiltInKind.OfType,
2870yyval = new BuiltInExpr(BuiltInKind.OfType,
2882yyval = new BuiltInExpr( BuiltInKind.IsOf,
2896yyval = new BuiltInExpr( BuiltInKind.IsOf,
2910yyval = new BuiltInExpr( BuiltInKind.IsOf,
2924yyval = new BuiltInExpr( BuiltInKind.IsOf,
2938yyval = new BuiltInExpr(BuiltInKind.Like, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
2945yyval = new BuiltInExpr(BuiltInKind.Not,
2954yyval = new BuiltInExpr(BuiltInKind.Like, Terminal(val_peek(3)).Token, (Node)val_peek(4), (Node)val_peek(2), (Node)val_peek(0));
2961yyval = new BuiltInExpr(BuiltInKind.Not,
2972yyval = new BuiltInExpr(BuiltInKind.Between, "between", elist[0], elist[1], (Node)val_peek(0) );
2981yyval = new BuiltInExpr(BuiltInKind.NotBetween, "notbetween", elist[0], elist[1], (Node)val_peek(0) );
2988yyval = new BuiltInExpr(BuiltInKind.Or, "or", (Node)val_peek(2), (Node)val_peek(0));
2995yyval = new BuiltInExpr(BuiltInKind.Not, "not", (Node)val_peek(0));
3002yyval = new BuiltInExpr(BuiltInKind.And, "and", (Node)val_peek(2), (Node)val_peek(0));
3009yyval = val_peek(0);
3015yyval = val_peek(0);
3021yyval = val_peek(0);
3027yyval = new BuiltInExpr(BuiltInKind.Equal, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
3034yyval = new BuiltInExpr(BuiltInKind.Equal, Terminal(val_peek(1)).Token, (Node)val_peek(2), (Node)val_peek(0));
3041yyval = new AliasedExpr((Node)val_peek(2), (Identifier)val_peek(0));
3048yyval = new AliasedExpr((Node)val_peek(0));
3055yyval = new NodeList<AliasedExpr>((AliasedExpr)val_peek(0));
3062yyval = ToNodeList<AliasedExpr>(val_peek(2)).Add((AliasedExpr)val_peek(0));
3069yyval = new CaseExpr(ToNodeList<WhenThenExpr>(val_peek(1)));
3076yyval = new CaseExpr(ToNodeList<WhenThenExpr>(val_peek(2)), (Node)val_peek(1));
3083yyval = new NodeList<WhenThenExpr>(new WhenThenExpr((Node)val_peek(2), (Node)val_peek(0)));
3090yyval = ToNodeList<WhenThenExpr>(val_peek(4)).Add(new WhenThenExpr((Node)val_peek(2), (Node)val_peek(0)));
3096yyval = (Node)val_peek(0);
3103yyval = new RowConstructorExpr(ToNodeList<AliasedExpr>(val_peek(1)));
3110yyval = new MultisetConstructorExpr(ToNodeList<Node>(val_peek(1)));
3117yyval = new MultisetConstructorExpr(ToNodeList<Node>(val_peek(1)));
3124yyval = new DotExpr((Node)val_peek(2), (Identifier)val_peek(0));
3131yyval = new RefExpr((Node)val_peek(1));
3138yyval = new DerefExpr((Node)val_peek(1));
3145yyval = new CreateRefExpr((Node)val_peek(3), (Node)val_peek(1));
3152yyval = new CreateRefExpr((Node)val_peek(5), (Node)val_peek(3), (Node)val_peek(1));
3159yyval = new KeyExpr((Node)val_peek(1));
3166yyval = new GroupPartitionExpr((DistinctKind)val_peek(2), (Node)val_peek(1));
3173yyval = new MethodExpr((Node)val_peek(2), DistinctKind.None, null);
3180yyval = new MethodExpr((Node)val_peek(5), (DistinctKind)val_peek(3), ToNodeList<Node>(val_peek(2)), ToNodeList<RelshipNavigationExpr>(val_peek(0)));
3187yyval = new MethodExpr((Node)val_peek(5), (DistinctKind)val_peek(3), new NodeList<Node>((Node)val_peek(2)), ToNodeList<RelshipNavigationExpr>(val_peek(0)));
3194yyval = new MethodExpr((Identifier)val_peek(2), DistinctKind.None, null);
3201yyval = new MethodExpr((Identifier)val_peek(5), (DistinctKind)val_peek(3), ToNodeList<Node>(val_peek(2)), ToNodeList<RelshipNavigationExpr>(val_peek(0)));
3208yyval = new MethodExpr((Identifier)val_peek(5),(DistinctKind)val_peek(3), new NodeList<Node>((Node)val_peek(2)), ToNodeList<RelshipNavigationExpr>(val_peek(0)));
3215yyval = new RelshipNavigationExpr((Node)val_peek(3), (Node)val_peek(1), null, null);
3222yyval = new RelshipNavigationExpr((Node)val_peek(5), (Node)val_peek(3), (Identifier)val_peek(1), null);
3229yyval = new RelshipNavigationExpr((Node)val_peek(7), (Node)val_peek(5), (Identifier)val_peek(3), (Identifier)val_peek(1));
3236yyval = null;
3242yyval = val_peek(0);
3248yyval = new NodeList<RelshipNavigationExpr>((RelshipNavigationExpr)val_peek(0));
3255yyval = ToNodeList<RelshipNavigationExpr>(val_peek(1)).Add((RelshipNavigationExpr)val_peek(0));
3262yyval = new RelshipNavigationExpr((Node)val_peek(3), (Node)val_peek(1), null, null);
3269yyval = new RelshipNavigationExpr((Node)val_peek(5), (Node)val_peek(3), null, (Identifier)val_peek(1));
3276yyval = new RelshipNavigationExpr((Node)val_peek(7), (Node)val_peek(5), (Identifier)val_peek(1), (Identifier)val_peek(3));
3283yyval = val_peek(0);
3290yyval = val_peek(0);
3303yyval = new Identifier(identifier.Name + "[]", /*isEscaped*/false, _query, AstNodePos(val_peek(1)));
3317yyval = new DotExpr(dotExpr.Left, new Identifier(identifier.Name + "[]", /*isEscaped*/false, _query, AstNodePos(val_peek(1))));
3324yyval = (MethodExpr)val_peek(0);
3331yyval = new DotExpr((Node)val_peek(2), (Identifier)val_peek(0));
3338yyval = new MethodExpr((Node)val_peek(2), DistinctKind.None, null);
3345yyval = new MethodExpr((Node)val_peek(3), DistinctKind.None, ToNodeList<Node>(val_peek(1)));
3352yyval = new MethodExpr((Identifier)val_peek(2), DistinctKind.None, null);
3359yyval = new MethodExpr((Identifier)val_peek(3), DistinctKind.None, ToNodeList<Node>(val_peek(1)));
3366yyval = (Identifier)val_peek(0);
3373yyval = (Identifier)val_peek(0);
3380yyval = (Identifier)val_peek(0);
3386yyval = val_peek(0);
3393yyval = new Literal(null, LiteralKind.Null, _query, TerminalPos(val_peek(0)));
3400yyval = val_peek(0);
3406yyval = val_peek(0);
3412yyval = val_peek(0);
3418yyval = val_peek(0);
3424yyval = new CollectionTypeDefinition((Node)val_peek(1));
3431yyval = new RefTypeDefinition((Node)val_peek(1));
3438yyval = new RowTypeDefinition(ToNodeList<PropDefinition>(val_peek(1)));
3445yyval = new NodeList<PropDefinition>((PropDefinition)val_peek(0));
3452yyval = ToNodeList<PropDefinition>(val_peek(2)).Add((PropDefinition)val_peek(0));
3459yyval = new PropDefinition((Identifier)val_peek(1), (Node)val_peek(0));