skif-js-syntax
The oxc boundary of skif: one JavaScript or TypeScript file in, skif-owned facts out.
parse_modulereturns aModuleInfo: imports (static, dynamic,require,import.meta.glob, re-exports, with the members accessed through each binding), exports (kind, JSDoc tags, enum and namespace members, removal ranges, custom element registrations), in-file references to exports, and CommonJS/JSX/directive hints.extract_config_objectstatically evaluates the object a tool config file exports;extract_config_object_withalso follows the modules it imports through aModuleLoader.extract_configreturns anExtractedConfig, the value with the evaluated arguments of the calls the evaluator cannot follow (a factory of an installed package) that the file exports, returns from its config function or merges; the loader is optional. Nothing is ever executed.parse_cachedparses through aModuleCache(MemoryModuleCachein memory) under aModuleKeyof the file name, its text, the parse options and the crate version, so an unchanged file is not parsed again.
No oxc type appears in the public API; the oxc crates are held to one release (see ADR 0010).