public class AceCharSeq extends Object
Constructor and Description |
---|
AceCharSeq(String text,
int start,
int end)
Token that incorporates this whole char sequence, e.g.
|
Modifier and Type | Method and Description |
---|---|
int |
getByteEnd() |
Span |
getByteOffset() |
int |
getByteStart() |
String |
getText() |
int |
getTokenEnd() |
Span |
getTokenOffset() |
int |
getTokenStart() |
void |
match(Vector<AceToken> tokens)
Matches this char seq against the full token stream As a result of this
method mTokenOffset is initialized
|
String |
toString() |
String |
toXml(int offset) |
String |
toXml(String label,
int offset) |
public AceCharSeq(String text, int start, int end)
public String toXml(int offset)
public String getText()
public int getByteStart()
public int getByteEnd()
public Span getByteOffset()
public int getTokenStart()
public int getTokenEnd()
public Span getTokenOffset()
public void match(Vector<AceToken> tokens) throws MatchException
MatchException