Struct erg_compiler::hir::Module
source · pub struct Module(_);
Expand description
Toplevel grammar unit
Implementations§
Trait Implementations§
source§impl FromIterator<Expr> for Module
impl FromIterator<Expr> for Module
source§impl IntoIterator for Module
impl IntoIterator for Module
source§impl Locational for Module
impl Locational for Module
source§fn loc(&self) -> Location
fn loc(&self) -> Location
NOTE:
loc
cannot be treated as a light method when self
is a large grammatical element.
If possible, delay the computation by passing &impl Locational
or other means.