Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/SyntaxTagged.java @ 18485:e3c95cbbb50c
Truffle Instrumentation: major API revision, based around the Probe and Instrument classes; add Instrumentable API for language implementors, with most details automated; reimplemented to handle AST splitting automatically; more JUnit tests.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Sun, 23 Nov 2014 16:07:23 -0800 |
parents | 1051d6e4b61b |
children | 27fe86a6fb49 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/SyntaxTagged.java Fri Nov 21 13:16:02 2014 +0100 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/SyntaxTagged.java Sun Nov 23 16:07:23 2014 -0800 @@ -24,14 +24,13 @@ */ package com.oracle.truffle.api.instrument; +import java.util.*; + /** * Information about a guest language program element in a Truffle AST that can be marked as * belonging to 0 or more {@linkplain SyntaxTag tags}. * <p> * <strong>Disclaimer:</strong> experimental interface under development. - * - * @see Probe - * @see Wrapper */ public interface SyntaxTagged { @@ -44,6 +43,6 @@ /** * In which user-sensible categories has this node been tagged (<em>empty set</em> if none). */ - Iterable<SyntaxTag> getSyntaxTags(); + Collection<SyntaxTag> getSyntaxTags(); }