logo
class

compiler::AstWriter

sys::Obj
  compiler::AstWriter

AstWriter

Slots

flags

AstWriter flags(Int flags)

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

indent

AstWriter indent()

Increment the indentation

indentation

Int indentation

make

new make(OutStream out := def)

Make for specified output stream

needIndent

Bool needIndent

nl

AstWriter nl()

Write newline and then return this.

out

OutStream out

unindent

AstWriter unindent()

Decrement the indentation

w

AstWriter w(Obj o)

Write and then return this.