|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The MemberDeclaration interface types ptree-node into the member declaration in the body of class.
ParseTree,
FieldDeclaration,
MethodDeclaration,
ConstructorDeclaration,
MemberInitializer,
ClassDeclaration| Field Summary | |
static int |
CONSTRUCTOR
The CONSTRUCTOR is a kind of MemberDeclaration |
static int |
FIELD
The FIELD is a kind of MemberDeclaration |
static int |
METHOD
The METHOD is a kind of MemberDeclaration |
static int |
STATICINIT
The STATICINIT is a kind of MemberDeclaration |
static int |
STATICINITIALIZER
This is same as STATICINIT |
static int |
TYPE
The TYPE is a kind of MemberDeclaration |
| Method Summary | |
boolean |
eq(ParseTree p)
Tests if this parse-tree-node's value equals to the specified ptree-node's. |
boolean |
equals(ParseTree p)
Tests if this parse-tree-node's value equals to the specified ptree-node's. |
void |
writeCode()
|
| Methods inherited from interface openjava.ptree.ParseTree |
accept, childrenAccept, getObjectID, makeCopy, makeRecursiveCopy, replace, toFlattenString, toString |
| Field Detail |
public static final int FIELD
public static final int METHOD
public static final int CONSTRUCTOR
public static final int STATICINIT
public static final int TYPE
public static final int STATICINITIALIZER
| Method Detail |
public void writeCode()
writeCode in interface ParseTreepublic boolean eq(ParseTree p)
ParseTree
eq in interface ParseTreepublic boolean equals(ParseTree p)
ParseTree
equals in interface ParseTree
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||