Expand description
The engine: types, JS Date and regex emulation, configuration and the parse loop.
Modulesยง
- chrono
- upstream
chrono.ts: theParserandRefinerabstractions and the parse loop. - components
ParsingComponents(upstreamresults.ts): known and implied date/time components.- configuration
- Configurations as ordered slots named after upstream classes, resolved through the
auto-generated registry (see
build.rs). - context
- upstream
ParsingContextandParsingOption. - js_date
- The JavaScript
Dateoperations chrono-node uses, emulated exactly. - json
- The shared JSON shape of requests and results (see
harness/lib/serialize.jsandtests/golden/README.md). Used by the golden runner and thechrono-rs-jsonCLI. - reference
- upstream
ReferenceWithTimezoneandParsingReference. - regex
- JavaScript regular expressions on top of
fancy-regex. - registry
- The auto-generated registry of ported parsers and refiners (see
build.rs). - result
- upstream
ParsingResult. - timezone
- upstream
timezone.ts: time zone abbreviations andtoTimezoneOffset. - utils
- upstream
src/utils/.