logo

abstract class

compiler::Namespace

sys::Obj
  compiler::Namespace

Namespace is responsible for providing a unified view pods, types, and slots between the entities currently being compiled and the entities being imported from pre-compiled pods.

Slots

boolNot

readonly CMethod boolNot

boolType

readonly CType boolType

depends

Str:Depend depends

Map of dependencies keyed by pod name set in ResolveDepends.

durationType

readonly CType durationType

enumOrdinal

readonly CMethod enumOrdinal

enumType

readonly CType enumType

errType

readonly CType errType

error

readonly CType error

floatMinus

readonly CMethod floatMinus

floatPlus

readonly CMethod floatPlus

floatType

readonly CType floatType

funcType

readonly CType funcType

genericParameter

CType genericParameter(Str id)

Map one of the generic parameter types such as "sys::V" into a CType

genericParams

readonly Str:CType genericParams

init

protected Void init()

Once the sub class is initialized, it must call this method to initialize our all predefined values.

intDecrement

readonly CMethod intDecrement

intIncrement

readonly CMethod intIncrement

intPlus

readonly CMethod intPlus

intType

readonly CType intType

listAdd

readonly CMethod listAdd

listMake

readonly CMethod listMake

listMakeObj

readonly CMethod listMakeObj

listType

readonly CType listType

mapMake

readonly CMethod mapMake

mapSet

readonly CMethod mapSet

mapType

readonly CType mapType

objTrap

readonly CMethod objTrap

objType

readonly CType objType

rangeMakeExclusive

readonly CMethod rangeMakeExclusive

rangeMakeInclusive

readonly CMethod rangeMakeInclusive

rangeType

readonly CType rangeType

resolvePod

abstract CPod resolvePod(Str podName, Bool checked)

Attempt to import the specified pod name against our dependency library. If not found and checked is true throw UnknownPodErr otherwise return null.

resolveType

CType resolveType(Str sig)

Attempt resolve a signature against our dependency library. If not a valid signature or it can't be resolved, then throw Err.

slotFindFunc

readonly CMethod slotFindFunc

slotType

readonly CType slotType

strBufAdd

readonly CMethod strBufAdd

strBufMake

readonly CMethod strBufMake

strBufToStr

readonly CMethod strBufToStr

strBufType

readonly CType strBufType

strPlus

readonly CMethod strPlus

strType

readonly CType strType

sysPod

readonly CPod sysPod

typeType

readonly CType typeType

uriType

readonly CType uriType

voidType

readonly CType voidType