Struct erg_parser::ast::Dummy
source · pub struct Dummy {
pub loc: Option<Location>,
pub exprs: Block,
}
Fields§
§loc: Option<Location>
§exprs: Block
Implementations§
Trait Implementations§
source§impl IntoIterator for Dummy
impl IntoIterator for Dummy
source§impl Locational for Dummy
impl Locational for Dummy
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.