AST
node type PrimitiveDecl

General Info

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

Description

Source
Declared in ../spec/picojava.ast at line 20

Member Filters

API level:

Aspect:

Constructors

public PrimitiveDecl()
public PrimitiveDecl(java.lang.String p0)

Methods

public PrimitiveDecl clone()
                    throws java.lang.CloneNotSupportedException
Overrides:clone in class TypeDecl
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
public void prettyPrint(java.lang.StringBuilder sb,
                        int t)
Source
Declared in ../spec/PrettyPrint.jadd at line 60
Aspect
PrettyPrint
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class TypeDecl
protected int numChildren()
Overrides:numChildren in class TypeDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class TypeDecl
public void flushCache()
Overrides:flushCache in class TypeDecl
public void flushCollectionCache()
Overrides:flushCollectionCache in class TypeDecl
public void setName(java.lang.String value)
Replaces the lexeme Name.
Overrides:setName in class TypeDecl
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 TypeDecl
Returns:
The value for the lexeme Name.
Overrides:rewriteTo in class TypeDecl

Inherited Members

Attributes inherited from AST.TypeDecl

Attributes inherited from AST.Decl

Attributes inherited from AST.BlockStmt

Methods inherited from class AST.ASTNode

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
toString
wait
wait
wait

Fields inherited from AST.TypeDecl

Fields inherited from AST.Decl

Fields inherited from AST.BlockStmt

Fields inherited from AST.ASTNode