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