Enum erg_parser::parse::BraceContainer
source · pub enum BraceContainer {
Set(Set),
Dict(Dict),
Record(Record),
}
Variants§
Trait Implementations§
source§impl Locational for BraceContainer
impl Locational for BraceContainer
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.