Skip to content

Commit

Permalink
Remove indent on positions
Browse files Browse the repository at this point in the history
Closes GH-98.

Reviewed-by: Remco Haszing <[email protected]>
Reviewed-by: Christian Murphy <[email protected]>
  • Loading branch information
wooorm committed Jun 15, 2023
1 parent d3936a0 commit 8ca4c8b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ For example, in JavaScript, a tree can be passed through
interface Position {
start: Point
end: Point
indent: [number >= 1]?
}
```

Expand All @@ -147,9 +146,6 @@ after the parsed source region, whether it exists or not.
The value of the `start` and `end` fields implement the **[Point][dfn-point]**
interface.

The `indent` field of **Position** represents the start column at each index
(plus start line) in the source region, for elements that span multiple lines.

If the syntactic unit represented by a node is not present in the source
*[file][term-file]* at the time of parsing, the node is said to be
*[generated][term-generated]* and it must not have positional information.
Expand Down

0 comments on commit 8ca4c8b

Please sign in to comment.