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

ForInStatement

Extends:

NodeStatement → ForInStatement

for (left in right) body

Constructor Summary

Public Constructor
public

constructor(left: *, right: *, body: *)

Member Summary

Public Members
public
public

left: VariableDeclaration | Expression

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(left: *, right: *, body: *) source

Params:

NameTypeAttributeDescription
left *
right *
body *

Public Members

public body: Statement source

public left: VariableDeclaration | Expression source

public right: Expression source