Package-level declarations
Types
Marks an element as part of Elide's delicate core API, which is intended to be used by the runtime development team.
Represents a type-safe event key that can be dispatched by EngineLifecycle implementations, and consumed by plugins. Each event indicates the type of the subject provided to consumers using a generic type parameter.
Engine plugins provide a generic way to extend a PolyglotEngine and its PolyglotContext instances using an intuitive configuration DSL:
Represents a language supported by a PolyglotContext, providing a key for identification of guest bindings and other contextual elements.
A GuestLanguage feature for evaluating Source code in a given PolyglotContext.
A GuestLanguage feature for parsing Source code in a given PolyglotContext, returning an executable PolyglotValue.
Provides read-only information about the Host platform, which can be used by plugins to run platform-specific code.
Provides information about the runtime hosting the application.
The PluginRegistry interface defines the base contract for classes that allow installing and managing engine plugins.
The Polyglot Context is the core of the Elide runtime: it evaluates guest code in the embedded VM, returning the execution result. Context instances can be acquired from a PolyglotEngine.
A builder allowing configuration of PolyglotContext instances. Plugins can intercept builders to apply custom options using this class.
A type-safe key used to store and retrieve values in a PolyglotContext.
The Polyglot Engine is responsible for creating new PolyglotContext instances, as well as triggering events that allow plugins to extend the runtime.
A builder allowing configuration of PolyglotEngine instances. Plugins can intercept builders to apply custom options using this class.
This class acts as the root of the engine configuration DSL, allowing plugins to be installed and exposing general features such as enabling support for specific languages.
A value managed by the polyglot engine. It is common for instances to be obtained after evaluating guest code in a PolyglotContext.
Functions
Returns a version range including this and every higher version.
Returns a version range including this and every lower version.
Returns the installed plugin instance from the registry, or throws IllegalStateException of no plugin instance is found.
Returns the plugin instance associated with the given key, or throws IllegalStateException of no plugin instance is found.
Returns the installed plugin instance from the registry, or throws IllegalStateException of no plugin instance is found.