logo
class

compiler::TypeRef

sys::Obj
  compiler::Node
    compiler::TypeRef

Mixin: compiler::CType

TypeRef models a type reference such as an extends clause or a method parameter. Really it is just an AST node wrapper for a CType that let's us keep track of the source code Location.

Slots

base

virtual CType base()

deref

virtual CType deref()

fits

virtual Bool fits(CType that)

flags

virtual Int flags()

isGeneric

virtual Bool isGeneric()

isGenericParameter

virtual Bool isGenericParameter()

isParameterized

virtual Bool isParameterized()

make

new make(Location location, CType t)

mixins

virtual CType[] mixins()

name

virtual Str name()

ns

virtual Namespace ns()

pod

virtual CPod pod()

print

virtual Void print(AstWriter out)

qname

virtual Str qname()

signature

virtual Str signature()

slots

virtual Str:CSlot slots()

t

CType t { private set }

toListOf

virtual ListType toListOf()

toStr

virtual Str toStr()