Package redempt.redlex.token
Class CharSetToken
java.lang.Object
redempt.redlex.data.TokenType
redempt.redlex.token.CharSetToken
-
Constructor Summary
ConstructorsConstructorDescriptionCharSetToken(String name, boolean inverted, char... chars) CharSetToken(String name, char... chars) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfindForward(String input, int pos, LexContext context) inthashCode()intMethods 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:
findForwardin classTokenType
-
minLength
public int minLength() -
calcFirstCharacters
- Specified by:
calcFirstCharactersin classTokenType
-
hashCode
public int hashCode() -
equals
-