Fantom

 

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.

equals

virtual override Bool equals(Obj? t)

Source

Equality based on pod name.

hash

virtual override Int hash()

Source

Hash on name.

isForeign

virtual Bool isForeign()

Source

If this a foreign function interface pod.

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.