10 types derived from ExprNode
Microsoft.ML.Transforms (10)
Expression\Node.cs (10)
711internal sealed class IdentNode : ExprNode 746internal sealed class NumLitNode : ExprNode 809internal sealed class StrLitNode : ExprNode 832internal sealed class BoolLitNode : ExprNode 855internal sealed class UnaryOpNode : ExprNode 883internal sealed class BinaryOpNode : ExprNode 921internal sealed class ConditionalNode : ExprNode 993internal sealed class CallNode : ExprNode 1067internal sealed class CompareNode : ExprNode 1135internal sealed class WithNode : ExprNode
67 references to ExprNode
Microsoft.ML.Transforms (67)
Expression\CodeGen.cs (9)
153private void DoConvert(ExprNode node) 226private bool TryUseValue(ExprNode node) 797ExprNode arg; 869ExprNode arg = items[0].AsExpr; 914ExprNode arg = items[0].AsExpr; 962private void GenRaw(ExprNode node) 1019private void GenBrNa(ExprNode node, Label labNa, bool dup = true) 1029private void GenBrNaCore(ExprNode node, ExprTypeKind kind, Label labNa, bool dup) 1368using (var value = _meth.AcquireTemporary(ExprNode.ToSysType(local.Value.ExprType)))
Expression\LambdaBinder.cs (20)
63var expr = node.Expr; 222private void BadNum(ExprNode arg) 229private void BadNum(ExprNode node, ExprNode arg) 236private void BadText(ExprNode arg) 243private void BadArg(ExprNode arg, ExprTypeKind kind) 259var arg = node.Arg; 299private BL? GetBoolOp(ExprNode arg) 402private void ReconcileNumericTypes(ExprNode a, ExprNode b, out ExprTypeKind kind) 426var left = node.Left; 427var right = node.Right; 823var left = node.Left; 824var right = node.Right; 975ExprNode arg; 1107var arg2 = items[j].AsExpr; 1184var extCur = ExprNode.ToExprTypeKind(type); 1204var extRet = ExprNode.ToExprTypeKind(meth.ReturnType); 1491private object Convert(ExprNode expr, ExprTypeKind kind) 1644private bool ValidateType(ExprNode expr, ref ExprTypeKind itemKind)
Expression\LambdaParser.cs (10)
390ExprNode expr = ParseExpr(); 441private ExprNode ParseExpr() 447private ExprNode ParseExpr(Precedence precMin) 455ExprNode node = ParsePrimary(); 575private ExprNode ParsePrimary() 625private CompareNode ParseCompareExpr(ExprNode node, CompareOp op, TokKind tidLax, TokKind tidStrict) 703private ExprNode ParseParenExpr() 708ExprNode node = ParseExpr(Precedence.None); 755ExprNode body; 791var value = ParseExpr();
Expression\Node.cs (24)
249public virtual ExprNode AsExpr { get { return Cast<ExprNode>(); } } 250public virtual ExprNode TestExpr { get { return null; } } 271public override ExprNode AsExpr { get { return this; } } 272public override ExprNode TestExpr { get { return this; } } 382public void SetValue(ExprNode expr) 603public readonly ExprNode Expr; 607public LambdaNode(Token tok, ParamNode[] vars, ExprNode expr) 857public readonly ExprNode Arg; 860public UnaryOpNode(Token tok, UnaryOp op, ExprNode arg) 885public readonly ExprNode Left; 886public readonly ExprNode Right; 892public BinaryOpNode(Token tok, BinaryOp op, ExprNode left, ExprNode right) 923public readonly ExprNode Cond; 924public readonly ExprNode Left; 926public readonly ExprNode Right; 928public ConditionalNode(Token tok, ExprNode cond, ExprNode left, Token tokColon, ExprNode right) 1138public readonly ExprNode Body; 1140public WithNode(Token tok, WithLocalNode local, ExprNode body) 1171public readonly ExprNode Value; 1183public WithLocalNode(Token tok, string name, ExprNode value)
Expression\Printer.cs (4)
76Contracts.Assert(node is ExprNode); 199private bool TryShowValue(ExprNode node) 212private void ShowValueCore(ExprNode node) 299private void ShowType(ExprNode node)