/* * Copyright (c) 2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include namespace Web::Bindings { class ScriptExecutionContext { public: virtual ~ScriptExecutionContext(); // FIXME: This should not work this way long-term, interpreters should be on the stack. virtual JS::Interpreter& interpreter() = 0; }; }