Struct boa::syntax::ast::node::FormalParameter [−][src]
pub struct FormalParameter { /* fields omitted */ }Expand description
“Formal parameter” is a fancy way of saying “function parameter”.
In the declaration of a function, the parameters must be identifiers, not any value like numbers, strings, or objects.
function foo(formalParameter1, formalParameter2) {
}More information:
Implementations
Trait Implementations
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 FormalParameter
impl !Send for FormalParameter
impl !Sync for FormalParameter
impl Unpin for FormalParameter
impl UnwindSafe for FormalParameter
Blanket Implementations
Mutably borrows from an owned value. Read more