dex.cf.common
Common Types for CF Parser
This module defines shared types used across the lexer, parser, document model, and writer components of the CF (Configuration File) implementation.
Copyright
Types 8
Token types for CF lexical analysis.
These represent all possible token kinds that the lexer can produce, following the CF-SPEC.md specification.
Source location information.
Tracks the position of tokens and nodes within the source file for error reporting and roundtrip preservation.
size_t lineLine number (1-based)size_t colColumn number (1-based)string sourceSource filename or identifierQuote style for string literals.
Tracks which quote style was used in the original source, enabling roundtrip preservation of formatting.
Separator style between object members or array elements.
Tracks which separator style was used in the original source, enabling roundtrip preservation of formatting.
Base exception class for CF parsing and processing errors.
Includes source location information for precise error reporting.
Location locationSource location where the error occurred