abstract const class compilerDoc::DocTypeRef
sys::Obj compilerDoc::DocTypeRef
DocTypeRef models a type reference in a type or slot signature.
- dis
-
abstract Str dis()
Get nice display name for type which excludes pod name even in parameterized types.
- fromStr
-
static new fromStr(Str sig, Bool checked := true)
Constructor from signature string
- isGenericVar
-
abstract Bool isGenericVar()
Is this one of the generic variable types such as
sys::V
- isNullable
-
abstract Bool isNullable()
Is this a nullable type such as
Str?
- isParameterized
-
abstract Bool isParameterized()
Is this a parameterized generic type such as
Str[]
- name
-
abstract Str name()
Simple name of the type such as "Str". For parameterized types this is always name of generic class itself.
- pod
-
abstract Str pod()
Pod name of the type. For parameterized types this is always pod name of generic class itself.
- qname
-
abstract Str qname()
Qualified name formatted as "pod::name". For parameterized types this is always the type of the generic class itself.
- signature
-
abstract Str signature()
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()
Return
signature