Skip to content

Commit d61007b

Browse files
committed
Add description to docs
1 parent 7d6f76b commit d61007b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readme.md

+5
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ Type: `Boolean`
115115
Default: `false`
116116
Description: *If set to true, self-closing tags will trigger the `onclosetag` event even if `xmlMode` is not set to `true`. NOTE: If `xmlMode` is set to `true` then self-closing tags will always be recognized.*
117117

118+
### `sourceLocations`
119+
Type: `Boolean`
120+
Default: `false`
121+
Description: *If set to true, AST nodes will have a `location` property containing the `start` and `end` line and column position of the node.*
122+
118123
## License
119124

120125
[MIT](LICENSE)

0 commit comments

Comments
 (0)