|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.LexicalToken
A lexical token for a CoopnTools lexical reader.
Field Summary | |
static int |
COMMENT
Comment tag. |
static int |
IDENTIFIER
Identifier tag. |
static int |
KEYWORD
Reserved word tag. |
static int |
NEWLINE
Newline tag. |
static int |
SPACE
Space tag. |
static int |
SYMBOL
Symbol tag. |
Constructor Summary | |
LexicalToken(int kind,
java.lang.String image)
Simple constructor. |
Method Summary | |
java.lang.String |
image()
Retrieve the token image. |
int |
kind()
Retrieve the token kind. |
java.lang.String |
prettyImage()
Retrieve the pretty token image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SPACE
public static final int NEWLINE
public static final int COMMENT
public static final int SYMBOL
public static final int KEYWORD
public static final int IDENTIFIER
Constructor Detail |
public LexicalToken(int kind, java.lang.String image)
kind
- the token tagimage
- a tring representing the image of the tokenMethod Detail |
public int kind()
public java.lang.String image()
public java.lang.String prettyImage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |