class Axal::AST::Conditional
- Axal::AST::Conditional
- Axal::AST::Expression
- Reference
- Object
Defined in:
lang/ast/conditional.crConstructors
Instance Method Summary
- #==(other : Expression)
- #children
- #condition : Expression | ::Nil
- #condition=(condition : Expression | ::Nil)
- #when_false : Block | ::Nil
- #when_false=(when_false : Block | ::Nil)
- #when_true : Block | ::Nil
- #when_true=(when_true : Block | ::Nil)
Instance methods inherited from class Axal::AST::Expression
==(other)
==,
children
children,
type
type,
value : Expression | ::Nil | String | ::Nil | Float64 | ::Nil | Bool | ::Nil
value
Constructor methods inherited from class Axal::AST::Expression
new(value : Axal::AST::Expression | Bool | Float64 | String | ::Nil = nil)
new
Constructor Detail
def self.new(condition : Axal::AST::Expression | ::Nil = nil, when_true : ::Nil | Axal::AST::Block = nil, when_false : ::Nil | Axal::AST::Block = nil)
#