[][src]Module boa::syntax::ast::node::declaration

Declaration nodes.

Structs

ArrowFunctionDecl

An arrow function expression is a syntactically compact alternative to a regular function expression.

ConstDecl

Individual constant declaration.

ConstDeclList

The const statements are block-scoped, much like variables defined using the let keyword.

FunctionDecl

The function declaration (function statement) defines a function with the specified parameters.

FunctionExpr

The function expression defines a function with the specified parameters.

LetDecl

Individual constant declaration.

LetDeclList

The let statement declares a block scope local variable, optionally initializing it to a value.

VarDecl

Individual variable declaration.

VarDeclList

The var statement declares a variable, optionally initializing it to a value.