Class IfStmt

If statement

Implements

Member

condition - The condition to be evaluated

Member

thenBranch - The then branch

Member

elseBranch - The else branch

Method

accept - Accepts a visitor

Hierarchy

  • IfStmt

Implements

Constructors

Properties

Methods

Constructors

Properties

condition: Expr
elseBranch: null | Stmt
thenBranch: Stmt

Methods

Generated using TypeDoc