Home Reference Source Repository
import {EmptyStatement} from 'esast/src/ast.js'
public class | source

EmptyStatement

Extends:

NodeStatement → EmptyStatement

An empty statement, i.e., a solitary semicolon. Not useful for code generation, but some parsers will return these.

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(): *