org.extendj.ast
node type PrimitiveTypeAccess

General Info

Production
PrimitiveTypeAccess : TypeAccess ::= <Package:String> <ID:String> <Name:String>;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.Expr
              extended by org.extendj.ast.Access
                  extended by org.extendj.ast.TypeAccess
                      extended by org.extendj.ast.PrimitiveTypeAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/Java.ast at line 23

Member Filters

API level:

Aspect:

Constructors

public PrimitiveTypeAccess()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public PrimitiveTypeAccess(java.lang.String p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 12
public PrimitiveTypeAccess(beaver.Symbol p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 15

Attributes

@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet decls()
Overrides:decls in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 303
Aspect
TypeScopePropagation
@ASTNodeAnnotation.Attribute
syn nta java.lang.String getPackage()
Description copied from class: TypeAccess
Retrieves the value for the lexeme Package.
Overrides:getPackage in class TypeAccess
Returns:
The value for the lexeme Package.
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 304
Aspect
TypeScopePropagation
@ASTNodeAnnotation.Attribute
syn nta java.lang.String getID()
Description copied from class: TypeAccess
Retrieves the value for the lexeme ID.
Overrides:getID in class TypeAccess
Returns:
The value for the lexeme ID.
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 305
Aspect
TypeScopePropagation

Methods

public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 21
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 27
public void flushAttrCache()
Overrides:flushAttrCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 33
public void flushCollectionCache()
Overrides:flushCollectionCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 42
public void flushRewriteCache()
Overrides:flushRewriteCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 48
public PrimitiveTypeAccess clone()
                          throws java.lang.CloneNotSupportedException
Overrides:clone in class TypeAccess
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 54
public PrimitiveTypeAccess copy()
Overrides:copy in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 61
@Deprecated
public PrimitiveTypeAccess fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.

Overrides:fullCopy in class TypeAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 80
public PrimitiveTypeAccess treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:treeCopyNoTransform in class TypeAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 90
public PrimitiveTypeAccess treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Overrides:treeCopy in class TypeAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 110
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 117
public void setName(java.lang.String value)
Replaces the lexeme Name.
Parameters:
value - The new value for the lexeme Name.
public void setName(beaver.Symbol symbol)
JastAdd-internal setter for lexeme Name using the Beaver parser.
Parameters:
symbol - Symbol containing the new value for the lexeme Name
@ASTNodeAnnotation.Token(name="Name")
public java.lang.String getName()
Retrieves the value for the lexeme Name.
Returns:
The value for the lexeme Name.
public void setPackage(java.lang.String node)
This method should not be called. This method throws an exception due to the corresponding child being an NTA shadowing a non-NTA child.
Overrides:setPackage in class TypeAccess
Parameters:
node -
public void setID(java.lang.String node)
This method should not be called. This method throws an exception due to the corresponding child being an NTA shadowing a non-NTA child.
Overrides:setID in class TypeAccess
Parameters:
node -
Overrides:rewriteTo in class TypeAccess

Fields

protected java.lang.String tokenString_Name
public int Namestart
public int Nameend
protected java.lang.String tokenString_Package
protected java.lang.String tokenString_ID
protected boolean decls_computed
protected org.extendj.ast.SimpleSet decls_value
protected boolean getPackage_computed
protected java.lang.String getPackage_value
protected boolean getID_computed
protected java.lang.String getID_value

Inherited Members

Attributes inherited from org.extendj.ast.TypeAccess

Attributes inherited from org.extendj.ast.Access

Attributes inherited from org.extendj.ast.Expr

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.TypeAccess

Methods inherited from class org.extendj.ast.Access

Methods inherited from class org.extendj.ast.Expr

Methods inherited from class org.extendj.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

Fields inherited from org.extendj.ast.TypeAccess

Fields inherited from org.extendj.ast.Access

Fields inherited from org.extendj.ast.Expr

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value