class JIS2::IfStatement
- JIS2::IfStatement
- JIS2::Statement
- Reference
- Object
Included Modules
Defined in:
jis2.crConstructors
- .new(condition : JIS2::Expression, body : Array(JIS2::Statement), else_body : Nil | Array(JIS2::Statement))
- .new(condition : JIS2::Expression, body : Array(JIS2::Statement))
Class Method Summary
Instance Method Summary
Instance methods inherited from module Parser::AST
pos : Hash(Symbol, Pos)
pos,
pos=(pos : Hash(Symbol, Pos))
pos=,
pos? : Hash(Symbol, Pos) | Nil
pos?
Class methods inherited from module Parser::AST
compose_known_rules(builder : Parser::Analysis(T)) forall T
compose_known_rules
Instance methods inherited from module Parser::AST
pos : Hash(Symbol, Pos)
pos,
pos=(pos : Hash(Symbol, Pos))
pos=,
pos? : Hash(Symbol, Pos) | Nil
pos?
Class methods inherited from module Parser::AST
compose_known_rules(builder : Parser::Analysis(T)) forall T
compose_known_rules
Constructor Detail
def self.new(condition : JIS2::Expression, body : Array(JIS2::Statement), else_body : Nil | Array(JIS2::Statement))
#