oxc/crates/oxc_parser
EliLichtblau 6a9d57061c
TSTypeName change identifer name to identifier reference (#804)
When initially written types were not in the symbol table. Now that
types are in the symbol table it makes sense given
```ts
type A = 1
type B = A
```
that you can get to the symbol id for for A from type B = A.

Please correct me if I'm wrong about how I implemented this. I also
verified that occurrence (I believe this is the correct word) behaves
how I would expect.

```ts
type RecursiveType = string | {[x: string]: RecursiveType}
```
Does populate a reference.

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2023-08-28 11:42:21 +08:00
..
examples chore(parser): add an AST Send example (#712) 2023-08-10 15:56:31 +08:00
fuzz chore: clean up Cargo.toml with cargo machete (#767) 2023-08-20 15:29:09 +08:00
src TSTypeName change identifer name to identifier reference (#804) 2023-08-28 11:42:21 +08:00
Cargo.toml Release crates as v0.1.1 2023-08-26 17:53:11 +08:00
README.md improve README (#800) 2023-08-27 22:36:17 +08:00

Oxc Parser

Parser Conformance

The cargo coverage command reports the following conformance summary

Test262 Summary:
AST Parsed     : 44000/44000 (100.00%)
Positive Passed: 44000/44000 (100.00%)
Negative Passed: 3915/3915 (100.00%)

Babel Summary:
AST Parsed     : 2065/2071 (99.71%)
Positive Passed: 2062/2071 (99.57%)
Negative Passed: 1332/1502 (88.68%)

TypeScript Summary:
AST Parsed     : 2337/2337 (100.00%)
Positive Passed: 2331/2337 (99.74%)
Negative Passed: 673/2535 (26.55%)

Only some stage 3 are skipped.