Expand description
CQL syntax colorization for the REPL prompt and output.
Uses the unified CQL lexer (cql_lexer) for context-aware tokenization,
which correctly distinguishes keywords from identifiers based on grammar
position (e.g., USERS after FROM is an identifier, not a keyword).
Also provides output coloring for query result values, headers, and errors
matching Python cqlsh’s color scheme.
Structs§
- CqlColorizer
- CQL syntax colorizer using ANSI escape codes.