Uses of Enum Class
org.mozilla.javascript.TopLevel.Builtins
-
Uses of TopLevel.Builtins in org.mozilla.javascript
Modifier and TypeMethodDescriptionstatic TopLevel.Builtins
Returns the enum constant of this class with the specified name.static TopLevel.Builtins[]
TopLevel.Builtins.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Function
TopLevel.getBuiltinCtor
(Context cx, Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object constructor with the giventype
from the givenscope
.TopLevel.getBuiltinCtor
(TopLevel.Builtins type) Get the cached built-in object constructor from this scope with the giventype
.static Scriptable
TopLevel.getBuiltinPrototype
(Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object prototype with the giventype
from the givenscope
.TopLevel.getBuiltinPrototype
(TopLevel.Builtins type) Get the cached built-in object prototype from this scope with the giventype
.static Scriptable
ScriptRuntime.newBuiltinObject
(Context cx, Scriptable scope, TopLevel.Builtins type, Object[] args) static void
ScriptRuntime.setBuiltinProtoAndParent
(ScriptableObject object, Scriptable scope, TopLevel.Builtins type)