Struct erg_parser::ast::NormalSet
source · pub struct NormalSet {
pub l_brace: Token,
pub r_brace: Token,
pub elems: Args,
}
Fields§
§l_brace: Token
§r_brace: Token
§elems: Args
Implementations§
Trait Implementations§
source§impl Locational for NormalSet
impl Locational for NormalSet
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.