Expand description
Combined file loading, lexing, and parsing for multiple modules.
Re-exports§
Modules§
Structs§
- File
- Contents
Cand pathPof a (module) file. - Import
- Information to resolve module/data imports.
- Loader
- Combined file loader, lexer, and parser for multiple modules.
- Module
- Module containing strings
Sand a bodyB. - Modules
- Tree of modules containing definitions, and a main module.
Enums§
- Error
- Error occurring during loading of a single module.
Functions§
- import
- Apply function to path of every imported data file, accumulating errors.
- parse
- Lex a string and parse resulting tokens, returning
Noneif any error occurred. - span
- Return the span of a string slice
partrelative to a string slicewhole.