Struct boa::syntax::ast::node::declaration::function_expr::FunctionExpr [−][src]
pub struct FunctionExpr { /* fields omitted */ }Expand description
The function expression defines a function with the specified parameters.
A function created with a function expression is a Function object and has all the
properties, methods and behavior of Function.
A function can also be created using a declaration (see function expression).
By default, functions return undefined. To return any other value, the function must have
a return statement that specifies the value to return.
More information:
Implementations
Gets the list of parameters of the function declaration.
Gets the body of the function declaration.
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Runs Finalize::finalize() on this object and all contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for FunctionExpr
impl !Send for FunctionExpr
impl !Sync for FunctionExpr
impl Unpin for FunctionExpr
impl UnwindSafe for FunctionExpr
Blanket Implementations
Mutably borrows from an owned value. Read more