Serializes tokens to a formatted string.
Array of Chevrotain tokens from the parser
Optionaloptions: TokenSerializerOptionsSerialization options
Serialization result with output and source map
Serializes a partial selection of tokens. Useful for formatting a selected region of a document.
Tokens from the full document
Start offset of the selection
End offset of the selection
Optionaloptions: TokenSerializerOptionsSerialization options
Serializes RDF content directly from parser tokens, preserving source information.
This approach is useful for: