PrimaryExpr
::= TypeAccess:Access
[ArrayInit
];- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.ArrayCreationExpr
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
FRAMES NO FRAMES |
PrimaryExpr
::= TypeAccess:Access
[ArrayInit
];java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.ArrayCreationExpr
Java1.4Frontend/java.ast
at line 133
public ArrayCreationExpr()
public ArrayCreationExpr(Access p0, Opt<ArrayInit> p1)
syn boolean isDAafterCreation(Variable v)
Java1.4Frontend/DefiniteAssignment.jrag
at line 432
syn boolean isDUafterCreation(Variable v)
Java1.4Frontend/DefiniteAssignment.jrag
at line 860
syn int numArrays()
Java1.4Backend/InnerClasses.jrag
at line 72
public void flushCache()
flushCache
in class PrimaryExpr
public void flushCollectionCache()
flushCollectionCache
in class PrimaryExpr
public ArrayCreationExpr clone() throws java.lang.CloneNotSupportedException
clone
in class PrimaryExpr
java.lang.CloneNotSupportedException
public ArrayCreationExpr copy()
public ArrayCreationExpr fullCopy()
public void toString(java.lang.StringBuffer s)
public void init$Children()
init$Children
in class PrimaryExpr
protected int numChildren()
numChildren
in class PrimaryExpr
public boolean mayHaveRewrite()
mayHaveRewrite
in class PrimaryExpr
public void setTypeAccess(Access node)
node
- The new node to replace the TypeAccess child.public Access getTypeAccess()
public Access getTypeAccessNoTransform()
This method does not invoke AST transformations.
public void setArrayInitOpt(Opt<ArrayInit> opt)
Opt
node containing the child ArrayInit, not the actual child!opt
- The new node to be used as the optional node for the ArrayInit child.public boolean hasArrayInit()
true
if the optional ArrayInit child exists, false
if it does not.public ArrayInit getArrayInit()
null
otherwise.public void setArrayInit(ArrayInit node)
node
- The new node to be used as the ArrayInit child.public Opt<ArrayInit> getArrayInitOpt()
public Opt<ArrayInit> getArrayInitOptNoTransform()
Opt
node containing the child ArrayInit, not the actual child!
This method does not invoke AST transformations.
public void createBCode(CodeGeneration gen)
createBCode
in class ASTNode<ASTNode>
Java1.5Backend/AutoBoxingCodegen.jrag
at line 235
public boolean Define_boolean_isDAbefore(ASTNode caller, ASTNode child, Variable v)
Define_boolean_isDAbefore
in class ASTNode<ASTNode>
Java1.4Frontend/DefiniteAssignment.jrag
at line 434
public boolean Define_boolean_isDUbefore(ASTNode caller, ASTNode child, Variable v)
Define_boolean_isDUbefore
in class ASTNode<ASTNode>
Java1.4Frontend/DefiniteAssignment.jrag
at line 863
public NameType Define_NameType_nameType(ASTNode caller, ASTNode child)
Define_NameType_nameType
in class ASTNode<ASTNode>
Java1.4Frontend/SyntacticClassification.jrag
at line 87
public TypeDecl Define_TypeDecl_declType(ASTNode caller, ASTNode child)
Define_TypeDecl_declType
in class ASTNode<ASTNode>
Java1.4Frontend/TypeAnalysis.jrag
at line 262
public TypeDecl Define_TypeDecl_expectedType(ASTNode caller, ASTNode child)
Define_TypeDecl_expectedType
in class ASTNode<ASTNode>
Java1.4Backend/InnerClasses.jrag
at line 66
rewriteTo
in class PrimaryExpr
protected boolean type_computed
protected TypeDecl type_value
protected boolean numArrays_computed
protected int numArrays_value
|
|||||||
FRAMES NO FRAMES |