Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java @ 14094:3f27e57439ed
Truffle/Instrumentation: significant rearrangement (including moved class) and extension of the Truffle Instrumentation Framework. New interfaces include DebugContext (which can be attached to the ExecutionContext), through which access is provided to possibly language-specific (a) node instrumentation, (b) debug services manager, (c) notification when programs halt, (d) display of language values, and (e) display of variable identifiers.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Mon, 03 Feb 2014 20:58:23 -0800 |
parents | fbf448929260 |
children | 0c6d8a08e31b |
comparison
equal
deleted
inserted
replaced
13736:64fa70319890 | 14094:3f27e57439ed |
---|---|
22 * or visit www.oracle.com if you need additional information or have any | 22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.api; | 25 package com.oracle.truffle.api; |
26 | 26 |
27 import com.oracle.truffle.api.debug.*; | |
28 import com.oracle.truffle.api.source.*; | |
29 | |
27 /** | 30 /** |
28 * Information about the runtime context of a Truffle program. | 31 * Information about the runtime context of a Truffle program. |
29 * <p> | 32 * <p> |
30 * <strong>Disclaimer:</strong> this interface is under development and will change. | 33 * <strong>Disclaimer:</strong> this interface is under development and will change. |
31 */ | 34 */ |
36 * might be used for an interactive prompt. | 39 * might be used for an interactive prompt. |
37 */ | 40 */ |
38 String getLanguageShortName(); | 41 String getLanguageShortName(); |
39 | 42 |
40 /** | 43 /** |
41 * Gets access to debugging services, {@code null} if not enabled in this context. | 44 * Gets access to source management services. |
42 */ | 45 */ |
43 DebugManager getDebugManager(); | 46 SourceManager getSourceManager(); |
47 | |
48 /** | |
49 * Gets access to debugging services. Returns an inert instance if no services installed. | |
50 */ | |
51 DebugContext getDebugContext(); | |
44 | 52 |
45 } | 53 } |