Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParserOptions

Hierarchy

  • ParserOptions

Index

Properties

Optional locationInfo

locationInfo: boolean

Enables source code location information. When enabled, each node (except the root node) will have a __location property. If the node is not an empty element, __location will be a MarkupData.ElementLocation object, otherwise it will be MarkupData.Location. If the element was implicitly created by the parser (as part of tree correction), its __location property will be undefined.

Default: false

Optional treeAdapter

treeAdapter: TreeAdapter

Specifies the resulting tree format.

Default: treeAdapters.default

Generated using TypeDoc