Package redempt.redlex.token
Class RepeatingToken
java.lang.Object
redempt.redlex.data.TokenType
redempt.redlex.token.RepeatingToken
- All Implemented Interfaces:
ParentToken
-
Constructor Summary
ConstructorsConstructorDescriptionRepeatingToken(String name, TokenType token) RepeatingToken(String name, TokenType token, int minMatches, int maxMatches) -
Method Summary
Modifier and TypeMethodDescriptionprotected TokenfindForward(String str, int pos, LexContext ctx) intvoidsetChildren(TokenType[] children) Methods inherited from class redempt.redlex.data.TokenType
getFirstCharacters, getId, getLexer, getMessage, getName, nameMatches, replacePlaceholders, setLexer, setName, toString, tryTokenize, walk
-
Constructor Details
-
RepeatingToken
-
RepeatingToken
-
-
Method Details
-
findForward
- Specified by:
findForwardin classTokenType
-
minLength
public int minLength() -
calcFirstCharacters
- Specified by:
calcFirstCharactersin classTokenType
-
getChildren
- Specified by:
getChildrenin interfaceParentToken
-
setChildren
- Specified by:
setChildrenin interfaceParentToken
-