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