|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsleep.parser.Token
public class Token
as much as possible this is a String with a line number associate with it (aka hint)
| Field Summary | |
|---|---|
protected int |
hint
|
protected int |
marker
|
protected String |
term
|
| Constructor Summary | |
|---|---|
Token(String term,
int hint)
|
|
Token(String _term,
int _hint,
int _marker)
|
|
| Method Summary | |
|---|---|
Token |
copy(int _hint)
|
Token |
copy(String text)
|
int |
getHint()
|
String |
getMarker()
|
int |
getMarkerIndex()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String term
protected int hint
protected int marker
| Constructor Detail |
|---|
public Token(String term,
int hint)
public Token(String _term,
int _hint,
int _marker)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic int getMarkerIndex()
public Token copy(int _hint)
public Token copy(String text)
public String getMarker()
public int getHint()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||