AST
node type ConstructorAccess

General Info

Production
ConstructorAccess : Access ::= <ID:String> Arg:Expr*;
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.ConstructorAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
ParConstructorAccess, SuperConstructorAccess

Description

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

Member Filters

API level:

Aspect:

Constructors

public ConstructorAccess(java.lang.String p0,
                         List<Expr> p1)
 
public ConstructorAccess(beaver.Symbol p0,
                         List<Expr> p1)
 

Attributes

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
Overrides:applicableAndAccessible in class Expr
Source
Declared in Java1.4Frontend/LookupConstructor.jrag at line 50
Aspect
ConstructScope
Source
Declared in Java1.5Frontend/MethodSignature.jrag at line 74
Aspect
MethodSignature15
Source
Declared in Java1.4Frontend/LookupConstructor.jrag at line 65
Aspect
ConstructScope
syn boolean validArgs()
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 129
Aspect
NameCheck
syn java.lang.String name()
Source
Declared in Java1.4Frontend/QualifiedNames.jrag at line 19
Aspect
Names
Overrides:predNameType in class Access
Source
Declared in Java1.4Frontend/SyntacticClassification.jrag at line 56
Aspect
SyntacticClassification
syn TypeDecl type()
Overrides:type in class Access
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 285
Aspect
TypeAnalysis
syn boolean needsPop()
Overrides:needsPop in class Expr
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 219
Aspect
CreateBCode
syn int arity()
Source
Declared in Java1.5Frontend/MethodSignature.jrag at line 326
Aspect
MethodSignature15
Source
Declared in Java1.5Frontend/VariableArityParameters.jrag at line 47
Aspect
VariableArityParameters
inh boolean handlesException(TypeDecl exceptionType)
Source
Declared in Java1.4Frontend/ExceptionHandling.jrag at line 44
Aspect
ExceptionHandling
inh java.util.Collection lookupConstructor()
Source
Declared in Java1.4Frontend/LookupConstructor.jrag at line 14
Aspect
ConstructScope
Source
Declared in Java1.4Frontend/LookupConstructor.jrag at line 71
Aspect
ConstructScope

Methods

public void flushCache()
Overrides:flushCache in class Access
public void flushCollectionCache()
Overrides:flushCollectionCache in class Access
public ConstructorAccess clone()
                        throws java.lang.CloneNotSupportedException
Overrides:clone in class Access
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
public void exceptionHandling()
Overrides:exceptionHandling in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/ExceptionHandling.jrag at line 111
Aspect
ExceptionHandling
protected boolean reachedException(TypeDecl catchType)
Overrides:reachedException in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/ExceptionHandling.jrag at line 272
Aspect
ExceptionHandling
public void nameCheck()
Overrides:nameCheck in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/NameCheck.jrag at line 117
Aspect
NameCheck
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 470
Aspect
PrettyPrint
public void createBCode(CodeGeneration gen)
Overrides:createBCode in class ASTNode<ASTNode>
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 602
Aspect
CreateBCode
public void addEnclosingVariables()
Source
Declared in Java1.4Backend/InnerClasses.jrag at line 470
Aspect
InnerClasses
Source
Declared in Java1.4Backend/Transformations.jrag at line 138
Aspect
Transformations
public void checkModifiers()
Source
Declared in Java1.5Frontend/Annotations.jrag at line 355
Aspect
Annotations
protected void transformEnumConstructors()
Overrides:transformEnumConstructors in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Enums.jrag at line 171
Aspect
Enums
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class Access
protected int numChildren()
Overrides:numChildren in class Access
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Access
public void setID(java.lang.String value)
Replaces the lexeme ID.
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.
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Returns:
The value for the lexeme ID.
public void setArgList(List<Expr> list)
Replaces the Arg list.
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.
Returns:
Number of children in the Arg list.
Retrieves the number of children in the Arg list. Calling this method will not trigger rewrites..
Returns:
Number of children in the Arg list.
public Expr getArg(int i)
Retrieves the element at index i in the Arg list..
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Arg list.
public void addArg(Expr node)
Append an element to the Arg list.
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.
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
public List<Expr> getArgs()
Retrieves the Arg list.
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Returns:
The node representing the Arg list.
public List<Expr> getArgList()
Retrieves the Arg list.
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Returns:
The node representing the Arg list.
public void transformation()
Overrides:transformation in class ASTNode<ASTNode>
Source
Declared in Java1.5Backend/VariableArityParametersCodegen.jrag at line 58
Aspect
VariableArityParametersCodegen
public java.util.Collection Define_Collection_lookupMethod(ASTNode caller,
                                                           ASTNode child,
                                                           java.lang.String name)
Overrides:Define_Collection_lookupMethod in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/LookupMethod.jrag at line 29
public boolean Define_boolean_hasPackage(ASTNode caller,
                                         ASTNode child,
                                         java.lang.String packageName)
Overrides:Define_boolean_hasPackage in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/LookupType.jrag at line 88
public SimpleSet Define_SimpleSet_lookupType(ASTNode caller,
                                             ASTNode child,
                                             java.lang.String name)
Overrides:Define_SimpleSet_lookupType in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/LookupType.jrag at line 254
public SimpleSet Define_SimpleSet_lookupVariable(ASTNode caller,
                                                 ASTNode child,
                                                 java.lang.String name)
Overrides:Define_SimpleSet_lookupVariable in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/LookupVariable.jrag at line 133
Overrides:Define_NameType_nameType in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/SyntacticClassification.jrag at line 121
public java.lang.String Define_String_methodHost(ASTNode caller,
                                                 ASTNode child)
Overrides:Define_String_methodHost in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/TypeHierarchyCheck.jrag at line 18
Overrides:Define_boolean_inExplicitConstructorInvocation in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/TypeHierarchyCheck.jrag at line 130
Overrides:rewriteTo in class Access

Fields

protected boolean addEnclosingVariables
Source
Declared in Java1.4Backend/InnerClasses.jrag at line 469
Aspect
InnerClasses
protected java.lang.String tokenString_ID
public int IDstart
public int IDend
protected boolean decls_computed
protected boolean decl_computed
protected boolean type_computed

Inherited Members

Attributes inherited from AST.Access

Attributes inherited from AST.Expr

Attributes inherited from AST.ASTNode

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

Fields inherited from AST.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value