1 instantiation of LambdaNode
Microsoft.ML.Transforms (1)
Expression\LambdaParser.cs (1)
392return new LambdaNode(tok ?? tokFirst, items.ToArray(), expr);
29 references to LambdaNode
Microsoft.ML.Transforms (29)
Expression\CodeGen.cs (3)
25private readonly LambdaNode _top; 29public static Delegate Compile(out List<Error> errors, LambdaNode node) 37private LambdaCompiler(LambdaNode node)
Expression\LambdaBinder.cs (4)
29private LambdaNode _lambda; 51public static void Run(IHostEnvironment env, ref List<Error> errors, LambdaNode node, Action<string> printError) 183public override bool PreVisit(LambdaNode node) 198public override void PostVisit(LambdaNode node)
Expression\LambdaParser.cs (4)
152public static LambdaNode Parse(out List<Error> errors, out List<int> lineMap, CharCursor chars, int[] perm, params DataViewType[] types) 163private LambdaNode ParseCore(out List<Error> errors, out List<int> lineMap, CharCursor chars, int[] perm, DataViewType[] types) 178LambdaNode node = ParseLambda(TokCur); 365private LambdaNode ParseLambda(Token tokFirst)
Expression\Node.cs (11)
126public virtual bool PreVisit(LambdaNode node) { return true; } 136public abstract void PostVisit(LambdaNode node); 150public abstract void Visit(LambdaNode node); 161public override bool PreVisit(LambdaNode node) { Visit(node); return false; } 171public override void PostVisit(LambdaNode node) { Contracts.Assert(false); } 188public override void PostVisit(LambdaNode node) { Contracts.Assert(false); } 217public virtual LambdaNode AsPredicate { get { return Cast<LambdaNode>(); } } 218public virtual LambdaNode TestPredicate { get { return null; } } 617public override LambdaNode AsPredicate { get { return this; } } 618public override LambdaNode TestPredicate { get { return this; } }
Expression\Printer.cs (1)
365public override void Visit(LambdaNode node)
ExpressionTransformer.cs (6)
87internal static LambdaNode ParseAndBindLambda(IHostEnvironment env, string expression, int ivec, DataViewType[] inputTypes, out int[] perm) 102var node = LambdaParser.Parse(out List<Error> errors, out List<int> lineMap, chars, perm, inputTypes); 163var node = ParseAndBindLambda(_host, _columns[i].Expression, ivec, inputTypes, out var perm); 184var node = ParseAndBindLambda(_host, _columns[i].Expression, ivec, inputTypes, out var perm); 258public ColumnInfo(IExceptionContext ectx, string[] inputColumnNames, DataViewType[] inputTypes, string expression, string outputColumnName, int vectorInputColumn, LambdaNode node, int[] perm) 378var node = ExpressionEstimator.ParseAndBindLambda(env, expression, vectorInputColumn, inputTypes, out var perm);