logo

class

compiler::TypeRef

sys::Obj
  compiler::Node
    compiler::TypeRef : 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

override CType base()

deref

override CType deref()

fits

override Bool fits(CType that)

flags

override Int flags()

isGeneric

override Bool isGeneric()

isGenericParameter

override Bool isGenericParameter()

isParameterized

override Bool isParameterized()

make

new make(Location location, CType t)

mixins

override CType[] mixins()

name

override Str name()

ns

override Namespace ns()

pod

override CPod pod()

print

override Void print(AstWriter out)

qname

override Str qname()

signature

override Str signature()

slots

override Str:CSlot slots()

t

readonly CType t

toListOf

override ListType toListOf()

toStr

override Str toStr()