Class: MilkTea::AST::IfExpr
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::IfExpr
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#condition ⇒ Object
readonly
Returns the value of attribute condition.
-
#else_expression ⇒ Object
readonly
Returns the value of attribute else_expression.
-
#then_expression ⇒ Object
readonly
Returns the value of attribute then_expression.
Instance Attribute Details
#condition ⇒ Object (readonly)
Returns the value of attribute condition
229 230 231 |
# File 'lib/milk_tea/core/ast.rb', line 229 def condition @condition end |
#else_expression ⇒ Object (readonly)
Returns the value of attribute else_expression
229 230 231 |
# File 'lib/milk_tea/core/ast.rb', line 229 def else_expression @else_expression end |
#then_expression ⇒ Object (readonly)
Returns the value of attribute then_expression
229 230 231 |
# File 'lib/milk_tea/core/ast.rb', line 229 def then_expression @then_expression end |