Sha256: 6604ca5c98132312c9fbb48d2db63af23e48375053bbdd94ba8ea0a5961508f3
Contents?: true
Size: 1.05 KB
Versions: 17
Compression:
Stored size: 1.05 KB
Contents
module IsoDoc::Ietf class RfcConvert < ::IsoDoc::Convert def definition_parse(node, out) node.children.each { |n| parse(n, out) } end def modification_parse(node, out) para = node.at(ns("./p")) out << " -- " para.children.each { |n| parse(n, out) } end def deprecated_term_parse(node, out) out.t do |p| p << l10n("#{@i18n.deprecated}: ") node.children.each { |c| parse(c, p) } end end def admitted_term_parse(node, out) out.t do |p| node.children.each { |c| parse(c, p) } end end def term_parse(node, out) out.name do |p| node.children.each { |n| parse(n, p) } end end def termnote_parse(node, out) note_parse(node, out) end def termref_parse(node, out) out.t do |p| p << "SOURCE: " node.children.each { |n| parse(n, p) } end end def termdef_parse(node, out) set_termdomain("") clause_parse(node, out) end def termdocsource_parse(_node, _out) end end end
Version data entries
17 entries across 17 versions & 2 rubygems