Class: FAM::Syntax::AST::ConditionNode
- Defined in:
- lib/fam/syntax/ast.rb
Instance Attribute Summary collapse
-
#invalid ⇒ Object
Returns the value of attribute invalid.
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
-
#valid ⇒ Object
Returns the value of attribute valid.
Instance Method Summary collapse
-
#initialize(left, right, valid, invalid) ⇒ ConditionNode
constructor
A new instance of ConditionNode.
Methods inherited from Node
Constructor Details
#initialize(left, right, valid, invalid) ⇒ ConditionNode
Returns a new instance of ConditionNode.
102 103 104 105 106 107 |
# File 'lib/fam/syntax/ast.rb', line 102 def initialize left, right, valid, invalid @left = left @right = right @valid = valid @invalid = invalid end |
Instance Attribute Details
#invalid ⇒ Object
Returns the value of attribute invalid.
101 102 103 |
# File 'lib/fam/syntax/ast.rb', line 101 def invalid @invalid end |
#left ⇒ Object
Returns the value of attribute left.
101 102 103 |
# File 'lib/fam/syntax/ast.rb', line 101 def left @left end |
#right ⇒ Object
Returns the value of attribute right.
101 102 103 |
# File 'lib/fam/syntax/ast.rb', line 101 def right @right end |
#valid ⇒ Object
Returns the value of attribute valid.
101 102 103 |
# File 'lib/fam/syntax/ast.rb', line 101 def valid @valid end |