RhinoConfig

How to build a Rhino engine: everything KiteJsConfig has, and what only Rhino can do.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Whether a function whose body starts with "use asm" is compiled ahead of time to typed code. On by default.

Link copied to clipboard
var clock: () -> Double?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Which JavaScript the engine speaks.

Link copied to clipboard

The byte order a typed array view uses, for example Int32Array over an ArrayBuffer. Little-endian is what every browser and Node answer, and what Emscripten output needs. Set it to false only for a script written against Rhino's old order. DataView is unaffected: it takes the order on every call.

Link copied to clipboard

Maximum nested script-call depth, 10,000 by default; zero disables the frame limit.

Link copied to clipboard

Maximum nested host calls and interpreter reentries, 64 by default. Must be positive. Getters, built-in callbacks and compiled asm.js calls count too: they use the native stack.

Link copied to clipboard

Leaves out the built-ins a sandbox does not want. Today that is only the old Packages hooks.

Link copied to clipboard
Link copied to clipboard
var timeZone: TimeZone