Module

SM

require ‘rdoc/markup/simple_markup/to_flow.rb’

== From rdoc/markup/simple_markup/lines.rb

We store the lines we're working on as objects of class Line.
These contain the text of the line, along with a flag indicating the
line type, and an indentation level
Modules
Flow
Classes
AttrChanger
AttrSpan An array of attributes which parallels the characters in a string
Attribute We manage a set of attributes. Each attribute has a symbol name and a bit value
AttributeManager
BlankLine
Fragment A Fragment is a chunk of text, subclassed as a paragraph, a list entry, or verbatim text
Heading
Line
LineCollection Collect groups of lines together. Each group will end up containing a flow of text
Lines A container for all the lines
ListBase A List is a fragment with some kind of label
ListEnd
ListItem
ListStart
Paragraph A paragraph is a fragment which gets wrapped to fit. We remove all newlines when we’re created, and have them put back on output
PreProcess Handle common directives that can occur in a block of text:
Rule A horizontal rule
SimpleMarkup This code converts input_string, which is in the format described in markup/simple_markup.rb, to HTML. The conversion takes place in the convert method, so you can use the same SimpleMarkup object to convert multiple input strings.
Special Hold details of a special sequence
ToFlow
ToHtml
ToLaTeX Convert SimpleMarkup to basic LaTeX report format
Verbatim Verbatim code contains lines that don’t get wrapped.
Constants
AttrChanger An AttrChanger records a change in attributes. It contains a bitmap of the attributes to turn on, and a bitmap of those to turn off
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.