logo

mixin

compiler::CPod

sys::Obj
  compiler::CPod

CPod is a "compiler pod" used for representing a Pod in the compiler.

Slots

equals

override Bool equals(Obj t)

Equality based on pod name.

Source

hash

override Int hash()

Hash on name.

Source

name

abstract Str name()

Get the pod name

Source

ns

abstract CNamespace ns()

Associated namespace for this pod representation

Source

resolveType

abstract CType resolveType(Str name, Bool checked)

Lookup a type by its simple name. If the type doesn't exist and checked is true then throw UnknownTypeErr otherwise return null.

Source

types

abstract CType[] types()

List of the all defined types.

Source

version

abstract Version version()

Get the pod version

Source