Fan

 

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

needIndentSource

Bool needIndent := false

nlSource

JsWriter nl()

Write newline and then return this.

outSource

OutStream out

qnameSource

JsWriter qname(CType t)

Write the JavaScript qname for a CType.

unindentSource

JsWriter unindent()

Decrement the indentation.

wSource

JsWriter w(Obj o)

Write and then return this.