Expression\LambdaParser.cs (29)
359return TokMove();
389Token tok = TidCur == TokKind.Colon ? TokMove() : TokEat(TokKind.EquGrt);
466node = new BinaryOpNode(TokMove(), BinaryOp.Power, node, ParseExpr(Precedence.PrefixUnary));
472node = new BinaryOpNode(TokMove(), BinaryOp.Mul, node, ParseExpr(Precedence.Mul + 1));
477node = new BinaryOpNode(TokMove(), BinaryOp.Div, node, ParseExpr(Precedence.Mul + 1));
482node = new BinaryOpNode(TokMove(), BinaryOp.Mod, node, ParseExpr(Precedence.Mul + 1));
488node = new BinaryOpNode(TokMove(), BinaryOp.Sub, node, ParseExpr(Precedence.Add + 1));
493node = new BinaryOpNode(TokMove(), BinaryOp.Add, node, ParseExpr(Precedence.Add + 1));
500node = new BinaryOpNode(TokMove(), BinaryOp.And, node, ParseExpr(Precedence.And + 1));
506node = new BinaryOpNode(TokMove(), BinaryOp.Or, node, ParseExpr(Precedence.Or + 1));
514node = new BinaryOpNode(TokMove(), BinaryOp.Coalesce, node, ParseExpr(Precedence.Coalesce));
520node = new ConditionalNode(TokMove(), node, ParseExpr(), TokEat(TokKind.Colon), ParseExpr());
585return new UnaryOpNode(TokMove(), UnaryOp.Minus, ParseExpr(Precedence.PrefixUnary));
590return new UnaryOpNode(TokMove(), UnaryOp.Not, ParseExpr(Precedence.PrefixUnary));
596return new NumLitNode(TokMove().As<NumLitToken>());
599return new BoolLitNode(TokMove());
601return new StrLitNode(TokMove().As<StrLitToken>());
613TokMove();
638ops.Add(TokMove());
669return new IdentNode(TokMove().As<IdentToken>());
679NameNode head = new NameNode(TokMove().As<IdentToken>());
682Token tok = TokMove();
693NameNode ns = new NameNode(TokMove().As<IdentToken>());
695Token tokDot = TokMove();
696NameNode head = new NameNode(TokMove().As<IdentToken>());
698Token tokParen = TokMove();
725Utils.Add(ref commas, TokMove());
740tokWith = TokMove();
749tok = TokMove();