|
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.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 |
decorations |
Constructor Summary | |
protected |
TypeDecl()
Construct a raw TypeDecl whose class invariant(s) have not yet been established. |
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, 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()
Method Detail |
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
private void postCheck()
public boolean isBinary()
public int getStartLoc()
getStartLoc
in interface TypeDeclElem
getStartLoc
in class ASTNode
public int getEndLoc()
getEndLoc
in class ASTNode
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 |