Class ASTVariableDeclarator

    • Method Detail

      • getName

        public String getName()
        Returns the name of the declared variable.
      • hasInitializer

        public boolean hasInitializer()
        Returns true if the declared variable is initialized. Otherwise, getInitializer() returns null.
      • getInitializer

        public ASTVariableInitializer getInitializer()
        Returns the initializer, of the variable, or null if it doesn't exist.