1# Interface: ParserOptions 2 3### Properties 4 5* [sourceCodeLocationInfo](#sourcecodelocationinfo) 6* [scriptingEnabled](#scriptingenabled) 7* [treeAdapter](#treeadapter) 8 9--- 10 11## Properties 12 13<a id="sourcecodelocationinfo"></a> 14 15### `<Optional>` sourceCodeLocationInfo 16 17**● sourceCodeLocationInfo**: *`boolean`* 18 19Enables source code location information. When enabled, each node (except the root node) will have a `sourceCodeLocation` property (property name can be different depending on [tree adapter](../tree-adapter/interface.md) that has been used, hereinafter property names for the [DefaultTreeAdapter](../tree-adapter/interface-list.md) will be given). If the node is not an empty element, `sourceCodeLocation` will be a [ElementLocation](../source-code-location/element-location.md) object, otherwise it will be [Location](../source-code-location/location.md). If the element was implicitly created by the parser (as part of [tree correction](https://html.spec.whatwg.org/multipage/syntax.html#an-introduction-to-error-handling-and-strange-cases-in-the-parser)), its `sourceCodeLocation` property will be `undefined`. 20 21**Default:** `false` 22 23___ 24<a id="scriptingenabled"></a> 25 26### `<Optional>` scriptingEnabled 27 28**● scriptingEnabled**: *`boolean`* 29 30The [scripting flag](https://html.spec.whatwg.org/multipage/parsing.html#scripting-flag). If set to 31`true`, `noscript` element content will be parsed as text. 32 33**Default:** `true` 34 35___ 36 37<a id="treeadapter"></a> 38 39### `<Optional>` treeAdapter 40 41**● treeAdapter**: *[TreeAdapter](../tree-adapter/interface.md)* 42 43Specifies the resulting tree format. 44 45**Default:** [DefaultTreeAdapter](../tree-adapter/default/interface-list.md) 46 47___ 48 49