Skip to content

printCstSpan

printCstSpan(span, source): string

Defined in: packages/format-asn1-notation/src/cst-printer.ts:21

Extract the source text covered by any CST node or span. Useful for error messages, diagnostic output, or extracting individual type definitions.

Span

string

string