CNamespace 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
- boolNotSource
-
readonly CMethod boolNot
- boolTypeSource
-
readonly CType boolType
- decimalTypeSource
-
readonly CType decimalType
- dependsSource
-
Map of dependencies keyed by pod name set in ResolveDepends.
- durationTypeSource
-
readonly CType durationType
- enumOrdinalSource
-
readonly CMethod enumOrdinal
- enumTypeSource
-
readonly CType enumType
- errTypeSource
-
readonly CType errType
- errorSource
-
readonly CType error
- fieldTypeSource
-
readonly CType fieldType
- findPodSource
-
abstract protected CPod? findPod(Str podName)
Subclass hook to resolve a pod name to a CPod implementation. Return null if not found.
- floatMinusSource
-
readonly CMethod floatMinus
- floatPlusSource
-
readonly CMethod floatPlus
- floatTypeSource
-
readonly CType floatType
- funcCurrySource
-
readonly CMethod funcCurry
- funcToImmutableSource
-
readonly CMethod funcToImmutable
- funcTypeSource
-
readonly CType funcType
- genericParameterSource
-
CType genericParameter(Str id)
Map one of the generic parameter types such as "sys::V" into a CType
- genericParamsSource
- initSource
-
protected Void init()
Once the sub class is initialized, it must call this method to initialize our all predefined values.
- intDecrementSource
-
readonly CMethod intDecrement
- intIncrementSource
-
readonly CMethod intIncrement
- intPlusSource
-
readonly CMethod intPlus
- intTypeSource
-
readonly CType intType
- listAddSource
-
readonly CMethod listAdd
- listMakeSource
-
readonly CMethod listMake
- listMakeObjSource
-
readonly CMethod listMakeObj
- listToImmutableSource
-
readonly CMethod listToImmutable
- listTypeSource
-
readonly CType listType
- makeSource
-
new make(Compiler c)
Construct with associated compiler.
- mapMakeSource
-
readonly CMethod mapMake
- mapSetSource
-
readonly CMethod mapSet
- mapToImmutableSource
-
readonly CMethod mapToImmutable
- mapTypeSource
-
readonly CType mapType
- methodTypeSource
-
readonly CType methodType
- objTrapSource
-
readonly CMethod objTrap
- objTypeSource
-
readonly CType objType
- rangeMakeExclusiveSource
-
readonly CMethod rangeMakeExclusive
- rangeMakeInclusiveSource
-
readonly CMethod rangeMakeInclusive
- rangeTypeSource
-
readonly CType rangeType
-
private CBridge resolveBridge(Str name, Location? loc)
Resolve to foreign function interface bridge. Bridges are loaded once for each compiler session.
- resolvePodSource
-
CPod resolvePod(Str podName, Location? loc)
Attempt to import the specified pod name against our dependency library. If not found then throw CompilerErr.
- resolveSlotSource
-
Attempt resolve a slot against our dependency library. If can't be resolved, then throw Err.
- resolveTypeSource
-
Attempt resolve a signature against our dependency library. If not a valid signature or it can't be resolved, then throw Err.
- slotFindFuncSource
-
readonly CMethod slotFindFunc
- slotFindMethodSource
-
readonly CMethod slotFindMethod
- slotTypeSource
-
readonly CType slotType
- strBufAddSource
-
readonly CMethod strBufAdd
- strBufMakeSource
-
readonly CMethod strBufMake
- strBufToStrSource
-
readonly CMethod strBufToStr
- strBufTypeSource
-
readonly CType strBufType
- strPlusSource
-
readonly CMethod strPlus
- strTypeSource
-
readonly CType strType
- sysPodSource
-
readonly CPod sysPod
- typeFieldSource
-
readonly CMethod typeField
- typeMethodSource
-
readonly CMethod typeMethod
- typeTypeSource
-
readonly CType typeType
- uriTypeSource
-
readonly CType uriType
- voidTypeSource
-
readonly CType voidType