Use
::= Arg:Exp
*;- Type Hierarchy:
java.lang.Object
AST.ASTNode<ASTNode>
AST.Exp
AST.Access
AST.IdUse
AST.Use
AST.MethodUse
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
FRAMES NO FRAMES |
Use
::= Arg:Exp
*;java.lang.ObjectAST.ASTNode<ASTNode>
AST.Exp
AST.Access
AST.IdUse
AST.Use
AST.MethodUse
spec/picojava-method.ast
at line 5
syn boolean isValue()
inh Decl lookupMethod(java.lang.String name, List argList)
spec/NameResolution.jrag
at line 6
public void collectErrors(java.util.Collection c)
collectErrors
in class IdUse
spec/ErrorCheck.jrag
at line 18
public java.lang.String toString()
public void init$Children()
init$Children
in class Use
protected int numChildren()
numChildren
in class Use
public boolean mayHaveRewrite()
mayHaveRewrite
in class Use
public void flushCache()
flushCache
in class Use
public void flushCollectionCache()
flushCollectionCache
in class Use
public void setName(java.lang.String value)
public java.lang.String getName()
public void setArgList(List<Exp> list)
list
- The new list node to be used as the Arg list.public int getNumArg()
public int getNumArgNoTransform()
i
in the Arg list.i
- Index of the element to return.
i
in the Arg list.public boolean hasArg()
true
if it has at least one child, false
otherwise.node
- The element to append to the Arg list.public void addArgNoTransform(Exp node)
i
with the new node node
.node
- The new node to replace the old list element.i
- The list index of the node to be replaced.public List<Exp> getArgList()
public List<Exp> getArgListNoTransform()
This method does not invoke AST transformations.
public List<Exp> getArgsNoTransform()
This method does not invoke AST transformations.
public Decl Define_Decl_lookupMethod(ASTNode caller, ASTNode child, java.lang.String name, List argList)
Define_Decl_lookupMethod
in class ASTNode<ASTNode>
spec/NameResolution.jrag
at line 27
protected int decl_visited
protected boolean decl_computed
protected Decl decl_value
protected int isValue_visited
protected java.util.Map lookupMethod_String_List_visited
|
|||||||
FRAMES NO FRAMES |