Class MultipleElementSymbol

    • Constructor Detail

      • MultipleElementSymbol

        public MultipleElementSymbol()
      • MultipleElementSymbol

        public MultipleElementSymbol​(String name)
        Construct a multiple element symbol
        Parameters:
        name - Name of the symbol
    • Method Detail

      • getType

        public Class<?> getType()
        Description copied from interface: Expression
        Get the return type of this expression.
        Specified by:
        getType in interface Expression
        Returns:
        Java class may be null prior to being resolved
      • getElementSymbols

        public List<ElementSymbol> getElementSymbols()
        Get the element symbols referred to by this multiple element symbol
        Returns:
        List of ElementSymbols, may be null
      • addElementSymbol

        public void addElementSymbol​(ElementSymbol symbol)
        Add an element symbol referenced by this multiple element symbol
        Parameters:
        symbol - Element symbol referenced by this multiple element symbol
      • acceptVisitor

        public void acceptVisitor​(LanguageVisitor visitor)
        Description copied from interface: LanguageObject
        Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.
        Specified by:
        acceptVisitor in interface LanguageObject
        Parameters:
        visitor - Visitor being used
      • clone

        public Object clone()
        Return a deep copy of this object
        Specified by:
        clone in interface LanguageObject
        Overrides:
        clone in class Object
        Returns:
        Deep copy of this object
      • getGroup

        public GroupSymbol getGroup()
        Returns:
        null if selecting all groups, otherwise the specific group
      • setGroup

        public void setGroup​(GroupSymbol group)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object