class

DoisC::ASTData::IfStatement

Inherits DoisC::ASTData::Statement < DoisC::ASTData::Node < Reference < Object

A conditional if statement, i.e. if x > 2 do...

Constructors

new(branches : Array(IfBranch(Procedure)), else_body : Procedure | Nil, source_location : SourceLocation)
Source

Instance methods

branches
Source
else_body
Source