Package com.oracle.truffle.api
Class ExecutionContext
java.lang.Object
com.oracle.truffle.api.ExecutionContext
Access to information and basic services in the runtime context for a Truffle-implemented guest
language.
Disclaimer: this class is under development and will change.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet compiler options specific to thisExecutionContext
.abstract String
Gets the name of the language, possibly with version number.final Visualizer
Access to information visualization services for the specific language.final void
setVisualizer
(Visualizer visualizer) Assign guest language-specific visualization support for tools.
-
Constructor Details
-
ExecutionContext
protected ExecutionContext()
-
-
Method Details
-
getVisualizer
Access to information visualization services for the specific language. -
setVisualizer
Assign guest language-specific visualization support for tools. This must be assigned outside the implementation context to avoid build circularities. -
getLanguageShortName
Gets the name of the language, possibly with version number. in short enough form that it might be used for an interactive prompt. -
getCompilerOptions
Get compiler options specific to thisExecutionContext
.
-