Skip to content

Commit 0708ae7

Browse files
committed
refactor(formatter): implement GetSpan for AstNode instead of generating a span method (oxc-project#12423)
`GetSpan` can be used in a generic method that can constrain a generic parameter to satisfy `GetSpan` trait. So that would be useful than a pure method.
1 parent 986c48e commit 0708ae7

File tree

5 files changed

+1022
-633
lines changed

5 files changed

+1022
-633
lines changed

0 commit comments

Comments
 (0)