Package redempt.redlex.token
Class StringToken
java.lang.Object
redempt.redlex.data.TokenType
redempt.redlex.token.StringToken
-
Constructor Summary
ConstructorsConstructorDescriptionStringToken(String name, String string) StringToken(String name, String string, boolean caseSensitive) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected TokenfindForward(String str, int pos, LexContext ctx) inthashCode()booleanintMethods inherited from class redempt.redlex.data.TokenType
getFirstCharacters, getId, getLexer, getMessage, getName, nameMatches, replacePlaceholders, setLexer, setName, toString, tryTokenize, walk
-
Constructor Details
-
StringToken
-
StringToken
-
-
Method Details
-
isCaseSensitive
public boolean isCaseSensitive() -
findForward
- Specified by:
findForwardin classTokenType
-
getString
-
minLength
public int minLength() -
calcFirstCharacters
- Specified by:
calcFirstCharactersin classTokenType
-
hashCode
public int hashCode() -
equals
-