logo

class

docCompiler::SourceToHtmlGenerator

sys::Obj
  fandoc::HtmlDocWriter
    docCompiler::HtmlGenerator
      docCompiler::ApiToHtmlGenerator
        docCompiler::SourceToHtmlGenerator

SourceToHtmlGenerator generates an syntax color coded HTML file for a Type's source code.

Slots

content

override Void content()

Generate the main content.

convert

Void convert(Str[] lines, OutStream out)

Convert the Fan source code to syntax highlighted HTML markup.

keywords

static Str:Bool keywords

make

new make(DocCompiler compiler, Location loc, OutStream out, Type t, File srcFile)

override Void sidebar()

Generate the sidebar.

srcFile

File srcFile