Skip to content

feat: track element tag ranges#1398

Merged
a-h merged 1 commit into
a-h:mainfrom
AdamVig:element-tag-ranges
Jul 1, 2026
Merged

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

Conversation

@AdamVig

@AdamVig AdamVig commented May 20, 2026

Copy link
Copy Markdown
Contributor

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

@a-h a-h left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Nice change on Void -> SelfClosing too.

@a-h
a-h merged commit 06f022c into a-h:main Jul 1, 2026
5 checks passed
@AdamVig
AdamVig deleted the element-tag-ranges branch July 1, 2026 23:57
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.

2 participants