Package redempt.redlex.token
Class CharSetToken
java.lang.Object
redempt.redlex.data.TokenType
redempt.redlex.token.CharSetToken
-
Constructor Summary
ConstructorDescriptionCharSetToken
(String name, boolean inverted, char... chars) CharSetToken
(String name, char... chars) -
Method Summary
Modifier and TypeMethodDescriptionboolean
findForward
(String input, int pos, LexContext context) int
hashCode()
int
Methods inherited from class redempt.redlex.data.TokenType
getFirstCharacters, getId, getLexer, getMessage, getName, nameMatches, replacePlaceholders, setLexer, setName, toString, tryTokenize, walk
-
Constructor Details
-
CharSetToken
-
CharSetToken
-
-
Method Details
-
findForward
- Specified by:
findForward
in classTokenType
-
minLength
public int minLength() -
calcFirstCharacters
- Specified by:
calcFirstCharacters
in classTokenType
-
hashCode
public int hashCode() -
equals
-