Skip to content

feat: track element tag ranges#1398

Open
AdamVig wants to merge 1 commit into
a-h:mainfrom
AdamVig:element-tag-ranges
Open

feat: track element tag ranges#1398
AdamVig wants to merge 1 commit into
a-h:mainfrom
AdamVig:element-tag-ranges

Conversation

@AdamVig
Copy link
Copy Markdown
Contributor

@AdamVig AdamVig commented May 20, 2026

Adds OpenTagRange, CloseTagRange, and SelfClosing to element types. Also adds NameRange to RawElement.

Continues the initiative of adding Range to all AST nodes for the benefit of external linting tools, which started in #1225 and was originally discussed in #586.

See also #1301, #1302, #1335, #1336, #1337, #1338, #1340, #1341, #1347, #1348, #1350, and #1383.

Adds `OpenTagRange`, `CloseTagRange`, and `SelfClosing` to element
types. Also adds `NameRange` to `RawElement`.
@AdamVig AdamVig force-pushed the element-tag-ranges branch from 91b4b7d to aa08c55 Compare May 20, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant