Skip to main content

Crate oxc_parser_napi

Crate oxc_parser_napi 

Source

Structs§

DynamicImport
EcmaScriptModule
ExportExportName
ExportImportName
ExportLocalName
ImportName
ParseResult
ParserOptions
ResolveTask
Span
StaticExport
StaticExportEntry
StaticImport
StaticImportEntry
ValueSpan

Enums§

ExportExportNameKind
ExportImportNameKind
ExportLocalNameKind
ImportNameKind

Functions§

get_buffer_offset
Get offset within a Uint8Array which is aligned on BUFFER_ALIGN.
parse
Parse JS/TS source asynchronously on a separate thread.
parse_raw
Parse AST into provided Uint8Array buffer, asynchronously.
parse_raw_sync
Parse AST into provided Uint8Array buffer, synchronously.
parse_sync
Parse JS/TS source synchronously on current thread.
raw_transfer_supported
Returns true if raw transfer is supported on this platform.