class compilerJs::JsWriter
sys::Obj compilerJs::JsWriter
JsWriter.
- col
-
Int col := 0 - indent
-
JsWriter indent()Increment the indentation.
- indentation
-
Int indentation := 0 - line
-
Int line := 0 - make
-
new make(OutStream out)Make for specified output stream
- makeSourceMap
- minify
-
Write the minified content of the InSteam.
- needIndent
-
Bool needIndent := false - nl
-
JsWriter nl()Write newline and then return this.
- sig
-
JsWriter sig(JsMethodParam[] pars) - sourcemap
-
SourceMap? sourcemap - 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.