10 instantiations of BinaryOpNode
Microsoft.ML.Transforms (10)
Expression\LambdaParser.cs (10)
466
node = new
BinaryOpNode
(TokMove(), BinaryOp.Power, node, ParseExpr(Precedence.PrefixUnary));
472
node = new
BinaryOpNode
(TokMove(), BinaryOp.Mul, node, ParseExpr(Precedence.Mul + 1));
477
node = new
BinaryOpNode
(TokMove(), BinaryOp.Div, node, ParseExpr(Precedence.Mul + 1));
482
node = new
BinaryOpNode
(TokMove(), BinaryOp.Mod, node, ParseExpr(Precedence.Mul + 1));
488
node = new
BinaryOpNode
(TokMove(), BinaryOp.Sub, node, ParseExpr(Precedence.Add + 1));
493
node = new
BinaryOpNode
(TokMove(), BinaryOp.Add, node, ParseExpr(Precedence.Add + 1));
500
node = new
BinaryOpNode
(TokMove(), BinaryOp.And, node, ParseExpr(Precedence.And + 1));
506
node = new
BinaryOpNode
(TokMove(), BinaryOp.Or, node, ParseExpr(Precedence.Or + 1));
514
node = new
BinaryOpNode
(TokMove(), BinaryOp.Coalesce, node, ParseExpr(Precedence.Coalesce));
566
node = new
BinaryOpNode
(TokCur, BinaryOp.Error, node, ParseExpr(Precedence.Error));
27 references to BinaryOpNode
Microsoft.ML.Transforms (27)
Expression\CodeGen.cs (5)
446
public override bool PreVisit(
BinaryOpNode
node)
501
private void GenBoolBinOp(
BinaryOpNode
node)
531
private void GenNumBinOp(
BinaryOpNode
node)
692
private void GenCoalesce(
BinaryOpNode
node)
711
public override void PostVisit(
BinaryOpNode
node)
Expression\LambdaBinder.cs (11)
308
public override void PostVisit(
BinaryOpNode
node)
354
private void ApplyBoolBinOp(
BinaryOpNode
node)
422
private void ApplyNumericBinOp(
BinaryOpNode
node)
508
private void ReduceBinOp(
BinaryOpNode
node, I4? a, I4? b)
546
private void ReduceBinOp(
BinaryOpNode
node, I8? a, I8? b)
584
private void ReduceBinOp(
BinaryOpNode
node, R4? a, R4? b)
652
private void ReduceBinOp(
BinaryOpNode
node, R8? a, R8? b)
724
private I4 BinOp(
BinaryOpNode
node, I4 v1, I4 v2)
746
private I8 BinOp(
BinaryOpNode
node, I8 v1, I8 v2)
768
private R4 BinOp(
BinaryOpNode
node, R4 v1, R4 v2)
792
private R8 BinOp(
BinaryOpNode
node, R8 v1, R8 v2)
Expression\Node.cs (10)
128
public virtual bool PreVisit(
BinaryOpNode
node) { return true; }
138
public abstract void PostVisit(
BinaryOpNode
node);
152
public abstract void Visit(
BinaryOpNode
node);
163
public override bool PreVisit(
BinaryOpNode
node) { Visit(node); return false; }
173
public override void PostVisit(
BinaryOpNode
node) { Contracts.Assert(false); }
223
public virtual
BinaryOpNode
AsBinaryOp { get { return Cast<
BinaryOpNode
>(); } }
224
public virtual
BinaryOpNode
TestBinaryOp { get { return null; } }
903
public override
BinaryOpNode
AsBinaryOp { get { return this; } }
904
public override
BinaryOpNode
TestBinaryOp { get { return this; } }
Expression\Printer.cs (1)
403
public override void Visit(
BinaryOpNode
node)