|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.syntax.AbstractToken
This class is used to unify the Token classes from all JavaCC-generated parsers.
| Field Summary | |
int |
beginColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
int |
beginLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
int |
endColumn
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
int |
endLine
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token. |
java.lang.String |
file
The file in which the token originated. |
java.lang.String |
image
The string image of the token. |
| Constructor Summary | |
AbstractToken()
|
|
| Method Summary | |
abstract AbstractToken |
getNextToken()
|
java.lang.String |
toString()
Returns the image. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int beginLine
public int beginColumn
public int endLine
public int endColumn
public java.lang.String image
public java.lang.String file
| Constructor Detail |
public AbstractToken()
| Method Detail |
public java.lang.String toString()
public abstract AbstractToken getNextToken()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||