JsClassName

data class JsClassName(val module: String, val qualifiedName: String)

A parsed reference to a JS value (e.g. a SolverFactory object instance) reachable as require(module) followed by the dotted qualifiedName path, as used by the JS actual lookups of classicSolverFactory() and friends.

Constructors

Link copied to clipboard
constructor(module: String, qualifiedName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val kClass: KClass<*>

The KClass of the value resolved by this reference.

Link copied to clipboard
Link copied to clipboard

qualifiedName, split on . into the sequence of property accesses resolve performs.

Link copied to clipboard

Functions

Link copied to clipboard
fun resolve(): dynamic

Resolves this reference via JS require, returning null if module or any segment of path can't be found.