Package klyn.code
Contains 12 type(s).
Types
Interfaces
  • Tokenizer - Common contract implemented by all source code and markup tokenizers in klyn.code.
Classes
  • CodeTokenizer - High-performance, table-driven lexical scanner implementing Tokenizer for programming languages.
  • DeclarationScanner - Multi-language structural declaration scanner and go-to-definition locator.
  • LanguageProfile - Declarative lexical profile describing the syntax and vocabulary of a programming language.
  • LanguageRegistry - Central registry and factory for language profiles and tokenizers across the Klyn ecosystem.
  • LexicalState - Immutable lexical state carried from the end of one source line to the start of the next.
  • LineScanResult - Holds the token spans produced for a single line along with the resulting end-of-line LexicalState.
  • SourceTokenCursor - Provides stream navigation and lexical refactoring helpers over tokenized source code.
  • Token - Represents a materialized lexical token with its text and source coordinates.
  • TokenSpan - Represents a half-open token range [start, end) within a single source line.
Enums
  • LexicalMode - Enumerates the multi-line lexical continuation modes carried between lines.
  • TokenKind - Classifies lexical tokens produced by Klyn code tokenizers.