Class: TlaTraceFilter::Parser::Grammar::FunctionValue

Inherits:
CompositeValue show all
Defined in:
lib/parser/node_extensions.rb

Composites collapse

Methods inherited from CompositeValue

#value_childs

Methods inherited from Treetop::Runtime::SyntaxNode

#deep_each, #each_sexp, #nodes_with_match

Instance Method Details

#function_valueObject



114
115
116
117
118
# File 'lib/parser/node_extensions.rb', line 114

def function_value
  value_childs.inject({}) do |memo, functionElement|
    memo = memo.merge( functionElement.value )
  end
end

#valueObject



110
111
112
# File 'lib/parser/node_extensions.rb', line 110

def value
  function_value
end