Expand description
Load and tokenize sources.
In general, you should not need to use this module directly; it is exposed so that it can be used for things like syntax highlighting.
Structs§
- File
System Resolver - An implementation of
SourceResolver
for the local file system. - Parse
Tree - A fully parsed feature file, with attached imports and a sourcemap.
- Source
Load Error - An error that occurs when trying .to load a source.
- Token
Set - A bit-set of
Kind
s
Traits§
- Source
Resolver - A trait that abstracts resolving a path.
Functions§
- parse_
root - Entry point for parsing.
- parse_
root_ file - Attempt to parse a feature file from disk, including its imports.
- parse_
string - Convenience method to parse a block of FEA from memory.