Enum AbstractContentAssistVisitor.IdentificationVariableType

    • Method Detail

      • values

        public static AbstractContentAssistVisitor.IdentificationVariableType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AbstractContentAssistVisitor.IdentificationVariableType c : AbstractContentAssistVisitor.IdentificationVariableType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AbstractContentAssistVisitor.IdentificationVariableType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • add

        protected abstract boolean add​(AbstractContentAssistVisitor contentAssist,
                                       Declaration declaration,
                                       Expression expression)
        Adds the identification variables defined in the given Declaration.
        Parameters:
        contentAssist - Backpointer to the content assist class
        declaration - The Declaration in the order they are declared in the declaration clause
        expression - The Expression being visited, which can help to determine when to stop collecting identification variables