| 1 | /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
| 2 | * |
| 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 6 | package org.mozilla.javascript.tools.debugger; |
| 7 | |
| 8 | import org.mozilla.javascript.Scriptable; |
| 9 | |
| 10 | /** |
| 11 | * Interface to provide a scope object for script evaluation to the debugger. |
| 12 | */ |
| 13 | public interface ScopeProvider { |
| 14 | |
| 15 | /** |
| 16 | * Returns the scope object to be used for script evaluation. |
| 17 | */ |
| 18 | Scriptable getScope(); |
| 19 | } |