OptionalcommentsOptionalrefWhether to include the $refText property for references (the name used to identify the target node).
OptionalreplacerThe replacer parameter for JSON.stringify; the default replacer given as parameter should be used to apply basic replacements.
OptionalsourceWhether to include the $sourceText property, which holds the full source text from which an AST node was parsed.
OptionalspaceThe space parameter for JSON.stringify, controlling whether and how to pretty-print the output.
OptionaltextWhether to include the $textRegion property, which holds information to trace AST node properties to their respective source text regions.
OptionaluriUsed to convert and serialize URIs when the target of a cross-reference is in a different document.
Whether to include the
$commentproperty, which holds comments according to the CommentProvider service.