|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 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 |
bogusField, dotCounter, dotId |
| Constructor Summary | |
protected |
RoutineDecl(int modifiers,
ModifierPragmaVec pmodifiers,
TypeModifierPragmaVec tmodifiers,
FormalParaDeclVec args,
TypeNameVec raises,
BlockStmt body,
int locOpenBrace,
int loc,
int locId,
int locThrowsKeyword)
|
| 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, isInternal, 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(int modifiers,
ModifierPragmaVec pmodifiers,
TypeModifierPragmaVec tmodifiers,
FormalParaDeclVec args,
TypeNameVec raises,
BlockStmt body,
int locOpenBrace,
int loc,
int locId,
int locThrowsKeyword)
| Method Detail |
private void postCheck()
public TypeDecl getParent()
TypeDeclElem
getParent in interface TypeDeclElempublic void setParent(TypeDecl p)
setParent in interface TypeDeclElempublic int getModifiers()
getModifiers in interface TypeDeclElempublic void setModifiers(int m)
setModifiers in interface TypeDeclElempublic ModifierPragmaVec getPModifiers()
getPModifiers in interface TypeDeclElempublic int getStartLoc()
getStartLoc in interface TypeDeclElemgetStartLoc in class ASTNodepublic abstract Identifier id()
public int getEndLoc()
getEndLoc in class ASTNodepublic Type[] argTypes()
public void check()
check in class ASTNode
|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 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 | ||||||||||