mixin compiler::CPod

compiler::CPod

Source

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

bridge

virtual CBridge? bridge()

Source

If this a foreign function interface return the bridge.

depends

abstract CDepend[] depends()

Source

Get the pod dependencies

equals

virtual override Bool equals(Obj? t)

Source

Equality based on pod name.

file

abstract File file()

Source

Pod zip file. Not all implementations have a backing file in which case they will throw UnsupportedErr

hasJs

Bool hasJs()

Source

Return if this pod has client side JavaScript

hash

virtual override Int hash()

Source

Hash on name.

isForeign

virtual Bool isForeign()

Source

If this a foreign function interface pod.

meta

abstract Str:Str meta()

Source

Pod meta data

name

abstract Str name()

Source

Get the pod name

ns

abstract CNamespace ns()

Source

Associated namespace for this pod representation

resolveType

abstract CType? resolveType(Str name, Bool checked)

Source

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

toStr

override Str toStr()

Source

Return name

types

abstract CType[] types()

Source

List of the all defined types.

version

abstract Version version()

Source

Get the pod version or null if unknown.