class Kramdown::Parser::Base

def initialize(source, options)

the default type for newly created text nodes) are automatically initialized.
The @root element, the @warnings array and @text_type (specifies

Initialize the parser object with the +source+ string and the parsing +options+.
def initialize(source, options)
  @source = source
  @options = Kramdown::Options.merge(options)
  @root = Element.new(:root, nil, nil, :encoding => (RUBY_VERSION >= '1.9' ? source.encoding : nil))
  @warnings = []
  @text_type = :text
end