Esempio n. 1
0
 public void Visit(OrOperator node)
 {
     VisitBinary(node);
     CheckOperandsAreOfSameType(node);
 }
Esempio n. 2
0
        public void Visit(OrOperator node)
        {
            VisitBinary(node);

            ITerminalWrapper leftWrapper = ReferenceTables.GetValue(node.Left);
            ITerminalWrapper rightWrapper = ReferenceTables.GetValue(node.Right);
            ReferenceTables.SetValue(node, ((dynamic)leftWrapper) | ((dynamic)rightWrapper));
        }
 public void Visit(OrOperator node)
 {
 }
Esempio n. 4
0
 public override void ExitOperatorOr(QLParser.OperatorOrContext context)
 {
     BinaryTreeElementBase op = new OrOperator(SourceLocation.CreateFor(context));
     AppendToAST(op);
 }