Sha256: 2976dad01cd1d1a2e420a8c9767686cf46d4712c51538fbe0a5182921069654c
Contents?: true
Size: 582 Bytes
Versions: 30
Compression:
Stored size: 582 Bytes
Contents
=begin = rd2rmi-lib.rb library to output RMI. =end require "rd/rdvisitor" module RD class RD2RMIVisitor < RDVisitor include AutoLabel include MethodParse OUTPUT_SUFFIX = "rmi" INCLUDE_SUFFIX = ["rmi"] def visit(tree) ret = "" prepare_labels(tree) index = make_method_index(tree) index.each do |i| i[1] = kind2str(i[1]) i[3] = @filename i[4] = refer(i[0]+i[1]+i[2]) ret << "$method_index.push(#{i.inspect})\n" end ret end end # class RD2RMIVisitor end # module RD $Visitor_Class = RD::RD2RMIVisitor
Version data entries
30 entries across 29 versions & 4 rubygems