Class Test262Builtins.Test262CreateRealmNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
Test262Builtins

public abstract static class Test262Builtins.Test262CreateRealmNode extends JSBuiltinNode
A function which creates a new ECMAScript Realm, defines the Test262 API on the new realm's global object, and returns the $262 property of the new realm's global object.
  • Constructor Details

    • Test262CreateRealmNode

      public Test262CreateRealmNode(JSContext context, JSBuiltin builtin)
  • Method Details

    • createRealm

      protected Object createRealm()