LanguagePluginManifest

@Serializable
data class LanguagePluginManifest(val engine: String, val language: String, val bundles: List<AbstractLanguagePlugin.LanguagePluginManifest.EmbeddedResource> = emptyList(), val scripts: List<AbstractLanguagePlugin.LanguagePluginManifest.EmbeddedResource> = emptyList(), val resources: Map<String, List<String>> = emptyMap(), val root: String? = null)

Provides information about resources embedded into the runtime, used by language plugins.

Constructors

Link copied to clipboard
constructor(engine: String, language: String, bundles: List<AbstractLanguagePlugin.LanguagePluginManifest.EmbeddedResource> = emptyList(), scripts: List<AbstractLanguagePlugin.LanguagePluginManifest.EmbeddedResource> = emptyList(), resources: Map<String, List<String>> = emptyMap(), root: String? = null)

Types

Link copied to clipboard
@Serializable
data class EmbeddedResource(val path: String, val platform: HostPlatform? = null)

Represents an embedded resource that should be loaded by the language plugin.

Properties

Link copied to clipboard

A list of URIs representing bundles to be preloaded into the VFS by the plugin.

Link copied to clipboard

The engine version these resources are meant to be used with.

Link copied to clipboard

The language these resources are meant to be used with.

Link copied to clipboard

A collection of plugin-specific resource entries.

Link copied to clipboard
val root: String? = null

The path to the directory containing the manifest in the embedded resources.

Link copied to clipboard

Guest scripts to be evaluated on context initialization.