Fantom

 

class compiler::TypeRef

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

Source

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 Loc.

base

virtual override CType? base()

Source

deref

virtual override CType deref()

Source

facet

virtual override CFacet? facet(Str qname)

Source

field

virtual override CField? field(Str name)

Source

fits

virtual override Bool fits(CType that)

Source

flags

virtual override Int flags()

Source

inferredAs

virtual override CType inferredAs()

Source

isForeign

virtual override Bool isForeign()

Source

isGeneric

virtual override Bool isGeneric()

Source

isGenericParameter

virtual override Bool isGenericParameter()

Source

isNullable

virtual override Bool isNullable()

Source

isParameterized

virtual override Bool isParameterized()

Source

isVal

virtual override Bool isVal()

Source

isValid

virtual override Bool isValid()

Source

make

new make(Loc loc, CType t)

Source

method

virtual override CMethod? method(Str name)

Source

mixins

virtual override CType[] mixins()

Source

name

virtual override Str name()

Source

ns

virtual override CNamespace ns()

Source

operators

virtual override COperators operators()

Source

parameterizeThis

virtual override CType parameterizeThis(CType thisType)

Source

pod

virtual override CPod pod()

Source

print

virtual override Void print(AstWriter out)

Source

qname

virtual override Str qname()

Source

signature

virtual override Str signature()

Source

slot

virtual override CSlot? slot(Str name)

Source

slots

virtual override Str:CSlot slots()

Source

t

CType t { private set }

Source

toListOf

virtual override CType toListOf()

Source

toNonNullable

virtual override CType toNonNullable()

Source

toNullable

virtual override CType toNullable()

Source