Fantom

 

class syntax::HtmlSyntaxWriter

sys::Obj
  syntax::HtmlSyntaxWriter

Source

HtmlSyntaxWriter outputs a SyntaxDoc to HTML

close

Bool close()

Source

Close underlying output stream

make

new make(OutStream out := Env.cur().out())

Source

writeDoc

This writeDoc(SyntaxDoc doc)

Source

Write an entire HTML file with proper head, body types using default CSS

writeLine

This writeLine(SyntaxLine line)

Source

Write a single syntax line as styled HTML

writeLines

This writeLines(SyntaxDoc doc)

Source

Write the lines of the document as HTML elements. This method does not generate HTML head/body tags.