Fantom

 

class

compilerJs::JsWriter

sys::Obj
  compilerJs::JsWriter

JsWriter.

Slots

indentSource

JsWriter indent()

Increment the indentation.

indentationSource

Int indentation := 0

makeSource

new make(OutStream out)

Make for specified output stream

minifySource

Void minify(InStream in)

Write the minified content of the InSteam.

needIndentSource

Bool needIndent := false

nlSource

JsWriter nl()

Write newline and then return this.

outSource

OutStream out

unindentSource

JsWriter unindent()

Decrement the indentation.

wSource

JsWriter w(Obj o)

Write and then return this.