예제 #1
0
 public override void EnterLogicOr([NotNull] CmanParser.LogicOrContext context)
 {
     _nodes.Push(new ASTLogicOrOpNode(context, _nodes.Peek()));
 }
예제 #2
0
 public override void ExitLogicOr([NotNull] CmanParser.LogicOrContext context)
 {
     ProcessBinOp((IASTBinOpNode)_nodes.ElementAt(2));
 }
예제 #3
0
 public ASTLogicOrOpNode(CmanParser.LogicOrContext context, ASTNode parent)
     : base(parent)
 {
     SetLocation(context);
 }