org.extendj.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 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.ArrayTypeAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
ArrayTypeWithSizeAccess

Description

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

Member Filters

API level:

Aspect:

Constructors

public ArrayTypeAccess()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public ArrayTypeAccess(Access p0)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 13

Attributes

@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/Arrays.jrag at line 76
Aspect
Arrays
@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/Arrays.jrag at line 77
Aspect
Arrays
@ASTNodeAnnotation.Attribute
syn boolean isDAafter(org.extendj.ast.Variable v)
Overrides:isDAafter in class Expr
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 259
Aspect
DA
@ASTNodeAnnotation.Attribute
syn boolean isDUafter(org.extendj.ast.Variable v)
Overrides:isDUafter in class Expr
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 783
Aspect
DU
Overrides:decl in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 315
Aspect
TypeScopePropagation
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.NameType predNameType()
Defines the expected kind of name for the left hand side in a qualified expression.
Overrides:predNameType in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/SyntacticClassification.jrag at line 58
Aspect
SyntacticClassification
Overrides:staticContextQualifier in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 199
Aspect
TypeHierarchyCheck

Methods

public void nameCheck()
Overrides:nameCheck in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/NameCheck.jrag at line 207
Aspect
NameCheck
public void prettyPrint(org.jastadd.util.PrettyPrinter out)
Specified by:prettyPrint in interface org.jastadd.util.PrettyPrintableOverrides:prettyPrint in class TypeAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrint.jadd at line 142
Aspect
Java4PrettyPrint
public void createBCode(org.extendj.ast.CodeGeneration gen)
Overrides:createBCode in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 892
Aspect
CreateBCode
public boolean sameType(ArrayTypeAccess a)
Source
Declared in /home/jesper/git/extendj/java8/frontend/FunctionalInterface.jrag at line 261
Aspect
FunctionalInterface
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 19
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public void flushAttrCache()
Overrides:flushAttrCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushCollectionCache()
Overrides:flushCollectionCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 40
public void flushRewriteCache()
Overrides:flushRewriteCache in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 46
public ArrayTypeAccess clone()
                      throws java.lang.CloneNotSupportedException
Overrides:clone in class TypeAccess
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 52
public ArrayTypeAccess copy()
Overrides:copy in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 59
@Deprecated
public ArrayTypeAccess 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 78
public ArrayTypeAccess 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 88
public ArrayTypeAccess 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 108
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class TypeAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 115
public void setAccess(Access node)
Replaces the Access child.
Parameters:
node - The new node to replace the Access child.
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 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_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 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