org.extendj.ast
node type BoundFieldAccess

General Info

Production
BoundFieldAccess : VarAccess ::= <FieldDeclaration:FieldDeclaration>;
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.VarAccess
                      extended by org.extendj.ast.BoundFieldAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/BoundNames.ast at line 6

Member Filters

API level:

Aspect:

Constructors

 
Source
Declared in /home/jesper/git/extendj/java4/frontend/BoundNames.jrag at line 88
Aspect
BoundNames
public BoundFieldAccess()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public BoundFieldAccess(java.lang.String p0,
                        FieldDeclaration p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 12
public BoundFieldAccess(beaver.Symbol p0,
                        FieldDeclaration p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 16

Attributes

@ASTNodeAnnotation.Attribute
syn org.extendj.ast.Variable decl()
Overrides:decl in class VarAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupVariable.jrag at line 352
Aspect
VariableScopePropagation

Methods

public boolean isExactVarAccess()
Source
Declared in /home/jesper/git/extendj/java4/frontend/BoundNames.jrag at line 93
Aspect
BoundNames
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 23
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 29
public void flushAttrCache()
Overrides:flushAttrCache in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 35
public void flushCollectionCache()
Overrides:flushCollectionCache in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 42
public void flushRewriteCache()
Overrides:flushRewriteCache in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 48
public BoundFieldAccess clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class VarAccess
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 54
public BoundFieldAccess copy()
Overrides:copy in class VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 61
@Deprecated
public BoundFieldAccess 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 VarAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 80
public BoundFieldAccess 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 VarAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 90
public BoundFieldAccess 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 VarAccess
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 VarAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 117
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class VarAccess
Parameters:
value - The new value for the lexeme ID.
public void setID(beaver.Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
Overrides:setID in class VarAccess
Parameters:
symbol - Symbol containing the new value for the lexeme ID
@ASTNodeAnnotation.Token(name="ID")
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class VarAccess
Returns:
The value for the lexeme ID.
Replaces the lexeme FieldDeclaration.
Parameters:
value - The new value for the lexeme FieldDeclaration.
Retrieves the value for the lexeme FieldDeclaration.
Returns:
The value for the lexeme FieldDeclaration.
Overrides:rewriteTo in class VarAccess

Fields

protected boolean decl_computed
protected org.extendj.ast.Variable decl_value

Inherited Members

Attributes inherited from org.extendj.ast.VarAccess

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.VarAccess

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.VarAccess

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