Ende.lint.IfStatement

interface ยท experimental

interface Ende.lint.IfStatement

Execute a statement the test passes, otherwise the alternate statement, if it was defined.

Properties

type

type: "IfStatement"

range

range: Range

test

test: Expression

consequent

consequent: Statement

alternate

alternate: Statement | null

parent

parent: Program | StaticBlock | BlockStatement | WithStatement | LabeledStatement | IfStatement | SwitchCase | WhileStatement | DoWhileStatement | ForStatement | ForInStatement | ForOfStatement | TSModuleBlock