oxc/crates/oxc_parser/src
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
..
js refactor: improve code coverage a little bit 2023-08-25 23:07:14 +08:00
jsx chore(rustfmt): run cargo fmt 2023-05-21 11:52:26 +08:00
lexer refactor: improve code coverage a little bit 2023-08-25 23:07:14 +08:00
ts TSTypeName change identifer name to identifier reference (#804) 2023-08-28 11:42:21 +08:00
context.rs chore: reformat 2023-07-27 13:11:46 +08:00
cursor.rs fix(parser): fix re_lex_jsx_identifier not omitting whitespaces 2023-07-05 12:53:21 +08:00
diagnostics.rs refactor(ast): remove RestElement from BindingPattern 2023-05-16 22:25:52 +08:00
lib.rs improve README (#800) 2023-08-27 22:36:17 +08:00
list.rs fix(parser): fix crashing on empty ParenthesizedExpression with comments (#263) 2023-04-06 17:16:15 +08:00
state.rs refactor(ast): change Option<Vec> to Vec for decorators (#84) 2023-03-02 15:52:46 +08:00