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.

Source

indent

AstWriter indent()

Increment the indentation

Source

indentation

Int indentation := 0

Source

make

new make(OutStream out := Sys.out())

Make for specified output stream

Source

needIndent

Bool needIndent := false

Source

nl

AstWriter nl()

Write newline and then return this.

Source

out

OutStream out

Source

unindent

AstWriter unindent()

Decrement the indentation

Source

w

AstWriter w(Obj o)

Write and then return this.

Source