ImportedModuleDefinition

@Serializable
data class ImportedModuleDefinition(val type: String, val kind: Int, val name: String? = null, val required: Boolean? = false, val uri: String, val namespace: String, val nativeType: String, val comment: String? = null, val methods: List<MethodDefinition>? = null, val isInterface: Boolean = false) : IGenericDefinition, ImportedDefinition, WithComment

A data class representing an imported module definition in a Wrap ABI.

Constructors

Link copied to clipboard
constructor(type: String, kind: Int, name: String? = null, required: Boolean? = false, uri: String, namespace: String, nativeType: String, comment: String? = null, methods: List<MethodDefinition>? = null, isInterface: Boolean = false)

Properties

Link copied to clipboard
open override val comment: String? = null

The comment of the imported module definition.

Link copied to clipboard
val isInterface: Boolean = false

Whether the imported module definition is an interface.

Link copied to clipboard
open override val kind: Int

The kind of the imported module definition.

Link copied to clipboard

The list of methods defined in the imported module definition.

Link copied to clipboard
open override val name: String? = null

The name of the imported module definition.

Link copied to clipboard
open override val namespace: String

The namespace of the imported module definition.

Link copied to clipboard
open override val nativeType: String

The native type of the imported module definition.

Link copied to clipboard
open override val required: Boolean? = false

Whether the imported module definition is required.

Link copied to clipboard
open override val type: String

The type of the imported module definition.

Link copied to clipboard
open override val uri: String

The URI of the imported module definition.