logo
mixin

compiler::CPod

sys::Obj
  compiler::CPod

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

Slots

equals

virtual Bool equals(Obj t)

Equality based on pod name.

hash

virtual Int hash()

Hash on name.

name

abstract Str name()

Get the pod name

ns

abstract Namespace ns()

Associated namespace for this pod representation

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.

types

abstract CType[] types()

List of the all defined types.

version

abstract Version version()

Get the pod version