Class: MSFLVisitors::Nodes::And
- Defined in:
- lib/msfl_visitors/nodes/and.rb
Instance Attribute Summary
Attributes inherited from Iterator
Instance Method Summary collapse
-
#initialize(set) ⇒ And
constructor
A new instance of And.
Methods inherited from Iterator
Methods inherited from Base
Constructor Details
#initialize(set) ⇒ And
Returns a new instance of And.
7 8 9 10 11 12 |
# File 'lib/msfl_visitors/nodes/and.rb', line 7 def initialize(set) super unless valid_set_children? fail ArgumentError, "Members of child Set node of And node must be expressions, not values, only containment Set nodes have values as children." end end |