pub struct FunctionCall {
pub callee: Box<Expression>,
pub arguments: Vec<Expression>,
pub span: Span,
}
Expand description
Represents a function call expression in the SAP language.
For example: add(5, 10)
Fields§
§callee: Box<Expression>
The function being called. This can be an identifier or an expression which evaluates to a function.
arguments: Vec<Expression>
§span: Span
Trait Implementations§
Source§impl Clone for FunctionCall
impl Clone for FunctionCall
Source§fn clone(&self) -> FunctionCall
fn clone(&self) -> FunctionCall
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionCall
impl Debug for FunctionCall
Source§impl PartialEq for FunctionCall
impl PartialEq for FunctionCall
Source§impl Serialize for FunctionCall
impl Serialize for FunctionCall
impl StructuralPartialEq for FunctionCall
Auto Trait Implementations§
impl Freeze for FunctionCall
impl RefUnwindSafe for FunctionCall
impl Send for FunctionCall
impl Sync for FunctionCall
impl Unpin for FunctionCall
impl UnwindSafe for FunctionCall
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