|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metaweb.lessen.tokens.Token
public class Token
| Nested Class Summary | |
|---|---|
static class |
Token.Type
|
| Field Summary | |
|---|---|
int |
end
|
int |
start
|
String |
text
|
Token.Type |
type
|
| Constructor Summary | |
|---|---|
Token(Token.Type type,
int start,
int end,
String text)
|
|
| Method Summary | |
|---|---|
String |
getCleanText()
|
String |
toString()
|
static String |
typeToString(Token.Type type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Token.Type type
public final int start
public final int end
public final String text
| Constructor Detail |
|---|
public Token(Token.Type type,
int start,
int end,
String text)
| Method Detail |
|---|
public static String typeToString(Token.Type type)
public String toString()
toString in class Objectpublic String getCleanText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||