Object
# File lib/rd/visitor.rb, line 25 def Visitor.define_visit_Nonterminal(element_type) eval def visit_#{element_type.id2name}(element) apply_to_#{element_type.id2name}(element, visit_children(element)) end end
# File lib/rd/visitor.rb, line 13 def visit(tree) tree.accept(self) end
# File lib/rd/visitor.rb, line 55 def visit_DescListItem(element) term = element.term.accept(self) apply_to_DescListItem(element, term, visit_children(element)) end
# File lib/rd/visitor.rb, line 62 def visit_MethodListItem(element) term = element.term.accept(self) apply_to_MethodListItem(element, term, visit_children(element)) end
Generated with the Darkfish Rdoc Generator 2.