public void Visit(LessThanOperator node)
 {
     VisitBinary(node);
     CheckOperandsAreOfSameType(node);
 }
        public void Visit(LessThanOperator 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(LessThanOperator node)
 {
 }
Beispiel #4
0
 public override void ExitOperatorLessThan(QLParser.OperatorLessThanContext context)
 {
     BinaryTreeElementBase op = new LessThanOperator(SourceLocation.CreateFor(context));
     AppendToAST(op);
 }