abstract const class compilerDoc::DocTypeRef

sys::Obj
  compilerDoc::DocTypeRef

Source

DocTypeRef models a type reference in a type or slot signature.

dis

abstract Str dis()

Source

Get nice display name for type which excludes pod name even in parameterized types.

fromStr

static new fromStr(Str sig, Bool checked := true)

Source

Constructor from signature string

isGenericVar

abstract Bool isGenericVar()

Source

Is this one of the generic variable types such as sys::V

isNullable

abstract Bool isNullable()

Source

Is this a nullable type such as Str?

isParameterized

abstract Bool isParameterized()

Source

Is this a parameterized generic type such as Str[]

name

abstract Str name()

Source

Simple name of the type such as "Str". For parameterized types this is always name of generic class itself.

pod

abstract Str pod()

Source

Pod name of the type. For parameterized types this is always pod name of generic class itself.

qname

abstract Str qname()

Source

Qualified name formatted as "pod::name". For parameterized types this is always the type of the generic class itself.

signature

abstract Str signature()

Source

Return the formal signature of this type. In the case of non-parameterized types the signature is the same as qname.

toStr

override Str toStr()

Source

Return signature