Skip to content

Commit

Permalink
parser.md: fix the name of the range property (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorn0 authored and nicolo-ribaudo committed Dec 22, 2019
1 parent ea396e9 commit 30c01bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ mind. When in doubt, use `.parse()`.
`"use strict";` directive is present or if the parsed file is an ECMAScript
module. Set this option to `true` to always parse files in strict mode.

- **ranges**: Adds a `ranges` property to each node: `[node.start, node.end]`
- **ranges**: Adds a `range` property to each node: `[node.start, node.end]`

- **tokens**: Adds all parsed tokens to a `tokens` property on the `File` node

Expand Down

0 comments on commit 30c01bb

Please sign in to comment.