Package | Description |
---|---|
net.sourceforge.htmlunit.corejs.javascript |
Modifier and Type | Method and Description |
---|---|
static TopLevel.Builtins |
TopLevel.Builtins.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TopLevel.Builtins[] |
TopLevel.Builtins.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Function |
TopLevel.getBuiltinCtor(Context cx,
Scriptable scope,
TopLevel.Builtins type)
Static helper method to get a built-in object constructor with the given
type from the given scope . |
BaseFunction |
TopLevel.getBuiltinCtor(TopLevel.Builtins type)
Get the cached built-in object constructor from this scope with the
given
type . |
static Scriptable |
TopLevel.getBuiltinPrototype(Scriptable scope,
TopLevel.Builtins type)
Static helper method to get a built-in object prototype with the given
type from the given scope . |
Scriptable |
TopLevel.getBuiltinPrototype(TopLevel.Builtins type)
Get the cached built-in object prototype from this scope with the
given
type . |
static Scriptable |
ScriptRuntime.newBuiltinObject(Context cx,
Scriptable scope,
TopLevel.Builtins type,
java.lang.Object[] args) |
static void |
ScriptRuntime.setBuiltinProtoAndParent(ScriptableObject object,
Scriptable scope,
TopLevel.Builtins type) |