Uses of Class
org.ek9lang.compiler.tokenizer.TokenResult
Package
Description
B - For the EK9 compiler itself.
A-2 - Start here for tooling entry point specifically 'language server' implementation.
-
Uses of TokenResult in org.ek9lang.compiler
Modifier and TypeMethodDescriptionCompilableSource.nearestToken
(int line, int characterPosition) Get the nearest source token on a particular line and character position. -
Uses of TokenResult in org.ek9lang.lsp
Modifier and TypeMethodDescriptionprotected TokenResult
Ek9Service.getNearestToken
(org.eclipse.lsp4j.TextDocumentPositionParams params) Modifier and TypeMethodDescriptionEk9LanguageWords.exactMatch
(TokenResult search) Get only an exact match for this search.Ek9LanguageWords.fuzzyMatch
(TokenResult search) Typically used for completion, where string is partial.boolean
Ek9LanguageWords.KeyWordInformation.isValidInThisContext
(TokenResult tokenResult) Check if a token is valid in a particular context of use.ModifierConstructorDescriptionKeyWordInformation
(String hover, List<String> completions, Function<TokenResult, Boolean> inContext) Create key word info in terms of hover text, completions for a context of use.