Class SymbolFormatter

java.lang.Object
org.ek9lang.assist.SymbolFormatter

public final class SymbolFormatter extends Object
Formats ISymbol information for display to users. Used by both LSP (markdown output) and REPL (plain text output). This is the single source of truth for symbol formatting - no duplication.
  • Constructor Details

  • Method Details

    • format

      public String format(Optional<ISymbol> symbol)
      Format an optional symbol, returning empty string if not present.
    • format

      public String format(ISymbol symbol)
      Format a symbol for display.