Skip to content

Engine: Use Location.zero and Token.from in DebugVisitor - #2053

Merged
marcoroth merged 1 commit into
mainfrom
debug-visitor-location-zero
Aug 7, 2026
Merged

marcoroth merged 1 commit into
mainfrom
debug-visitor-location-zero

Conversation

@marcoroth

Copy link
Copy Markdown
Owner

This pull request updates Herb::Engine::DebugVisitor to use the shared Herb::Location.zero and Herb::Token.from constructors instead of its own local helpers. DebugVisitor predates those constructors, so it carried three private helpers to build the synthetic nodes.

@marcoroth
marcoroth enabled auto-merge (squash) August 7, 2026 00:55
@github-actions github-actions Bot added ruby Ruby source for the gem and its libraries engine Herb engine and Rails template compilation rubygem The herb RubyGem and its packaging labels Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit 4619940


✅ Preview deployment has been cleaned up.

@pkg-pr-new

pkg-pr-new Bot commented Aug 7, 2026

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@2053
npx https://pkg.pr.new/@herb-tools/language-server@2053
npx https://pkg.pr.new/@herb-tools/linter@2053

commit: 4619940

@marcoroth
marcoroth force-pushed the debug-visitor-location-zero branch from 4619940 to 552becc Compare August 7, 2026 01:08
@marcoroth
marcoroth force-pushed the debug-visitor-location-zero branch from 552becc to 94e1a16 Compare August 7, 2026 01:08
@github-actions github-actions Bot added the rbs RBS type signatures in sig/ label Aug 7, 2026
@marcoroth
marcoroth merged commit 8c70f8a into main Aug 7, 2026
32 of 33 checks passed
@marcoroth
marcoroth deleted the debug-visitor-location-zero branch August 7, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine Herb engine and Rails template compilation rbs RBS type signatures in sig/ ruby Ruby source for the gem and its libraries rubygem The herb RubyGem and its packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant