Package org.ek9lang.lsp
Class Ek9LanguageWords
java.lang.Object
org.ek9lang.lsp.Ek9LanguageWords
Designed for us in the LSP only as a set of words that are part of the language.
But there is also some descriptive text that is provided with the work.
These can be used for code completion or for the hover functionality.
This might seem like a duplication of what ANTLR has generated, but we need to supply
much more information around each word. This is to really help developers get started
even very new developers.
In the future might make this functional optional as you get used to it, you might now
want the hover/help.
This only deals with simple single word completion and simple cases.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Holds information relating to the EK9 language keywords. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexactMatch
(TokenResult search) Get only an exact match for this search.fuzzyMatch
(TokenResult search) Typically used for completion, where string is partial.
-
Constructor Details
-
Ek9LanguageWords
Ek9LanguageWords()
-
-
Method Details
-
getAllKeyWords
-
exactMatch
Get only an exact match for this search. -
fuzzyMatch
Typically used for completion, where string is partial. Receive a TokenResults, so we can also see position in the line. This will affect the search results.
-