Uses of Enum Class
io.karatelabs.parser.TokenType
Packages that use TokenType
-
Uses of TokenType in io.karatelabs.parser
Fields in io.karatelabs.parser declared as TokenTypeMethods in io.karatelabs.parser that return TokenTypeModifier and TypeMethodDescriptionprotected TokenTypeBaseParser.lastConsumed()protected TokenTypeBaseParser.peek()protected abstract TokenTypeBaseLexer.scanToken()protected TokenTypeJsLexer.scanToken()static TokenTypeReturns the enum constant of this class with the specified name.static TokenType[]TokenType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.karatelabs.parser with parameters of type TokenTypeModifier and TypeMethodDescriptionprotected booleanprotected voidprotected booleanprotected booleanBaseParser.consumeSoft(TokenType token) Consume token if present, or record error if in recovery mode.protected booleanprotected booleanprotected booleanprotected voidNode.findChildren(TokenType token) Node.findFirstChild(TokenType token) booleanprotected booleanprotected booleanprotected booleanSkip tokens until we find a recovery point.Method parameters in io.karatelabs.parser with type arguments of type TokenTypeModifier and TypeMethodDescriptionprotected booleanprotected booleanprotected booleanprotected booleanConstructors in io.karatelabs.parser with parameters of type TokenTypeModifierConstructorDescriptionToken(TokenBuffer buffer, TokenType type, int pos, int line, int col, int length) Token(TokenBuffer buffer, TokenType type, int pos, short line, short col, short length)