logo
Expand description

This module implements the Node structure, which composes the AST.

Re-exports

pub use self::array::ArrayDecl;
pub use self::await_expr::AwaitExpr;
pub use self::block::Block;
pub use self::break_node::Break;
pub use self::call::Call;
pub use self::conditional::ConditionalOp;
pub use self::conditional::If;
pub use self::declaration::ArrowFunctionDecl;
pub use self::declaration::AsyncFunctionDecl;
pub use self::declaration::AsyncFunctionExpr;
pub use self::declaration::Declaration;
pub use self::declaration::DeclarationList;
pub use self::declaration::FunctionDecl;
pub use self::declaration::FunctionExpr;
pub use self::field::GetConstField;
pub use self::field::GetField;
pub use self::identifier::Identifier;
pub use self::iteration::Continue;
pub use self::iteration::DoWhileLoop;
pub use self::iteration::ForInLoop;
pub use self::iteration::ForLoop;
pub use self::iteration::ForOfLoop;
pub use self::iteration::WhileLoop;
pub use self::new::New;
pub use self::object::Object;
pub use self::operator::Assign;
pub use self::operator::BinOp;
pub use self::operator::UnaryOp;
pub use self::return_smt::Return;
pub use self::spread::Spread;
pub use self::statement_list::RcStatementList;
pub use self::statement_list::StatementList;
pub use self::switch::Case;
pub use self::switch::Switch;
pub use self::template::TaggedTemplate;
pub use self::template::TemplateLit;
pub use self::throw::Throw;
pub use self::try_node::Catch;
pub use self::try_node::Finally;
pub use self::try_node::Try;

Modules

Array declaration node.
Await expression node.
Block AST node.
Conditional nodes
Declaration nodes
Field nodes
Local identifier node.
Iteration nodes
Object node.
Operator nodes
Statement list node.
Switch node.
Template literal node.

Structs

“Formal parameter” is a fancy way of saying “function parameter”.

Enums

Method definition kinds.
A JavaScript property is a characteristic of an object, often describing attributes associated with a data structure.
PropertyName can be either a literal or computed.