Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java @ 22228:c9681cd54d90
Truffle/Instrumentation: remove @Deprecated Instrument factory methods, Javadoc cleanup
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Sun, 20 Sep 2015 16:11:02 -0700 |
parents | c896a8e70777 |
children | 526de3af756d |
comparison
equal
deleted
inserted
replaced
22227:68a0c3dcea10 | 22228:c9681cd54d90 |
---|---|
41 import com.oracle.truffle.api.impl.FindContextNode; | 41 import com.oracle.truffle.api.impl.FindContextNode; |
42 import com.oracle.truffle.api.instrument.ASTProber; | 42 import com.oracle.truffle.api.instrument.ASTProber; |
43 import com.oracle.truffle.api.instrument.AdvancedInstrumentResultListener; | 43 import com.oracle.truffle.api.instrument.AdvancedInstrumentResultListener; |
44 import com.oracle.truffle.api.instrument.AdvancedInstrumentRoot; | 44 import com.oracle.truffle.api.instrument.AdvancedInstrumentRoot; |
45 import com.oracle.truffle.api.instrument.AdvancedInstrumentRootFactory; | 45 import com.oracle.truffle.api.instrument.AdvancedInstrumentRootFactory; |
46 import com.oracle.truffle.api.instrument.Instrument; | |
47 import com.oracle.truffle.api.instrument.Instrumenter; | 46 import com.oracle.truffle.api.instrument.Instrumenter; |
48 import com.oracle.truffle.api.instrument.ToolSupportProvider; | 47 import com.oracle.truffle.api.instrument.ToolSupportProvider; |
49 import com.oracle.truffle.api.instrument.Visualizer; | 48 import com.oracle.truffle.api.instrument.Visualizer; |
50 import com.oracle.truffle.api.instrument.WrapperNode; | 49 import com.oracle.truffle.api.instrument.WrapperNode; |
51 import com.oracle.truffle.api.nodes.Node; | 50 import com.oracle.truffle.api.nodes.Node; |
250 | 249 |
251 /** | 250 /** |
252 * Creates a language-specific factory to produce instances of {@link AdvancedInstrumentRoot} | 251 * Creates a language-specific factory to produce instances of {@link AdvancedInstrumentRoot} |
253 * that, when executed, computes the result of a textual expression in the language; used to | 252 * that, when executed, computes the result of a textual expression in the language; used to |
254 * create an | 253 * create an |
255 * {@linkplain Instrument#create(AdvancedInstrumentResultListener, AdvancedInstrumentRootFactory, Class, String) | 254 * {@linkplain Instrumenter#attach(com.oracle.truffle.api.instrument.Probe, AdvancedInstrumentResultListener, AdvancedInstrumentRootFactory, Class, String)} |
256 * Advanced Instrument}. | 255 * . |
257 * | 256 * |
258 * @param expr a guest language expression | 257 * @param expr a guest language expression |
259 * @param resultListener optional listener for the result of each evaluation. | 258 * @param resultListener optional listener for the result of each evaluation. |
260 * @return a new factory | 259 * @return a new factory |
261 * @throws IOException if the factory cannot be created, for example if the expression is badly | 260 * @throws IOException if the factory cannot be created, for example if the expression is badly |