AST
node type ArrayTypeAccess

General Info

Production
ArrayTypeAccess : TypeAccess ::= <Package:String> <ID:String> Access;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Expr
              extended by AST.Access
                  extended by AST.TypeAccess
                      extended by AST.ArrayTypeAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
ArrayTypeWithSizeAccess

Description

Source
Declared in Java1.4Frontend/java.ast at line 25

Member Filters

API level:

Aspect:

Constructors

 
 

Attributes

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 Java1.4Frontend/Arrays.jrag at line 56
Aspect
Arrays
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 Java1.4Frontend/Arrays.jrag at line 57
Aspect
Arrays
syn boolean isDAafter(Variable v)
Overrides:isDAafter in class Expr
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 235
Aspect
DA
syn boolean isDUafter(Variable v)
Overrides:isDUafter in class Expr
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 694
Aspect
DU
syn TypeDecl decl()
Overrides:decl in class TypeAccess
Source
Declared in Java1.4Frontend/LookupType.jrag at line 246
Aspect
TypeScopePropagation
syn java.lang.String dumpString()
Overrides:dumpString in class TypeAccess
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 800
Aspect
PrettyPrint
Overrides:predNameType in class TypeAccess
Source
Declared in Java1.4Frontend/SyntacticClassification.jrag at line 56
Aspect
SyntacticClassification
syn boolean staticContextQualifier()
Overrides:staticContextQualifier in class TypeAccess
Source
Declared in Java1.4Frontend/TypeHierarchyCheck.jrag at line 150
Aspect
TypeHierarchyCheck

Methods

public void flushCache()
Overrides:flushCache in class TypeAccess
public void flushCollectionCache()
Overrides:flushCollectionCache in class TypeAccess
public ArrayTypeAccess clone()
                      throws java.lang.CloneNotSupportedException
Overrides:clone in class TypeAccess
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class TypeAccess
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
public void nameCheck()
Overrides:nameCheck in class TypeAccess
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 155
Aspect
NameCheck
public void toString(java.lang.StringBuffer s)
Overrides:toString in class TypeAccess
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 490
Aspect
PrettyPrint
public void createBCode(CodeGeneration gen)
Overrides:createBCode in class ASTNode<ASTNode>
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 812
Aspect
CreateBCode
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class TypeAccess
protected int numChildren()
Overrides:numChildren in class TypeAccess
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class TypeAccess
public void setAccess(Access node)
Replaces the Access child.
Parameters:
node - The new node to replace the Access child.
public Access getAccess()
Retrieves the Access child.
Returns:
The current node used as the Access child.
Retrieves the Access child.

This method does not invoke AST transformations.

Returns:
The current node used as the Access child.
public void setPackage(java.lang.String value)
Replaces the lexeme Package.
Overrides:setPackage in class TypeAccess
Parameters:
value - The new value for the lexeme Package.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class TypeAccess
Parameters:
value - The new value for the lexeme ID.
Overrides:rewriteTo in class TypeAccess

Fields

protected java.lang.String tokenString_Package
protected java.lang.String tokenString_ID
protected boolean getPackage_computed
protected java.lang.String getPackage_value
protected boolean getID_computed
protected java.lang.String getID_value
protected boolean decl_computed

Inherited Members

Attributes inherited from AST.TypeAccess

Attributes inherited from AST.Access

Attributes inherited from AST.Expr

Attributes inherited from AST.ASTNode

Methods inherited from class AST.TypeAccess

Methods inherited from class AST.Access

Methods inherited from class AST.Expr

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

Fields inherited from AST.TypeAccess

Fields inherited from AST.Access

Fields inherited from AST.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value