Struct erg_parser::ast::ConstDict
source · pub struct ConstDict {
pub kvs: Vec<ConstKeyValue>,
/* private fields */
}
Fields§
§kvs: Vec<ConstKeyValue>
Implementations§
Trait Implementations§
source§impl Locational for ConstDict
impl Locational for ConstDict
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.