pub struct FunctionCall {
pub invoked: FunctionCallInvoked,
pub arguments: FunctionArguments,
}Expand description
A struct representing a function call.
local _ = foo(1, 2, 3)Fields§
§invoked: FunctionCallInvokedThe function being called.
arguments: FunctionArgumentsThe arguments passed to the function.
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 GetRange for FunctionCall
impl GetRange for FunctionCall
Source§fn get_range(&self) -> Result<Range, GetRangeError>
fn get_range(&self) -> Result<Range, GetRangeError>
Get the range of the node. This will only fail if
Cst.status is
AstStatus::HasErrors.Source§impl Hash for FunctionCall
impl Hash for FunctionCall
Source§impl Ord for FunctionCall
impl Ord for FunctionCall
Source§fn cmp(&self, other: &FunctionCall) -> Ordering
fn cmp(&self, other: &FunctionCall) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parse<PrefixExp> for FunctionCall
impl Parse<PrefixExp> for FunctionCall
Source§impl Parse<TableAccessPrefix> for FunctionCall
impl Parse<TableAccessPrefix> for FunctionCall
Source§fn parse(
token: Token,
lexer: &mut Lexer<'_>,
errors: &mut Vec<ParseError>,
) -> Option<TableAccessPrefix>
fn parse( token: Token, lexer: &mut Lexer<'_>, errors: &mut Vec<ParseError>, ) -> Option<TableAccessPrefix>
Try parsing the current item, starting from the passed token.
Source§impl Parse for FunctionCall
impl Parse for FunctionCall
Source§impl PartialEq for FunctionCall
impl PartialEq for FunctionCall
Source§impl PartialOrd for FunctionCall
impl PartialOrd for FunctionCall
Source§impl Print for FunctionCall
impl Print for FunctionCall
impl Eq 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