pub struct CallExpr {
pub callee: String,
pub args: Vec<Expr>,
pub token: Token,
}Expand description
Represents a function call in the AST. It consists of a function name (callee) and a list of arguments.
Fields§
§callee: StringThe name of the function being called.
args: Vec<Expr>The list of arguments passed to the function.
token: TokenThe token representing the function call in the source code.
Trait Implementations§
impl StructuralPartialEq for CallExpr
Auto Trait Implementations§
impl Freeze for CallExpr
impl RefUnwindSafe for CallExpr
impl Send for CallExpr
impl Sync for CallExpr
impl Unpin for CallExpr
impl UnwindSafe for CallExpr
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