diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java @ 13563:fb846424299f

Truffle/Ruby: extend Instrumentation framework with language-agnostic interfaces for access to AST printing utilities and a Ruby implementation
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 07 Jan 2014 18:09:42 -0800
parents 69d2e4baa215
children fbf448929260
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java	Tue Jan 07 17:52:54 2014 -0800
+++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ExecutionContext.java	Tue Jan 07 18:09:42 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,8 @@
 
 /**
  * Information about the runtime context of a Truffle program.
+ * <p>
+ * <strong>Disclaimer:</strong> this interface is under development and will change.
  */
 public interface ExecutionContext {
 
@@ -40,4 +42,9 @@
      */
     DebugManager getDebugManager();
 
+    /**
+     * Gets access to utilities for printing different aspects of a Truffle AST.
+     */
+    ASTPrinter getASTPrinter();
+
 }