logo

final class

compiler::FPod

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

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.

Slots

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

Depend[] depends

Source

dump

Void dump()

Source

duration

Duration duration(Int index)

Source

durations

FTable durations

Source

fattrs

FAttr[] fattrs

Source

fieldRef

FFieldRef fieldRef(Int index)

Source

fieldRefStr

Str fieldRefStr(Int index)

Source

fieldRefs

FTable fieldRefs

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)

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

Source

integer

Int integer(Int index)

Source

ints

FTable ints

Source

make

new make(FPodNamespace ns, Str podName, Zip zip)

Source

methodRef

FMethodRef methodRef(Int index)

Source

methodRefStr

Str methodRefStr(Int index)

Source

methodRefs

FTable methodRefs

Source

n

Str n(Int index)

Source

name

override Str name

Source

names

FTable names

Source

ns

override CNamespace ns

Source

out

OutStream out(Uri uri)

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

Source

read

Void read()

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

Source

readFully

Void readFully()

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

Source

readPodMeta

Void readPodMeta(InStream in)

Source

resolveType

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

override CType[] types()

Source

uri

Str uri(Int index)

Source

uris

FTable uris

Source

version

override Version version

Source

write

Void write(Zip zip := this.zip)

Write the tables and type files out to zip storage

Source

writePodMeta

Void writePodMeta(OutStream out)

Source

zip

Zip zip

Source