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