AST
node type ParamDecl

General Info

Production
ParamDecl : VarDecl;
Type Hierarchy:
java.lang.Object
  extended by AST.ASTNode<ASTNode>
      extended by AST.BlockStmt
          extended by AST.Decl
              extended by AST.VarDecl
                  extended by AST.ParamDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in spec/picojava-method.ast at line 3

Member Filters

API level:

Aspect:

Constructors

public ParamDecl()
public ParamDecl(java.lang.String p0,
                 Access p1)

Methods

public ParamDecl clone()
                throws java.lang.CloneNotSupportedException
Overrides:clone in class VarDecl
Throws:
java.lang.CloneNotSupportedException
public ParamDecl copy()
Overrides:copy in class VarDecl
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class VarDecl
Returns:
dangling copy of the subtree at this node
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class VarDecl
protected int numChildren()
Overrides:numChildren in class VarDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class VarDecl
public void flushCache()
Overrides:flushCache in class VarDecl
public void flushCollectionCache()
Overrides:flushCollectionCache in class VarDecl
public void setName(java.lang.String value)
Replaces the lexeme Name.
Overrides:setName in class VarDecl
Parameters:
value - The new value for the lexeme Name.
public java.lang.String getName()
Retrieves the value for the lexeme Name.
Overrides:getName in class VarDecl
Returns:
The value for the lexeme Name.
public void setType(Access node)
Replaces the Type child.
Overrides:setType in class VarDecl
Parameters:
node - The new node to replace the Type child.
public Access getType()
Retrieves the Type child.
Overrides:getType in class VarDecl
Returns:
The current node used as the Type child.
Retrieves the Type child.

This method does not invoke AST transformations.

Overrides:getTypeNoTransform in class VarDecl
Returns:
The current node used as the Type child.
Overrides:rewriteTo in class VarDecl

Inherited Members