Class: TlaParserS::Resolver::THash

Inherits:
Hash
  • Object
show all
Includes:
TSort
Defined in:
lib/semantics/resolver.rb

Overview

Define a class to do topological sort

Services to use after init & parse collapse

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object



188
189
190
# File 'lib/semantics/resolver.rb', line 188

def tsort_each_child(node, &block)
  fetch(node).each(&block) 
end