Optional
onOptional
scriptingOptional
sourceEnables source code location information. When enabled, each node (except the root node)
will have a sourceCodeLocation
property. If the node is not an empty element, sourceCodeLocation
will
be a ElementLocation object, otherwise it will be Location.
If the element was implicitly created by the parser (as part of
tree correction),
its sourceCodeLocation
property will be undefined
.
false
Optional
treeSpecifies the resulting tree format.
treeAdapters.default
Generated using TypeDoc
Callback for parse errors.
Default
null