[][src]Struct boa::syntax::ast::node::expression::Call

pub struct Call { /* fields omitted */ }

Calling the function actually performs the specified actions with the indicated parameters.

Defining a function does not execute it. Defining it simply names the function and specifies what to do when the function is called. Functions must be in scope when they are called, but the function declaration can be hoisted. The scope of a function is the function in which it is declared (or the entire program, if it is declared at the top level).

More information:

Implementations

impl Call[src]

pub fn new<E, A>(expr: E, args: A) -> Self where
    E: Into<Node>,
    A: Into<Box<[Node]>>, 
[src]

Creates a new Call AST node.

pub fn expr(&self) -> &Node[src]

Gets the name of the function call.

pub fn args(&self) -> &[Node][src]

Retrieves the arguments passed to the function.

Trait Implementations

impl Clone for Call[src]

impl Debug for Call[src]

impl Display for Call[src]

impl Drop for Call[src]

impl Executable for Call[src]

impl Finalize for Call[src]

impl From<Call> for Node[src]

impl From<Call> for New[src]

impl PartialEq<Call> for Call[src]

impl StructuralPartialEq for Call[src]

impl Trace for Call[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,