|
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.TypeDecl
Represents a TypeDeclaration. Common fields of ClassDeclarations and InterfaceDeclarations are here.
| Field Summary | |
TypeDeclElemVec |
elems
|
Identifier |
id
|
int |
loc
|
int |
locCloseBrace
|
int |
locId
|
int |
locOpenBrace
|
int |
modifiers
|
TypeDecl |
parent
|
ModifierPragmaVec |
pmodifiers
|
boolean |
specOnly
If specOnly is true, then this is only a spec. |
TypeNameVec |
superInterfaces
|
TypeModifierPragmaVec |
tmodifiers
|
| Fields inherited from class javafe.ast.ASTNode |
bogusField, dotCounter, dotId |
| Constructor Summary | |
protected |
TypeDecl(int modifiers,
ModifierPragmaVec pmodifiers,
Identifier id,
TypeNameVec superInterfaces,
TypeModifierPragmaVec tmodifiers,
TypeDeclElemVec elems,
int loc,
int locId,
int locOpenBrace,
int locCloseBrace)
|
| Method Summary | |
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()
|
boolean |
isBinary()
|
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 boolean specOnly
public int modifiers
public ModifierPragmaVec pmodifiers
public Identifier id
public TypeNameVec superInterfaces
public TypeModifierPragmaVec tmodifiers
public TypeDeclElemVec elems
public int loc
public int locId
public int locOpenBrace
public int locCloseBrace
public TypeDecl parent
| Constructor Detail |
protected TypeDecl(int modifiers,
ModifierPragmaVec pmodifiers,
Identifier id,
TypeNameVec superInterfaces,
TypeModifierPragmaVec tmodifiers,
TypeDeclElemVec elems,
int loc,
int locId,
int locOpenBrace,
int locCloseBrace)
| Method Detail |
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 TypeDeclElemprivate void postCheck()
public boolean isBinary()
public int getStartLoc()
getStartLoc in interface TypeDeclElemgetStartLoc in class ASTNodepublic int getEndLoc()
getEndLoc in class ASTNodepublic 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 | ||||||||||