public interface LexedTokenFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
makeToken(java.lang.String str,
int begin,
int length)
Constructs a token (of arbitrary type) from a String and its position
in the underlying text.
|
T makeToken(java.lang.String str, int begin, int length)
str.)str - The String extracted by the lexer.begin - The offset in the document of the first character
in this string.length - The number of characters the string takes up in
the document.