Class: BasicDfsTreePrintVisitor

Inherits:
TreePrintVisitor show all
Defined in:
lib/visitor/tree_print_visitor.rb

Constant Summary

Constants inherited from TreePrintVisitor

TreePrintVisitor::ALL_LEVELS

Instance Method Summary collapse

Methods inherited from TreePrintVisitor

#initialize, #postVisit, #preVisit

Constructor Details

This class inherits a constructor from TreePrintVisitor

Instance Method Details

#nodeToStr(node) ⇒ Object



41
42
43
# File 'lib/visitor/tree_print_visitor.rb', line 41

def nodeToStr(node)
  "#{node.dfsNumber} #{node.suffixOffset}, #{super}"
end