Skip to content

Conversation

@alexcrocha
Copy link

@alexcrocha alexcrocha commented Jan 7, 2026

This PR adds location() accessor to the Node enum, delegating to each variant's location() method.

#74 added location() to individual node types but missed the enum itself. This allows getting the location of the entire node definition when working with the Node enum directly.

The individual node types got location() in a previous commit but the
enum itself was missed.
This delegates to each variant's location() method.
Copy link
Author

alexcrocha commented Jan 7, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@alexcrocha alexcrocha marked this pull request as ready for review January 8, 2026 00:01
@alexcrocha alexcrocha merged commit 3dd5766 into ar-rust-rbs-build Jan 8, 2026
19 of 27 checks passed
alexcrocha added a commit that referenced this pull request Jan 13, 2026
Adds `location()` accessor to the `Node` enum, delegating to
each variant's `location()` method.

A previous commit added `location()` to individual node types 
but missed the enum itself. This allows getting the location of the 
entire node definition when working with the `Node` enum directly.
alexcrocha added a commit that referenced this pull request Jan 13, 2026
Adds `location()` accessor to the `Node` enum, delegating to
each variant's `location()` method.

A previous commit added `location()` to individual node types 
but missed the enum itself. This allows getting the location of the 
entire node definition when working with the `Node` enum directly.
alexcrocha added a commit that referenced this pull request Jan 14, 2026
Adds `location()` accessor to the `Node` enum, delegating to
each variant's `location()` method.

A previous commit added `location()` to individual node types 
but missed the enum itself. This allows getting the location of the 
entire node definition when working with the `Node` enum directly.
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