org.extendj.ast
node type SuperConstructorAccess

General Info

Production
SuperConstructorAccess : ConstructorAccess;
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.ConstructorAccess
                      extended by org.extendj.ast.SuperConstructorAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable
Direct Known Subclasses:
ParSuperConstructorAccess

Description

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

Member Filters

API level:

Aspect:

Constructors

public SuperConstructorAccess()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public SuperConstructorAccess(java.lang.String p0,
                              List<Expr> p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 14
public SuperConstructorAccess(beaver.Symbol p0,
                              List<Expr> p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 18

Attributes

@ASTNodeAnnotation.Attribute
syn boolean isDAafter(org.extendj.ast.Variable v)
Overrides:isDAafter in class ConstructorAccess
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 ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 783
Aspect
DU
@ASTNodeAnnotation.Attribute
syn org.extendj.ast.SimpleSet decls()
Overrides:decls in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 84
Aspect
ConstructScope
@ASTNodeAnnotation.Attribute
syn java.lang.String name()
Overrides:name in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/QualifiedNames.jrag at line 39
Aspect
Names
Overrides:isSuperConstructorAccess in class Expr
Source
Declared in /home/jesper/git/extendj/java4/frontend/ResolveAmbiguousNames.jrag at line 71
Aspect
AccessTypes
@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 ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/SyntacticClassification.jrag at line 58
Aspect
SyntacticClassification
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag at line 40
Aspect
ConstructScope
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeCheck.jrag at line 584
Aspect
TypeCheck

Methods

public void nameCheck()
Overrides:nameCheck in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 94
Aspect
TypeHierarchyCheck
public void createBCode(org.extendj.ast.CodeGeneration gen)
Overrides:createBCode in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 715
Aspect
CreateBCode
public void transformation()
Overrides:transformation in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/backend/Transformations.jrag at line 143
Aspect
Transformations
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushAttrCache()
Overrides:flushAttrCache in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 37
public void flushCollectionCache()
Overrides:flushCollectionCache in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 44
public void flushRewriteCache()
Overrides:flushRewriteCache in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 50
public SuperConstructorAccess clone()
                             throws java.lang.CloneNotSupportedException
Overrides:clone in class ConstructorAccess
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
Overrides:copy in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 63
@Deprecated
public SuperConstructorAccess 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 ConstructorAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 82
public SuperConstructorAccess 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 ConstructorAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 92
public SuperConstructorAccess 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 ConstructorAccess
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 112
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/ASTNode at line 119
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class ConstructorAccess
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 ConstructorAccess
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 ConstructorAccess
Returns:
The value for the lexeme ID.
public void setArgList(List<Expr> list)
Replaces the Arg list.
Overrides:setArgList in class ConstructorAccess
Parameters:
list - The new list node to be used as the Arg list.
public int getNumArg()
Retrieves the number of children in the Arg list.
Overrides:getNumArg in class ConstructorAccess
Returns:
Number of children in the Arg list.
Retrieves the number of children in the Arg list. Calling this method will not trigger rewrites.
Overrides:getNumArgNoTransform in class ConstructorAccess
Returns:
Number of children in the Arg list.
public Expr getArg(int i)
Retrieves the element at index i in the Arg list.
Overrides:getArg in class ConstructorAccess
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Arg list.
public boolean hasArg()
Check whether the Arg list has any children.
Overrides:hasArg in class ConstructorAccess
Returns:
true if it has at least one child, false otherwise.
public void addArg(Expr node)
Append an element to the Arg list.
Overrides:addArg in class ConstructorAccess
Parameters:
node - The element to append to the Arg list.
public void addArgNoTransform(Expr node)
public void setArg(Expr node,
                   int i)
Replaces the Arg list element at index i with the new node node.
Overrides:setArg in class ConstructorAccess
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the Arg list.
Overrides:getArgList in class ConstructorAccess
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Overrides:getArgListNoTransform in class ConstructorAccess
Returns:
The node representing the Arg list.
public List<Expr> getArgs()
Retrieves the Arg list.
Overrides:getArgs in class ConstructorAccess
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Overrides:getArgsNoTransform in class ConstructorAccess
Returns:
The node representing the Arg list.
public boolean Define_hasPackage(ASTNode caller,
                                 ASTNode child,
                                 java.lang.String packageName)
Overrides:Define_hasPackage in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/LookupType.jrag at line 115
protected boolean canDefine_hasPackage(ASTNode caller,
                                       ASTNode child,
                                       java.lang.String packageName)
public org.extendj.ast.SimpleSet Define_lookupVariable(ASTNode caller,
                                                       ASTNode child,
                                                       java.lang.String name)
Overrides:Define_lookupVariable in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java8/frontend/LookupVariable.jrag at line 30
protected boolean canDefine_lookupVariable(ASTNode caller,
                                           ASTNode child,
                                           java.lang.String name)
Overrides:Define_inExplicitConstructorInvocation in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 165
protected boolean canDefine_inExplicitConstructorInvocation(ASTNode caller,
                                                            ASTNode child)
Overrides:Define_enclosingExplicitConstructorHostType in class ConstructorAccess
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag at line 173
Overrides:rewriteTo in class ConstructorAccess

Fields

protected boolean decls_computed
protected org.extendj.ast.SimpleSet decls_value

Inherited Members

Attributes inherited from org.extendj.ast.ConstructorAccess

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

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

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