Crate debris_hir
source ·Expand description
High-level intermediate representation
This intermediate representation is very similar to a typical abstract syntax tree, but with some desugaring applied.
Modules
- hir_impl 🔒Converts the high-level representation from the pest parser.
- Defines every node used in the hir representation
Structs
- The hir representation of an input file and all of its dependencies
- Contains state data that are used during the hir construction
- This struct stores the high-level intermediate representation of a single file. A
HirFile
is very similar to asuper::hir_nodes::HirModule
, but it can store a list of imports - A list of
SpannedIdentifier
s, can be a dotted path - Keeps track of all imported modules, uses indexes as keys
- Identifies a variable or value based on its span