u9g
8b7b1381b5
chore(query): abstract away testing boilerplate ( #669 )
2023-07-31 10:05:24 +08:00
u9g
08e78bce16
feat(query): add ast counterpart to JSXOpeningElement ( #668 )
2023-07-30 19:51:25 -04:00
u9g
228cab9269
feat(query): add ast counterpart to ObjectLiteral ( #666 )
2023-07-30 18:15:57 -04:00
u9g
29ddca52b7
chore(query): condense XAST and X resolvers into one ( #663 )
...
No need to needlessly duplicate code.
**Future work:**
1. remove any breakout function that calls getspan...
2. maybe: make every type that can implement span (why don't we already)
2023-07-30 11:34:34 -04:00
Boshen
b34ef4f07a
chore: reformat
2023-07-27 13:11:46 +08:00
u9g
34f25b7067
feat(query): adapter invariant test ( #644 )
...
Checks for invariants in the adapter that would certainly error out real
usage, doesn't actually use the data provided to the adapter
2023-07-26 23:59:02 -04:00
u9g
5b0449507e
chore(query): move tests to their own file ( #643 )
2023-07-27 03:41:55 +00:00
u9g
451667acfc
feat(query): impl ASTNode for VariableDeclarationAST ( #639 )
...
also changes from using entire_span to just span so we don't have to
have two properties point at the same span
2023-07-27 11:30:15 +08:00
u9g
997eb26d3e
feat(query): impl Typename for VariableDeclaration ( #638 )
2023-07-27 09:46:49 +08:00
u9g
1d504ac94a
Add oxc_query crate ( #625 )
2023-07-26 13:03:00 +08:00