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