abstract class compiler::CNamespace

sys::Obj
  compiler::CNamespace

Source

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.

boolNot

CMethod? boolNot { private set }

Source

boolType

CType? boolType { private set }

Source

cleanup

Void cleanup()

Source

decimalType

CType? decimalType { private set }

Source

depends

[Str:CDepend]? depends

Source

Map of dependencies keyed by pod name set in ResolveDepends.

durationType

CType? durationType { private set }

Source

enumOrdinal

CMethod? enumOrdinal { private set }

Source

enumType

CType? enumType { private set }

Source

errType

CType? errType { private set }

Source

error

CType? error { private set }

Source

facetType

CType? facetType { private set }

Source

fieldNotSetErrMake

CMethod? fieldNotSetErrMake { private set }

Source

fieldNotSetErrType

CType? fieldNotSetErrType { private set }

Source

fieldType

CType? fieldType { private set }

Source

findBridge

protected virtual CBridge findBridge(Compiler compiler, Str name, Loc? loc)

Source

Subclass hook to resolve a FFI name to a CBridge implementation. Throw CompilerErr if there is a problem resolving the bridge. The default implementation attempts to resolve the indexed property "compiler.bridge.$name" to a Type qname.

findPod

protected abstract CPod? findPod(Str podName)

Source

Subclass hook to resolve a pod name to a CPod implementation. Return null if not found.

flattenAndOrderByDepends

CPod[] flattenAndOrderByDepends(CPod[] pods)

Source

Convenience to flatten and order all pod dependencies. See flattenDepends and orderByDepends

flattenDepends

CPod[] flattenDepends(CPod[] pods)

Source

Expand a set of pods to include all their recursive dependencies. This method does not order them; see orderByDepends.

floatMinus

CMethod? floatMinus { private set }

Source

floatPlus

CMethod? floatPlus { private set }

Source

floatType

CType? floatType { private set }

Source

funcBind

CMethod? funcBind { private set }

Source

funcCall

CMethod? funcCall { private set }

Source

funcCheckInCtor

CMethod? funcCheckInCtor { private set }

Source

funcEnterCtor

CMethod? funcEnterCtor { private set }

Source

funcExitCtor

CMethod? funcExitCtor { private set }

Source

funcType

CType? funcType { private set }

Source

genericParameter

CType genericParameter(Str id)

Source

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

genericParams

[Str:CType]? genericParams { private set }

Source

init

protected Void init()

Source

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

intDecrement

CMethod? intDecrement { private set }

Source

intIncrement

CMethod? intIncrement { private set }

Source

intPlus

CMethod? intPlus { private set }

Source

intType

CType? intType { private set }

Source

itBlockType

FuncType? itBlockType { private set }

Source

listAdd

CMethod? listAdd { private set }

Source

listMake

CMethod? listMake { private set }

Source

listMakeObj

CMethod? listMakeObj { private set }

Source

listType

CType? listType { private set }

Source

mapMake

CMethod? mapMake { private set }

Source

mapSet

CMethod? mapSet { private set }

Source

mapType

CType? mapType { private set }

Source

methodType

CType? methodType { private set }

Source

notImmutableErrMake

CMethod? notImmutableErrMake { private set }

Source

notImmutableErrType

CType? notImmutableErrType { private set }

Source

nothingType

CType? nothingType { private set }

Source

objToImmutable

CMethod? objToImmutable { private set }

Source

objTrap

CMethod? objTrap { private set }

Source

objType

CType? objType { private set }

Source

objWith

CMethod? objWith { private set }

Source

orderByDepends

CPod[] orderByDepends(CPod[] pods)

Source

Order a list of pods by their dependencies. This method does not flatten dependencies - see flattenDepends.

podFind

CMethod? podFind { private set }

Source

podLocale

CMethod? podLocale { private set }

Source

podType

CType? podType { private set }

Source

rangeMakeExclusive

CMethod? rangeMakeExclusive { private set }

Source

rangeMakeInclusive

CMethod? rangeMakeInclusive { private set }

Source

rangeType

CType? rangeType { private set }

Source

resolvePod

CPod resolvePod(Str podName, Loc? loc)

Source

Attempt to import the specified pod name against our dependency library. If not found then throw CompilerErr.

resolveSlot

CSlot resolveSlot(Str qname)

Source

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

resolveType

CType resolveType(Str sig)

Source

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 }

Source

slotFindMethod

CMethod? slotFindMethod { private set }

Source

slotType

CType? slotType { private set }

Source

strBufAdd

CMethod? strBufAdd { private set }

Source

strBufMake

CMethod? strBufMake { private set }

Source

strBufToStr

CMethod? strBufToStr { private set }

Source

strBufType

CType? strBufType { private set }

Source

strPlus

CMethod? strPlus { private set }

Source

strType

CType? strType { private set }

Source

sysPod

CPod? sysPod { private set }

Source

testType

CType? testType { private set }

Source

typeField

CMethod? typeField { private set }

Source

typeMethod

CMethod? typeMethod { private set }

Source

typePod

CMethod? typePod { private set }

Source

typeType

CType? typeType { private set }

Source

uriType

CType? uriType { private set }

Source

voidType

CType? voidType { private set }

Source