Class BetweenExpNode

  • All Implemented Interfaces:
    ExpNode

    public class BetweenExpNode
    extends BinaryExpNode
    Addition node
    • Constructor Detail

      • BetweenExpNode

        public BetweenExpNode()
    • Method Detail

      • visit

        public <T> T visit​(ExpNodeVisitor<T> visitor)
        Description copied from interface: ExpNode
        Generic evaluation visitor
        Returns:
      • precedence

        public int precedence()
        Description copied from interface: ExpNode
        Precedence of this expression node. Used to parse the expression into the correct tree. We use 0 to represent the highest precedence
        Returns: