Struct erg_compiler::hir::PosArg
source · pub struct PosArg {
pub expr: Expr,
}
Fields§
§expr: Expr
Implementations§
Trait Implementations§
source§impl Locational for PosArg
impl Locational for PosArg
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.