Enum erg_parser::ast::Record
source · pub enum Record {
Normal(NormalRecord),
Mixed(MixedRecord),
}
Variants§
Normal(NormalRecord)
Mixed(MixedRecord)
Implementations§
Trait Implementations§
source§impl Locational for Record
impl Locational for Record
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.