ExternalTypeSpec

class ExternalTypeSpec(name: String) : AnyTypeSpec

Placeholder for an externally defined type that needs to be in the scope hierarchy.

Constructors

ExternalTypeSpec
Link copied to clipboard
fun ExternalTypeSpec(name: String)

Functions

tag
Link copied to clipboard
inline fun <T : Any> tag(type: Class<T>): T?
Returns the tag attached with type as a key, or null if no tag is attached with that key.
inline fun <T : Any> tag(type: KClass<T>): T?
Returns the tag attached with type as a key, or null if no tag is attached with that key.

Properties

attributes
Link copied to clipboard
val attributes: List<AttributeSpec>
name
Link copied to clipboard
val name: String
tags
Link copied to clipboard
val tags: Map<KClass<*>, Any>
all tags.
typeSpecs
Link copied to clipboard
open val typeSpecs: List<AnyTypeSpec>