Fantom

 

class

compiler::FPrinter

sys::Obj
  compiler::FPrinter : compiler::FConst

FPrinter is used to pretty print fcode

Slots

allSource

Void all()

attrSource

Void attr(FAttr attr)

attrsSource

Void attrs(FAttr[]? attrs)

codeSource

Void code(Buf code)

enumOrdinalAttrSource

Void enumOrdinalAttr(FAttr attr)

errTableAttrSource

Void errTableAttr(FAttr attr)

facetsAttrSource

Void facetsAttr(FAttr attr)

fieldSource

Void field(FField f)

flagsSource

Str flags(Int flags)

ftypeSource

Void ftype(FType t)

ftypesSource

Void ftypes()

indexSource

Str index(Int index)

lineNumberAttrSource

Void lineNumberAttr(FAttr attr)

lineNumbersAttrSource

Void lineNumbersAttr(FAttr attr)

makeSource

new make(FPod pod, OutStream out := Env.cur().out())

methodSource

Void method(FMethod m)

nameSource

Str name(Int i)

outSource

OutStream out

podSource

FPod pod

printSource

FPrinter print(Obj obj)

printLineSource

FPrinter printLine(Obj obj := "")

showCodeSource

Bool showCode := true

showIndexSource

Bool showIndex := false

showLinesSource

Bool showLines := false

slotSource

Void slot(FSlot s)

sourceFileAttrSource

Void sourceFileAttr(FAttr attr)

tableSource

Void table(Str title, FTable table)

tablesSource

Void tables()

typeRefSource

Str typeRef(Int i)