Scoop API

scoop:scoop.core:0.1.0

TypeRef

class TypeRef

source · line 41
public
public class TypeRef public constructor(
    private val identity: String,
    /**
     * Human-readable type spelling; do not use it as an identity key.
     */
    public val displayName: String,
    /**
     * The declaring nominal identity when the type has one.
     */
    public val nominal: Option<NominalRef>,
    /**
     * The concrete generic argument types, in declaration order.
     */
    public val arguments: Array<TypeRef>,
    private val describeBody: () -> TypeDescription
) : Equals<TypeRef>

A concrete type identity with a display name and lazily available description. Identity comparison is independent of display spelling.

property displayName

source · line 46
public
public val displayName: String

get: public read-only

Human-readable type spelling; do not use it as an identity key.

constructor constructor

source · line 41
public
constructor(private val identity: String, public val displayName: String, public val nominal: Option<NominalRef>, public val arguments: Array<TypeRef>, private val describeBody: () -> TypeDescription)

property arguments

source · line 54
public
public val arguments: Array<TypeRef>

get: public read-only

The concrete generic argument types, in declaration order.