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

CMethod boolNot { private set }

boolType

CType boolType { private set }

depends

Str:Depend depends

Map of dependencies keyed by pod name set in ResolveDepends.

durationType

CType durationType { private set }

enumOrdinal

CMethod enumOrdinal { private set }

enumType

CType enumType { private set }

errType

CType errType { private set }

error

CType error { private set }

floatMinus

CMethod floatMinus { private set }

floatPlus

CMethod floatPlus { private set }

floatType

CType floatType { private set }

funcType

CType funcType { private set }

genericParameter

CType genericParameter(Str id)

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

genericParams

Str:CType genericParams { private set }

init

protected Void init()

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

intDecrement

CMethod intDecrement { private set }

intIncrement

CMethod intIncrement { private set }

intPlus

CMethod intPlus { private set }

intType

CType intType { private set }

listAdd

CMethod listAdd { private set }

listMake

CMethod listMake { private set }

listMakeObj

CMethod listMakeObj { private set }

listType

CType listType { private set }

mapMake

CMethod mapMake { private set }

mapSet

CMethod mapSet { private set }

mapType

CType mapType { private set }

objTrap

CMethod objTrap { private set }

objType

CType objType { private set }

rangeMakeExclusive

CMethod rangeMakeExclusive { private set }

rangeMakeInclusive

CMethod rangeMakeInclusive { private set }

rangeType

CType rangeType { private set }

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

CMethod slotFindFunc { private set }

slotType

CType slotType { private set }

strBufAdd

CMethod strBufAdd { private set }

strBufMake

CMethod strBufMake { private set }

strBufToStr

CMethod strBufToStr { private set }

strBufType

CType strBufType { private set }

strPlus

CMethod strPlus { private set }

strType

CType strType { private set }

sysPod

CPod sysPod { private set }

typeType

CType typeType { private set }

uriType

CType uriType { private set }

voidType

CType voidType { private set }