Struct erg_parser::ast::ConstApp
source · pub struct ConstApp {
pub acc: ConstAccessor,
pub args: ConstArgs,
}
Expand description
Application
ex. Vec Int
of Option Vec Int
Fields§
§acc: ConstAccessor
§args: ConstArgs
Implementations§
Trait Implementations§
source§impl Locational for ConstApp
impl Locational for ConstApp
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.