Fan

 

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

baseSource

override CType? base()

derefSource

override CType deref()

fieldSource

override CField? field(Str name)

fitsSource

override Bool fits(CType that)

flagsSource

override Int flags()

inferredAsSource

override CType inferredAs()

isForeignSource

override Bool isForeign()

isGenericSource

override Bool isGeneric()

isGenericParameterSource

override Bool isGenericParameter()

isNullableSource

override Bool isNullable()

isParameterizedSource

override Bool isParameterized()

isValidSource

override Bool isValid()

isValueSource

override Bool isValue()

makeSource

new make(Location location, CType t)

methodSource

override CMethod? method(Str name)

mixinsSource

override CType[] mixins()

nameSource

override Str name()

nsSource

override CNamespace ns()

Overrides compiler::CType.ns

parameterizeThisSource

override CType parameterizeThis(CType thisType)

podSource

override CPod pod()

printSource

override Void print(AstWriter out)

Overrides compiler::Node.print

Doc inherited from compiler::Node.print

Pretty print this node and it's descendants.

qnameSource

override Str qname()

signatureSource

override Str signature()

slotSource

override CSlot? slot(Str name)

slotsSource

override Str:CSlot slots()

tSource

readonly CType t

toListOfSource

override CType toListOf()

toNonNullableSource

override CType toNonNullable()

toNullableSource

override CType toNullable()