class compiler::AstWriter

sys::Obj
  compiler::AstWriter

Source

AstWriter

flags

AstWriter flags(Int flags)

Source

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

flagsToStr

static Str flagsToStr(Int flags)

Source

indent

AstWriter indent()

Source

Increment the indentation

indentation

Int indentation := 0

Source

make

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

Source

Make for specified output stream

needIndent

Bool needIndent := false

Source

nl

AstWriter nl()

Source

Write newline and then return this.

out

OutStream out

Source

unindent

AstWriter unindent()

Source

Decrement the indentation

w

AstWriter w(Obj o)

Source

Write and then return this.