Struct erg_parser::ast::Call
source · pub struct Call {
pub obj: Box<Expr>,
pub attr_name: Option<Identifier>,
pub args: Args,
}
Fields§
§obj: Box<Expr>
§attr_name: Option<Identifier>
§args: Args
Implementations§
source§impl Call
impl Call
pub fn get_obj(&self) -> Expr
pub fn set_obj(&mut self, obj: Expr)
pub fn get_attr_name(&self) -> Option<Identifier>
pub fn set_attr_name(&mut self, attr_name: Option<Identifier>)
pub fn get_args(&self) -> Args
pub fn set_args(&mut self, args: Args)
pub fn new(obj: Expr, attr_name: Option<Identifier>, args: Args) -> Self
pub fn is_match(&self) -> bool
pub fn additional_operation(&self) -> Option<OperationKind>
Trait Implementations§
source§impl Locational for Call
impl Locational for Call
source§impl NestedDisplay for Call
impl NestedDisplay for Call
impl Eq for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)