Uses of Class
io.karatelabs.parser.Token
Packages that use Token
-
Uses of Token in io.karatelabs.js
Methods in io.karatelabs.js with parameters of type TokenModifier and TypeMethodDescriptionstatic ObjectTerms.literalValue(Token token) Value of a literal token, memoized on the token. -
Uses of Token in io.karatelabs.parser
Fields in io.karatelabs.parser declared as TokenModifier and TypeFieldDescriptionstatic final TokenToken.EMPTYfinal TokenNode.tokenfinal TokenSyntaxError.tokenFields in io.karatelabs.parser with type parameters of type TokenMethods in io.karatelabs.parser that return TokenModifier and TypeMethodDescriptionNode.getFirstToken()Node.getLastToken()Token.getNext()TokenBuffer.getNext(int index) Token.getNextPrimary()Token.getPrev()TokenBuffer.getPrev(int index) TokenBuffer.getToken(int index) protected TokenBaseParser.next()abstract TokenBaseLexer.nextToken()JsLexer.nextToken()protected TokenBaseParser.peekToken()Methods in io.karatelabs.parser that return types with arguments of type TokenModifier and TypeMethodDescriptionToken.getComments()TokenBuffer.getComments(int index) Tokenizes the source into a list of tokens.Methods in io.karatelabs.parser with parameters of type TokenModifier and TypeMethodDescriptionintRegisters a token and returns its index in the buffer.Method parameters in io.karatelabs.parser with type arguments of type TokenModifier and TypeMethodDescriptionvoidTokenBuffer.setComments(int index, List<Token> tokenComments) Constructors in io.karatelabs.parser with parameters of type TokenModifierConstructorDescriptionSyntaxError(Token token, String message) SyntaxError(Token token, String message, NodeType expected) Constructor parameters in io.karatelabs.parser with type arguments of type TokenModifierConstructorDescriptionprotectedBaseParser(Resource resource, List<Token> tokens, boolean errorRecovery)