|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.lex.Token
public abstract class Token
The base class of all tokens.
Constructor Summary | |
---|---|
Token(Position position,
int symbol)
|
Method Summary | |
---|---|
protected static java.lang.String |
escape(java.lang.String s)
|
Position |
getPosition()
|
java_cup.runtime.Symbol |
symbol()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Token(Position position, int symbol)
Method Detail |
---|
public Position getPosition()
public java_cup.runtime.Symbol symbol()
protected static java.lang.String escape(java.lang.String s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |