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
Macros inherited from module Parser::AST
rule(*t, given_target = nil)
rule,
smart_enum(e, h)
smart_enum
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
Macros inherited from module Parser::AST
rule(*t, given_target = nil)
rule,
smart_enum(e, h)
smart_enum
Constructor Detail
def self.new(condition : JIS2::Expression, body : Array(JIS2::Statement), else_body : Nil | Array(JIS2::Statement))
#