Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IfStatement<SubjectType, BodyStatementsT>

Should not be used directly, instead use If or SIf

Type parameters

  • SubjectType

  • BodyStatementsT

Hierarchy

  • IfStatement

Index

Constructors

Properties

Methods

Constructors

constructor

  • new IfStatement(expr: SubjectType, body: BodyStatementsT[]): IfStatement

Properties

exprs

exprs: BodyStatementsT[]

subject

subject: SubjectType

type

type: "ifStatement" = IF_STATEMENT

Methods

Else

  • Else(exprs: BodyStatementsT[]): IfElseBlock<SubjectType, BodyStatementsT>

ElseIf

  • ElseIf(expr: SubjectType, body: BodyStatementsT[]): ElseIfStatement<SubjectType, BodyStatementsT>

Generated using TypeDoc