Fan

 

abstract class

compiler::CNamespace

sys::Obj
  compiler::CompilerSupport
    compiler::CNamespace

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

[Str:Depend]? depends

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

funcCheckInCtorSource

readonly CMethod? funcCheckInCtor

funcCurrySource

readonly CMethod? funcCurry

funcEnterCtorSource

readonly CMethod? funcEnterCtor

funcExitCtorSource

readonly CMethod? funcExitCtor

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

readonly [Str:CType]? genericParams

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

itBlockTypeSource

readonly FuncType? itBlockType

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

objWithSource

readonly CMethod? objWith

rangeMakeExclusiveSource

readonly CMethod? rangeMakeExclusive

rangeMakeInclusiveSource

readonly CMethod? rangeMakeInclusive

rangeTypeSource

readonly CType? rangeType

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

CSlot resolveSlot(Str qname)

Attempt resolve a slot against our dependency library. If can't be resolved, then throw Err.

resolveTypeSource

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.

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

symbolTypeSource

readonly CType? symbolType

sysPodSource

readonly CPod? sysPod

typeFieldSource

readonly CMethod? typeField

typeMethodSource

readonly CMethod? typeMethod

typeTypeSource

readonly CType? typeType

uriTypeSource

readonly CType? uriType

voidTypeSource

readonly CType? voidType