oxc
oxc copied to clipboard
refactor(ast): `AstKind::as_*` methods take `self`
Make AstKind::as_*
methods (e.g. AstKind::as_boolean_literal
) take self
, not &self
.
AstKind
is Copy
.
See: https://github.com/oxc-project/oxc/issues/5506#issuecomment-2332912976