Fantom

 

class

compiler::AstWriter

sys::Obj
  compiler::AstWriter

AstWriter

Slots

flagsSource

AstWriter flags(Int flags)

Write the source code for the mask of flags with a trailing space.

indentSource

AstWriter indent()

Increment the indentation

indentationSource

Int indentation := 0

makeSource

new make(OutStream out := Env.cur().out())

Make for specified output stream

needIndentSource

Bool needIndent := false

nlSource

AstWriter nl()

Write newline and then return this.

outSource

OutStream out

unindentSource

AstWriter unindent()

Decrement the indentation

wSource

AstWriter w(Obj o)

Write and then return this.