public class String2TokenWord extends java.lang.Object implements FromString<TypedToken<TokenType>>
TypedToken
instance
from the string.
Modifier and Type | Method and Description |
---|---|
TypedToken<TokenType> |
fromString(int from,
int len,
java.lang.String s) |
static FromString<TypedToken<TokenType>> |
instance()
Get an instance of this implementation.
|
java.lang.String |
toString() |
public TypedToken<TokenType> fromString(int from, int len, java.lang.String s)
fromString
in interface FromString<TypedToken<TokenType>>
from
- the starting index of this token.len
- the length of this token.s
- the string.public java.lang.String toString()
toString
in class java.lang.Object
public static FromString<TypedToken<TokenType>> instance()