It would be great to have AST nodes with a `loc` and/or `range` fields. Here's some context: https://github.com/oxc-project/oxc/issues/10139#issuecomment-2783567533 Possibly dependent upon https://github.com/oxc-project/oxc/issues/9705 being completed first.