Fantom

 

class compiler::FPrinter

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

Source

FPrinter is used to pretty print fcode

all

Void all()

Source

attr

Void attr(FAttr attr)

Source

attrs

Void attrs(FAttr[]? attrs)

Source

code

Void code(Buf code)

Source

enumOrdinalAttr

Void enumOrdinalAttr(FAttr attr)

Source

errTableAttr

Void errTableAttr(FAttr attr)

Source

facetsAttr

Void facetsAttr(FAttr attr)

Source

field

Void field(FField f)

Source

flags

Str flags(Int flags)

Source

ftype

Void ftype(FType t)

Source

ftypes

Void ftypes()

Source

index

Str index(Int index)

Source

lineNumberAttr

Void lineNumberAttr(FAttr attr)

Source

lineNumbersAttr

Void lineNumbersAttr(FAttr attr)

Source

make

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

Source

method

Void method(FMethod m)

Source

name

Str name(Int i)

Source

out

OutStream out

Source

pod

FPod pod

Source

print

FPrinter print(Obj obj)

Source

printLine

FPrinter printLine(Obj obj := "")

Source

showCode

Bool showCode := true

Source

showIndex

Bool showIndex := false

Source

showLines

Bool showLines := false

Source

slot

Void slot(FSlot s)

Source

sourceFileAttr

Void sourceFileAttr(FAttr attr)

Source

table

Void table(Str title, FTable table)

Source

tables

Void tables()

Source

typeRef

Str typeRef(Int i)

Source