[−][src]Struct boa::syntax::ast::node::call::Call
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]
E: Into<Node>,
A: Into<Box<[Node]>>,
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
[src]
impl Send for Call
[src]
impl Sync for Call
[src]
impl Unpin for Call
[src]
impl UnwindSafe for Call
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NativeObject for T where
T: Any + Debug + Trace,
[src]
T: Any + Debug + Trace,
pub fn as_any(&Self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,