Debian Codegraph @

rhino/src/org/mozilla/javascript/debug/DebuggableObject.java

raw symbols SCIP
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
7 // API class
8
9 package org.mozilla.javascript.debug;
10
11 /**
12 * This interface exposes debugging information from objects.
13 */
14 public interface DebuggableObject {
15
16 /**
17 * Returns an array of ids for the properties of the object.
18 *
19 * <p>All properties, even those with attribute {DontEnum}, are listed.
20 * This allows the debugger to display all properties of the object.<p>
21 *
22 * @return an array of java.lang.Objects with an entry for every
23 * listed property. Properties accessed via an integer index will
24 * have a corresponding
25 * Integer entry in the returned array. Properties accessed by
26 * a String will have a String entry in the returned array.
27 */
28 public Object[] getAllIds();
29 }