Class: SimpleLogic::InfixOperationChain
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SimpleLogic::InfixOperationChain
- Defined in:
- lib/simple_logic/syntax_nodes.rb
Instance Method Summary collapse
Instance Method Details
#list ⇒ Object
55 56 57 |
# File 'lib/simple_logic/syntax_nodes.rb', line 55 def list elements.map {|e| [e.primary, e.operator] }.flatten end |