Class VariableNode

    • Constructor Detail

      • VariableNode

        public VariableNode()
      • VariableNode

        public VariableNode​(TokenPosition tokenPosition)
      • VariableNode

        public VariableNode​(String variableReference)
    • Method Detail

      • getVariableReference

        public String getVariableReference()
      • setVariableReference

        public void setVariableReference​(String variableReference)
      • isStem

        public boolean isStem()
      • getNodeType

        public int getNodeType()
        Description copied from interface: ExpressionInterface
        QDL is not strongly typed but Java is, so each node type should have a unique integer and conditionals should use that, not the instanceof operator. This allows for efficient programming with switch statements rather than a bevy of conditionals (potentially each of which gets done even if the correct case has been handled).
        Returns: