ExpressionStatement
An expression statement, i.e., a statement consisting of a single expression.
See esast.util toStatement toStatements
.
Constructor Summary
Public Constructor | ||
public |
constructor(expression: *) |
Member Summary
Public Members | ||
public |
|
Inherited Summary
From class Node | ||
public get |
type: * For compatibility with other AST representations,
all Node instances have a 'type' property that is the name of that type.
|
|
public |
toJSON(): * Convert to JSON.
|
|
public |
toString(): * |
Public Constructors
public constructor(expression: *) source
Params:
Name | Type | Attribute | Description |
expression | * |