class compilerJs::JsWriter

sys::Obj
  compilerJs::JsWriter

Source

JsWriter.

indent

JsWriter indent()

Source

Increment the indentation.

indentation

Int indentation := 0

Source

make

new make(OutStream out)

Source

Make for specified output stream

minify

Void minify(InStream in)

Source

Write the minified content of the InSteam.

needIndent

Bool needIndent := false

Source

nl

JsWriter nl()

Source

Write newline and then return this.

out

OutStream out

Source

unindent

JsWriter unindent()

Source

Decrement the indentation.

w

JsWriter w(Obj o)

Source

Write and then return this.