Expand description
Parser orchestration: parse .d.ts files into IR.
Modules§
- classify
- Interface classification: determine if an interface is class-like or a dictionary.
- docs
- Extract JSDoc comments from the oxc comment list.
- first_
pass - Two-phase first pass over the oxc AST to build the IR.
- members
- Convert oxc class/interface member AST nodes to our IR
Member. - merge
- Detection and execution of the
declare var+interfacemerge pattern. - resolve
- Module specifier resolution using
oxc_resolver. - scope
- TypeScript type scope tracking with arena-based ownership.
- types
- Convert oxc TypeScript type AST nodes to our IR
TypeRef.
Functions§
- parse_
dts_ files - Parse one or more
.d.tsfiles and produce aModule+GlobalContext. - parse_
single_ source - Parse a single
.d.tssource string into aModule+GlobalContext.