|
ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavafe.ast.ASTNode
javafe.ast.RoutineDecl
Represents both MethodDeclarations and ConstructorDeclarations.
Field Summary | |
FormalParaDeclVec |
args
|
private Type[] |
argtypes
|
boolean |
binaryArgNames
|
BlockStmt |
body
|
boolean |
implicit
|
int |
loc
|
int |
locId
|
int |
locOpenBrace
|
int |
locThrowsKeyword
|
int |
modifiers
|
TypeNameVec |
originalRaises
|
TypeDecl |
parent
|
ModifierPragmaVec |
pmodifiers
|
TypeNameVec |
raises
|
TypeModifierPragmaVec |
tmodifiers
|
Fields inherited from class javafe.ast.ASTNode |
decorations |
Constructor Summary | |
protected |
RoutineDecl()
Construct a raw RoutineDecl whose class invariant(s) have not yet been established. |
Method Summary | |
Type[] |
argTypes()
|
void |
check()
|
int |
getEndLoc()
|
int |
getModifiers()
|
TypeDecl |
getParent()
The TypeDecl we are an element of, or null if we do not have a parent (cf. hasParent). |
ModifierPragmaVec |
getPModifiers()
|
int |
getStartLoc()
|
abstract Identifier |
id()
|
private void |
postCheck()
|
void |
setModifiers(int m)
|
void |
setParent(TypeDecl p)
|
Methods inherited from class javafe.ast.ASTNode |
accept, accept, childAt, childCount, clone, clone, getDecorations, getTag, setDecorations, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javafe.ast.TypeDeclElem |
accept, accept, getTag |
Field Detail |
public TypeDecl parent
public boolean binaryArgNames
public boolean implicit
public TypeNameVec originalRaises
public int modifiers
public ModifierPragmaVec pmodifiers
public TypeModifierPragmaVec tmodifiers
public FormalParaDeclVec args
public TypeNameVec raises
public BlockStmt body
public int locOpenBrace
public int loc
public int locId
public int locThrowsKeyword
private Type[] argtypes
Constructor Detail |
protected RoutineDecl()
Method Detail |
private void postCheck()
public TypeDecl getParent()
TypeDeclElem
getParent
in interface TypeDeclElem
public void setParent(TypeDecl p)
setParent
in interface TypeDeclElem
public int getModifiers()
getModifiers
in interface TypeDeclElem
public void setModifiers(int m)
setModifiers
in interface TypeDeclElem
public ModifierPragmaVec getPModifiers()
getPModifiers
in interface TypeDeclElem
public int getStartLoc()
getStartLoc
in interface TypeDeclElem
getStartLoc
in class ASTNode
public abstract Identifier id()
public int getEndLoc()
getEndLoc
in class ASTNode
public Type[] argTypes()
public void check()
check
in class ASTNode
|
ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |