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

YieldExpression

Extends:

NodeExpression → YieldExpression

yield argument or yield* argument

Constructor Summary

Public Constructor
public

constructor(argument: *, delegate: *)

Member Summary

Public Members
public
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(argument: *, delegate: *) source

Params:

NameTypeAttributeDescription
argument *
delegate *

Public Members

public argument: Expression source

public delegate: boolean source