org.extendj.ast
node type Access

General Info

Production
Access : Expr;
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
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
AbstractDot, AbstractWildcard, ArrayAccess, ClassAccess, ClassInstanceExpr, ConstructorAccess, DiamondAccess, MethodAccess, PackageAccess, ParseName, ParTypeAccess, SuperAccess, SyntheticTypeAccess, ThisAccess, TypeAccess, VarAccess

Description

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

Member Filters

API level:

Aspect:

Constructors

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

Attributes

Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupMethod.jrag at line 39
Aspect
LookupMethod
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 80
Aspect
QualifiedNames
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 83
Aspect
QualifiedNames
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 89
Aspect
QualifiedNames
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 102
Aspect
QualifiedNames
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 114
Aspect
QualifiedNames
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.NameType predNameType()
Defines the expected kind of name for the left hand side in a qualified expression.
Source
Declared in /home/jesper/git/extendj/java4/frontend/SyntacticClassification.jrag at line 58
Aspect
SyntacticClassification
Specified by:type in class Expr
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag at line 302
Aspect
TypeAnalysis
Overrides:sourceLineNumber in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java4/backend/CodeGeneration.jrag at line 37
Aspect
CodeGeneration
WARNING: this attribute is not the same as TypeDecl.isWildcard, which returns true for any wildcard type (even bounded wildcard types).
Returns:
true if this is an unbounded wildcard access
Source
Declared in /home/jesper/git/extendj/java5/frontend/ReifiableTypes.jrag at line 106
Aspect
ReifiableTypes
Source
Declared in /home/jesper/git/extendj/java7/frontend/Diamond.jrag at line 87
Aspect
Diamond
@ASTNodeAnnotation.Attribute
syn Access substituted(java.util.Collection<TypeVariable> original,
                                               List<TypeVariable> substitution)
Builds a copy of this Access node where all occurrences of type variables in the original type parameter list have been replaced by the substitution type parameters.
Returns:
the substituted Access node
Source
Declared in /home/jesper/git/extendj/java7/frontend/Diamond.jrag at line 361
Aspect
Diamond
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupMethod.jrag at line 40
Aspect
LookupMethod
Overrides:unknownType in class Expr
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 289
Aspect
TypeScopePropagation
@ASTNodeAnnotation.Attribute
inh org.extendj.ast.Variable unknownField()
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupVariable.jrag at line 334
Aspect
VariableScopePropagation
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 561
Aspect
CreateBCode
@ASTNodeAnnotation.Attribute
inh boolean withinSuppressWarnings(java.lang.String annot)
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 340
Aspect
Annotations
Source
Declared in /home/jesper/git/extendj/java5/frontend/Annotations.jrag at line 448
Aspect
Annotations

Methods

public Access addArrayDims(List list)
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 181
Aspect
QualifiedNames
public void emitLoadLocalInNestedClass(org.extendj.ast.CodeGeneration gen,
                                       org.extendj.ast.Variable v)
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 562
Aspect
CreateBCode
public void emitThis(org.extendj.ast.CodeGeneration gen,
                     TypeDecl targetDecl)
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 667
Aspect
CreateBCode
protected TypeDecl superConstructorQualifier(TypeDecl targetEnclosingType)
Source
Declared in /home/jesper/git/extendj/java4/backend/InnerClasses.jrag at line 139
Aspect
InnerClasses
public boolean sameType(Access a)
Source
Declared in /home/jesper/git/extendj/java8/frontend/FunctionalInterface.jrag at line 174
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 Expr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class Expr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 15
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Expr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 21
public void flushAttrCache()
Overrides:flushAttrCache in class Expr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 27
public void flushCollectionCache()
Overrides:flushCollectionCache in class Expr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 36
public void flushRewriteCache()
Overrides:flushRewriteCache in class Expr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 42
public Access clone()
             throws java.lang.CloneNotSupportedException
Overrides:clone in class Expr
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 48
@Deprecated
public abstract Access 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.

Specified by:fullCopy in class Expr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 59
public abstract Access treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Specified by:treeCopyNoTransform in class Expr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 67
public abstract Access 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.
Specified by:treeCopy in class Expr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 75
Overrides:rewriteTo in class Expr

Fields

protected boolean prevExpr_computed
protected boolean hasPrevExpr_computed
protected boolean hasPrevExpr_value
protected boolean type_computed

Inherited Members

Attributes inherited from org.extendj.ast.Expr

Attributes inherited from org.extendj.ast.ASTNode

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

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value