[−][src]Enum boa::syntax::ast::node::Node
Variants
ArrayDecl(ArrayDecl)
Array declaration node. More information.
ArrowFunctionDecl(ArrowFunctionDecl)
An arrow function expression node. More information.
Assign(Assign)
An assignment operator node. More information.
AsyncFunctionDecl(AsyncFunctionDecl)
An async function declaration node. More information.
AsyncFunctionExpr(AsyncFunctionExpr)
An async function expression node. More information.
AwaitExpr(AwaitExpr)
An await expression node. More information.
BinOp(BinOp)
A binary operator node. More information.
Block(Block)
A Block node. More information.
Break(Break)
A break node. More information.
Call(Call)
A function call. More information.
ConditionalOp(ConditionalOp)
A javascript conditional operand ( x ? y : z ). More information.
Const(Const)
Literals represent values in JavaScript.
These are fixed values not variables that you literally provide in your script.
More information:
ConstDeclList(ConstDeclList)
A constant declaration list. More information.
Continue(Continue)
A continue statement. More information.
DoWhileLoop(DoWhileLoop)
A do ... while statement. More information.
FunctionDecl(FunctionDecl)
A function declaration node. More information.
FunctionExpr(FunctionExpr)
A function expression node. More information.
GetConstField(GetConstField)
Provides access to an object types' constant properties. More information.
GetField(GetField)
Provides access to object fields. More information.
ForLoop(ForLoop)
A for
statement. More information.
ForInLoop(ForInLoop)
A for...of
or for..in
statement. More information.
ForOfLoop(ForOfLoop)
A for...of
statement. More information.
If(If)
An 'if' statement. More information.
LetDeclList(LetDeclList)
A let
declaration list. More information.
Identifier(Identifier)
A local identifier node. More information.
New(New)
A new
expression. More information.
Object(Object)
An object. More information.
Return(Return)
A return statement. More information.
Switch(Switch)
A switch {case} statement. More information.
Spread(Spread)
A spread (...x) statement. More information.
TaggedTemplate(TaggedTemplate)
A tagged template. More information.
TemplateLit(TemplateLit)
A template literal. More information.
Throw(Throw)
A throw statement. More information.
Try(Try)
A try...catch
node. More information.
The JavaScript this
keyword refers to the object it belongs to.
A property of an execution context (global, function or eval) that, in non–strict mode, is always a reference to an object and in strict mode can be any value.
More information:
UnaryOp(UnaryOp)
Unary operation node. More information
VarDeclList(VarDeclList)
Array declaration node. More information.
WhileLoop(WhileLoop)
A 'while {...}' node. More information.
Implementations
impl Node
[src]
Trait Implementations
impl Clone for Node
[src]
impl Debug for Node
[src]
impl Display for Node
[src]
impl Drop for Node
[src]
impl Executable for Node
[src]
impl Finalize for Node
[src]
impl From<ArrayDecl> for Node
[src]
impl From<ArrowFunctionDecl> for Node
[src]
pub fn from(decl: ArrowFunctionDecl) -> Self
[src]
impl From<Assign> for Node
[src]
impl From<AsyncFunctionDecl> for Node
[src]
pub fn from(decl: AsyncFunctionDecl) -> Self
[src]
impl From<AsyncFunctionExpr> for Node
[src]
pub fn from(expr: AsyncFunctionExpr) -> Self
[src]
impl From<AwaitExpr> for Node
[src]
impl From<BinOp> for Node
[src]
impl From<Block> for Node
[src]
impl From<Break> for Node
[src]
impl From<Call> for Node
[src]
impl From<ConditionalOp> for Node
[src]
pub fn from(cond_op: ConditionalOp) -> Node
[src]
impl From<Const> for Node
[src]
impl From<ConstDeclList> for Node
[src]
pub fn from(list: ConstDeclList) -> Self
[src]
impl From<Continue> for Node
[src]
impl From<DoWhileLoop> for Node
[src]
pub fn from(do_while: DoWhileLoop) -> Self
[src]
impl From<ForInLoop> for Node
[src]
impl From<ForLoop> for Node
[src]
impl From<ForOfLoop> for Node
[src]
impl From<FunctionDecl> for Node
[src]
pub fn from(decl: FunctionDecl) -> Self
[src]
impl From<FunctionExpr> for Node
[src]
pub fn from(expr: FunctionExpr) -> Self
[src]
impl From<GetConstField> for Node
[src]
pub fn from(get_const_field: GetConstField) -> Self
[src]
impl From<GetField> for Node
[src]
impl From<Identifier> for Node
[src]
pub fn from(local: Identifier) -> Self
[src]
impl From<If> for Node
[src]
impl From<LetDeclList> for Node
[src]
pub fn from(list: LetDeclList) -> Self
[src]
impl From<New> for Node
[src]
impl From<Object> for Node
[src]
impl From<Return> for Node
[src]
impl From<Spread> for Node
[src]
impl From<Switch> for Node
[src]
impl From<TaggedTemplate> for Node
[src]
pub fn from(template: TaggedTemplate) -> Self
[src]
impl From<Throw> for Node
[src]
impl From<Try> for Node
[src]
impl From<UnaryOp> for Node
[src]
impl From<VarDeclList> for Node
[src]
pub fn from(list: VarDeclList) -> Self
[src]
impl From<WhileLoop> for Node
[src]
impl PartialEq<Node> for Node
[src]
impl StructuralPartialEq for Node
[src]
impl Trace for Node
[src]
Auto Trait Implementations
impl RefUnwindSafe for Node
[src]
impl Send for Node
[src]
impl Sync for Node
[src]
impl Unpin for Node
[src]
impl UnwindSafe for Node
[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>,