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()

Source

deref

override CType deref()

Source

fits

override Bool fits(CType that)

Source

flags

override Int flags()

Source

isGeneric

override Bool isGeneric()

Source

isGenericParameter

override Bool isGenericParameter()

Source

isParameterized

override Bool isParameterized()

Source

make

new make(Location location, CType t)

Source

mixins

override CType[] mixins()

Source

name

override Str name()

Source

ns

override CNamespace ns()

Source

pod

override CPod pod()

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

qname

override Str qname()

Source

signature

override Str signature()

Source

slots

override Str:CSlot slots()

Source

t

readonly CType t

Source

toListOf

override ListType toListOf()

Source

toStr

override Str toStr()

Return a string representation of this object.

Source