class compiler::FPod

sys::Obj
  compiler::FPod : compiler::CPod, compiler::FConst

Source

FPod is the read/write fcode representation of sys::Pod. It's main job in life is to manage all the pod-wide constant tables for names, literals, type/slot references and type/slot definitions.

addFieldRef

Int addFieldRef(CField field)

Source

addMethodRef

Int addMethodRef(CMethod method, Int? argCount := null)

Source

addName

Int addName(Str val)

Source

addTypeRef

Int addTypeRef(CType t)

Source

decimal

Decimal decimal(Int index)

Source

decimals

FTable decimals

Source

depends

virtual override CDepend[] depends

Source

dump

Void dump(OutStream out := Env.cur().out())

Source

duration

Duration duration(Int index)

Source

durations

FTable durations

Source

fieldRef

FFieldRef fieldRef(Int index)

Source

fieldRefStr

Str fieldRefStr(Int index)

Source

fieldRefs

FTable fieldRefs

Source

file

virtual override File file()

Source

float

Float float(Int index)

Source

floats

FTable floats

Source

ftypes

FType[]? ftypes

Source

ftypesByName

[Str:FType]? ftypesByName

Source

in

InStream? in(Uri uri)

Source

Get input stream to read the specified file from zip storage.

index

Str:Obj index

Source

integer

Int integer(Int index)

Source

ints

FTable ints

Source

make

new make(CNamespace ns, Str podName, Zip? zip)

Source

meta

virtual override Str:Str meta

Source

methodRef

FMethodRef methodRef(Int index)

Source

methodRefStr

Str methodRefStr(Int index)

Source

methodRefs

FTable methodRefs

Source

n

Str n(Int index)

Source

name

virtual override Str name

Source

names

FTable names

Source

ns

virtual override CNamespace ns

Source

out

OutStream out(Uri uri)

Source

Get output stream to write the specified file to zip storage.

read

Void read()

Source

Read the just the pod and type meta-data, but not each type's full definition

readFully

Void readFully()

Source

Read the entire pod into memory (including full type specifications)

resolveType

virtual override CType? resolveType(Str name, Bool checked)

Source

resolveTypes

CType[] resolveTypes(Int[] indexes)

Source

str

Str str(Int index)

Source

strs

FTable strs

Source

toType

CType? toType(Int index)

Source

typeRef

FTypeRef typeRef(Int index)

Source

typeRefStr

Str typeRefStr(Int index)

Source

typeRefs

FTable typeRefs

Source

types

virtual override CType[] types()

Source

uri

Str uri(Int index)

Source

uris

FTable uris

Source

version

virtual override Version version

Source

write

Void write(Zip zip := this.zip)

Source

Write the tables and type files out to zip storage

zip

Zip? zip

Source