class compilerEs::JsWriter
sys::Obj compilerEs::JsWriter
JsWriter
- col
-
Int col := 0 { private set }
- indent
-
JsWriter indent()
Increment the indentation
- line
-
Int line := 0 { private set }
- make
-
new make(OutStream out, SourceMap? sourcemap := null)
- minify
- nl
-
JsWriter nl()
Write newline and then return this.
- unindent
-
JsWriter unindent()
Decrement the indentation
- w
-
JsWriter w(Obj o, Loc? loc := null, Str? name := null)
Write and then return this. If loc is not null, the text will be added to the generated source map.
- wl
-
JsWriter wl(Obj o, Loc? loc := null, Str? name := null)
Convenience for
w(o,loc,name).nl
.