Class ExpressionFactory.VariableImpl

    • Field Detail

      • type

        private Type type
      • ident

        private java.lang.String ident
      • available

        private boolean available
    • Method Detail

      • ident

        public java.lang.String ident()
        Description copied from interface: Variable
        Return the name of this variable.
        Specified by:
        ident in interface Variable
      • isAvailable

        public boolean isAvailable()
        Description copied from interface: VariableInternal
        Returns true if this variable is still in scope. Only variables still in scope may be referenced in expressions.
        Specified by:
        isAvailable in interface VariableInternal
      • close

        public void close()
        Description copied from interface: VariableInternal
        Mark the variable so that it is no longer in scope.
        Specified by:
        close in interface VariableInternal
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class NodeBase
      • type

        public Type type()
        Description copied from interface: Variable
        Return the type of this variable.
        Specified by:
        type in interface ExpressionInternal
        Specified by:
        type in interface Variable
        Returns:
        The variable type.