Package-level declarations
Types
How loud a console message is.
One console message, already formatted.
Where console.log and its neighbours end up.
Printers you probably want.
The fixed table between Kotlin values and engine values. Nothing here uses reflection, so it works the same on every target.
The engine itself could not go on: it is closed, misused, or out of budget.
A script threw. value is whatever it threw, which is usually an Error but need not be.
Anything the facade throws. Every case is one of the three below.
A JavaScript function seen from Kotlin.
A promise the host controls: hand promise to the script, settle it when you are ready.
One frame of a script's own call stack.
The source did not parse.
An engine and the global scope that goes with it. One instance belongs to one thread.
How to build an engine. Everything has a working default.
Which JavaScript the engine speaks.
How a property behaves. The defaults match what obj.x = 1 gives you in a script.
Properties
Functions
A host constructor, callable with new. build fills in the object it is given.
A one-argument host function, with the argument and the answer converted for you.
A two-argument host function.
A three-argument host function.
A host function that takes the arguments as they came.
Builds an engine. See KiteJsConfig for what you can set.
A promise the host settles later.