Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove indent on positions #98

Merged
merged 1 commit into from
Jun 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ For example, in JavaScript, a tree can be passed through
interface Position {
start: Point
end: Point
indent: [number >= 1]?
}
```

Expand All @@ -137,9 +136,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