|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.syntax.ASTNode
The ASTNode class is a unification of all syntax-related items
that are dealt with in loading source programs. This allows the error generator
to get an easy handle on where the error occurred in the source program.
| Constructor Summary | |
ASTNode()
|
|
| Method Summary | |
abstract AbstractToken |
getLeftMostToken()
The getLeftMostToken() method gets the first token associated
with the abstract syntax tree node. |
abstract AbstractToken |
getRightMostToken()
The getRightMostToken() method gets the last token associated
with the abstract syntax tree node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ASTNode()
| Method Detail |
public abstract AbstractToken getLeftMostToken()
getLeftMostToken() method gets the first token associated
with the abstract syntax tree node.
AbstractToken instance representing the first token
that is a part of this syntactic item.public abstract AbstractToken getRightMostToken()
getRightMostToken() method gets the last token associated
with the abstract syntax tree node.
AbstractToken instance representing the last token
that is a part of this syntactic item.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||