Struct semantic_analyzer::ast::FunctionCall
source · pub struct FunctionCall<'a, E: ExtendedExpression> {
pub name: FunctionName<'a>,
pub parameters: Vec<Expression<'a, E>>,
}Expand description
FunctionCall function call element of AST.
Basic entity for function call representation.
Fields§
§name: FunctionName<'a>Function name of called function
parameters: Vec<Expression<'a, E>>Function parameters, represented through expression
Trait Implementations§
source§impl<'a, E: Clone + ExtendedExpression> Clone for FunctionCall<'a, E>
impl<'a, E: Clone + ExtendedExpression> Clone for FunctionCall<'a, E>
source§fn clone(&self) -> FunctionCall<'a, E>
fn clone(&self) -> FunctionCall<'a, E>
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<'a, E: Debug + ExtendedExpression> Debug for FunctionCall<'a, E>
impl<'a, E: Debug + ExtendedExpression> Debug for FunctionCall<'a, E>
source§impl<E: ExtendedExpression> From<FunctionCall<'_, E>> for FunctionCall
impl<E: ExtendedExpression> From<FunctionCall<'_, E>> for FunctionCall
source§fn from(value: FunctionCall<'_, E>) -> Self
fn from(value: FunctionCall<'_, E>) -> Self
Converts to this type from the input type.
source§impl<E: ExtendedExpression> GetLocation for FunctionCall<'_, E>
impl<E: ExtendedExpression> GetLocation for FunctionCall<'_, E>
fn location(&self) -> CodeLocation
source§impl<E: ExtendedExpression> GetName for FunctionCall<'_, E>
impl<E: ExtendedExpression> GetName for FunctionCall<'_, E>
source§impl<'a, E: PartialEq + ExtendedExpression> PartialEq for FunctionCall<'a, E>
impl<'a, E: PartialEq + ExtendedExpression> PartialEq for FunctionCall<'a, E>
source§fn eq(&self, other: &FunctionCall<'a, E>) -> bool
fn eq(&self, other: &FunctionCall<'a, E>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a, E: ExtendedExpression> StructuralPartialEq for FunctionCall<'a, E>
Auto Trait Implementations§
impl<'a, E> RefUnwindSafe for FunctionCall<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for FunctionCall<'a, E>where
E: Send,
impl<'a, E> Sync for FunctionCall<'a, E>where
E: Sync,
impl<'a, E> Unpin for FunctionCall<'a, E>
impl<'a, E> UnwindSafe for FunctionCall<'a, E>where
E: UnwindSafe,
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