Truffle based
language
? In such case start here
.See: Description
Interface | Description |
---|---|
Assumption |
An assumption is a global boolean flag that starts with the value true (i.e., the assumption is
valid) and can subsequently be invalidated (using
Assumption.invalidate() ). |
CallTarget |
Represents the target of a call.
|
InternalResource |
Represents an internal resource of a language that can be lazily unpacked to a cache user
directory.
|
ReplaceObserver |
An observer that is notified whenever a child node is replaced.
|
RootCallTarget |
Represents the target of a call to a
RootNode , i.e., to another tree of nodes. |
TruffleFile.FileTypeDetector |
A detector for finding
file 's MIME type and encoding. |
TruffleLanguage.ContextLocalFactory<C,T> |
Context local factory for Truffle languages.
|
TruffleLanguage.ContextThreadLocalFactory<C,T> |
Context thread local factory for Truffle languages.
|
TruffleOptionDescriptors |
An
OptionDescriptors enhanced to provide a sandbox policy for options. |
TruffleRuntime |
Interface representing a Truffle runtime object.
|
TruffleRuntimeAccess |
A service that provides access to a
TruffleRuntime implementation. |
TruffleSafepoint.CompiledInterruptible<T> |
Just like
TruffleSafepoint.Interruptible but allows partial evaluation. |
TruffleSafepoint.CompiledInterruptibleFunction<T,R> |
Just like
TruffleSafepoint.InterruptibleFunction but allows partial evaluation. |
TruffleSafepoint.Interrupter |
An interrupter allows a foreign thread to interrupt the execution on a separate thread.
|
TruffleSafepoint.Interruptible<T> |
Function interface that represent interruptable Java methods.
|
TruffleSafepoint.InterruptibleFunction<T,R> |
Function interface that represent interruptable Java methods.
|
Class | Description |
---|---|
ArrayUtils |
This class provides additional operations for
String as well as character and byte
arrays, which may be intrinsified by a compiler. |
CompilerAsserts |
Assertions about the code produced by the Truffle compiler.
|
CompilerDirectives |
Directives that influence the optimizations of the Truffle compiler.
|
ContextLocal<T> |
A context local reference that refers to a value that is created for each polyglot context.
|
ContextThreadLocal<T> |
A context thread local reference that refers to a value that is created for each polyglot context
and thread.
|
ExactMath |
This class contains exact math related methods that are generally useful for dynamic language
implementations.
|
HostCompilerDirectives |
Directives that influence the optimizations of the host compiler.
|
InstrumentInfo |
Represents public information about an instrument.
|
InternalResource.Env |
Access to common utilities for unpacking resource files.
|
ThreadLocalAction |
Represents an action that is executed at a
safepoint location of the
guest language execution. |
ThreadLocalAction.Access |
Argument class for
ThreadLocalAction.perform(Access) . |
Truffle |
Class for obtaining the Truffle runtime singleton object of this virtual machine.
|
TruffleContext |
A handle on a context of a set of Truffle languages.
|
TruffleFile |
An abstract representation of a file used by Truffle languages.
|
TruffleFile.AttributeDescriptor<T> |
Represents a file's attribute.
|
TruffleFile.Attributes |
A view over file's attributes values obtained by
getAttributes . |
TruffleLanguage<C> |
A Truffle language implementation contains all the services a language should provide to make it
composable with other languages.
|
TruffleLanguage.ContextLocalProvider<C> |
Provider for creating context local and context thread local references.
|
TruffleLanguage.ContextReference<C> |
Represents a reference to the current context.
|
TruffleLanguage.Env |
Represents execution environment of the
TruffleLanguage . |
TruffleLanguage.InlineParsingRequest |
Request for inline parsing.
|
TruffleLanguage.LanguageReference<L extends TruffleLanguage> |
Represents a reference to the current language instance.
|
TruffleLanguage.ParsingRequest |
Request for parsing.
|
TruffleLogger |
Support for logging in Truffle languages and instruments.
|
TruffleOptions |
Class containing general Truffle options.
|
TruffleSafepoint |
Truffle safepoints allow interrupting the guest language execution to execute thread-local
actions submitted by a language or tool.
|
TruffleStackTraceElement |
Represents a guest stack trace element.
|
TruffleThreadBuilder |
A builder for threads that have access to the appropriate
TruffleContext . |
Enum | Description |
---|---|
InternalResource.CPUArchitecture |
Represents a supported CPU architecture.
|
InternalResource.OS |
Represents a supported operating system.
|
TruffleLanguage.ContextPolicy |
Defines the supported policy for reusing
languages per context. |
TruffleLanguage.ExitMode |
Mode of exit operation.
|
Exception | Description |
---|---|
OptimizationFailedException | |
TruffleStackTrace |
Represents a guest language stack trace.
|
Annotation Type | Description |
---|---|
CompilerDirectives.CompilationFinal |
Marks fields that should be considered final for a Truffle compilation although they are not
final while executing in the interpreter.
|
CompilerDirectives.TruffleBoundary |
Marks a method that it is considered as a boundary for Truffle partial evaluation.
|
CompilerDirectives.ValueType |
Marks classes as value types.
|
HostCompilerDirectives.BytecodeInterpreterSwitch |
Marks a method that is an implementation of a Truffle interpreter, and which should receive
additional optimization budget.
|
HostCompilerDirectives.InliningCutoff |
Hints to Truffle host inlining that a particular method is partial evaluatable, but it would
be a good place for a cutoff when performing host inlining.
|
InternalResource.Id |
The annotation used to lookup
InternalResource by an id. |
Option |
Describes the attributes of an option whose
value is in a static field
annotated by this annotation. |
Option.Group |
Must be applied on classes containing
option fields to specify a name prefix
if the prefix cannot be inferred by language or instrument. |
TruffleLanguage.Registration |
The annotation to use to register your language to the
Polyglot
API . |
Truffle based
language
? In such case start here
.