Class Ek9LanguageWords

java.lang.Object
org.ek9lang.assist.Ek9LanguageWords

public final class Ek9LanguageWords extends Object
Comprehensive EK9 language keyword and operator documentation. Provides hover text, code completion, and help for all EK9 language constructs. Used by both the LSP (IDE integration) and REPL (interactive terminal). This is the single source of truth for EK9 syntax documentation.
  • Constructor Details

    • Ek9LanguageWords

      public Ek9LanguageWords()
  • Method Details

    • getHoverText

      public String getHoverText(String token)
      Simple lookup for REPL hover help - just needs the token text. Returns null if token not found.
    • getAllKeywords

      public List<String> getAllKeywords()
      Get all available keywords for help display.
    • exactMatch

      Get only an exact match for this search.
    • fuzzyMatch

      public List<String> fuzzyMatch(TokenResult search)
      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.