ModuleRequest

sealed external interface ModuleRequest(source)

A ModuleRequest represents the request to import a module with given import attributes and phase.

Since

24.4.0

Properties

Link copied to clipboard

The "with" value passed to the WithClause in a ImportDeclaration, or an empty object if no value was provided.

Link copied to clipboard
abstract var phase: ImportPhase

The phase of the requested module ("source" or "evaluation").

Link copied to clipboard
abstract var specifier: String

The specifier of the requested module.