AST
node type VariableArityParameterDeclaration

General Info

Production
VariableArityParameterDeclaration : ParameterDeclaration;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.ParameterDeclaration
              extended by AST.VariableArityParameterDeclaration
All Implemented Interfaces:
SimpleSet, Variable, java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator
Direct Known Subclasses:
VariableArityParameterDeclarationSubstituted

Nested classes/interfaces inherited from interface AST.SimpleSet

Description

Source
Declared in Java1.5Frontend/VariableArityParameters.ast at line 1

Member Filters

API level:

Aspect:

Constructors

public VariableArityParameterDeclaration(Modifiers p0,
                                         Access p1,
                                         java.lang.String p2)
 
public VariableArityParameterDeclaration(Modifiers p0,
                                         Access p1,
                                         beaver.Symbol p2)
 

Attributes

syn boolean isVariableArity()
Overrides:isVariableArity in class ParameterDeclaration
Source
Declared in Java1.5Frontend/VariableArityParameters.jrag at line 35
Aspect
VariableArityParameters
inh boolean variableArityValid()
Source
Declared in Java1.5Frontend/VariableArityParameters.jrag at line 26
Aspect
VariableArityParameters

Methods

public void flushCache()
Overrides:flushCache in class ParameterDeclaration
public VariableArityParameterDeclaration clone()
                                        throws java.lang.CloneNotSupportedException
Overrides:clone in class ParameterDeclaration
Throws:
java.lang.CloneNotSupportedException
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ParameterDeclaration
Returns:
dangling copy of the subtree at this node
public void nameCheck()
Overrides:nameCheck in class ParameterDeclaration
Source
Declared in Java1.5Frontend/VariableArityParameters.jrag at line 15
Aspect
VariableArityParameters
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ParameterDeclaration
Source
Declared in Java1.5Frontend/VariableArityParameters.jrag at line 101
Aspect
VariableArityParameters
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ParameterDeclaration
protected int numChildren()
Overrides:numChildren in class ParameterDeclaration
public boolean mayHaveRewrite()
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class ParameterDeclaration
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Specified by:getModifiers in interface VariableOverrides:getModifiers in class ParameterDeclaration
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class ParameterDeclaration
Returns:
The current node used as the Modifiers child.
public void setTypeAccess(Access node)
Replaces the TypeAccess child.
Overrides:setTypeAccess in class ParameterDeclaration
Parameters:
node - The new node to replace the TypeAccess child.
Retrieves the TypeAccess child.
Overrides:getTypeAccess in class ParameterDeclaration
Returns:
The current node used as the TypeAccess child.
Retrieves the TypeAccess child.

This method does not invoke AST transformations.

Overrides:getTypeAccessNoTransform in class ParameterDeclaration
Returns:
The current node used as the TypeAccess child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class ParameterDeclaration
Parameters:
value - The new value for the lexeme ID.
public void setID(beaver.Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
Overrides:setID in class ParameterDeclaration
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class ParameterDeclaration
Returns:
The value for the lexeme ID.
public TypeDecl type()
Overrides:rewriteTo in class ParameterDeclaration

Fields

protected boolean type_computed

Inherited Members

Attributes inherited from AST.ParameterDeclaration

Attributes inherited from AST.ASTNode

Methods inherited from class AST.ParameterDeclaration

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Methods inherited from interface AST.SimpleSet

Methods inherited from interface AST.Variable

Fields inherited from AST.ParameterDeclaration

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value

Fields inherited from interface AST.SimpleSet