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
sourceimpl Call
impl Call
pub fn new(obj: Expr, attr_name: Option<Identifier>, args: Args) -> Self
pub fn is_match(&self) -> bool
pub fn is_assert_cast(&self) -> bool
pub fn assert_cast_target_type(&self) -> Option<&Expr>
pub fn additional_operation(&self) -> Option<OperationKind>
Trait Implementations
sourceimpl Locational for Call
impl Locational for Call
sourceimpl NestedDisplay for Call
impl NestedDisplay for Call
impl Eq for Call
impl StructuralEq for Call
impl StructuralPartialEq for Call
Auto Trait Implementations
impl RefUnwindSafe for Call
impl !Send for Call
impl !Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more