Class: SimpleLogic::InfixOperationChain

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/simple_logic/syntax_nodes.rb

Instance Method Summary collapse

Instance Method Details

#listObject



55
56
57
# File 'lib/simple_logic/syntax_nodes.rb', line 55

def list
  elements.map {|e| [e.primary, e.operator] }.flatten
end