|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IJevaNode: extends Node with methods for accessing the tokens and for printing out the token stream for this node.
| Method Summary | |
Token |
getBeginToken()
return the first token (in token chain) of the parsed syntax |
Token |
getEndToken()
return the token after the last token of the parsed syntax |
void |
print(PrintWriter stream)
Print tokens of parsed node's syntax, including children, to stream. |
void |
print(PrintWriter stream,
boolean includeSpecialTokens)
|
String |
printToString()
Print tokens of parsed node's syntax, including children, to string. |
String |
printToString(boolean includeSpecialTokens)
|
void |
setBeginToken(Token t)
Called by the parser to set the first token of the parsed syntax |
void |
setEndToken(Token t)
Called by the parser to set the last+1 token of the parsed syntax |
| Methods inherited from interface edu.mit.ai.psg.jevaES.Node |
jjtAddChild,
jjtClose,
jjtGetChild,
jjtGetNumChildren,
jjtGetParent,
jjtOpen,
jjtSetParent |
| Method Detail |
public Token getBeginToken()
public Token getEndToken()
public void setBeginToken(Token t)
public void setEndToken(Token t)
public void print(PrintWriter stream)
public void print(PrintWriter stream,
boolean includeSpecialTokens)
public String printToString()
public String printToString(boolean includeSpecialTokens)
|
Copyright (c) 1996-1999 Massachusetts Institute of Technology Feedback: jeva-feedback@ai.mit.edu |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||