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