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

BreakStatement

Extends:

NodeStatement → BreakStatement

Constructor Summary

Public Constructor
public

constructor(label: *)

The `break` keyword.

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

The break keyword.

Params:

NameTypeAttributeDescription
label *

Public Members

public label: Identifier source