Class: RD::RD2RDOVisitor

Inherits:
RDVisitor show all
Defined in:
lib/rd/rd2rdo-lib.rb

Constant Summary collapse

OUTPUT_SUFFIX =
"rdo"
INCLUDE_SUFFIX =
[]

Constants inherited from Visitor

Visitor::SYSTEM_NAME, Visitor::SYSTEM_VERSION, Visitor::VERSION

Instance Attribute Summary

Attributes inherited from OutputFormatVisitor

#filename, #include_suffix, #input_filename

Instance Method Summary collapse

Methods inherited from RDVisitor

#apply_to_DescListItemTerm, #apply_to_MethodListItemTerm, #prepare_labels, #refer_external

Methods inherited from OutputFormatVisitor

#apply_to_Include, #initialize

Methods included from SearchFile

#search_file

Methods inherited from Visitor

define_visit_Nonterminal, define_visit_Terminal, version, #visit_DescListItem, #visit_MethodListItem, #visit_Reference, #visit_children

Constructor Details

This class inherits a constructor from RD::OutputFormatVisitor

Instance Method Details

#visit(tree) ⇒ Object



13
14
15
# File 'lib/rd/rd2rdo-lib.rb', line 13

def visit(tree)
  Marshal.dump(tree)
end