Esempio n. 1
0
 public void Visit(EqualsOperator node)
 {
     VisitBinary(node);
     CheckOperandsAreOfSameType(node);
 }
Esempio n. 2
0
        public void Visit(EqualsOperator 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(EqualsOperator node)
 {
 }
Esempio n. 4
0
 public override void ExitOperatorEquals(QLParser.OperatorEqualsContext context)
 {
     BinaryTreeElementBase op = new EqualsOperator(SourceLocation.CreateFor(context));
     AppendToAST(op);
 }