|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.cli.impl.tokenizer.Token
public abstract class Token
Nested Class Summary | |
---|---|
static class |
Token.Literal |
static class |
Token.Whitespace |
Field Summary | |
---|---|
(package private) int |
index The index in the containing sequence. |
(package private) String |
raw . |
Constructor Summary | |
---|---|
Token(int index, String raw) |
Method Summary | |
---|---|
boolean |
equals(Object obj) |
int |
getFrom() Returns the from index is the containing string. |
String |
getRaw() Returns the raw text. |
int |
getTo() Returns the to index in the containing string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final int index
final String raw
Constructor Detail |
---|
Token(int index, String raw)
Method Detail |
---|
public String getRaw()
public int getFrom()
public int getTo()
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |