Encoder
Fast encoder producing simple debug output.
It is readable and diff-able and is used for testing.
You cannot fully restore the tokens information from the output, because consecutive :space tokens are merged.
See also: Scanners::Debug
# File lib/coderay/encoders/debug.rb, line 30 def begin_group kind @out << "#{kind}<" end
# File lib/coderay/encoders/debug.rb, line 38 def begin_line kind @out << "#{kind}[" end
# File lib/coderay/encoders/debug.rb, line 34 def end_group kind @out << '>' end
Generated with the Darkfish Rdoc Generator 2.