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