Package redempt.redlex.token
Class EndOfFileToken
java.lang.Object
redempt.redlex.data.TokenType
redempt.redlex.token.EndOfFileToken
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancharacterMatches(String input, int pos, int offset) protected TokenfindForward(String str, int pos, LexContext ctx) booleanlengthMatches(int length) intintMethods inherited from class redempt.redlex.data.TokenType
getFirstCharacters, getId, getLexer, getMessage, getName, nameMatches, replacePlaceholders, setLexer, setName, toString, tryTokenize, walk
-
Constructor Details
-
EndOfFileToken
-
-
Method Details
-
characterMatches
- Specified by:
characterMatchesin classTokenType
-
findForward
- Overrides:
findForwardin classTokenType
-
lengthMatches
public boolean lengthMatches(int length) - Specified by:
lengthMatchesin classTokenType
-
minLength
public int minLength() -
maxLength
public int maxLength() -
calcFirstCharacters
- Specified by:
calcFirstCharactersin classTokenType
-