Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AARCH64 - Enum constant in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
The ARMv8 64-bit architecture.
- AbstractTruffleException - Exception Class in com.oracle.truffle.api.exception
-
A base class for an exception thrown during the execution of a guest language program.
The following snippet shows the guest language exception implementation. - AbstractTruffleException() - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException.
- AbstractTruffleException(AbstractTruffleException) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException initialized from the given prototype.
- AbstractTruffleException(Node) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException with given location.
- AbstractTruffleException(String) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException with given message.
- AbstractTruffleException(String, Node) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException with given message and location.
- AbstractTruffleException(String, Throwable, int, Node) - Constructor for exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Creates a new AbstractTruffleException.
- AbstractTruffleString - Class in com.oracle.truffle.api.strings
-
Abstract base class for Truffle strings.
- accept(NodeVisitor) - Method in class com.oracle.truffle.api.nodes.Node
-
Invokes the
NodeVisitor.visit(Node)method for this node and recursively also for all child nodes. - acceptExecute(int, Class<?>) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a node specialization was executed.
- acceptExecute(int, Class<?>...) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a node specialization was executed.
- acceptExecute(int, Class<?>, Class<?>) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a node specialization was executed.
- accepts(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Returns
trueif thisPropertyGettercan be used with the given receiver object to get the property's value. - accepts(Object) - Method in class com.oracle.truffle.api.library.Library
-
Returns
trueif this library instance supports sending messages with the given receiver. - Access() - Constructor for class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- Access(Object) - Constructor for class com.oracle.truffle.api.ThreadLocalAction.Access
-
Constructor for framework use only.
- Access(AbstractPolyglotImpl) - Constructor for class com.oracle.truffle.api.ThreadLocalAction.Access
-
Constructor for framework use only.
- Access to execution state - Search tag in class com.oracle.truffle.api.debug.SuspendedEvent
- Section
- acosh(double) - Static method in class com.oracle.truffle.api.utilities.MathUtils
-
Computes the inverse (area) hyperbolic cosine (acosh) of a
doublevalue. - add(JSONHelper.JSONStringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(Boolean) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(Number) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(String) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- add(String, JSONHelper.JSONStringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(String, Boolean) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(String, Number) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- add(String, String) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- addActiveListener(Consumer<Boolean>) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Add a listener that is notified when
activevalue of this reporter changes. - addBreakpointAddedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Add a listener that is notified when a new breakpoint is added into
list of breakpoints. - addBreakpointRemovedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Add a listener that is notified when a breakpoint is removed from
list of breakpoints. - addConstantProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Adds a property with a constant value to the shape.
- addConstantProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Adds a property with a constant value to the shape.
- addProperty(Property) - Method in class com.oracle.truffle.api.object.Shape
-
Add a new property in the map, yielding a new or cached Shape object.
- addSlot(FrameSlotKind, Object, Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Adds an indexed frame slot to the
FrameDescriptor. - addSlots(int, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Adds the given number of consecutive indexed slots to the
FrameDescriptor, and initializes them with the given kind. - addToHostClassPath(TruffleFile) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Adds an entry to the Java host class loader.
- adopt() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies whether the cached parameter values of type
NodeInterfaceshould be adopted as its child by the current node. - adoptChildren() - Method in class com.oracle.truffle.api.nodes.Node
- AFTER - Enum constant in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Denotes suspension just after execution of a guest language source location.
- afterLeave(Runnable) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies after leave notification for the threads created by this builder.
- Alignment - Search tag in class com.oracle.truffle.api.memory.ByteArraySupport
- Section
- allocate(int) - Method in interface com.oracle.truffle.api.strings.NativeAllocator
-
Allocates a new native buffer of
byteSizebytes. - AllocationEvent - Class in com.oracle.truffle.api.instrumentation
-
An event representing an allocation of a guest language value.
- AllocationEventFilter - Class in com.oracle.truffle.api.instrumentation
-
An instrumentation filter of allocations of guest language values.
- AllocationEventFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
A builder of
AllocationEventFilter. - AllocationListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener to be notified about guest language value allocations.
- AllocationReporter - Class in com.oracle.truffle.api.instrumentation
-
Reporter of guest language value allocations.
- allowCreateProcess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies creating processes in this context.
- allowCreateThread(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies creating threads for this context.
- allowHostClassLoading(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies loading new host classes in this context.
- allowHostClassLookup(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies loading new host classes in this context.
- allowImplicitCastIntToDouble(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Allows values to be implicitly cast from int to double in this shape and any derived shapes.
- allowImplicitCastIntToLong(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Allows values to be implicitly cast from int to long in this shape and any derived shapes.
- allowInheritEnvironmentAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies access to the parent context's environment in this context.
- allowInlining() - Element in annotation interface com.oracle.truffle.api.CompilerDirectives.TruffleBoundary
-
Considers this Truffle boundary invoke as an inlining candidate.
- allowInnerContextOptions(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies options for inner contexts created by this context.
- allowIO(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies using IO in this context.
- allowNativeAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies using native access in this context.
- allowPolyglotAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Allows or denies access to polyglot languages in this context.
- allowUncached() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Allows the
Cached.value()to be used forCached.uncached(). - allowUncached() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Allow this child node to be used in uncached mode.
- allPropertiesMatch(Predicate<Property>) - Method in class com.oracle.truffle.api.object.Shape
-
Tests if all properties in the shape match the provided predicate.
- ALWAYS_VALID - Static variable in interface com.oracle.truffle.api.Assumption
-
An assumption that is always valid and fails with an
UnsupportedOperationExceptionif invalidated. - alwaysInlineCached() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateCached
- AMD64 - Enum constant in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
The x86 64-bit architecture.
- anchorStart(boolean) - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder
-
Specify the nearest anchor.
- and(SourceSectionFilter) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Adds all the filters defined in the given
filter. - ANY - Static variable in class com.oracle.truffle.api.instrumentation.AllocationEventFilter
-
A filter that matches all allocations in all languages.
- ANY - Static variable in class com.oracle.truffle.api.instrumentation.SourceFilter
-
A filter that matches any source.
- ANY - Static variable in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
A filter that matches everything.
- AOT - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Forces ahead-of-time initialization.
- AOTSupport - Class in com.oracle.truffle.api.dsl
-
Helper class to prepare AOT enabled nodes for AOT in
RootNode.prepareForAOT(). - appendByteUncached(byte) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendByteNode. - appendCharUTF16Uncached(char) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCharUTF16Node. - appendCodePointUncached(int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCodePointNode. - appendCodePointUncached(int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCodePointNode. - appendCodePointUncached(int, int, boolean) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendCodePointNode. - appendIntNumberUncached(int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendIntNumberNode. - appendJavaStringUTF16Uncached(String) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendJavaStringUTF16Node. - appendJavaStringUTF16Uncached(String, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendJavaStringUTF16Node. - appendLongNumberUncached(long) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendLongNumberNode. - appendStringUncached(TruffleString) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendStringNode. - appendSubstringByteIndexUncached(TruffleString, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.AppendSubstringByteIndexNode. - appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
-
Deprecated.
- appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
-
Deprecated.
- appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
-
Deprecated.
- appendValue(StringBuilder, Object) - Static method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
-
Deprecated.
- apply(AbstractTruffleString, int, int, TruffleString.Encoding, TruffleString.Encoding) - Method in interface com.oracle.truffle.api.strings.TranscodingErrorHandler
-
Transcoding error handler implementation.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptible
-
Runs the interruptable method for a given object.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptibleFunction
-
Runs the interruptible method for a given object.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.Interruptible
-
Runs the interruptable method for a given object.
- apply(T) - Method in interface com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction
-
Runs the interruptible method for a given object.
- areOptionsCompatible(OptionValues, OptionValues) - Method in class com.oracle.truffle.api.TruffleLanguage
- arguments(String, String[]) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the guest language application arguments for a language context.
- ArityException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a executable or instantiable object was provided with the wrong number of arguments.
- array() - Static method in class com.oracle.truffle.api.utilities.JSONHelper
-
Deprecated.
- ArrayUtils - Class in com.oracle.truffle.api
-
This class provides additional operations for
Stringas well as character and byte arrays, which may be intrinsified by a compiler. - as(Class<T>) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Deprecated.
- asBigInteger() - Method in class com.oracle.truffle.api.debug.DebugValue
- asBigInteger(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java BigInteger if the number fits without loss of precision.
- asBoolean() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns a
booleanrepresentation of this value if it isboolean. - asBoolean(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the Java boolean value if the receiver represents a
booleanlike value. - asBoxedGuestValue(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Wraps primitive interop values in a TruffleObject exposing their methods as members.
- asByte() - Method in class com.oracle.truffle.api.debug.DebugValue
- asByte(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java byte primitive if the number fits without loss of precision.
- ASCII - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
All codepoints in this string are part of the Basic Latin Unicode block, also known as ASCII (0x00 - 0x7f).
- asDate() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as date if it is a
date. - asDate(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as date if this object represents a
date. - asDouble() - Method in class com.oracle.truffle.api.debug.DebugValue
- asDouble(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java double primitive if the number fits without loss of precision.
- asDuration() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as duration if this object represents a
duration. - asDuration(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as duration if this object represents a
duration. - asFloat() - Method in class com.oracle.truffle.api.debug.DebugValue
- asFloat(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java float primitive if the number fits without loss of precision.
- asGuestValue(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Converts a existing Java host object to a guest language value.
- asHostException(Throwable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Unwraps a host exception thrown by a Java method invocation.
- asHostObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the java host representation of a Truffle guest object if it represents a Java host language object.
- asHostSymbol(Class<?>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Converts a Java class to a host symbol as if by
lookupHostSymbol(symbolClass.getName())but without an actual lookup. - asinh(double) - Static method in class com.oracle.truffle.api.utilities.MathUtils
-
Computes the inverse (area) hyperbolic sine (asinh) of a
doublevalue. - asInLanguage(LanguageInfo) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns a debug value that presents itself as seen by the provided language.
- asInstant() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as instant if it is an
instant. - asInstant(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as instant if this object represents an
instant. - asInt() - Method in class com.oracle.truffle.api.debug.DebugValue
- asInt(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java int primitive if the number fits without loss of precision.
- asLong() - Method in class com.oracle.truffle.api.debug.DebugValue
- asLong(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java long primitive if the number fits without loss of precision.
- asManagedMutableTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsManagedNode. - asManagedTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsManagedNode. - asManagedTruffleStringUncached(TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsManagedNode. - asMutableTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.AsMutableTruffleStringNode. - asNativeUncached(NativeAllocator, TruffleString.Encoding, boolean, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.AsNativeNode. - asPointer(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the pointer value as long value if the receiver represents a pointer like value.
- assertAdopted() - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Utility for libraries to require adoption before cached versions of nodes can be executed.
- assertAdopted(Node) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Internal method for generated code only.
- assertAdopted(Node) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Internal method for generated code only.
- assertAdopted(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Asserts that a node is adopted by a
RootNodeand prints a formatted error message with the error path if it is not adopted. - assertIdempotence(boolean) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Helper method for DSL generated code to assert idempotence.
- assertions() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Specifies an assertion wrapper class that can be used to verify pre and post conditions of a library.
- assertRecursion(Node, int) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Fails with an assertion if the exact
node typeis used as a parent. - asShort() - Method in class com.oracle.truffle.api.debug.DebugValue
- asShort(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver value as Java short primitive if the number fits without loss of precision.
- asString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the
Stringvalue if this value represents a string. - asString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the Java string value if the receiver represents a
stringlike value. - AssumedValue<T> - Class in com.oracle.truffle.api.utilities
-
A value that the compiler can assume is constant, but can be changed by invalidation.
- AssumedValue(String, T) - Constructor for class com.oracle.truffle.api.utilities.AssumedValue
- AssumedValue(T) - Constructor for class com.oracle.truffle.api.utilities.AssumedValue
- Assumption - Interface in com.oracle.truffle.api
-
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()). - assumptions() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares assumption guards that optimistically assume that the state of an
Assumptionremains valid. - asTime() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as time if it is a
time. - asTime(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as time if this object represents a
time. - asTimeZone() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns this value as timestamp if it represents a
timezone. - asTimeZone(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the receiver as timestamp if this object represents a
timezone. - asTruffleString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the
TruffleStringvalue if the receiver represents astringlike value. - asTruffleStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode. - atanh(double) - Static method in class com.oracle.truffle.api.utilities.MathUtils
-
Computes the inverse (area) hyperbolic tangent (atanh) of a
doublevalue. - atomic(Runnable) - Method in class com.oracle.truffle.api.nodes.Node
- atomic(Callable<T>) - Method in class com.oracle.truffle.api.nodes.Node
- attach() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Attach this binding to receive the associated notifications by the
subscriber. - attachAllocationListener(AllocationEventFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listenerto be notified about allocations of guest language values. - attachContextsListener(T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listenerto be notified about changes in contexts in guest language application. - attachErrConsumer(T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach an output stream as a consumer of the
error output. - attachExecuteSourceListener(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- attachExecutionEventFactory(NearestSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for the nearest
SourceSectionas specified by theNearestSectionFilter. - attachExecutionEventFactory(SourceSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for a given
event filterandfactory. - attachExecutionEventFactory(SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for a given
event filterandfactory. - attachExecutionEventListener(SourceSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Deprecated.inputFilters do not work for execution event listeners Use
Instrumenter.attachExecutionEventFactory(SourceSectionFilter, SourceSectionFilter, ExecutionEventNodeFactory)or useInstrumenter.attachExecutionEventListener(SourceSectionFilter, ExecutionEventListener)instead. - attachExecutionEventListener(SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts execution event notification for a given
event filterandlistener. - attachLoadSourceListener(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- attachLoadSourceListener(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- attachLoadSourceSectionListener(NearestSectionFilter, SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts notifications for the nearest
SourceSectionas specified by theNearestSectionFilterand returns a binding that can be used to terminate notifications. - attachLoadSourceSectionListener(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Starts notifications for each
SourceSectionin every newly loadedSourceand returns a binding that can be used to terminate notifications. - attachOutConsumer(T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach an output stream as a consumer of the
standard output. - attachThreadsActivationListener(ThreadsActivationListener) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listenerto be notified about when a thread gets entered or left in guest language applications. - attachThreadsListener(T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Attach a
listenerto be notified about changes in threads in guest language application. - Attributes - Search tag in class com.oracle.truffle.api.source.Source
- Section
B
- bailout(String) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Bails out of a compilation (e.g., for guest language features that should never be compiled).
- Basic Usage - Search tag in annotation interface com.oracle.truffle.api.library.GenerateLibrary
- Section
- BEFORE - Enum constant in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Denotes suspension just before execution of a guest language source location.
- beforeEnter(Runnable) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies before enter notification for the threads created by this builder.
- BEST_EFFORT - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
This mode generally means that the operation will try to determine the "most reasonable" or "most useful" return value in respect to the expected encoding and the error that occurred.
- between(int, int) - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange
-
Constructs a new index range between one a first index inclusive and a second index exclusive.
- Big5 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Big5.
- Big5_HKSCS - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Big5-HKSCS.
- Big5_UAO - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Big5-UAO.
- bigEndian() - Static method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Enables accessing multibyte Java primitives from byte arrays in big-endian order.
- Bind - Annotation Interface in com.oracle.truffle.api.dsl
-
Binds and executes an expression at most once for every execution of the node.
- bits() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
Specifies the number of bits needed for
state fields. - blackhole(boolean) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(byte) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(char) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(double) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(float) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(int) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(long) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(short) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- blackhole(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.
- BlockNode<T> - Class in com.oracle.truffle.api.nodes
-
Represents a standard node for guest language blocks.
- BlockNode(T[]) - Constructor for class com.oracle.truffle.api.nodes.BlockNode
-
Internal constructor for implementations.
- BlockNode.ElementExecutor<T> - Interface in com.oracle.truffle.api.nodes
-
Represents a contract how block element nodes can be executed.
- BMP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
All codepoints in this string are part of the Unicode Basic Multilingual Plane (BMP) ( 0x0000 - 0xffff).
- Boolean - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- BooleanLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- BranchProfile - Class in com.oracle.truffle.api.profiles
-
BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
- break - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- BREAK_LOOP_STATUS - Static variable in interface com.oracle.truffle.api.nodes.RepeatingNode
-
A value indicating that the loop should not be repeated.
- Breakpoint - Class in com.oracle.truffle.api.debug
-
A request that guest language program execution be suspended at specified locations on behalf of a debugging client session.
- Breakpoint.Builder - Class in com.oracle.truffle.api.debug
-
Builder implementation for a new
breakpoint. - Breakpoint.ExceptionBuilder - Class in com.oracle.truffle.api.debug
-
Builder implementation for a new
breakpointofEXCEPTIONkind. - Breakpoint.Kind - Enum Class in com.oracle.truffle.api.debug
-
Specifies a breakpoint kind.
- Breakpoint.ResolveListener - Interface in com.oracle.truffle.api.debug
-
This listener is called when a breakpoint is resolved at the target location.
- Breakpoint lifetime - Search tag in class com.oracle.truffle.api.debug.Breakpoint
- Section
- breakpointResolved(Breakpoint, SourceSection) - Method in interface com.oracle.truffle.api.debug.Breakpoint.ResolveListener
-
Notify about a breakpoint resolved at the specified location.
- BROKEN - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
If this code range is
precise, the string is not encoded correctly (TruffleString.IsValidNodereturnsfalse), and contains at least one invalid codepoint. - build() - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
- build() - Method in class com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder
- build() - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Create a
step configurationfrom this builder. - build() - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Create a new suspension filter configured by the builder methods.
- build() - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Uses the data provided to this builder to create a new
FrameDescriptor. - build() - Method in class com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder
-
Create an instance of
AllocationEventFilterbased on the current setup of this builder. - build() - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder
-
Finalizes and constructs the
NearestSectionFilterinstance. - build() - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Finalizes and constructs the
SourceFilterinstance. - build() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Finalizes and constructs the
SourceSectionFilterinstance. - build() - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Builds a new shape using the configuration of this builder.
- build() - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Builds a derived shape from the base shape supplied to the constructor using the configuration of this builder.
- build() - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Uses configuration of this builder to create new
Sourceobject. - build() - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Uses configuration of this builder to create new
Sourceobject. - build() - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Builds a new static shape using the configuration of this builder.
- build() - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Builds the new context instance.
- build() - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Creates a new thread based on the parameters specified by this builder.
- build(StaticShape<T>) - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Builds a new static shape that extends the provided parent
StaticShape. - build(Class<?>, Class<T>) - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Builds a new static shape using the configuration of this builder.
- buildShape(Object, Object, int, Assumption) - Method in class com.oracle.truffle.api.object.Layout
-
Deprecated.Create a root shape.
- byLength(int, int) - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange
-
Constructs a new index range with a given first index inclusive and a given length.
- Byte - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- ByteArraySupport - Class in com.oracle.truffle.api.memory
-
Utility methods to write to and read from arrays of bytes.
- BytecodeOSRNode - Interface in com.oracle.truffle.api.nodes
-
Interface for Truffle bytecode nodes which can be on-stack replaced (OSR).
- byteIndexOfAnyByteUncached(int, int, byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfAnyByteNode. - byteIndexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfCodePointNode. - byteIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfStringNode. - byteIndexOfStringUncached(TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexOfStringNode. - byteIndexToCodePointIndexUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ByteIndexToCodePointIndexNode. - byteLength() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns the value of the
byteLengthrecord component. - byteLength() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Returns this string builder's byte length.
- byteLength(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Get this string's length in bytes.
- byteLengthOfCodePointUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode. - byteLengthOfCodePointUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode. - byteMimeTypes() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
List of MIME types supported by this language which sources should be interpreted as
bytebased sources. - BYTES - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Special "encoding" BYTES: This encoding is identical to US-ASCII, but treats all values outside the us-ascii range as valid codepoints as well.
- ByteValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
byteruntime values.
C
- cached(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Enables or disables code caching for this source.
- cached(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Enables or disables code caching for this source.
- Cached - Annotation Interface in com.oracle.truffle.api.dsl
-
A parameter annotated with
Cachedin aSpecializationrefers to a cached value of a specialization instance. - Cached.Exclusive - Annotation Interface in com.oracle.truffle.api.dsl
-
Disallows any sharing with other cached parameters.
- Cached.Shared - Annotation Interface in com.oracle.truffle.api.dsl
-
Allows sharing between multiple Cached parameters between multiple specializations or exported library messages.
- CachedLibrary - Annotation Interface in com.oracle.truffle.api.library
-
The cached library annotation allows to use
Truffle Librariesconveniently inspecializationsorexported messages. - calculateContextHeapSize(TruffleContext, long, AtomicBoolean) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns heap memory size retained by a polyglot context.
- call(CallTarget, Object...) - Method in class com.oracle.truffle.api.nodes.IndirectCallNode
-
Performs an indirect call to the given
CallTargettarget with the provided arguments. - call(Node, Object...) - Method in interface com.oracle.truffle.api.CallTarget
-
Calls the encapsulated root node with an explicit call location and arguments, and returns the result.
- call(Object...) - Method in interface com.oracle.truffle.api.CallTarget
-
Calls the encapsulated root node with the given arguments and returns the result.
- call(Object...) - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Calls the inner
CallTargetreturned byDirectCallNode.getCurrentCallTarget(). - callTarget - Variable in class com.oracle.truffle.api.nodes.DirectCallNode
- CallTarget - Interface in com.oracle.truffle.api
-
Represents the target of a call.
- canExecute() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value can be executed (represents a guest language function), elsefalse. - canonicalizePath(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Whether the
Source.getPath()(from theTruffleFile) should be canonicalized. - canonicalizePath(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Whether the
Source.getPath()(from theTruffleFile) should be canonicalized. - canSet(Object) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.Equivalent to
Location.canStore(Object). - canStore(Object) - Method in class com.oracle.truffle.api.object.Location
-
Returns
trueif the location is compatible with the type of the value. - Cardinalities - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- cardinality() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the number of bits set to
truein thisBitSet. - cast(Object) - Method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Cast the object receiver type to the dispatched type.
- castExact(Object, Class<T>) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Casts the given object to the exact class represented by
clazz. - CATCHES - Static variable in class com.oracle.truffle.api.instrumentation.StandardTags.TryBlockTag
-
Name of the
catchesfunction. - category() - Element in annotation interface com.oracle.truffle.api.Option
-
Specifies the category of the option.
- CESU_8 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CESU-8.
- Character and binary based Sources - Search tag in class com.oracle.truffle.api.source.Source
- Section
- characterMimeTypes() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
List of MIME types supported by this language which sources should be interpreted as
characterbased sources. - charIndexOfAnyCharUTF16Uncached(int, int, char[]) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CharIndexOfAnyCharUTF16Node. - check() - Method in interface com.oracle.truffle.api.Assumption
-
Checks that this assumption is still valid.
- check(DynamicObject) - Method in class com.oracle.truffle.api.object.Shape
-
Checks whether the given object's shape is identical to this shape.
- Class exports - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- clear(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the given indexed slot in the frame.
- clearEnvironment(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
If
truethe environment variables are not inherited by the subprocess. - clearObjectStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the object value at the given slot in the frame.
- clearPrimitiveStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the primitive value at the given slot in the frame.
- clearStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Clears the value at the given slot in the frame.
- clone() - Method in class com.oracle.truffle.api.library.Message
- clone() - Method in class com.oracle.truffle.api.nodes.NodeCloneable
- clone() - Method in class com.oracle.truffle.api.object.DynamicObject
-
The
DynamicObject.clone()method is not supported byDynamicObjectat this point in time, so it always throwsCloneNotSupportedException, even if theCloneableinterface is implemented in a subclass. - cloneCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Clones the
CallTargetinstance returned byDirectCallNode.getCallTarget()in an uninitialized state for thisDirectCallNode. - cloneNode(T) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- cloneUninitialized() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Creates an uninitialized copy of an already initialized/executed root node if it is
supported. - close() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Closes the current debugging session and disposes all installed breakpoints.
- close() - Method in class com.oracle.truffle.api.TruffleContext
-
Closes this context and disposes its resources.
- closeCancelled(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
Force closes the context as cancelled and stops all the execution on all active threads using a special
ThreadDeathcancel exception. - closeExited(Node, int) - Method in class com.oracle.truffle.api.TruffleContext
-
Initiates force close of the context as exited -
hard exit. - closeResourceExhausted(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
Force closes the context due to resource exhaustion.
- codePointAtByteIndexUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtByteIndexNode. - codePointAtByteIndexUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtByteIndexNode. - codePointAtIndexUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtIndexNode. - codePointAtIndexUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointAtIndexNode. - codePointIndexToByteIndexUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointIndexToByteIndexNode. - codePointLengthUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodePointLengthNode. - codeRangeEqualsUncached(TruffleString.CodeRange) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CodeRangeEqualsNode. - collectFieldNames(Class<? extends Node>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds and retrieves all field names of a node class.
- collectNodeChildren(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds and retrieves all
Node.ChildandNode.Childrenannotated field names and values. - collectNodeProperties(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds and retrieves all properties of a node.
- collectNodes(Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- columnEndsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all sources sections where the column ends in one of the given index ranges.
- columnIn(int, int) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the column is inside a startColumn (first index inclusive) plus a given length (last index exclusive).
- columnIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the columns are contained in one of the given index ranges.
- columnIs(int) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the breakpoint's column number.
- columnNotIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where columns are not contained in one of the given index ranges.
- columnStartsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the column starts in one of the given index ranges.
- com.oracle.truffle.api - package com.oracle.truffle.api
-
Do you want to implement your own
Truffle based language? In such case starthere. - com.oracle.truffle.api.debug - package com.oracle.truffle.api.debug
-
The debug package contains a debugger API that can be used to install breakpoints, step through and control the execution of Truffle guest language applications.
- com.oracle.truffle.api.dsl - package com.oracle.truffle.api.dsl
-
Domain specific language that allows to specify specializing AST nodes in a declarative way.
- com.oracle.truffle.api.exception - package com.oracle.truffle.api.exception
-
This package contains a Truffle exception base class.
- com.oracle.truffle.api.frame - package com.oracle.truffle.api.frame
-
Package containing stack frame representation classes.
- com.oracle.truffle.api.instrumentation - package com.oracle.truffle.api.instrumentation
-
The instrumentation API provides a way to introspect and inject behavior into interpreters written using the Truffle framework.
- com.oracle.truffle.api.instrumentation.provider - package com.oracle.truffle.api.instrumentation.provider
-
This package contains a provider to instantiate a Truffle instrument.
- com.oracle.truffle.api.interop - package com.oracle.truffle.api.interop
-
This package contains classes that specify the contract for inter-operability between Truffle guest languages and tools.
- com.oracle.truffle.api.io - package com.oracle.truffle.api.io
-
This package contains I/O related classes used by
TruffleLanguageimplementations. - com.oracle.truffle.api.library - package com.oracle.truffle.api.library
-
Truffle Libraries allow language implementations to use polymorphic dispatch for receiver types with support for implementation specific caching/profiling and customization of the dispatch.
- com.oracle.truffle.api.library.provider - package com.oracle.truffle.api.library.provider
-
This package contains service provider interfaces used by Truffle libraries.
- com.oracle.truffle.api.memory - package com.oracle.truffle.api.memory
-
This package contains memory related classes used by
TruffleLanguageimplementations. - com.oracle.truffle.api.nodes - package com.oracle.truffle.api.nodes
-
Abstract syntax tree
nodesare the basic building block for yourTruffleLanguage. - com.oracle.truffle.api.object - package com.oracle.truffle.api.object
-
Dynamic object storage model.
- com.oracle.truffle.api.profiles - package com.oracle.truffle.api.profiles
-
A profile is a Truffle utility class that uses the
Truffle compiler directivesto guard for and/or forward runtime information to the compiler. - com.oracle.truffle.api.provider - package com.oracle.truffle.api.provider
-
This package contains a provider to instantiate a Truffle language.
- com.oracle.truffle.api.source - package com.oracle.truffle.api.source
-
Represents a
source file. - com.oracle.truffle.api.staticobject - package com.oracle.truffle.api.staticobject
-
Static Object Model APIs to represent the layout of objects that, once defined, do not change the number and the type of their properties.
- com.oracle.truffle.api.strings - package com.oracle.truffle.api.strings
-
Truffle String related APIs.
- com.oracle.truffle.api.utilities - package com.oracle.truffle.api.utilities
-
Various utility classes that aim to make the development of TruffleLanguage guest languages easier.
- command(String...) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the executable and arguments.
- command(List<String>) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the executable and arguments.
- compareAndExchangeBoolean(Object, boolean, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the boolean value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndExchangeByte(byte[], long, byte, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given byte with the current byte at the given byte offset from the start of the buffer, if and only if the current byte equals the expected byte.
- compareAndExchangeByte(Object, byte, byte) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the byte value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndExchangeChar(Object, char, char) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the char value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value ,==the expected value. - compareAndExchangeDouble(Object, double, double) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the double value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndExchangeFloat(Object, float, float) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the float value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndExchangeInt(byte[], long, int, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given int with the current int at the given byte offset from the start of the buffer, if and only if the current int equals the expected int.
- compareAndExchangeInt(Object, int, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the int value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndExchangeLong(byte[], long, long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given long with the current long at the given byte offset from the start of the buffer, if and only if the current long equals the expected long.
- compareAndExchangeLong(Object, long, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the long value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndExchangeObject(Object, Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the
Objectvalue represented by this StaticProperty and stored in the specified static object tonewValueif the current value, referred to as the witness value ,==the expected value. - compareAndExchangeShort(byte[], long, short, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer, if and only if the current short equals the expected short.
- compareAndExchangeShort(Object, short, short) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the short value represented by this StaticProperty and stored in the specified static object to
newValueif the current value, referred to as the witness value,==the expected value. - compareAndSet(Node, T, T) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method sets the value of the target field giving the a target node and expected value using compare and set semantics.
- compareAndSwapBoolean(Object, boolean, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the boolean value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapByte(Object, byte, byte) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the byte value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapChar(Object, char, char) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the char value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapDouble(Object, double, double) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the double value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapFloat(Object, float, float) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the float value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapInt(Object, int, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the int value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapLong(Object, long, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the long value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareAndSwapObject(Object, Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the
Objectvalue represented by this StaticProperty and stored in the specified static object to the given updated value if the current value==the expected value. - compareAndSwapShort(Object, short, short) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the short value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value
==the expected value. - compareBytesUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CompareBytesNode. - compareCharsUTF16Uncached(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CompareCharsUTF16Node. - compareIntsUTF32Uncached(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CompareIntsUTF32Node. - compilationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that the corresponding value is reduced to a constant during compilation.
- CompilerAsserts - Class in com.oracle.truffle.api
-
Assertions about the code produced by the Truffle compiler.
- CompilerDirectives - Class in com.oracle.truffle.api
-
Directives that influence the optimizations of the Truffle compiler.
- CompilerDirectives.CompilationFinal - Annotation Interface in com.oracle.truffle.api
-
Marks fields that should be considered final for a Truffle compilation although they are not final while executing in the interpreter.
- CompilerDirectives.TruffleBoundary - Annotation Interface in com.oracle.truffle.api
-
Marks a method that it is considered as a boundary for Truffle partial evaluation.
- CompilerDirectives.ValueType - Annotation Interface in com.oracle.truffle.api
-
Marks classes as value types.
- componentId() - Element in annotation interface com.oracle.truffle.api.InternalResource.Id
-
A Truffle language or instrument identifier for which the resource is registered.
- computeSize() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Computes a size estimate of this root node.
- concat(T[], T[]) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- concatUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.ConcatNode. - concatUncached(AbstractTruffleString, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ConcatNode. - ConditionProfile - Class in com.oracle.truffle.api.profiles
-
ConditionProfiles are useful to profile the outcome of conditions.
- config(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
config level. - config(String, Object) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets a config parameter that the child context of this language can access using
TruffleLanguage.Env.getConfig(). - config(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
config level. - Configuration vs. Initialization - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- Construction - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- containsKey(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Returns
trueif this object contains a property with the given key. - content(CharSequence) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Specifies character based content of
to-be-builtSource. - content(CharSequence) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Specifies character based content of
to-be-builtSource. - content(ByteSequence) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Specifies byte based content of
to-be-builtSource. - content(ByteSequence) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Specifies byte based content of
to-be-builtSource. - CONTENT_NONE - Static variable in class com.oracle.truffle.api.source.Source
-
Constant to be used as an argument to
Source.SourceBuilder.content(CharSequence)to set no content to the Source built. - context(TruffleContext) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies
TruffleContextfor the threads created by the builder. - contextClosed(DebugContext) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about close of a polyglot context.
- contextCreated(DebugContext) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about creation of a new polyglot context.
- ContextLocal<T> - Class in com.oracle.truffle.api
-
A context local reference that refers to a value that is created for each polyglot context.
- ContextLocal(Object) - Constructor for class com.oracle.truffle.api.ContextLocal
-
Custom subclasses of context local are not allowed.
- contextPolicy() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Defines the supported policy for reusing
languagesper context. - Context Policy and Sharing - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- ContextReference() - Constructor for class com.oracle.truffle.api.TruffleLanguage.ContextReference
-
Constructors for subclasses.
- ContextsListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener to be notified about changes of contexts in guest language application.
- ContextThreadLocal<T> - Class in com.oracle.truffle.api
-
A context thread local reference that refers to a value that is created for each polyglot context and thread.
- ContextThreadLocal(Object) - Constructor for class com.oracle.truffle.api.ContextThreadLocal
-
Custom subclasses of context local are not allowed.
- CONTINUE_LOOP_STATUS - Static variable in interface com.oracle.truffle.api.nodes.RepeatingNode
-
A value indicating that the loop should be repeated.
- ControlFlowException - Exception Class in com.oracle.truffle.api.nodes
-
An exception thrown to model control flow in a Truffle interpreter.
- ControlFlowException() - Constructor for exception class com.oracle.truffle.api.nodes.ControlFlowException
-
Creates an exception thrown to model control flow.
- convertRawValue(Class<? extends TruffleLanguage<?>>, Object) - Method in class com.oracle.truffle.api.debug.DebugScope
-
Converts the value to a DebugValue, or returns
nullif the requesting language class does not match the root node guest language. - copy() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Deeper copy of the descriptor.
- copy() - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Creates a shallow copy of this node.
- copy() - Method in class com.oracle.truffle.api.nodes.Node
-
Creates a shallow copy of this node.
- copy() - Method in class com.oracle.truffle.api.nodes.RootNode
- copy(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies, including the type, from one slot to another.
- copy(TruffleFile, CopyOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Copies the file.
- copyIntoOSRFrame(VirtualFrame, VirtualFrame, int) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Deprecated.since 22.2
- copyIntoOSRFrame(VirtualFrame, VirtualFrame, int, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Copies the contents of the
parentFrameinto theosrFrameused to execute OSR. - copyObjectStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies an object value from one slot to another.
- copyPrimitiveStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies a primitive value from one slot to another.
- copyStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Copies from one slot to another.
- copyToByteArrayNodeUncached(int, byte[], int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Deprecated.since 22.3, use
AbstractTruffleString.copyToByteArrayUncached(int, byte[], int, int, Encoding)instead. - copyToByteArrayUncached(int, byte[], int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CopyToByteArrayNode. - copyToByteArrayUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CopyToByteArrayNode. - copyToNativeMemoryNodeUncached(int, Object, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Deprecated.since 22.3, use
AbstractTruffleString.copyToNativeMemoryUncached(int, Object, int, int, Encoding)instead. - copyToNativeMemoryUncached(int, Object, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CopyToNativeMemoryNode. - cost() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
Deprecated.in 24.1 without replacement
- count(int) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Provide the step count.
- CountingConditionProfile - Class in com.oracle.truffle.api.profiles
-
CountingConditionProfiles are useful to profile the outcome of conditions.
- countNodes(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- countNodes(Node, NodeUtil.NodeCountFilter) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- countsTowardsStackTraceLimit() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
trueif this root node should count towardsAbstractTruffleException.getStackTraceElementLimit(). - CP50220 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP50220.
- CP50221 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP50221.
- CP51932 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP51932.
- CP850 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP850.
- CP852 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP852.
- CP855 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP855.
- CP949 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP949.
- CP950 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP950.
- CP951 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
CP951.
- create() - Static method in interface com.oracle.truffle.api.Assumption
-
Creates a new assumption with a name.
- create() - Static method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Creates a new specialization statistics instance.
- create() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Creates a new instance of a
TruffleInstrument. - create() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
-
Deprecated.Creates a new instance of a
TruffleInstrument. - create() - Static method in exception class com.oracle.truffle.api.interop.StopIterationException
-
Creates an
StopIterationExceptionto indicate that iteration was stopped. - create() - Static method in exception class com.oracle.truffle.api.interop.UnsupportedMessageException
-
Creates an
UnsupportedMessageExceptionto indicate that aninteropmessage is not supported. - create() - Static method in class com.oracle.truffle.api.nodes.IndirectCallNode
-
Creates cached indirect call node using bytecode index
-1. - create() - Static method in class com.oracle.truffle.api.profiles.BranchProfile
-
Call to create a new instance of a branch profile.
- create() - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns a value profile that profiles the exact value of a
byte. - create() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
- create() - Static method in class com.oracle.truffle.api.profiles.CountingConditionProfile
- create() - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns a value profile that profiles the exact value of a
doubleusingDouble.doubleToRawLongBits(double). - create() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns a value profile that profiles the exact value of a
floatusingFloat.floatToRawIntBits(float). - create() - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns a value profile that profiles the exact value of an
int. - create() - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns a value profile that profiles the exact value of an
long. - create() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Returns a
LoopConditionProfilethat speculates on loop conditions to be nevertrue. - create() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Returns a
PrimitiveValueProfilethat speculates on the primitive equality or object identity of a value. - create() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns a value profile that profiles the exact class of a value.
- create() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Creates a new instance of a
TruffleLanguage. - create() - Method in interface com.oracle.truffle.api.staticobject.DefaultStaticObjectFactory
-
Creates a static object of type
Objectthat have a visible constructor that accepts no arguments. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode
-
Create a new
MutableTruffleString.AsManagedNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode
-
Create a new
MutableTruffleString.AsMutableTruffleStringNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
-
Create a new
MutableTruffleString.ConcatNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode
-
Create a new
MutableTruffleString.ForceEncodingNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode
-
Create a new
MutableTruffleString.FromByteArrayNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode
-
Create a new
MutableTruffleString.FromNativePointerNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode
-
Create a new
MutableTruffleString.SubstringByteIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode
-
Create a new
MutableTruffleString.SubstringNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode
-
Create a new
MutableTruffleString.SwitchEncodingNode. - create() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode
-
Create a new
MutableTruffleString.WriteByteNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
Create a new
TruffleString.AsManagedNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsNativeNode
-
Create a new
TruffleString.AsNativeNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode
-
Create a new
TruffleString.AsTruffleStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode
-
Create a new
TruffleString.ByteIndexOfAnyByteNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode
-
Create a new
TruffleString.ByteIndexOfCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Create a new
TruffleString.ByteIndexOfCodePointSetNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
Create a new
TruffleString.ByteIndexOfStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode
-
Create a new
TruffleString.ByteIndexToCodePointIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Create a new
TruffleString.ByteLengthOfCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node
-
Create a new
TruffleString.CharIndexOfAnyCharUTF16Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Create a new
TruffleString.CodePointAtByteIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Create a new
TruffleString.CodePointAtIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode
-
Create a new
TruffleString.CodePointIndexToByteIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode
-
Create a new
TruffleString.CodePointLengthNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode
-
Create a new
TruffleString.CodeRangeEqualsNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareBytesNode
-
Create a new
TruffleString.CompareBytesNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node
-
Create a new
TruffleString.CompareCharsUTF16Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node
-
Create a new
TruffleString.CompareIntsUTF32Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ConcatNode
-
Create a new
TruffleString.ConcatNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Create a new
TruffleString.CopyToByteArrayNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode
-
Create a new
TruffleString.CopyToNativeMemoryNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Create a new
TruffleString.CreateBackwardCodePointIteratorNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Create a new
TruffleString.CreateCodePointIteratorNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.EqualNode
-
Create a new
TruffleString.EqualNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode
-
Create a new
TruffleString.ForceEncodingNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Create a new
TruffleString.FromByteArrayNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Create a new
TruffleString.FromCharArrayUTF16Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Create a new
TruffleString.FromCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Create a new
TruffleString.FromIntArrayUTF32Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Create a new
TruffleString.FromJavaStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromLongNode
-
Create a new
TruffleString.FromLongNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode
-
Create a new
TruffleString.FromNativePointerNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode
-
Create a new
TruffleString.GetByteCodeRangeNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
-
Create a new
TruffleString.GetCodeRangeImpreciseNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode
-
Create a new
TruffleString.GetCodeRangeNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode
-
Create a new
TruffleString.GetInternalByteArrayNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode
-
Create a new
TruffleString.GetInternalNativePointerNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode
-
Create a new
TruffleString.GetStringCompactionLevelNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.HashCodeNode
-
Create a new
TruffleString.HashCodeNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode
-
Create a new
TruffleString.IndexOfCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode
-
Create a new
TruffleString.IndexOfStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
-
Create a new
TruffleString.IntIndexOfAnyIntUTF32Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.IsValidNode
-
Create a new
TruffleString.IsValidNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode
-
Create a new
TruffleString.LastByteIndexOfCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
Create a new
TruffleString.LastByteIndexOfStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode
-
Create a new
TruffleString.LastIndexOfCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode
-
Create a new
TruffleString.LastIndexOfStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.MaterializeNode
-
Create a new
TruffleString.MaterializeNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
-
Create a new
TruffleString.ParseDoubleNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseIntNode
-
Create a new
TruffleString.ParseIntNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseLongNode
-
Create a new
TruffleString.ParseLongNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadByteNode
-
Create a new
TruffleString.ReadByteNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
-
Create a new
TruffleString.ReadCharUTF16Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Create a new
TruffleString.RegionEqualByteIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualNode
-
Create a new
TruffleString.RegionEqualNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.RepeatNode
-
Create a new
TruffleString.RepeatNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
-
Create a new
TruffleString.SubstringByteIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringNode
-
Create a new
TruffleString.SubstringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode
-
Create a new
TruffleString.SwitchEncodingNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode
-
Create a new
TruffleString.ToJavaStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToValidStringNode
-
Create a new
TruffleString.SwitchEncodingNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode
-
Create a new
TruffleString.WithMask.CreateNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node
-
Create a new
TruffleString.WithMask.CreateNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
-
Create a new
TruffleString.WithMask.CreateNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
-
Create a new
TruffleStringBuilder.AppendByteNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node
-
Create a new
TruffleStringBuilder.AppendCharUTF16Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Create a new
TruffleStringBuilder.AppendCodePointNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
-
Create a new
TruffleStringBuilder.AppendIntNumberNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Create a new
TruffleStringBuilder.AppendJavaStringUTF16Node. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode
-
Create a new
TruffleStringBuilder.AppendLongNumberNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode
-
Create a new
TruffleStringBuilder.AppendStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
-
Create a new
TruffleStringBuilder.AppendSubstringByteIndexNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Create a new
TruffleStringBuilder.ToStringNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.NextNode
-
Create a new
TruffleStringIterator.NextNode. - create() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode
-
Create a new
TruffleStringIterator.PreviousNode. - create() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.Creates a new instance of a
TruffleLanguage. - create(int, int, int) - Static method in exception class com.oracle.truffle.api.interop.ArityException
-
Creates an
ArityExceptionto indicate that the wrong number of arguments were provided. - create(int, int, int, Throwable) - Static method in exception class com.oracle.truffle.api.interop.ArityException
-
Creates an
ArityExceptionto indicate that the wrong number of arguments were provided. - create(long) - Static method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
-
Creates an
InvalidArrayIndexExceptionto indicate that an array index is invalid. - create(long, long) - Static method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Creates an
InvalidBufferOffsetExceptionto indicate that a buffer access is invalid. - create(long, long, Throwable) - Static method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Creates an
InvalidBufferOffsetExceptionto indicate that a buffer access is invalid. - create(long, Throwable) - Static method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
-
Creates an
InvalidArrayIndexExceptionto indicate that an array index is invalid. - create(C) - Method in interface com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory
-
Returns a new value for a context local of a language.
- create(CallTarget) - Static method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Creates cached direct call node using bytecode index
-1. - create(EventContext) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventNodeFactory
-
Returns a new instance of
ExecutionEventNodefor this particular source location. - create(Node, RootCallTarget, Frame) - Static method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Create a new stack trace element.
- create(Node, RootCallTarget, Frame, int) - Static method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Create a new stack trace element.
- create(Node, String[]) - Static method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called when a new node statistics object is created.
- create(TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new string builder with the given encoding.
- create(TruffleString.Encoding, int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new string builder with the given encoding, and pre-allocate the given number of bytes.
- create(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory
-
Returns a new value for a context local of an instrument.
- create(TruffleContext, Thread) - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory
-
Returns a new value for a context thread local for a context and thread.
- create(C, Thread) - Method in interface com.oracle.truffle.api.TruffleLanguage.ContextThreadLocalFactory
-
Returns a new value for a context thread local for a language context and thread.
- create(Class<?>, InlineSupport.InlinableField...) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Creates an inline target for an inlined node.
- create(Class<?>, Class<?>[]) - Static method in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Creates a new execution signature of a
RootNode. - create(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage.ContextReference
-
Creates a new instance of a context reference for an registered language.
- create(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage.LanguageReference
-
Creates a new instance of a langauge reference for an registered language.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
This method creates a new field given a lookup class and a field name.
- create(MethodHandles.Lookup, String, Class<T>) - Static method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method creates a new field given a lookup class, field name and value class.
- create(Object) - Static method in exception class com.oracle.truffle.api.interop.UnknownKeyException
-
Creates an
UnknownKeyExceptionto indicate that a key is missing in the hash object. - create(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a new manually dispatched cached library for a given receiver.
- create(Object...) - Static method in interface com.oracle.truffle.api.dsl.Introspection.Provider
-
Factory method to create
Nodeintrospection data. - create(Object[]) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Creates an
UnsupportedTypeExceptionto indicate that an argument type is not supported. - create(Object[], String) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Creates an
UnsupportedTypeExceptionto indicate that an argument type is not supported. - create(Object[], String, Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Creates an
UnsupportedTypeExceptionto indicate that an argument type is not supported. - create(Object, Location, int) - Static method in class com.oracle.truffle.api.object.Property
-
Deprecated.
- create(Object, Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnknownKeyException
-
Creates an
UnknownKeyExceptionto indicate that a key is missing in the hash object. - create(String) - Static method in interface com.oracle.truffle.api.Assumption
-
Creates a new assumption with a name.
- create(String) - Static method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
-
Creates an
UnknownIdentifierExceptionto indicate that an identifier is missing. - create(String, Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
-
Creates an
UnknownIdentifierExceptionto indicate that an identifier is missing. - create(Throwable) - Static method in exception class com.oracle.truffle.api.interop.StopIterationException
-
Creates an
StopIterationExceptionto indicate that iteration was stopped. - create(Throwable) - Static method in exception class com.oracle.truffle.api.interop.UnsupportedMessageException
-
Creates an
UnsupportedMessageExceptionto indicate that aninteropmessage is not supported. - create(T[], BlockNode.ElementExecutor<T>) - Static method in class com.oracle.truffle.api.nodes.BlockNode
-
Creates a new block node.
- createAOT(LibraryExport<T>) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates an AOT version for a library export.
- createAssertions(T) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates an assertion version of this library.
- createAssumption() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new assumption object that can be checked and invalidated.
- createAssumption(String) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new assumption object with a given name that can be checked and invalidated.
- createBackwardCodePointIteratorUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CreateBackwardCodePointIteratorNode. - createBinaryProfile() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Deprecated.use
ConditionProfile.create()instead. - createCached(Object) - Method in class com.oracle.truffle.api.library.LibraryExport
-
Implemented generated by
ExportLibrary. - CreateCast - Annotation Interface in com.oracle.truffle.api.dsl
-
Specifies a factory method that creates a
Nodewhich is used to cast this child. - createClassProfile() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns a value profile that profiles the exact class of a value.
- createCodePointIteratorUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.CreateCodePointIteratorNode. - createConstantNode(Object) - Static method in class com.oracle.truffle.api.nodes.RootNode
-
Helper method to create a root node that always returns the same value.
- createContext(TruffleLanguage.Env) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Creates internal representation of the executing context suitable for given environment.
- createContextLocal(TruffleInstrument.ContextLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider
-
Creates a new context local reference for this instrument.
- createContextLocal(TruffleInstrument.ContextLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Deprecated.
- createContextLocal(TruffleLanguage.ContextLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider
-
Creates a new context local reference for this Truffle language.
- createContextLocal(TruffleLanguage.ContextLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.
- createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider
-
Creates a new context thread local reference for this Truffle language.
- createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Deprecated.
- createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider
-
Creates a new context thread local reference for this Truffle language.
- createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.
- createCountingProfile() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Deprecated.use
CountingConditionProfileinstead - createCountingProfile() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Deprecated.use
LoopConditionProfile.create()instead. - createDelegate(LibraryFactory<T>, T) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Internal method for generated code only.
- createDelegate(T) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a delegate version of a library.
- createDirectCallNode(CallTarget) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new runtime specific version of
DirectCallNode. - createDirectories(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a directory and all nonexistent parent directories.
- createDirectory(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a new directory.
- createDispatched(int) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a new cached and automatically dispatched library given a limit.
- createDispatchImpl(int) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a cached automatically dispatched version of this library.
- createEqualityProfile() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Returns a
PrimitiveValueProfilethat speculates on the primitive equality or object identity of a value. - createError(RuntimeException) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Deprecated.No substitute. Runtime exceptions can now be thrown directly and will be observable by the guest language application.
- createExecuteSourceBinding(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- createFile(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a new empty file.
- createFileTypeDetectors() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Creates file type detectors used by the
TruffleLanguage. - createFileTypeDetectors() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.Creates file type detectors used by the
TruffleLanguage. - createHostAdapter(Object[]) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a Java host adapter class that can be instantiated with a guest object (as the last argument) in order to create adapter instances of the provided host types, (non-final) methods of which delegate to the guest object's invocable members.
- createHostAdapterClass(Class<?>[]) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.since 22.1; replaced by
TruffleLanguage.Env.createHostAdapter(Object[]). - createHostAdapterClassWithStaticOverrides(Class<?>[], Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.since 22.1; replaced by
TruffleLanguage.Env.createHostAdapterWithClassOverrides(Object[], Object). - createHostAdapterWithClassOverrides(Object[], Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Like
TruffleLanguage.Env.createHostAdapter(Object[])but creates a Java host adapter class with class-level overrides, i.e., the guest object provided asclassOverridesis statically bound to the class rather than instances of the class. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns a value profile that profiles the exact value of a
byte. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns a value profile that profiles the exact value of an
int. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns a value profile that profiles the exact value of an
long. - createIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns a value profile that profiles the object identity of a value.
- createIndirectCallNode() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new runtime specific version of
IndirectCallNode. - createInternalResource() - Method in class com.oracle.truffle.api.provider.InternalResourceProvider
-
Creates an
InternalResourceinstance. - createInternalResource(String) - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Creates an instrument
InternalResourceidentified by theresourceId. - createInternalResource(String) - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Creates a language
InternalResourceidentified by theresourceId. - createLink(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a new link to an existing target (optional operation).
- createLoadSourceBinding(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
- createLoadSourceSectionBinding(NearestSectionFilter, SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Create a binding to get notification for the nearest source section to the given position as specified by the
NearestSectionFilter. - createLoadSourceSectionBinding(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Create a binding to get notifications for each newly loaded
SourceSectionin every newly loadedSource. - createLoopNode(RepeatingNode) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new loop node with an implementation provided by a Truffle runtime implementation.
- createMaterializedFrame(Object[]) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new materialized frame object that can be used to store values.
- createMaterializedFrame(Object[], FrameDescriptor) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new materialized frame object with the given frame descriptor that can be used to store values.
- createMessageBitSet(LibraryFactory<?>, String...) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Internal method for generated code only.
- createMessageBitSet(Message...) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a final bitset of the given messages.
- createNode(Object...) - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Instantiates the node using the arguments array.
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
Deprecated.in 23.1 - no longer needed
- createParentAccessor(Class<? extends Node>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
Deprecated.in 23.1 - no longer needed
- createPrimitiveValue(Object, LanguageInfo) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Creates a
DebugValueobject that wraps a primitive value. - createProperty(Object, Location, int) - Method in interface com.oracle.truffle.api.object.LayoutFactory
-
Deprecated.
- createProxy(ReflectionLibrary) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a proxy version of this library.
- createRawIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns a value profile that profiles the exact value of a
doubleusingDouble.doubleToRawLongBits(double). - createRawIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns a value profile that profiles the exact value of a
floatusingFloat.floatToRawIntBits(float). - createRedirectToStream(OutputStream) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Creates a redirect to write into the given
OutputStream. - createSection(int) - Method in class com.oracle.truffle.api.source.Source
-
Creates a representation of a line of text in the source identified only by line number, from which the character information will be computed.
- createSection(int, int) - Method in class com.oracle.truffle.api.source.Source
-
Creates a representation of a contiguous region of text in the source.
- createSection(int, int, int) - Method in class com.oracle.truffle.api.source.Source
-
Creates a representation of a contiguous region of text in the source.
- createSection(int, int, int, int) - Method in class com.oracle.truffle.api.source.Source
-
Create representation of a contiguous region in the source that does not have the character content available.
- createShape(Object) - Method in interface com.oracle.truffle.api.object.LayoutFactory
-
Deprecated.
- createSymbolicLink(TruffleFile, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Creates a symbolic link to a target (optional operation).
- createSystemThread(Runnable) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Creates a new thread designed to process instrument tasks in the background.
- createSystemThread(Runnable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new thread designed to process language internal tasks in the background.
- createSystemThread(Runnable, ThreadGroup) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Creates a new thread designed to process instrument tasks in the background.
- createSystemThread(Runnable, ThreadGroup) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new thread designed to process language internal tasks in the background.
- createTempDirectory(TruffleFile, String, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new directory in the specified or default temporary directory, using the given prefix to generate its name.
- createTempFile(TruffleFile, String, String, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new empty file in the specified or default temporary directory, using the given prefix and suffix to generate its name.
- createThread(Runnable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createThread(Runnable, TruffleContext) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createThread(Runnable, TruffleContext, ThreadGroup) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createThread(Runnable, TruffleContext, ThreadGroup, long) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.
- createUnavailableSection() - Method in class com.oracle.truffle.api.source.Source
-
Returns an unavailable source section indicating that the source location is not available.
- createUncached(AbstractTruffleString, byte[], TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask
-
Shorthand for calling the uncached version of
TruffleString.WithMask.CreateNode. - createUncached(Object) - Method in class com.oracle.truffle.api.library.LibraryExport
-
Implemented generated by
ExportLibrary. - createUncachedDispatch() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Creates a uncached automatically dispatched version of this library.
- createUnwind(Object) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.
- createUnwind(Object, EventBinding<?>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.
- createUTF16() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-16 string builder.
- createUTF16(int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-16 string builder and pre-allocate the given number of chars.
- createUTF16Uncached(AbstractTruffleString, char[]) - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask
-
Shorthand for calling the uncached version of
TruffleString.WithMask.CreateUTF16Node. - createUTF32() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-32 string builder.
- createUTF32(int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-32 string builder and pre-allocate the given number of codepoints.
- createUTF32Uncached(AbstractTruffleString, int[]) - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask
-
Shorthand for calling the uncached version of
TruffleString.WithMask.CreateUTF32Node. - createUTF8() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-8 string builder.
- createUTF8(int) - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Create a new UTF-8 string builder and pre-allocate the given number of bytes.
- createVirtualFrame(Object[], FrameDescriptor) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Creates a new virtual frame object that can be used to store values and is potentially optimizable by the runtime.
- createWrapper(ProbeNode) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns a new, never adopted, unshared
wrappernode implementation for thisinstrumentablenode. - CREATION_TIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's creation time.
- CyclicAssumption - Class in com.oracle.truffle.api.utilities
-
Holds an
Assumption, and knows how to recreate it with the same properties on invalidation. - CyclicAssumption(String) - Constructor for class com.oracle.truffle.api.utilities.CyclicAssumption
D
- DARWIN - Enum constant in enum class com.oracle.truffle.api.InternalResource.OS
-
The macOS operating system.
- DebugContext - Class in com.oracle.truffle.api.debug
-
Representation of a polyglot context in a guest language execution.
- DebugContextsListener - Interface in com.oracle.truffle.api.debug
-
Listener to be notified about changes of contexts in guest language application.
- DebugException - Exception Class in com.oracle.truffle.api.debug
-
Information about an exception thrown from a guest language.
- DebugException.CatchLocation - Class in com.oracle.truffle.api.debug
-
Represents an exception catch location.
- Debugger - Class in com.oracle.truffle.api.debug
-
Class that simplifies implementing a debugger on top of Truffle.
- DebuggerSession - Class in com.oracle.truffle.api.debug
-
Represents a single debugging session of a Debugger.
- DebuggerTags - Class in com.oracle.truffle.api.debug
-
Set of debugger-specific tags.
- DebuggerTags.AlwaysHalt - Class in com.oracle.truffle.api.debug
-
Marks program locations where debugger should always halt like if on a breakpoint.
- Debugging requests - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- DebugScope - Class in com.oracle.truffle.api.debug
-
Representation of guest language scope at the current suspension point, or a top scope.
- DebugStackFrame - Class in com.oracle.truffle.api.debug
-
Represents a frame in the guest language stack.
- DebugStackTraceElement - Class in com.oracle.truffle.api.debug
-
Represents a trace element in the guest language stack trace.
- DebugThreadsListener - Interface in com.oracle.truffle.api.debug
-
Listener to be notified about changes of threads in guest language application.
- DebugValue - Class in com.oracle.truffle.api.debug
-
Represents a value accessed using the debugger API.
- deepCopy() - Method in class com.oracle.truffle.api.nodes.Node
-
Creates a deep copy of this node.
- DEFAULT - Static variable in interface com.oracle.truffle.api.strings.TranscodingErrorHandler
-
The default transcoding error handler.
- DEFAULT_KEEP_SURROGATES_IN_UTF8 - Static variable in interface com.oracle.truffle.api.strings.TranscodingErrorHandler
-
Same as
TranscodingErrorHandler.DEFAULT, but also keepsUTF-16 surrogate valuesin UTF-8. - defaultExportLookupEnabled() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Allows the library to lookup additional default exports using a service provider interface.
- DefaultExportProvider - Interface in com.oracle.truffle.api.library
-
Deprecated.
- DefaultExportProvider - Interface in com.oracle.truffle.api.library.provider
-
Service provider interface implemented by external default exports of a library.
- defaultMimeType() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Returns the default MIME type of this language.
- DefaultStaticObjectFactory - Interface in com.oracle.truffle.api.staticobject
-
A trivial static object factory that allocates static objects of type
Object. - DefaultStaticProperty - Class in com.oracle.truffle.api.staticobject
-
A trivial default implementation of
StaticProperty. - DefaultStaticProperty(String) - Constructor for class com.oracle.truffle.api.staticobject.DefaultStaticProperty
-
Constructs a new DefaultStaticProperty.
- defaultValue(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Sets the default value for the frame slots in this frame descriptor.
- defineProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape
- defineProperty(Object, Object, int, int) - Method in class com.oracle.truffle.api.object.Shape
-
Add or change property in the map, yielding a new or cached Shape object.
- delegateTo() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Automatically forwards all messages of the library which are not exported to the value of a delegate field.
- delete() - Method in class com.oracle.truffle.api.TruffleFile
-
Deletes the file.
- DenyReplace - Annotation Interface in com.oracle.truffle.api.nodes
-
If a
Nodesubtype is annotated with this annotation thenreplacementis denied. - dependentLanguages() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Specifies a list of languages that this language depends on.
- deprecated() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns
trueif this option is deprecated. - Deprecating Messages - Search tag in annotation interface com.oracle.truffle.api.library.GenerateLibrary
- Section
- deprecationMessage() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns the deprecation reason and the recommended fix.
- description() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
A human readable explanation of the purpose of the annotated
Node. - DetailedRewriteReasons - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Enables the generation of detailed rewrite reasons.
- detectMimeType() - Method in class com.oracle.truffle.api.TruffleFile
-
Detects the
fileMIME type. - dimensions() - Element in annotation interface com.oracle.truffle.api.CompilerDirectives.CompilationFinal
-
Specifies the number of array dimensions to be marked as compilation final.
- dimensions() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies the number of array dimensions to be marked as
compilation final. - dimensions() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
Specifies the compilation final
dimensionsof the required inlined field. - DirectCallNode - Class in com.oracle.truffle.api.nodes
-
Represents a direct call to a
CallTarget. - DirectCallNode(CallTarget) - Constructor for class com.oracle.truffle.api.nodes.DirectCallNode
- directory(TruffleFile) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets this process current working directory.
- disable() - Method in class com.oracle.truffle.api.profiles.BranchProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Disables this profile by setting it to its generic state.
- disable() - Method in class com.oracle.truffle.api.profiles.Profile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Disables this profile by setting it to its generic state.
- disable(Node) - Method in class com.oracle.truffle.api.profiles.InlinedProfile
-
Disables this profile by setting it to its generic state.
- disableAuxiliarySlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Disables the auxiliary slot with the given key, so that subsequently created
Frameinstances may avoid allocating storage for it. - disableStepping() - Method in class com.oracle.truffle.api.debug.Debugger
-
Disable stepping on the current thread.
- dispatch() - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- dispatch(Object) - Method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Returns a class that
exportsat least one library with an explicit receiver. - dispose() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Permanently prevents this breakpoint from affecting execution.
- dispose() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Cancels the subscription permanently.
- disposeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Disposes the context created by
TruffleLanguage.createContext(com.oracle.truffle.api.TruffleLanguage.Env). - disposeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Invoked the last time code will be executed for this thread and context.
- Double - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- DoubleLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- DoubleValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
doubleruntime values. - DSLSupport - Class in com.oracle.truffle.api.dsl
-
APIs to support share code in generated code.
- DSLSupport.SpecializationDataNode - Interface in com.oracle.truffle.api.dsl
-
Interface implemented by specialization data classes.
- dynamicDispatchEnabled() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Allows the use of
DynamicDispatchLibrarywith this library. - DynamicDispatchLibrary - Class in com.oracle.truffle.api.library
-
A library that allows to dynamically dispatch to export library classes.
- DynamicDispatchLibrary() - Constructor for class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Constructor for generated subclasses.
- DynamicObject - Class in com.oracle.truffle.api.object
-
Represents a dynamic object, members of which can be dynamically added and removed at run time.
- DynamicObject(Shape) - Constructor for class com.oracle.truffle.api.object.DynamicObject
-
Constructor for
DynamicObjectsubclasses. - DynamicObject.DynamicField - Annotation Interface in com.oracle.truffle.api.object
-
Using this annotation, subclasses can define additional dynamic fields to be used by the object layout.
- DynamicObjectLibrary - Class in com.oracle.truffle.api.object
-
DynamicObjectaccess library. - DynamicObjectLibrary() - Constructor for class com.oracle.truffle.api.object.DynamicObjectLibrary
- dynamicType(Object) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets initial dynamic object type identifier.
- dynamicType(Object) - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Sets initial dynamic object type identifier.
E
- EagerExportProvider - Interface in com.oracle.truffle.api.library
-
Deprecated.Use
EagerExportProvider. - EagerExportProvider - Interface in com.oracle.truffle.api.library.provider
-
Service provider interface implemented by library exports if they needed to be loaded eagerly with a library.
- Emacs_Mule - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Emacs-Mule.
- EMPTY - Static variable in class com.oracle.truffle.api.utilities.FinalBitSet
-
An empty bit set of size 0.
- Enable Debugging for your Truffle guest language - Search tag in package com.oracle.truffle.api.debug
- Section
- EncapsulatingNodeReference - Class in com.oracle.truffle.api.nodes
-
Thread local reference class to remember the current encapsulating node of an interpreter on the stack.
- encoding(Charset) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Explicitly assigns an encoding used to read the file content.
- encoding(Charset) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Explicitly assigns an encoding used to read the file content.
- endsWith(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFilepath ends with the givenTruffleFilepath. - endsWith(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFilepath ends with the given path. - ensureAllocatedHere(T) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Prevents the compiler from moving an allocation, enabling precise
OutOfMemoryErrorexception locations. - ensureRegistered() - Method in interface com.oracle.truffle.api.library.provider.EagerExportProvider
-
Ensures that the export is registered and usable.
- ensureVirtualized(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Ensures that the given object will be virtual (escape analyzed) at all points that are dominated by the current position.
- ensureVirtualizedHere(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Ensures that the given object will be virtual at the current position.
- enter() - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Enters this specialization instance object on the current thread.
- enter() - Method in class com.oracle.truffle.api.profiles.BranchProfile
-
Call when an unlikely branch is entered.
- enter(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
- enter(Node) - Method in class com.oracle.truffle.api.TruffleContext
-
Enters this context and returns an object representing the previous context.
- entering(String, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs entry into method.
- entering(String, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs entry into method with single parameter.
- entering(String, String, Object[]) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs entry into method with multiple parameters.
- environment(String, String) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the subprocess environment variable.
- environment(String, String) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets an environment variable.
- environment(Map<String, String>) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Shortcut for setting multiple
environment variablesusing a map. - environment(Map<String, String>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Shortcut for setting multiple
environment variablesusing a map. - equals(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- equals(Object) - Method in class com.oracle.truffle.api.debug.DebugStackFrame
- equals(Object) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Indicates whether another
DebugValueis equal to this. - equals(Object) - Method in class com.oracle.truffle.api.library.Message
- equals(Object) - Method in class com.oracle.truffle.api.object.HiddenKey
- equals(Object) - Method in class com.oracle.truffle.api.object.Location
-
Abstract to force overriding.
- equals(Object) - Method in class com.oracle.truffle.api.source.Source
- equals(Object) - Method in class com.oracle.truffle.api.source.SourceSection
- equals(Object) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is equal toobj. - equals(Object) - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.oracle.truffle.api.TruffleContext
- equals(Object) - Method in class com.oracle.truffle.api.TruffleFile
- equals(Object) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Compares this object against the specified object.
- equalsUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.EqualNode. - err() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Standard error writer for
Enginethisinstrumentis being executed in. - err() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Standard error writer provided by
Context.Builder.err(OutputStream)this language is being executed in. - err(OutputStream) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the error output stream to be used for the context.
- EUC_JIS_2004 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-JIS-2004.
- EUC_JP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-JP.
- EUC_KR - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-KR.
- EUC_TW - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EUC-TW.
- EucJP_ms - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
EucJP-ms.
- eval(String) - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Evaluates the given code in the state of the current execution and in the same guest language as the current language is defined in.
- evalInternal(Node, Source) - Method in class com.oracle.truffle.api.TruffleContext
-
Evaluates a source in an inner context and returns the result.
- evalPublic(Node, Source) - Method in class com.oracle.truffle.api.TruffleContext
-
The same as
TruffleContext.evalInternal(Node, Source), but only public languages are accessible. - evaluate(String, String) - Method in class com.oracle.truffle.api.debug.DebugContext
-
Evaluate the given code in this context.
- EventBinding<T> - Class in com.oracle.truffle.api.instrumentation
-
An instrumentation handle for a subscription to a filtered stream of execution event notifications.
- EventContext - Class in com.oracle.truffle.api.instrumentation
-
Represents the context of an execution event.
- Event lifetime - Search tag in class com.oracle.truffle.api.debug.SuspendedEvent
- Section
- Event merging - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- ExactMath - Class in com.oracle.truffle.api
-
This class contains exact math related methods that are generally useful for dynamic language implementations.
- Example for a simple expression coverage instrument: - Search tag in class com.oracle.truffle.api.instrumentation.TruffleInstrument
- Section
- EXCEPTION - Enum constant in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Represents exception breakpoints that are hit when an exception is thrown from a guest language program.
- ExceptionType - Enum Class in com.oracle.truffle.api.interop
-
Represents a type of a Truffle exception.
- EXCLUSIVE - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Use one exclusive
TruffleLanguageinstance per language context instance. - ExecutableNode - Class in com.oracle.truffle.api.nodes
-
Represents an executable node in a Truffle AST.
- ExecutableNode(TruffleLanguage<?>) - Constructor for class com.oracle.truffle.api.nodes.ExecutableNode
-
Creates new executable node with a given language instance.
- execute(byte[], int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode
-
Creates a new
MutableTruffleStringfrom a byte array. - execute(byte[], int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Creates a new
TruffleStringfrom a byte array. - execute(byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Creates a new
TruffleStringfrom a byte array. - execute(byte[], TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Creates a new
TruffleStringfrom a byte array. - execute(char[]) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Creates a UTF-16
TruffleStringfrom a char array. - execute(char[], int, int) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Creates a UTF-16
TruffleStringfrom a char-array. - execute(int[]) - Method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Creates a UTF-32
TruffleStringfrom an int-array. - execute(int[], int, int) - Method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Creates a UTF-32
TruffleStringfrom an int-array. - execute(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Creates a new TruffleString from a given code point.
- execute(int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Creates a new TruffleString from a given code point.
- execute(long, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromLongNode
-
Creates a 10's complement string from the given long value, using ASCII digits (0x30 - 0x39).
- execute(DebugValue...) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Executes the executable represented by this value.
- execute(VirtualFrame) - Method in class com.oracle.truffle.api.nodes.ExecutableNode
-
Execute this fragment at the place where it was parsed.
- execute(VirtualFrame) - Method in class com.oracle.truffle.api.nodes.LoopNode
-
Invokes one loop invocation by repeatedly calling
execute)on the repeating node the loop was initialized with. - execute(VirtualFrame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Executes this function using the specified frame and returns the result value.
- execute(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
-
Parse the given string as a double value, or throw
TruffleString.NumberFormatException. - execute(AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode
-
Return a
Stringrepresentation of the givenTruffleString. - execute(AbstractTruffleString, byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode
- execute(AbstractTruffleString, char[]) - Method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node
- execute(AbstractTruffleString, int) - Method in class com.oracle.truffle.api.strings.TruffleString.ParseIntNode
-
Parse the given string as an int value, or throw
TruffleString.NumberFormatException. - execute(AbstractTruffleString, int) - Method in class com.oracle.truffle.api.strings.TruffleString.ParseLongNode
-
Parse the given string as a long value, or throw
TruffleString.NumberFormatException. - execute(AbstractTruffleString, int) - Method in class com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
-
Read a single char from a UTF-16 string.
- execute(AbstractTruffleString, int[]) - Method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
- execute(AbstractTruffleString, int, byte[], int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Copy a region of the given
TruffleStringa, bounded bybyteFromIndexAandbyteLengthinto the given byte array, at starting atbyteFromIndexDst. - execute(AbstractTruffleString, int, int, byte[], TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode
-
Return the byte index of the first occurrence of any byte contained in
values, bounded byfromByteIndex(inclusive) andmaxByteIndex(exclusive). - execute(AbstractTruffleString, int, int, char[]) - Method in class com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node
-
Return the char index of the first occurrence of any char contained in
values, bounded byfromCharIndex(inclusive) andmaxCharIndex(exclusive). - execute(AbstractTruffleString, int, int, int[]) - Method in class com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
-
Return the int index of the first occurrence of any int contained in
values, bounded byfromIntIndex(inclusive) andmaxIntIndex(exclusive). - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode
-
TruffleString.IndexOfCodePointNode, but with byte indices. - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode
-
Return the codepoint index of the first occurrence of
codepoint, bounded byfromIndex(inclusive) andtoIndex(exclusive), if no occurrence is found return a negative value. - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode
-
TruffleString.LastIndexOfCodePointNode, but with byte indices. - execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode
-
Return the codepoint index of the last occurrence of
codepoint, bounded byfromIndex(exclusive upper limit) andtoIndex(inclusive lower limit), if no occurrence is found return a negative value. - execute(AbstractTruffleString, int, int, TruffleString.CodePointSet) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Returns the byte index of the first codepoint present in the given
TruffleString.CodePointSet, bounded byfromByteIndex(inclusive) andtoByteIndex(exclusive). - execute(AbstractTruffleString, int, int, TruffleString.CodePointSet, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Returns the byte index of the first codepoint present in the given
TruffleString.CodePointSet, bounded byfromByteIndex(inclusive) andtoByteIndex(exclusive). - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode
-
MutableTruffleString.SubstringNode, but with byte indices. - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode
-
Create a new mutable substring of
a, starting fromfromIndex, with lengthlength. - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode
-
Convert the given byte index to a codepoint index, relative to starting point
byteOffset. - execute(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode
-
Convert the given codepoint index to a byte index, relative to starting point
byteOffset. - execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
-
TruffleString.SubstringNode, but with byte indices. - execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.SubstringNode
-
Create a substring of
a, starting from codepoint indexfromIndex, with codepoint lengthlength. - execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Checks for a region match, byte-by-byte.
- execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualNode
-
Checks for codepoint equality in a region with the given codepoint index and codepoint length.
- execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Get the number of bytes occupied by the codepoint starting at
byteIndex, withbest-efforterror handling. - execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Decode and return the codepoint at byte index
i, withbest-efforterror handling. - execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Decode and return the codepoint at codepoint index
i, withbest-efforterror handling. - execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ReadByteNode
-
Read a single byte from a string.
- execute(AbstractTruffleString, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RepeatNode
-
Create a new string by repeating
ntimes stringa. - execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Get the number of bytes occupied by the codepoint starting at
byteIndex. - execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Decode and return the codepoint at byte index
i. - execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Decode and return the codepoint at codepoint index
i. - execute(AbstractTruffleString, int, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Checks for a region match, byte-by-byte.
- execute(AbstractTruffleString, int, Object, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode
-
Copy a region of the given
TruffleStringa, bounded bybyteFromIndexAandbyteLengthinto the given interop object representing a native pointer (isPointer(pointerObject)must returntrue), starting atbyteFromIndexDst. - execute(AbstractTruffleString, AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node
-
Compare UTF-16 strings
aandbchar-by-char. - execute(AbstractTruffleString, AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node
-
Compare UTF-32 strings
aandbint-by-int. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
TruffleString.IndexOfStringNode, but with byte indices. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode
-
Return the codepoint index of the first occurrence of
string, bounded byfromIndex(inclusive) andtoIndex(exclusive), if no occurrence is found return a negative value. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
TruffleString.LastIndexOfStringNode, but with byte indices. - execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode
-
Return the codepoint index of the last occurrence of
string, bounded byfromIndex(exclusive upper limit) andtoIndex(inclusive lower limit), if no occurrence is found return a negative value. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
-
Creates a new
MutableTruffleStringby concatenating two strings. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CompareBytesNode
-
Compare strings
aandbbyte-by-byte. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.EqualNode
-
Returns
trueifaandbare byte-by-byte equal when considered inexpectedEncoding. - execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.ConcatNode
-
Create a new string by concatenating
aandb. - execute(AbstractTruffleString, TruffleString.CodeRange) - Method in class com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode
-
Returns
trueif the string's code range is equal to the givenTruffleString.CodeRange. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode
-
If the given string is already a managed (i.e.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode
-
If the given string is already a
MutableTruffleString, return it. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode
-
Returns a version of string
athat is encoded in the given encoding, which may be the string itself or a converted version. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
Returns a given string if it is already managed (i.e.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode
-
If the given string is already a
TruffleString, return it. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode
-
Return the number of codepoints in the string.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Copy the entire string to a byte[] and return it.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Returns a
TruffleStringIterator, which allows iterating this string's code points, withbest-effort error handling. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Returns a
TruffleStringIterator, which allows iterating this string's code points, withbest-effort error handling. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode
-
Get the string's "byte-based"
TruffleString.CodeRange. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
-
Get the string's possibly imprecise
TruffleString.CodeRange. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode
-
Get the string's precise
TruffleString.CodeRange. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode
-
Get the given string's internal byte array.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode
-
Get the given string's pointer object which was passed to
TruffleString.FromNativePointerNode. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode
-
Get the string's
TruffleString.CompactionLevel. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.HashCodeNode
-
Returns the string's hash code.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.IsValidNode
-
Returns
trueif the string encoded correctly. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.MaterializeNode
-
Forces materialization of any lazy internal data.
- execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode
-
Returns a version of string
athat is encoded in the given encoding, which may be the string itself or a converted version. - execute(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ToValidStringNode
-
Returns a version of string
athat contains only valid codepoints, which may be the string itself or a converted version. - execute(AbstractTruffleString, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
If the given string is already a managed (i.e.
- execute(AbstractTruffleString, TruffleString.Encoding, TranscodingErrorHandler) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode
-
Returns a version of string
athat is encoded in the given encoding, which may be the string itself or a converted version. - execute(AbstractTruffleString, TruffleString.Encoding, TranscodingErrorHandler) - Method in class com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode
-
Returns a version of string
athat is encoded in the given encoding, which may be the string itself or a converted version. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode
-
Returns a version of string
aassigned to the given encoding. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode
-
Returns a version of string
aassigned to the given encoding, which may be the string itself or a new string. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Returns a
TruffleStringIterator, which allows iterating this string's code points. - execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.ErrorHandling) - Method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Returns a
TruffleStringIterator, which allows iterating this string's code points. - execute(AbstractTruffleString, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
TruffleString.IndexOfStringNode, but with byte indices. - execute(AbstractTruffleString, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
TruffleString.LastIndexOfStringNode, but with byte indices. - execute(MutableTruffleString, int, byte, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode
-
Writes a byte into the given mutable string.
- execute(TruffleStringBuilder) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Materialize this string builder to a
TruffleString. - execute(TruffleStringBuilder, boolean) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Materialize this string builder to a
TruffleString. - execute(TruffleStringBuilder, byte) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
-
Append a single byte to the string builder.
- execute(TruffleStringBuilder, char) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node
-
Append a single char to the string builder.
- execute(TruffleStringBuilder, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Append a codepoint to the string builder.
- execute(TruffleStringBuilder, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
-
Append the base-10 string equivalent of a given integer to the string builder.
- execute(TruffleStringBuilder, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Append a codepoint to the string builder,
repeattimes. - execute(TruffleStringBuilder, int, int, boolean) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Append a codepoint to the string builder,
repeattimes. - execute(TruffleStringBuilder, long) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode
-
Append the base-10 string equivalent of a given long value to the string builder.
- execute(TruffleStringBuilder, AbstractTruffleString) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode
-
Append a given
TruffleStringto the string builder. - execute(TruffleStringBuilder, AbstractTruffleString, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
-
Append a substring of a given
TruffleString, starting at byte indexfromByteIndexand ending at byte indexfromByteIndex + byteLength, to the string builder. - execute(TruffleStringBuilder, String) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Append a substring of a given
Stringto the string builder. - execute(TruffleStringBuilder, String, int, int) - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Append a substring of a given
String, starting at char indexfromIndexand ending atfromIndex + length, to the string builder. - execute(TruffleStringIterator) - Method in class com.oracle.truffle.api.strings.TruffleStringIterator.NextNode
-
Returns the next codepoint in the string.
- execute(TruffleStringIterator) - Method in class com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode
-
Returns the previous codepoint in the string.
- execute(TruffleString, NativeAllocator, TruffleString.Encoding, boolean, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.AsNativeNode
- execute(Object, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode
-
Create a new
MutableTruffleStringfrom an interop object representing a native pointer (isPointer(pointerObject)must returntrue). - execute(Object, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode
-
Create a new
TruffleStringfrom an interop object representing a native pointer (isPointer(pointerObject)must returntrue). - execute(Object, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Executes an executable value with the given arguments.
- execute(String, int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Creates a
TruffleStringfrom a given region in a Java string, re-using its internal byte array if possible and the region covers the entire string. - execute(String, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Creates a
TruffleStringfrom a Java string, re-using its internal byte array if possible. - executeBoolean(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a boolean value.
- executeBoolean(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a boolean value.
- executeByte(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a byte value.
- executeByte(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a byte value.
- executeChar(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a char value.
- executeChar(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a char value.
- Executed - Annotation Interface in com.oracle.truffle.api.dsl
-
This annotation declares a
childfield to be executed and used as dynamic input values forspecializations. - executeDouble(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a double value.
- executeDouble(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a double value.
- executeFloat(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a float value.
- executeFloat(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a float value.
- executeGeneric(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a generic value.
- executeGeneric(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a generic value.
- executeInt(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns an int value.
- executeInt(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects an int value.
- executeLong(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a long value.
- executeLong(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a long value.
- executeOSR(VirtualFrame, int, Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Entrypoint to invoke this node through OSR.
- executeRepeating(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Repeatedly invoked by a
loop nodeimplementation until the method returnsfalseor throws an exception. - executeRepeatingWithValue(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Repeatedly invoked by a
loop nodeimplementation, but allows returning a language-specific loop exit status. - executeShort(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns a short value.
- executeShort(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element and expects a short value.
- ExecuteSourceEvent - Class in com.oracle.truffle.api.instrumentation
-
Represents a source execute event from a
ExecuteSourceListener. - ExecuteSourceListener - Interface in com.oracle.truffle.api.instrumentation
-
A listener attached by an
Instrumenterto specific sources of a guest language program to listen to execute source events. - ExecuteTracingSupport - Interface in com.oracle.truffle.api.dsl
-
Allows tracing of calls to
executemethods of aNode. - executeVoid(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Executes the block and returns no value.
- executeVoid(VirtualFrame, T, int, int) - Method in interface com.oracle.truffle.api.nodes.BlockNode.ElementExecutor
-
Executes the block node element without expecting any return value.
- executeWith() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
The
NodeChild.executeWith()property allows a node to pass the result of one child's executable as an input to another child's executable. - Execution - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- ExecutionEventListener - Interface in com.oracle.truffle.api.instrumentation
-
A listener attached by an
Instrumenterto specific locations of a guest language program to listen to execution events. - ExecutionEventNode - Class in com.oracle.truffle.api.instrumentation
-
An event node created by an
ExecutionEventNodeFactoryfor a specific locations of a guest language program to listen to instrumentation events. - ExecutionEventNode() - Constructor for class com.oracle.truffle.api.instrumentation.ExecutionEventNode
- ExecutionEventNodeFactory - Interface in com.oracle.truffle.api.instrumentation
-
Event node factories are factories of event nodes for a
program location. - ExecutionSignature - Class in com.oracle.truffle.api.nodes
-
Represents an execution signature of a
RootNode. - exists(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests existence of a file.
- EXIT - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates that the application was soft-exited within the guest language program.
- exitContext(C, TruffleLanguage.ExitMode, int) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Performs language exit event actions that are necessary before language contexts are
finalized. - exiting(String, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a return from method.
- exiting(String, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a return from method with result.
- Explicit Receiver Types - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- ExplodeLoop - Annotation Interface in com.oracle.truffle.api.nodes
-
Specifies that loops originating from within this method should be fully unrolled.
- ExplodeLoop.LoopExplosionKind - Enum Class in com.oracle.truffle.api.nodes
-
Controls the behavior of the
ExplodeLoopannotation. - ExportLibrary - Annotation Interface in com.oracle.truffle.api.library
-
Allows to export messages of Truffle libraries.
- ExportLibrary.Repeat - Annotation Interface in com.oracle.truffle.api.library
-
Repeat annotation for
ExportLibrary. - ExportMessage - Annotation Interface in com.oracle.truffle.api.library
-
Exports the annotated method or class as library message.
- ExportMessage.Ignore - Annotation Interface in com.oracle.truffle.api.library
-
Explicitly ignores warning messages originating from the
ExportLibraryannotation. - ExportMessage.Repeat - Annotation Interface in com.oracle.truffle.api.library
- exportSymbol(String, Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Explicitly exports a symbol to the polyglot bindings object.
- EXPRESSION - Enum constant in enum class com.oracle.truffle.api.debug.SourceElement
-
Denotes program locations that represent an expression of a guest language.
F
- Fallback - Annotation Interface in com.oracle.truffle.api.dsl
-
A method annotated with
Fallbackis treated as aSpecializationthat implicitly links all the guards of all other declaredSpecializationannotated methods of the operation in a negated form. - FALSE - Enum constant in enum class com.oracle.truffle.api.utilities.TriState
-
The state is false.
- FASTPATH_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- fileTypeDetectors() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Declarative list of
TruffleFile.FileTypeDetectorclasses provided by this language. - fillIn(Throwable) - Static method in exception class com.oracle.truffle.api.TruffleStackTrace
-
Fills in the guest language stack frames from the current frames on the stack.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Unsupported,
DebugExceptioninstances are not writable therefore filling the stack trace has no effect for them. - fillInStackTrace() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.interop.InteropException
-
No stack trace for interop exceptions.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.nodes.ControlFlowException
-
For performance reasons, this exception does not record any stack trace information.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.nodes.SlowPathException
-
Deprecated.the method will become final in future releases.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.strings.TruffleString.NumberFormatException
-
No stack trace for this exception.
- fillInStackTrace() - Method in exception class com.oracle.truffle.api.TruffleStackTrace
- FinalBitSet - Class in com.oracle.truffle.api.utilities
-
Read-only bitset designed for partial evaluation.
- finalizeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Performs language context finalization actions that are necessary before language contexts are
disposed. - finalizeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
-
The behavior of this notification is different for
polyglot threadsand embedder threads. - finalLocation() - Static method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- FinalLocationException - Exception Class in com.oracle.truffle.api.object
-
Deprecated.
- find(TruffleInstrument.Env) - Static method in class com.oracle.truffle.api.debug.Debugger
-
Finds the debugger associated with a given instrument environment.
- find(TruffleLanguage.Env) - Static method in class com.oracle.truffle.api.debug.Debugger
-
Finds the debugger associated with a given language environment.
- find(Engine) - Static method in class com.oracle.truffle.api.debug.Debugger
-
Finds the debugger associated with a given an engine.
- findAllNodeInstances(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findAllParents(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findAnnotation(Class<?>, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Find annotation in class/interface hierarchy.
- findAsynchronousFrames(Frame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Provide a list of stack frames that led to a schedule of asynchronous execution of this root node on the provided frame.
- findBytecodeIndex(Node, Frame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns the current byte code index of the root node using a given node location and a frame.
- findChildFieldName(Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Finds the field in a parent node and returns its name.
- findEncoding(TruffleFile) - Method in interface com.oracle.truffle.api.TruffleFile.FileTypeDetector
-
For a file containing an encoding information returns the encoding.
- findFirstNodeInstance(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findInstrumentableParent(Node) - Static method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Find the first
instrumentablenode on it's parent chain. - findLanguage(TruffleFile) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the first language that supports evaluating the probed mime type of a given
file. - findLanguage(String) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the first installed language that supports evaluating sources for a given MIME type.
- findLanguage(URL) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the first language that supports evaluating the probed mime type of a given
URL. - findMetaObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Find a metaobject of a value, if any.
- findMimeType(TruffleFile) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the probed MIME type for a given file, or
nullif no MIME type could be resolved. - findMimeType(TruffleFile) - Method in interface com.oracle.truffle.api.TruffleFile.FileTypeDetector
-
Finds a MIME type for given
TruffleFile. - findMimeType(URL) - Static method in class com.oracle.truffle.api.source.Source
-
Returns the probed MIME type for a given url, or
nullif no MIME type could be resolved. - findNearestNodeAt(int, int, Set<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Find the nearest
nodeto the given source line and column position, according to the guest language control flow, that is tagged with some of the given tags. - findNearestNodeAt(int, Set<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Find the nearest
nodeto the given source character index according to the guest language control flow, that is tagged with some of the given tags. - findNodeChildren(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findOrAddAuxiliarySlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Find or adds an auxiliary slot to this frame descriptor.
- findParent(Node, Class<T>) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- findProvidedTag(LanguageInfo, String) - Static method in class com.oracle.truffle.api.instrumentation.Tag
-
Finds a provided tag by the language using its
identifier. - fine(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
fine level. - fine(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
fine level. - finer(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finer level. - finer(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finer level. - finest(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finest level. - finest(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
finest level. - fitsInBigInteger() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInBigInteger(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java BigInteger without loss of precision, elsefalse. - fitsInByte() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInByte(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java byte primitive without loss of precision, elsefalse. - fitsInDouble() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInDouble(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java double primitive without loss of precision, elsefalse. - fitsInFloat() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInFloat(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java float primitive without loss of precision, elsefalse. - fitsInInt() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInInt(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java int primitive without loss of precision, elsefalse. - fitsInLong() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInLong(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java long primitive without loss of precision, elsefalse. - fitsInShort() - Method in class com.oracle.truffle.api.debug.DebugValue
- fitsInShort(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumberand its value fits in a Java short primitive without loss of precision, elsefalse. - Float - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- FloatValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
floatruntime values. - forceEncodingUncached(TruffleString.Encoding, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ForceEncodingNode. - forceInlining() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Enforces the runtime system to inline the
CallTargetat this call site. - forceSharing(Boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Force enables or disables code sharing for this inner context.
- forEachChild(Node, NodeVisitor) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Executes a closure for every non-null child of the parent node.
- Frame - Interface in com.oracle.truffle.api.frame
-
Represents a frame containing values of local variables of the guest language.
- FrameDescriptor - Class in com.oracle.truffle.api.frame
-
Descriptor of the slots of frame objects.
- FrameDescriptor() - Constructor for class com.oracle.truffle.api.frame.FrameDescriptor
-
Constructs empty descriptor.
- FrameDescriptor(Object) - Constructor for class com.oracle.truffle.api.frame.FrameDescriptor
-
Constructs new descriptor with specified
FrameDescriptor.getDefaultValue(). - FrameDescriptor.Builder - Class in com.oracle.truffle.api.frame
-
Builder API for frame descriptors with indexed slots.
- FrameInstance - Interface in com.oracle.truffle.api.frame
-
Represents a current frame instance on the stack.
- FrameInstance.FrameAccess - Enum Class in com.oracle.truffle.api.frame
-
Access mode for
FrameInstance.getFrame(FrameAccess). - FrameInstanceVisitor<T> - Interface in com.oracle.truffle.api.frame
-
Callback interface for
TruffleRuntime.iterateFrames(com.oracle.truffle.api.frame.FrameInstanceVisitor<T>). - FrameSlotKind - Enum Class in com.oracle.truffle.api.frame
- FrameSlotTypeException - Exception Class in com.oracle.truffle.api.frame
-
Exception thrown if the frame slot type does not match the access type.
- FrameSlotTypeException() - Constructor for exception class com.oracle.truffle.api.frame.FrameSlotTypeException
- From a file on disk - Search tag in class com.oracle.truffle.api.source.Source
- Section
- fromByteArrayUncached(byte[], int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.FromByteArrayNode. - fromByteArrayUncached(byte[], int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode. - fromByteArrayUncached(byte[], TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode. - fromByteArrayUncached(byte[], TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromByteArrayNode. - fromCharArrayUTF16Uncached(char[]) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCharArrayUTF16Node. - fromCharArrayUTF16Uncached(char[], int, int) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCharArrayUTF16Node. - fromCodePointUncached(int, TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCodePointNode. - fromCodePointUncached(int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromCodePointNode. - fromConstant(String, TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromJavaStringNode. - fromCount(int) - Static method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.Finds the node cost for an associated node count.
- fromIntArrayUTF32Uncached(int[]) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromIntArrayUTF32Node. - fromIntArrayUTF32Uncached(int[], int, int) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromIntArrayUTF32Node. - fromJavaStringUncached(String, int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromJavaStringNode. - fromJavaStringUncached(String, TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromJavaStringNode. - fromJCodingName(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Get the
TruffleString.Encodingcorresponding to the given encoding name from theJCodingslibrary. - fromLongUncached(long, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromLongNode. - fromNativePointerUncached(Object, int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.FromNativePointerNode. - fromNativePointerUncached(Object, int, int, TruffleString.Encoding, boolean) - Static method in class com.oracle.truffle.api.strings.TruffleString
-
Shorthand for calling the uncached version of
TruffleString.FromNativePointerNode. - fromRanges(int[], TruffleString.Encoding) - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointSet
-
Creates a new
TruffleString.CodePointSetfrom the given list of ranges. - fromTag(byte) - Static method in enum class com.oracle.truffle.api.frame.FrameSlotKind
-
Converts from the numeric representation used in the implementation of
Frameto theFrameSlotKind. - FULL_EXPLODE - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Fully explode all loops.
- FULL_EXPLODE_UNTIL_RETURN - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Like
ExplodeLoop.LoopExplosionKind.FULL_EXPLODE, but in addition explosion does not stop at loop exits. - FULL_UNROLL - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Fully unroll all loops.
- FULL_UNROLL_UNTIL_RETURN - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Like
ExplodeLoop.LoopExplosionKind.FULL_UNROLL, but in addition loop unrolling duplicates loop exits in every iteration instead of merging them. - Full usage example - Search tag in class com.oracle.truffle.api.library.DynamicDispatchLibrary
- Section
G
- GB12345 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB12345.
- GB18030 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB18030.
- GB1988 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB1988.
- GB2312 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GB2312.
- GBK - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
GBK.
- GenerateAOT - Annotation Interface in com.oracle.truffle.api.dsl
-
Allows nodes with specializations to be prepared for AOT.
- GenerateAOT.Exclude - Annotation Interface in com.oracle.truffle.api.dsl
-
Excludes the annotated
Specializationfrom AOT preparation. - GenerateAOT.Provider - Interface in com.oracle.truffle.api.dsl
-
Implemented by generated code.
- GenerateCached - Annotation Interface in com.oracle.truffle.api.dsl
-
Allows to enable or disable the generation of the cached version of a Truffle DSL node.
- GeneratedBy - Annotation Interface in com.oracle.truffle.api.dsl
-
Marks a type as being generated based on another class or method of a class.
- GenerateInline - Annotation Interface in com.oracle.truffle.api.dsl
-
Generates code for a node that makes this node inlinable when used in
cachedparameters ofspecializations. - GenerateLibrary - Annotation Interface in com.oracle.truffle.api.library
-
Libraries are specified with
publicandabstractJava classes that extend the Library class and are annotated by@GenerateLibrary. - GenerateLibrary.Abstract - Annotation Interface in com.oracle.truffle.api.library
-
Makes a library message abstract, but allows to keep a default implementation.
- GenerateLibrary.DefaultExport - Annotation Interface in com.oracle.truffle.api.library
-
Specifies
libraryimplementations provided by default as a fallback. - GenerateLibrary.DefaultExport.Repeat - Annotation Interface in com.oracle.truffle.api.library
- GenerateNodeFactory - Annotation Interface in com.oracle.truffle.api.dsl
-
Annotate nodes or base classes of nodes to generate factory handlers implementing the
NodeFactoryinterface. - GeneratePackagePrivate - Annotation Interface in com.oracle.truffle.api.dsl
-
Make the code generated for an annotated
nodepackage-private. - GenerateUncached - Annotation Interface in com.oracle.truffle.api.dsl
-
Generates an uncached version of a node with specializations.
- GenerateWrapper - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Generates a default wrapper subclass of an annotated
InstrumentableNodesubclass. - GenerateWrapper.Ignore - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotates a method which should not be instrumented in the generated wrapper subclass.
- GenerateWrapper.IncomingConverter - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotates a method to be used as incoming value converter.
- GenerateWrapper.OutgoingConverter - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotates a method to be used as outgoing value converter.
- GenerateWrapper.YieldException - Interface in com.oracle.truffle.api.instrumentation
-
An interface to be implemented by
yield exceptions. - GENERIC - Static variable in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Returns a generic return profile where return and argument types are unknown.
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- GENERIC - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- genericDispatch(Library, Object, Message, Object[], int) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Performs a generic dispatch for this library.
- get() - Method in class com.oracle.truffle.api.ContextLocal
-
Returns the context local value for the currently entered context.
- get() - Method in class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the currently entered context and thread.
- get() - Method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
-
Returns the current encapsulating node for the current thread.
- get() - Method in class com.oracle.truffle.api.utilities.AssumedValue
-
Get the current value, updating it if it has been
AssumedValue.set(T). - get(int) - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Read the byte at
getArray()[getOffset() + index]and return it as a byte, similar toTruffleString.ReadByteNode. - get(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the value of the bit with the specified index.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
This method returns the value of the target field given a target node.
- get(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
This method returns the value of the target field given a target node.
- get(Node) - Static method in class com.oracle.truffle.api.nodes.NodeClass
- get(Node) - Method in class com.oracle.truffle.api.TruffleLanguage.ContextReference
-
Returns the current language context associated with the current thread.
- get(Node) - Method in class com.oracle.truffle.api.TruffleLanguage.LanguageReference
-
Returns the current language instance associated with the current thread.
- get(DynamicObject) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- get(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape, i.e. - get(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- get(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Property
-
Deprecated.
- get(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- get(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Property
-
Deprecated.
- get(TruffleContext) - Method in class com.oracle.truffle.api.ContextLocal
-
Returns the context local value for an explicit
context. - get(TruffleContext) - Method in class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the given context and the current thread.his method is intended to be used on compiled code paths.
- get(TruffleContext, Thread) - Method in class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the given context and the given thread.
- get(TruffleFile.AttributeDescriptor<T>) - Method in class com.oracle.truffle.api.TruffleFile.Attributes
-
Returns the attribute value.
- get(Class<? extends Node>) - Static method in class com.oracle.truffle.api.nodes.NodeClass
- get(Thread) - Method in class com.oracle.truffle.api.ContextThreadLocal
-
Returns the context thread local value for the currently entered context and the given thread.
- getAbsoluteFile() - Method in class com.oracle.truffle.api.TruffleFile
-
Resolves this
TruffleFileto absoluteTruffleFile. - getActualArity() - Method in exception class com.oracle.truffle.api.interop.ArityException
-
Returns the actual number of arguments provided by the foreign access.
- getAndAddByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically adds the given byte to the current byte at the given byte offset from the start of the buffer.
- getAndAddInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically adds the given int to the current int at the given byte offset from the start of the buffer.
- getAndAddInt(Object, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically adds the given value to the current int value represented by this StaticProperty and stored in the specified static object.
- getAndAddLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically adds the given long to the current long at the given byte offset from the start of the buffer.
- getAndAddLong(Object, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically adds the given value to the current long value represented by this StaticProperty and stored in the specified static object.
- getAndAddShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically adds the given short to the current short at the given byte offset from the start of the buffer.
- getAndBitwiseAndByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ANDs the given byte to the current byte at the given byte offset from the start of the buffer.
- getAndBitwiseAndInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ANDs the given int to the current int at the given byte offset from the start of the buffer.
- getAndBitwiseAndLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ANDs the given long to the current long at the given byte offset from the start of the buffer.
- getAndBitwiseAndShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ANDs the given short to the current short at the given byte offset from the start of the buffer.
- getAndBitwiseOrByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ORs the given byte to the current byte at the given byte offset from the start of the buffer.
- getAndBitwiseOrInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ORs the given int to the current int at the given byte offset from the start of the buffer.
- getAndBitwiseOrLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ORs the given long to the current long at the given byte offset from the start of the buffer.
- getAndBitwiseOrShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-ORs the given short to the current short at the given byte offset from the start of the buffer.
- getAndBitwiseXorByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-XORs the given byte to the current byte at the given byte offset from the start of the buffer.
- getAndBitwiseXorInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-XORs the given int to the current int at the given byte offset from the start of the buffer.
- getAndBitwiseXorLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-XORs the given long to the current long at the given byte offset from the start of the buffer.
- getAndBitwiseXorShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically bitwise-XORs the given short to the current short at the given byte offset from the start of the buffer.
- getAndSetByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given byte with the current byte at the given byte offset from the start of the buffer.
- getAndSetInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given int with the current int at the given byte offset from the start of the buffer.
- getAndSetInt(Object, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the int value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.
- getAndSetLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given long with the current long at the given byte offset from the start of the buffer.
- getAndSetLong(Object, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the long value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.
- getAndSetObject(Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Atomically sets the
Objectvalue represented by this StaticProperty and stored in the specified static object to the given value and returns the old value. - getAndSetShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer.
- getAOTExports() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns a list of ordered exports to be used for AOT preparation if supported.
- getApplicationArguments() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the application arguments that were provided for this context.
- getArgumentNames() - Method in class com.oracle.truffle.api.TruffleLanguage.ParsingRequest
-
Argument names.
- getArguments() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Deprecated.since 20.3 Use
DebugScope.getDeclaredValues()on theSourceElement.ROOT. - getArguments() - Method in interface com.oracle.truffle.api.frame.Frame
-
Retrieves the arguments object from this frame.
- getArgumentTypes() - Method in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Returns the argument types of the execution signature.
- getArray() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Provides array elements when this value represents an array.
- getArray() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the internal byte array.
- getArraySize(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the array size of the receiver.
- getAssumption() - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
- getAsynchronousStackDepth() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Get the depth of asynchronous stack.
- getAsynchronousStacks() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Get a list of asynchronous stack traces that led to scheduling of the current execution.
- getAsynchronousStackTrace(CallTarget, Frame) - Static method in exception class com.oracle.truffle.api.TruffleStackTrace
-
Returns asynchronous guest language stack frames that led to the execution of given
CallTargeton the givenFrame. - getAttribute(TruffleFile.AttributeDescriptor<T>, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Reads a single file's attribute.
- getAttributes(Collection<? extends TruffleFile.AttributeDescriptor<?>>, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Reads file's attributes as a bulk operation.
- getAuxiliarySlot(int) - Method in interface com.oracle.truffle.api.frame.Frame
- getAuxiliarySlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Returns all currently active auxiliary slots along with their indexes.
- getBoolean(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type boolean.
- getBoolean(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.BooleanLocation
-
Deprecated.
- getBoolean(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
-
Deprecated.
- getBoolean(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the boolean value represented by this StaticProperty and stored in the specified static object.
- getBooleanStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type boolean.
- getBooleanVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the boolean value represented by this StaticProperty and stored in the specified static object.
- getBreakpointConditionException(Breakpoint) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the cause of failure, if any, during evaluation of a breakpoint's condition.
- getBreakpoints() - Method in class com.oracle.truffle.api.debug.Debugger
-
Returns all breakpoints
installedin this debugger instance, in the install order. - getBreakpoints() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns all breakpoints
installedin this session, in the install order. - getBreakpoints() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the
breakpointsthat individually would cause the "hit" where execution is suspended. - getBufferSize(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the buffer size of the receiver, in bytes.
- getByte(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the byte at the given byte offset from the start of the buffer.
- getByte(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the byte at the given byte offset from the start of the buffer.
- getByte(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type byte.
- getByte(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the byte value represented by this StaticProperty and stored in the specified static object.
- getBytecodeIndex() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns the resolved bytecode index for this frame instance if the root node returns one.
- getBytecodeIndex() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns the bytecode index at the time when this frame was created.
- getByteCodeRangeUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetByteCodeRangeNode. - getByteIndex() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Returns the next codepoint's byte index, where "byte index" refers the codepoint's first byte in forward mode, while in backward mode it refers to the first byte after the codepoint.
- getByteOffset() - Method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Returns the start byte offset of the invalid access from the start of the buffer.
- getBytes() - Method in class com.oracle.truffle.api.source.Source
-
Returns the bytes of the source if it is a
byte based source. - getBytes() - Method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Get the number of bytes per internal array element.
- getByteStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type byte.
- getByteVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getByte(byte[], long). - getByteVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the byte value represented by this StaticProperty and stored in the specified static object.
- getCachedData(int) - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns the cached state for a given specialization instance.
- getCallNode() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns a node representing the callsite of the next new target on the stack.
- getCallTarget() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
The
CallTargetbeing invoked in this frame. - getCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns the originally supplied
CallTargetwhen this call node was created. - getCallTarget() - Method in class com.oracle.truffle.api.nodes.RootNode
- getCallTarget() - Method in exception class com.oracle.truffle.api.OptimizationFailedException
- getCanonicalFile(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a
TruffleFilerepresenting the real (canonical) path of an existing file. - getCapability(Class<T>) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Requests a capability from the runtime.
- getCatchLocation() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get source code location where this exception is to be caught.
- getCause() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
- getCause() - Method in exception class com.oracle.truffle.api.interop.InteropException
-
Returns the cause of an interop exception.
- getChar(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the char value represented by this StaticProperty and stored in the specified static object.
- getCharacters() - Method in class com.oracle.truffle.api.source.Source
-
Returns all characters of the source.
- getCharacters() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the source code fragment described by this section.
- getCharacters(int) - Method in class com.oracle.truffle.api.source.Source
-
Gets the text (not including a possible terminating newline) in a (1-based) numbered line.
- getCharEndIndex() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the index of the text position immediately following the last character in the section.
- getCharIndex() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the 0-based index of the first character in this section.
- getCharLength() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the length of this section in characters.
- getCharVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the char value represented by this StaticProperty and stored in the specified static object.
- getChildren() - Method in class com.oracle.truffle.api.nodes.Node
-
Iterator over the children of this node.
- getClonedCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns the split
CallTargetif this call site'sCallTargetis cloned. - getCodeRangeImpreciseUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetCodeRangeImpreciseNode. - getCodeRangeUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetCodeRangeNode. - getColumnNumber(int) - Method in class com.oracle.truffle.api.source.Source
-
Given a 0-based character offset, return the 1-based number of the column at the position.
- getCompilationTier() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns an integer for the optimized tier of this method.
- getComponentId() - Method in class com.oracle.truffle.api.provider.InternalResourceProvider
-
Provides the identifier of the language or instrument to which the resource belongs.
- getCondition() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Returns the expression used to create the current breakpoint condition, null if no condition set.
- getConfig() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Configuration arguments passed from an outer language context to an inner language context.
- getConstantValue() - Method in class com.oracle.truffle.api.object.Location
-
If this is a constant location, returns the constant value bound to this location.
- getContext() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the polyglot context associated with this environment.
- getContextOptionDescriptors() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Returns a set of option descriptors for instrument options that can be specified per context.
- getCost() - Method in class com.oracle.truffle.api.nodes.Node
-
Deprecated.in 24.1 without replacement
- getCPUArchitecture() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns the current processor architecture.
- getCreationTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the creation time.
- getCurrent() - Static method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns the current CPU architecture.
- getCurrent() - Static method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns the current operating system.
- getCurrent() - Static method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
-
Returns the encapsulating node reference of the
currentthread. - getCurrent() - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Returns the current safepoint configuration for the current thread.
- getCurrentCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns the used call target when
DirectCallNode.call(java.lang.Object[])is invoked. - getCurrentContext(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.in 21.3, use static final context references instead. See
TruffleLanguage.LanguageReferencefor the new intended usage. - getCurrentLanguage(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage
-
Deprecated.in 21.3, use static final context references instead. See
TruffleLanguage.ContextReferencefor the new intended usage. - getCurrentRootNode() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
- getCurrentWorkingDirectory() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Gets the current working directory.
- getDebugAsynchronousStacks() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get a list of asynchronous stack traces that led to scheduling of the exception's execution.
- getDebugger() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns the
debuggerinstance that this session is associated with. - getDebugProperties() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns properties of this node interesting for debugging and can be overwritten by subclasses to add their own custom properties.
- getDebugStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Gets stack trace elements of guest languages.
- getDeclaredValue(String) - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a local variable declared in this scope by name.
- getDeclaredValues() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get local variables declared in this scope, valid at the current suspension point.
- getDeclaringMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns declaring meta object.
- getDefaultClass(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns default exported used for a given receiver.
- getDefaultExport() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the default export class to be used for this provider.
- getDefaultMimeType() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the default MIME type of a language or
nullif no default mime-type is set. - getDefaultValue() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Default value for the created slots.
- getDelegateExportLibrary(Object) - Method in interface com.oracle.truffle.api.library.LibraryExport.DelegateExport
-
Internal method for generated code only.
- getDelegateExportMessages() - Method in interface com.oracle.truffle.api.library.LibraryExport.DelegateExport
-
Internal method for generated code only.
- getDelegateLibrary(T, Object) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns the delegated library to use when messages are delegated.
- getDelegateNode() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
-
The
instrumentableguest language node, adopted as a child, whose execution events the wrapper reports to the instrumentation framework. - getDescription() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns a user-readable description of the purpose of the Node, or "" if no description is available.
- getDouble(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the double at the given byte offset from the start of the buffer.
- getDouble(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the double at the given byte offset from the start of the buffer.
- getDouble(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type double.
- getDouble(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape. - getDouble(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.DoubleLocation
-
Deprecated.
- getDouble(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Gets this location's value as double.
- getDouble(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
-
Deprecated.
- getDouble(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the double value represented by this StaticProperty and stored in the specified static object.
- getDoubleOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getDoubleStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type double.
- getDoubleVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the double value represented by this StaticProperty and stored in the specified static object.
- getDynamicFieldAnnotation() - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getDynamicType() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's dynamic object type identifier.
- getDynamicType(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the dynamic type identifier currently associated with this object.
- getElement() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
- getElements() - Method in class com.oracle.truffle.api.nodes.BlockNode
-
Returns the elements of the block node.
- getEmpty() - Method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Get an empty
TruffleStringwith this encoding. - getEncapsulatingSourceSection() - Method in class com.oracle.truffle.api.nodes.Node
-
Retrieves the segment of guest language source code that is represented by this Node, if present; otherwise retrieves the segment represented by the nearest AST ancestor that has this information.
- getEnd() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the string region's end (
offset + length). - getEndColumn() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the 1-based column number of the last character in this section (inclusive).
- getEndLine() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns 1-based line number of the last character in this section (inclusive).
- getEnteredContext() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the entered
TruffleContextornullwhen no context is entered. - getEnvironment() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns an unmodifiable map of the process environment.
- getException() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the debugger representation of a guest language exception that caused this suspended event (via an exception breakpoint, for instance).
- getExceptionCause(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the internal cause of the receiver.
- getExceptionExitStatus(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns exception exit status of the receiver.
- getExceptionMessage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns exception message of the receiver.
- getExceptionObject() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get a guest language object representing the exception, if any.
- getExceptionStackTrace(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the exception stack trace of the receiver that is of type exception.
- getExceptionType(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
exception typeof the receiver. - getExecutableName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns executable name of the receiver.
- getExecutionSignature() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns a list of children that will be executed by the created node.
- getExpectedMaxArity() - Method in exception class com.oracle.truffle.api.interop.ArityException
-
Returns the maximum number of arguments that are expected.
- getExpectedMinArity() - Method in exception class com.oracle.truffle.api.interop.ArityException
-
Returns the minimum number of arguments that are expected.
- getExportedSymbols() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns a polyglot scope - symbols explicitly exported by languages.
- getFactory() - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the library factory for the interop library.
- getFactory() - Static method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the library factory for the node library.
- getFactory() - Static method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
-
Returns the library factory for
DynamicDispatchLibrary. - getFactory() - Method in class com.oracle.truffle.api.library.Message
- getFactory() - Static method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Returns the library factory for
ReflectionLibrary. - getFactory() - Static method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Returns the library factory for
DynamicObjectLibrary. - getFactory() - Static method in class com.oracle.truffle.api.object.Layout
-
Deprecated.
- getFactory() - Method in class com.oracle.truffle.api.staticobject.StaticShape
-
Returns an instance of the default or the user-defined factory interface that must be used to allocate static objects with the current shape.
- getFieldName(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFieldObject(Object, Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFieldType(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFieldValue(Object, Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
- getFileNameSeparator() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the name separator used to separate names in
TruffleFile's path string. - getFinalAssumption() - Method in class com.oracle.truffle.api.object.Location
-
Returns the assumption that this location is final.
- getFlags() - Method in class com.oracle.truffle.api.object.Property
-
Get property flags, which are free for language-specific use.
- getFlags() - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Returns the flags associated with the property represented by this getter.
- getFlags() - Method in class com.oracle.truffle.api.object.Shape
-
Returns the language-specific shape flags previously set using
DynamicObjectLibrary.setShapeFlags(DynamicObject, int)orShape.Builder.shapeFlags(int). - getFloat(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the float at the given byte offset from the start of the buffer.
- getFloat(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the float at the given byte offset from the start of the buffer.
- getFloat(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type float.
- getFloat(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the float value represented by this StaticProperty and stored in the specified static object.
- getFloatStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type float.
- getFloatVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the float value represented by this StaticProperty and stored in the specified static object.
- getFrame() - Method in class com.oracle.truffle.api.debug.DebugException.CatchLocation
- getFrame() - Method in class com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest
-
Specifies the execution context for parsing.
- getFrame() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns the read-only frame.
- getFrame(FrameInstance.FrameAccess) - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Accesses the underlying frame using a specified
access mode. - getFrameDescriptor() - Method in interface com.oracle.truffle.api.frame.Frame
- getFrameDescriptor() - Method in class com.oracle.truffle.api.nodes.RootNode
- getGroup(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the group owner of the file.
- getGuestObject() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns an interop object representing this TruffleStackTraceElement supporting the
hasExecutableNameand potentiallyhasDeclaringMetaObjectandhasSourceLocationmessages. - getHashEntriesIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the entries iterator of the hash map.
- getHashEntriesIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the hash entries iterator for the receiver.
- getHashKeysIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the keys iterator of the hash map.
- getHashKeysIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the hash keys iterator for the receiver.
- getHashSize() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the number of hash map entries.
- getHashSize(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the number of receiver entries.
- getHashValue(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get value of a hash map for the specified key or
nullif the mapping for the specified key does not exist. - getHashValueOrDefault(DebugValue, DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get value of a hash map for the specified key or return the
defaultValuewhen the mapping for the specified key does not exist or is not readable. - getHashValuesIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the values iterator of the hash map.
- getHashValuesIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the hash values iterator for the receiver.
- getHitCount() - Method in class com.oracle.truffle.api.debug.Breakpoint
- getHostTraceElement() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Provides a host frame.
- getHostTraceElement() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Provides a host element.
- getId() - Method in class com.oracle.truffle.api.InstrumentInfo
-
Gets the id clients can use to acquire this instrument.
- getId() - Method in class com.oracle.truffle.api.library.Message
-
Returns a unique message id within a library.
- getId() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the unique id of the language.
- getId() - Method in class com.oracle.truffle.api.staticobject.DefaultStaticProperty
-
StaticProperty instances must have a
Stringidentifier that is unique and constant for that shape. - getId() - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
StaticProperty instances must have a
Stringidentifier that is unique and constant for that shape. - getIdentifier(Class<? extends Tag>) - Static method in class com.oracle.truffle.api.instrumentation.Tag
-
Returns the alias of a particular tag or
nullif no alias was specified for this tag. - getIgnoreCount() - Method in class com.oracle.truffle.api.debug.Breakpoint
- getInfo() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- getInputContext(int) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Returns the event context of an input by index.
- getInputCount() - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Returns the total number of instrumented input nodes that may produce
input eventswhen executed. - getInputValues() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the input values of the current source element gathered from return values of it's executed children.
- getInstances() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns the number of dynamic specialization instances that are active for this specialization.
- getInstrumentClassName() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Returns the name of a class implementing the
TruffleInstrument. - getInstrumentClassName() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
-
Deprecated.Returns the name of a class implementing the
TruffleInstrument. - getInstrumentedNode() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Accessor to the instrumented node at which the event occurred.
- getInstrumentedSourceSection() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns the
SourceSectionthat is being instrumented. - getInstrumenter() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the instrumenter which lets you instrument guest language ASTs.
- getInstruments() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns a map
instrument idtoinstrument infoof all instruments that are installed in the environment. - getInstruments() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a map instrument-id to instrument instance of all instruments that are installed in the environment.
- getInt(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the int at the given byte offset from the start of the buffer.
- getInt(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the int at the given byte offset from the start of the buffer.
- getInt(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type int.
- getInt(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape. - getInt(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.IntLocation
-
Deprecated.
- getInt(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Gets this location's value as int.
- getInt(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
-
Deprecated.
- getInt(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the int value represented by this StaticProperty and stored in the specified static object.
- getInternalByteArrayUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetInternalByteArrayNode. - getInternalLanguages() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns all languages that are installed and internally accessible in the environment.
- getInternalNativePointerUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetInternalNativePointerNode. - getInternalResource(Class<? extends InternalResource>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the
TruffleFilerepresenting the target directory of an internal resource. - getInternalResource(Class<? extends InternalResource>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the
TruffleFilerepresenting the target directory of an internal resource. - getInternalResource(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the
TruffleFilerepresenting the target directory of an internal resource. - getInternalResource(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the
TruffleFilerepresenting the target directory of an internal resource. - getInternalResourceIds() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Returns ids of provided internal resources.
- getInternalResourceIds() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Returns ids of provided internal resources.
- getInternalTruffleFile(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFilefor given path. - getInternalTruffleFile(URI) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
TruffleFilefor givenURI. - getIntOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getIntrospectionData() - Method in interface com.oracle.truffle.api.dsl.Introspection.Provider
-
Returns internal reflection data in undefined format.
- getIntrospectionData(Node) - Method in interface com.oracle.truffle.api.dsl.Introspection.Provider
-
Returns internal reflection data in undefined format.
- getIntStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type int.
- getIntVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getInt(byte[], long). - getIntVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the int value represented by this StaticProperty and stored in the specified static object.
- getInvalidIndex() - Method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
-
Returns the invalid index that was used.
- getIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the iterator value.
- getIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the iterator for the receiver.
- getIteratorNextElement() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the next element in the iteration.
- getIteratorNextElement(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the next element in the iteration.
- getKey() - Method in class com.oracle.truffle.api.object.Property
-
Get property identifier.
- getKey() - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Returns the key of the property represented by this getter.
- getKeyArray(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets a snapshot of the object's property keys, in insertion order.
- getKeyList() - Method in class com.oracle.truffle.api.object.Shape
-
Get a list of all property keys in insertion order.
- getKeys() - Method in class com.oracle.truffle.api.object.Shape
-
Get all property keys in insertion order.
- getKind() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Returns the kind of this breakpoint.
- getLanguage() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns public information about the language of this frame.
- getLanguage() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns the language performing the allocation.
- getLanguage() - Method in class com.oracle.truffle.api.source.Source
-
Returns the language this source was created with.
- getLanguage(Class<C>) - Method in class com.oracle.truffle.api.nodes.ExecutableNode
-
Returns the language instance associated with this executable node.
- getLanguage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the the original language of the receiver value.
- getLanguageClassName() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Returns the name of a class implementing the
TruffleLanguage. - getLanguageClassName() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.Returns the name of a class implementing the
TruffleLanguage. - getLanguageHome() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Returns the home location for this language or
nullif the language home is not set. - getLanguageInfo() - Method in class com.oracle.truffle.api.nodes.ExecutableNode
-
Returns public information about the language.
- getLanguageInfo(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the
language infofor a given language class if available. - getLanguages() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns a map
language idtolanguage infoof all languages that are installed in the environment. - getLanguageView(LanguageInfo, Object) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Wraps the provided value to provide language specific information for primitive and foreign values.
- getLanguageView(C, Object) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Wraps the value to provide language-specific information for primitive and foreign values.
- getLastAccessTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the last access time.
- getLastModifiedTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the last modified time.
- getLastProperty() - Method in class com.oracle.truffle.api.object.Shape
-
Get the last property.
- getLayout() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's layout.
- getLayoutClass() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's layout class.
- getLeafAssumption() - Method in class com.oracle.truffle.api.object.Shape
-
Get an assumption that the shape is a leaf.
- getLength() - Method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
-
Returns the length of the accessed memory region in bytes starting from
the start byte offset. - getLength() - Method in class com.oracle.truffle.api.source.Source
-
Gets the number of characters or bytes of the source.
- getLength() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the string region's length.
- getLibraryClass() - Method in class com.oracle.truffle.api.library.Message
-
Returns the library class of this message.
- getLibraryClassName() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the
class nameof the library to be used. - getLibraryClassName() - Method in interface com.oracle.truffle.api.library.provider.EagerExportProvider
-
Returns the
class nameof the library to be used. - getLibraryName() - Method in class com.oracle.truffle.api.library.Message
-
Returns the name of the library of this message.
- getLineCount() - Method in class com.oracle.truffle.api.source.Source
-
The number of text lines in the source, including empty lines; characters at the end of the source without a terminating newline count as a line.
- getLineLength(int) - Method in class com.oracle.truffle.api.source.Source
-
The number of characters (not counting a possible terminating newline) in a (1-based) numbered line.
- getLineNumber(int) - Method in class com.oracle.truffle.api.source.Source
-
Given a 0-based character offset, return the 1-based number of the line that includes the position.
- getLineStartOffset(int) - Method in class com.oracle.truffle.api.source.Source
-
Given a 1-based line number, return the 0-based offset of the first character in the line.
- getLocation() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Returns a node indicating the location where this exception occurred in the AST.
- getLocation() - Method in class com.oracle.truffle.api.object.Property
-
Get the property location.
- getLocation() - Method in class com.oracle.truffle.api.ThreadLocalAction.Access
-
Returns the current node location executing on this thread.
- getLocation() - Method in class com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest
-
Specifies the code location for parsing.
- getLocation() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns a node representing the callsite on the stack.
- getLocationDescription() - Method in class com.oracle.truffle.api.debug.Breakpoint
- getLock() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns a lock object that can be used to synchronize modifications to the AST.
- getLog2() - Method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Get the number of bytes per internal array element in log2 format.
- getLogger(Class<?>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Find or create an engine bound logger for an instrument.
- getLogger(Class<?>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Find or create a context-bound logger.
- getLogger(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Find or create an engine bound logger for an instrument.
- getLogger(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Find or create a context-bound logger.
- getLogger(String) - Static method in class com.oracle.truffle.api.TruffleLogger
-
Find or create a root logger for a given language or instrument.
- getLogger(String, Class<?>) - Static method in class com.oracle.truffle.api.TruffleLogger
-
Find or create a logger for a given language or instrument class.
- getLogger(String, String) - Static method in class com.oracle.truffle.api.TruffleLogger
-
Find or create a logger for a given language or instrument.
- getLong(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the long at the given byte offset from the start of the buffer.
- getLong(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the long at the given byte offset from the start of the buffer.
- getLong(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type long.
- getLong(DynamicObject) - Method in class com.oracle.truffle.api.object.PropertyGetter
-
Gets the property's value from the given receiver object if the object has the supported
Shape. - getLong(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
-
Gets this location's value as long.
- getLong(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.LongLocation
-
Deprecated.
- getLong(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
-
Deprecated.
- getLong(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the long value represented by this StaticProperty and stored in the specified static object.
- getLongOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getLongStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type long.
- getLongVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getLong(byte[], long). - getLongVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the long value represented by this StaticProperty and stored in the specified static object.
- getLookup() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns a method handle lookup used to initialize the library class.
- getMembers(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Short-cut for
getMembers(receiver, false). - getMembers(Object, boolean) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns an array of member name strings.
- getMessage() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.ArityException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.InvalidArrayIndexException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.InvalidBufferOffsetException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.StopIterationException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.UnknownKeyException
- getMessage() - Method in exception class com.oracle.truffle.api.interop.UnsupportedMessageException
- getMessage() - Method in exception class com.oracle.truffle.api.strings.TruffleString.NumberFormatException
-
Returns a detailed error message.
- getMessages() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns an unmodifiable list of messages that this library provides.
- getMetaObject() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a meta-object of this value, if any.
- getMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the metaobject that is associated with this value.
- getMetaParents(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns an array like
InteropLibrary.hasArrayElements(Object)of metaobjects that are direct parents (super types) of this metaobject. - getMetaQualifiedName() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the qualified name of a metaobject as
String. - getMetaQualifiedName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the qualified name of a metaobject as
string. - getMetaSimpleName() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the simple name of a metaobject as
string. - getMetaSimpleName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the simple name of a metaobject as
string. - getMethodName() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns the method name of the introspected specialization.
- getMimeType() - Method in class com.oracle.truffle.api.source.Source
-
Returns the MIME type that is associated with this source.
- getMimeType() - Method in class com.oracle.truffle.api.TruffleFile
-
Deprecated.
- getMimeTypes() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the MIME types supported by this language.
- getName() - Method in interface com.oracle.truffle.api.Assumption
-
A name for the assumption that is used for debug output.
- getName() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a human readable name of this scope.
- getName() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
A description of the AST (expected to be a method or procedure name in most languages) that identifies the AST for the benefit of guest language programmers using tools; it might appear, for example in the context of a stack dump or trace and is not expected to be called often.
- getName() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
A description of the trace element.
- getName() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the name of this value as it is referred to from its origin.
- getName() - Method in class com.oracle.truffle.api.InstrumentInfo
-
Gets a human readable name of this instrument.
- getName() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the unique name of the language.
- getName() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns a simple name of the AST (expected to be a method or procedure name in most languages) that identifies the AST for the benefit of guest language programmers using tools; it might appear, for example in the context of a stack dump or trace and is not expected to be called often.
- getName() - Method in class com.oracle.truffle.api.object.HiddenKey
- getName() - Method in class com.oracle.truffle.api.source.Source
-
Returns the name of this resource holding a guest language program.
- getName() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the name of this
TruffleFile. - getName() - Method in class com.oracle.truffle.api.TruffleLogger
-
Returns the name of the logger.
- getName() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Name describing this runtime implementation for debugging purposes.
- getNewSize() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns a size of the allocated value in bytes.
- getNode() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Returns the
Nodethat caused the thisUnsupportedSpecializationException. - getNode() - Method in class com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent
-
Returns the instrumentable Truffle node that caused this event.
- getNodeClass() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns the node class that will get created by
NodeFactory.createNode(Object...). - getNodeFieldArray() - Method in class com.oracle.truffle.api.nodes.NodeClass
- getNodeObject() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns a language provided object that represents the instrumented node properties.
- getNodeObject() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns an interop capable object that contains all keys and values of attributes associated with this node.
- getNodeSignatures() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns a list of signatures that can be used to invoke
NodeFactory.createNode(Object...). - getNthParent(Node, int) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Get the nth parent of a node, where the 0th parent is the node itself.
- getNumberOfAuxiliarySlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- getNumberOfSlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- getObject(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of type
Object. - getObject(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the
Objectvalue represented by this StaticProperty and stored in the specified static object. - getObjectArray(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getObjectStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static read access to a local variable of type
Object. - getObjectVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the
Objectvalue represented by this StaticProperty and stored in the specified static object. - getOffset() - Method in class com.oracle.truffle.api.strings.InternalByteArray
-
Get the string region's starting index.
- getOldSize() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns an old size of the value prior to the allocation, in bytes.
- getOptionDescriptors() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Returns a set of option descriptors that are supported by this instrument.
- getOptionDescriptors() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Returns a set of option descriptors that are supported by this language.
- getOptions() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the context independent option values for the options described in
TruffleInstrument.getOptionDescriptors(). - getOptions() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns option values for the options described in
TruffleLanguage.getOptionDescriptors(). - getOptions(TruffleContext) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the context specific option values for the options described in
TruffleInstrument.getContextOptionDescriptors()andTruffleInstrument.getOptionDescriptors(). - getOrDefault(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the value of an existing property or returns the provided default value if no such property exists.
- getOriginalLanguage() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get the original language that created the value, if any.
- getOS() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns the current operating system.
- getOSRMetadata() - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Gets the OSR metadata for this instance.
- getOwner(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the owner of the file.
- getParameterCount() - Method in class com.oracle.truffle.api.library.Message
-
Returns the number of parameters including the receiver type.
- getParameterType(int) - Method in class com.oracle.truffle.api.library.Message
-
Just like
Message.getParameterTypes()but returns the parameter of a given index in a partial evaluation safe way. - getParameterTypes() - Method in class com.oracle.truffle.api.library.Message
-
Returns all parameter types including the receiver type of the message.
- getParent() - Method in class com.oracle.truffle.api.debug.DebugContext
-
Get a parent context of this context, if any.
- getParent() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a parent scope.
- getParent() - Method in class com.oracle.truffle.api.nodes.Node
-
The current parent node of this node.
- getParent() - Method in class com.oracle.truffle.api.TruffleContext
-
Get a parent context of this context, if any.
- getParent() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a parent
TruffleFileor null when the file does not have a parent. - getParent() - Method in class com.oracle.truffle.api.TruffleLogger
-
Returns the parent
TruffleLogger. - getParentFrameDescriptor() - Method in class com.oracle.truffle.api.nodes.RootNode
-
If this root node has a lexical scope parent, this method returns its frame descriptor.
- getPath() - Method in class com.oracle.truffle.api.source.Source
-
The fully qualified name of the source.
- getPath() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the string representation of this
TruffleFile. - getPathSeparator() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the path separator used to separate filenames in a path list.
- getPolyglotBindings() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the polyglot scope - symbols explicitly exported by languages.
- getPolyglotBindings() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a TruffleObject that represents the polyglot bindings.
- getPosixPermissions(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the file's Posix permissions.
- getPrimitive(int, Class<T>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Requests a primitive field for a given field index.
- getPrimitiveArray(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getPriority() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the priority used when multiple default exports would be applicable.
- getPriority() - Method in interface com.oracle.truffle.api.object.LayoutFactory
-
Deprecated.
- getPriority() - Method in interface com.oracle.truffle.api.TruffleRuntimeAccess
-
Allows disambiguation if more than one
TruffleRuntimeimplementation is available. - getProbeNode() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
-
A child of the wrapper, through which the wrapper reports execution events related to the guest language delegate node.
- getProperties() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Provides properties representing an internal structure of this value.
- getProperties() - Method in class com.oracle.truffle.api.object.Shape
-
An
Iterableover the shape's properties in insertion order. - getProperty(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets a property descriptor for the requested property key.
- getProperty(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Get a property entry by key.
- getProperty(String) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a property value by its name.
- getPropertyArray(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets an array snapshot of the object's properties, in insertion order.
- getPropertyAssumption(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Gets a stable property assumption for the given property key.
- getPropertyCount() - Method in class com.oracle.truffle.api.object.Shape
-
Returns the number of properties in this shape.
- getPropertyFlagsOrDefault(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the property flags associated with the requested property key.
- getPropertyList() - Method in class com.oracle.truffle.api.object.Shape
-
Get a list of all properties that this Shape stores.
- getPropertyListInternal(boolean) - Method in class com.oracle.truffle.api.object.Shape
-
Returns all (also hidden) property objects in this shape.
- getPublicLanguages() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns all languages that are installed and publicly accessible in the environment.
- getPublicTruffleFile(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFilefor given path. - getPublicTruffleFile(URI) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFilefor given path. - getQualifiedName() - Method in class com.oracle.truffle.api.library.Message
-
Returns a qualified and unique name of this message.
- getQualifiedName() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns a qualified name of the AST that in the best case uniquely identifiers the method.
- getRawException(Class<? extends TruffleLanguage<?>>) - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Returns the guest language representation of the exception, or
nullif the requesting language class does not match the root node language at the throw location. - getRawFrame(Class<? extends TruffleLanguage<?>>, FrameInstance.FrameAccess) - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns the underlying frame for this debug stack frame or
nullif the requesting language class does not match the root node guest language. - getRawNode(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns the current node for this stack frame, or
nullif the requesting language class does not match the root node guest language. - getRawValue(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns the underlying guest value object held by this
DebugValue. - getReader() - Method in class com.oracle.truffle.api.source.Source
-
Access to the source contents.
- getReceiver() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get value that represents the receiver object of this scope.
- getReceiverClass() - Method in interface com.oracle.truffle.api.library.provider.DefaultExportProvider
-
Returns the receiver class of the default export.
- getReceiverMember(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns an object that represents the receiver name when available.
- getReceiverType() - Method in class com.oracle.truffle.api.library.Message
-
Returns the receiver type of the message.
- getReference(int, Class<?>) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Requests a reference field for a given field index.
- getRepeatingNode() - Method in class com.oracle.truffle.api.nodes.LoopNode
-
Returns the repeating node the loop node was created with.
- getResourceId() - Method in class com.oracle.truffle.api.provider.InternalResourceProvider
-
An internal resource identifier.
- getResult() - Method in exception class com.oracle.truffle.api.nodes.UnexpectedResultException
- getReturnType() - Method in class com.oracle.truffle.api.library.Message
-
Returns the return type of the message.
- getReturnType() - Method in class com.oracle.truffle.api.nodes.ExecutionSignature
-
Returns the return type of the execution signature.
- getReturnValue() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the return value of the currently executed source location.
- getRoot() - Method in class com.oracle.truffle.api.object.Shape
-
Get the root shape.
- getRootInstance() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get value that represents root instance of this scope.
- getRootInstance(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the current instance of guest language representation of the root node (e.g.
- getRootInstanceBreakpoints() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a list of breakpoints installed to the value's session and whose
root instanceis this value. - getRootNode() - Method in class com.oracle.truffle.api.nodes.Node
-
Get the root node of the tree a node belongs to.
- getRootNode() - Method in interface com.oracle.truffle.api.RootCallTarget
- getRuntime() - Static method in class com.oracle.truffle.api.Truffle
-
Gets the singleton
TruffleRuntimeobject. - getRuntime() - Method in interface com.oracle.truffle.api.TruffleRuntimeAccess
-
Gets the
TruffleRuntimeimplementation available via this access object. - getSandboxPolicy() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns the engine's
SandboxPolicy. - getSandboxPolicy() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the context's
SandboxPolicy. - getSandboxPolicy(String) - Method in interface com.oracle.truffle.api.TruffleOptionDescriptors
-
Returns a
SandboxPolicyfor an optionkey. - getSavedInputValues(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Returns all saved input values.
- getScope() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Get the current inner-most scope.
- getScope() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Get the current inner-most scope.
- getScope() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get the scope where this value is declared in.
- getScope(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Get a top scope of the language, if any.
- getScope(LanguageInfo) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Provides top scope object of the language, if any.
- getScope(Object, Frame, boolean) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Get an object representing a local scope containing variables visible at the node location.
- getScopeInternal(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the scope object of a non-null
internal language. - getScopeParent(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the parent scope object if it
has the parent. - getScopePublic(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the scope object of a non-null
public language. - getServicesClassNames() - Method in class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Returns the class names of provided services.
- getServicesClassNames() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
-
Deprecated.Returns the class names of provided services.
- getServicesClassNames() - Method in class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Returns the class names of provided services.
- getServicesClassNames() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
-
Deprecated.Returns the class names of provided services.
- getSession() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get the debugger session associated with this value.
- getSession() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the debugger session this suspended event was created for.
- getSessionCount() - Method in class com.oracle.truffle.api.debug.Debugger
-
Returns the number of active debugger sessions.
- getShape() - Method in class com.oracle.truffle.api.object.DynamicObject
-
Get the object's current shape.
- getShape(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the
shapeof the object. - getShape(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- getShapeFlags(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the language-specific object shape flags previously set using
DynamicObjectLibrary.setShapeFlags(DynamicObject, int)orShape.Builder.shapeFlags(int). - getSharedData() - Method in class com.oracle.truffle.api.object.Shape
-
Get the shape's shared data.
- getShort(byte[], int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the short at the given byte offset from the start of the buffer.
- getShort(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Reads the short at the given byte offset from the start of the buffer.
- getShort(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the short value represented by this StaticProperty and stored in the specified static object.
- getShortVolatile(byte[], long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.getShort(byte[], long). - getShortVolatile(Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Returns the short value represented by this StaticProperty and stored in the specified static object.
- getSimpleName() - Method in class com.oracle.truffle.api.library.Message
-
Returns the simple name of this message.
- getSlotInfo(int) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Queries the info object for a given indexed slot.
- getSlotKind(int) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Returns the
FrameSlotKindassociated with the given indexed slot. - getSlotName(int) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Queries the name for a given indexed slot.
- getSource() - Method in class com.oracle.truffle.api.instrumentation.ExecuteSourceEvent
-
Returns the executed source that caused this event.
- getSource() - Method in class com.oracle.truffle.api.instrumentation.LoadSourceEvent
-
Returns the loaded source that caused this event.
- getSource() - Method in class com.oracle.truffle.api.source.SourceSection
-
Representation of the source program that contains this section.
- getSource() - Method in class com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest
-
The source code to parse.
- getSource() - Method in class com.oracle.truffle.api.TruffleLanguage.ParsingRequest
-
The source code to parse.
- getSourceLocation() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Get a source location where this value is declared, if any.
- getSourceLocation(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the declared source location of the receiver value.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugException.CatchLocation
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Get a source section representing this scope.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns the source section of the location where the debugging session was suspended.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Returns the source section location of this trace element.
- getSourceSection() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the guest language source section of the AST node before/after the execution is suspended.
- getSourceSection() - Method in class com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent
-
Returns the loaded source section that caused this event.
- getSourceSection() - Method in class com.oracle.truffle.api.nodes.Node
-
Retrieves the segment of guest language source code that is represented by this Node.
- getSpecialization(Node, Node, String) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Like
Introspection.getSpecialization(Node, String)but must be used for nodes that wereinlined. - getSpecialization(Node, String) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Returns introspection information for the first specialization that matches a given method name.
- getSpecializations(Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Returns introspection information for all declared specializations as unmodifiable list.
- getSpecializations(Node, Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Like
Introspection.getSpecializations(Node)but must be used for nodes that wereinlined. - getStackFrames() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns a list of guest language stack frame objects that indicate the current guest language location.
- getStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Gets stack trace elements of guest languages.
- getStackTrace(Throwable) - Static method in exception class com.oracle.truffle.api.TruffleStackTrace
-
Returns the guest language frames that are stored in this throwable or
nullif no guest language frames can ever be stored in this throwable. - getStackTraceElementLimit() - Method in exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
Returns the number of guest language frames that should be collected for this exception.
- getStartColumn() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns the 1-based column number of the first character in this section (inclusive).
- getStartLine() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns 1-based line number of the first character in this section (inclusive).
- getState(int, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Requests a state field for a given field index.
- getStringCompactionLevelUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.GetStringCompactionLevelNode. - getSuppliedNodes() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Returns the children of the
Nodereturned byUnsupportedSpecializationException.getNode()which produced the values returned byUnsupportedSpecializationException.getSuppliedValues(). - getSuppliedValues() - Method in exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Returns the dynamic values that were supplied to the node.The array returned by
UnsupportedSpecializationException.getSuppliedNodes()has the same length as the array returned byUnsupportedSpecializationException.getSuppliedValues(). - getSuppliedValues() - Method in exception class com.oracle.truffle.api.interop.UnsupportedTypeException
-
Returns the arguments of the foreign object access that were not supported by the
TruffleObject. - getSuspendAnchor() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Returns the suspended position within the guest language source location.
- getSuspendAnchor() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns where, within the guest language
source section, the suspended position is. - getTag(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Determines the actual
FrameSlotKindof the value in the slot, and returns it asFrameSlotKind.tag. - getTarget() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns the call target on the stack.
- getTargetClass() - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlineTarget
-
Returns static target class this inlining specification was applied.
- getThread() - Method in class com.oracle.truffle.api.ThreadLocalAction.Access
-
Returns the thread where this thread local action is running on.
- getThrowLocation() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Get source code location where this exception was thrown from.
- getTimeZone() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns the default time zone of this environment.
- Getting started using the debugger - Search tag in package com.oracle.truffle.api.debug
- Section
- getTopScope(String) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Returns a language top scope.
- getTopStackFrame() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns the topmost stack frame returned by
SuspendedEvent.getStackFrames(). - getTruffleFile(TruffleContext, String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns a
TruffleFilefor given path andcontext. - getTruffleFile(TruffleContext, URI) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
- getTruffleFile(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Deprecated.since 23.0. Use
TruffleInstrument.Env.getTruffleFile(TruffleContext, String). - getTruffleFile(URI) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Deprecated.since 23.0. Use
TruffleInstrument.Env.getTruffleFile(TruffleContext, URI). - getTruffleFileInternal(String, Predicate<TruffleFile>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFilefor the given path. - getTruffleFileInternal(URI, Predicate<TruffleFile>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a
TruffleFilefor given URI. - getType() - Method in class com.oracle.truffle.api.nodes.NodeClass
- getType() - Method in class com.oracle.truffle.api.object.Layout
-
Deprecated.
- getUncached() - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the uncached automatically dispatched version of the interop library.
- getUncached() - Static method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the uncached automatically dispatched version of the node library.
- getUncached() - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns an uncached automatically dispatched version of the library.
- getUncached() - Static method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Returns the uncached automatically dispatched version of the reflection library.
- getUncached() - Static method in class com.oracle.truffle.api.nodes.IndirectCallNode
-
Returns an uncached version of an indirect call node.
- getUncached() - Static method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Gets the shared
DynamicObjectLibraryinstance for uncached accesses. - getUncached() - Static method in class com.oracle.truffle.api.profiles.BranchProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns the uncached version of the profile.
- getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode
-
Get the uncached version of
MutableTruffleString.AsManagedNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode
-
Get the uncached version of
MutableTruffleString.AsMutableTruffleStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode
-
Get the uncached version of
MutableTruffleString.ConcatNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode
-
Get the uncached version of
MutableTruffleString.ForceEncodingNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode
-
Get the uncached version of
MutableTruffleString.FromByteArrayNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode
-
Get the uncached version of
MutableTruffleString.FromNativePointerNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode
-
Get the uncached version of
MutableTruffleString.SubstringByteIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode
-
Get the uncached version of
MutableTruffleString.SubstringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode
-
Get the uncached version of
MutableTruffleString.SwitchEncodingNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode
-
Get the uncached version of
MutableTruffleString.WriteByteNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsManagedNode
-
Get the uncached version of
TruffleString.AsManagedNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsNativeNode
-
Get the uncached version of
TruffleString.AsNativeNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode
-
Get the uncached version of
TruffleString.AsTruffleStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode
-
Get the uncached version of
TruffleString.ByteIndexOfAnyByteNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode
-
Get the uncached version of
TruffleString.ByteIndexOfCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode
-
Get the uncached version of
TruffleString.ByteIndexOfCodePointSetNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode
-
Get the uncached version of
TruffleString.ByteIndexOfStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode
-
Get the uncached version of
TruffleString.ByteIndexToCodePointIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode
-
Get the uncached version of
TruffleString.ByteLengthOfCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node
-
Get the uncached version of
TruffleString.CharIndexOfAnyCharUTF16Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode
-
Get the uncached version of
TruffleString.CodePointAtByteIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode
-
Get the uncached version of
TruffleString.CodePointAtIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode
-
Get the uncached version of
TruffleString.CodePointIndexToByteIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode
-
Get the uncached version of
TruffleString.CodePointLengthNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode
-
Get the uncached version of
TruffleString.CodeRangeEqualsNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareBytesNode
-
Get the uncached version of
TruffleString.CompareBytesNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node
-
Get the uncached version of
TruffleString.CompareCharsUTF16Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node
-
Get the uncached version of
TruffleString.CompareIntsUTF32Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ConcatNode
-
Get the uncached version of
TruffleString.ConcatNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode
-
Get the uncached version of
TruffleString.CopyToByteArrayNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode
-
Get the uncached version of
TruffleString.CopyToNativeMemoryNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode
-
Get the uncached version of
TruffleString.CreateBackwardCodePointIteratorNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode
-
Get the uncached version of
TruffleString.CreateCodePointIteratorNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.EqualNode
-
Get the uncached version of
TruffleString.EqualNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode
-
Get the uncached version of
TruffleString.ForceEncodingNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode
-
Get the uncached version of
TruffleString.FromByteArrayNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node
-
Get the uncached version of
TruffleString.FromCharArrayUTF16Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromCodePointNode
-
Get the uncached version of
TruffleString.FromCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node
-
Get the uncached version of
TruffleString.FromIntArrayUTF32Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode
-
Get the uncached version of
TruffleString.FromJavaStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromLongNode
-
Get the uncached version of
TruffleString.FromLongNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode
-
Get the uncached version of
TruffleString.FromNativePointerNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode
-
Get the uncached version of
TruffleString.GetByteCodeRangeNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode
-
Get the uncached version of
TruffleString.GetCodeRangeImpreciseNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode
-
Get the uncached version of
TruffleString.GetCodeRangeNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode
-
Get the uncached version of
TruffleString.GetInternalByteArrayNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode
-
Get the uncached version of
TruffleString.GetInternalNativePointerNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode
-
Get the uncached version of
TruffleString.GetStringCompactionLevelNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.HashCodeNode
-
Get the uncached version of
TruffleString.HashCodeNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode
-
Get the uncached version of
TruffleString.IndexOfCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode
-
Get the uncached version of
TruffleString.IndexOfStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node
-
Get the uncached version of
TruffleString.IntIndexOfAnyIntUTF32Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.IsValidNode
-
Get the uncached version of
TruffleString.IsValidNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode
-
Get the uncached version of
TruffleString.LastByteIndexOfCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode
-
Get the uncached version of
TruffleString.LastByteIndexOfStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode
-
Get the uncached version of
TruffleString.LastIndexOfCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode
-
Get the uncached version of
TruffleString.LastIndexOfStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.MaterializeNode
-
Get the uncached version of
TruffleString.MaterializeNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode
-
Get the uncached version of
TruffleString.ParseDoubleNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseIntNode
-
Get the uncached version of
TruffleString.ParseIntNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ParseLongNode
-
Get the uncached version of
TruffleString.ParseLongNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadByteNode
-
Get the uncached version of
TruffleString.ReadByteNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node
-
Get the uncached version of
TruffleString.ReadCharUTF16Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode
-
Get the uncached version of
TruffleString.RegionEqualByteIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.RegionEqualNode
-
Get the uncached version of
TruffleString.RegionEqualNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.RepeatNode
-
Get the uncached version of
TruffleString.RepeatNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode
-
Get the uncached version of
TruffleString.SubstringByteIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.SubstringNode
-
Get the uncached version of
TruffleString.SubstringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode
-
Get the uncached version of
TruffleString.SwitchEncodingNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode
-
Get the uncached version of
TruffleString.ToJavaStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.ToValidStringNode
-
Get the uncached version of
TruffleString.SwitchEncodingNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode
-
Get the uncached version of
TruffleString.WithMask.CreateNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node
-
Get the uncached version of
TruffleString.WithMask.CreateNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node
-
Get the uncached version of
TruffleString.WithMask.CreateNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode
-
Get the uncached version of
TruffleStringBuilder.AppendByteNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node
-
Get the uncached version of
TruffleStringBuilder.AppendCharUTF16Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode
-
Get the uncached version of
TruffleStringBuilder.AppendCodePointNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode
-
Get the uncached version of
TruffleStringBuilder.AppendIntNumberNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node
-
Get the uncached version of
TruffleStringBuilder.AppendJavaStringUTF16Node. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode
-
Get the uncached version of
TruffleStringBuilder.AppendLongNumberNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode
-
Get the uncached version of
TruffleStringBuilder.AppendStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode
-
Get the uncached version of
TruffleStringBuilder.AppendSubstringByteIndexNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode
-
Get the uncached version of
TruffleStringBuilder.ToStringNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.NextNode
-
Get the uncached version of
TruffleStringIterator.NextNode. - getUncached() - Static method in class com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode
-
Get the uncached version of
TruffleStringIterator.PreviousNode. - getUncached(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns the uncached manually dispatched version of the interop library.
- getUncached(Object) - Static method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns the uncached manually dispatched version of the node library.
- getUncached(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns an uncached manually dispatched library for a given receiver.
- getUncached(Object) - Static method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Returns the uncached manually dispatched version of the reflection library.
- getUncachedInstance() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
-
Returns the uncached version of this node or
nullifGenerateUncachedwas not applied to the node. - getUnknownIdentifier() - Method in exception class com.oracle.truffle.api.interop.UnknownIdentifierException
-
Returns the identifier that could not be accessed.
- getUnknownKey() - Method in exception class com.oracle.truffle.api.interop.UnknownKeyException
-
Returns the hash key that could not be accessed.
- getURI() - Method in class com.oracle.truffle.api.source.Source
-
Get URI of the source.
- getURL() - Method in class com.oracle.truffle.api.source.Source
-
The URL if the source is retrieved via URL.
- getValidAssumption() - Method in class com.oracle.truffle.api.object.Shape
-
Get an assumption that the shape is valid.
- getValue() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
-
Returns the value which is a subject of allocation.
- getValue(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Read access to a local variable of any type.
- getVersion() - Method in class com.oracle.truffle.api.InstrumentInfo
-
Gets the version of this instrument.
- getVersion() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
-
Returns the version of the language.
- getView(Object, Frame, Object) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Wraps the value to filter or add scoping specific information for values associated with the current language and location in the code.
- getVolatile(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method returns the value of the target field given a target node using volatile semantics.
- getYieldValue() - Method in interface com.oracle.truffle.api.instrumentation.GenerateWrapper.YieldException
-
Get the value provided by the yield.
- guards() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares
booleanexpressions that define whether or not input values are applicable to this specialization instance.
H
- HALT_INSTRUCTION - Enum constant in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Represents breakpoints submitted for a halt instruction in a guest language program.
- HARD - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Hard exit triggered by
TruffleContext.closeExited(Node, int). - hasArrayElements(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver may have array elements. - hasBufferElements(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver may have buffer elements. - hasBytecodeIndex() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
-
Returns
trueif the stack trace element contains a valid bytecode index, elsefalse. - hasBytes() - Method in class com.oracle.truffle.api.source.Source
-
Returns
trueif this source represents a byte based source, elsefalse. - hasCharacters() - Method in class com.oracle.truffle.api.source.Source
-
Returns
trueif this source represents a character based source, elsefalse. - hasCharIndex() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns
trueif this section has a character index information,falseotherwise. - hasColumns() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns
trueif this section has a column number information,falseotherwise. - hasData() - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Returns
trueif the statistics did collect any data, elsefalse. - hasDeclaringMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver has a declaring meta object. - hasExceptionCause(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver is an exception with an attached internal cause. - hasExceptionMessage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver is an exception that has an exception message. - hasExceptionStackTrace(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver is an exception and has a stack trace. - hasExecutableName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver has an executable name. - hasHashEntries() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif the value may have hash map entries. - hasHashEntries(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver may have hash entries. - hashCode() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
- hashCode() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Provides hash code of the value.
- hashCode() - Method in class com.oracle.truffle.api.library.Message
- hashCode() - Method in class com.oracle.truffle.api.object.HiddenKey
- hashCode() - Method in class com.oracle.truffle.api.object.Location
-
Abstract to force overriding.
- hashCode() - Method in class com.oracle.truffle.api.source.Source
- hashCode() - Method in class com.oracle.truffle.api.source.SourceSection
- hashCode() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns this string's hashcode.
- hashCode() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns a hash code value for this object.
- hashCode() - Method in class com.oracle.truffle.api.TruffleContext
- hashCode() - Method in class com.oracle.truffle.api.TruffleFile
- hashCode() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the hash code value for this bit set.
- hashCode(DynamicObject) - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- hashCodeUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.HashCodeNode. - hasIdentity(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif and only if the receiver specifies identity, elsefalse. - hasInstanceProperties() - Method in class com.oracle.truffle.api.object.Shape
-
Returns
trueif this shape has instance properties (i.e., stored in the object). - hasIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif the value provides an iterator. - hasIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver provides an iterator. - hasIteratorNextElement() - Method in class com.oracle.truffle.api.debug.DebugValue
- hasIteratorNextElement(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver is an iterator which has more elements, elsefalse. - hasLanguage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver originates from a language, elsefalse. - hasLines() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns
trueif this section has a line number information,falseotherwise. - hasMemberReadSideEffects(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif reading a member may cause a side-effect. - hasMembers(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver may have members. - hasMemberWriteSideEffects(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif writing a member may cause a side-effect, besides the write operation of the member. - hasMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver value has a metaobject associated. - hasMetaParents(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver valueis a metaobjectwhich has parents (super types). - hasNext() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Returns
trueif there are more codepoints remaining. - hasNextTier() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in a compilation tier which can be replaced with a higher tier (e.g.
- hasPendingSideEffectingActions() - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Returns whether there is any pending side-effecting thread local action on this thread, due to being in a critical section using
TruffleSafepoint.setAllowSideEffects(boolean). - hasPrevious() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Returns
trueif there are more codepoints remaining in reverse direction. - hasProperty(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Check whether the shape has a property with the given key.
- hasReadSideEffects() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif reading of this value can have side-effects, elsefalse. - hasReceiverMember(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns
true, if there is a named receiver object, elsefalse. - hasRootInstance(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns
true, if a current instance of the guest language representation of the root node (e.g. - hasScope(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
-
Returns
true, if the node is in a scope containing local variables, elsefalse. - hasScopeParent(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif this scope has an enclosing parent scope, elsefalse. - hasSourceElement(SourceElement) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns
trueif the underlying guest language source location is denoted as the source element. - hasSourceLocation(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver value has a declared source location attached, elsefalse. - hasTag(Class<? extends Tag>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns
trueif the underlying instrumented AST is tagged with a particular tag. - hasTag(Class<? extends Tag>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns
trueif this node should be considered tagged by a given tag elsefalse. - hasWriteSideEffects() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif setting a new value can have side-effects, elsefalse. - help() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns a help message for the option.
- HiddenKey - Class in com.oracle.truffle.api.object
-
A unique key to be used for private object fields; excluded from enumeration and compared by object identity.
- HiddenKey(String) - Constructor for class com.oracle.truffle.api.object.HiddenKey
- HostCompilerDirectives - Class in com.oracle.truffle.api
-
Directives that influence the optimizations of the host compiler.
- HostCompilerDirectives.BytecodeInterpreterSwitch - Annotation Interface in com.oracle.truffle.api
-
Marks a method that is an implementation of a Truffle interpreter, and which should receive additional optimization budget.
- HostCompilerDirectives.BytecodeInterpreterSwitchBoundary - Annotation Interface in com.oracle.truffle.api
-
Deprecated.use is no longer needed. boundaries for
HostCompilerDirectives.BytecodeInterpreterSwitchare mostly determined automatically. To migrate remove all usages. - HostCompilerDirectives.InliningCutoff - Annotation Interface in com.oracle.truffle.api
-
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.
I
- IBM037 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM037.
- IBM437 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM437.
- IBM720 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM720.
- IBM737 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM737.
- IBM775 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM775.
- IBM852 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM852.
- IBM855 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM855.
- IBM857 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM857.
- IBM860 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM860.
- IBM861 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM861.
- IBM862 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM862.
- IBM863 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM863.
- IBM864 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM864.
- IBM865 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM865.
- IBM866 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM866.
- IBM869 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
IBM869.
- id() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
A custom machine identifier for this instrument.
- id() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique id of your language.
- Idempotent - Annotation Interface in com.oracle.truffle.api.dsl
-
Methods annotated with
Idempotentmust be methods that may cause side effects but will always cause the same side effects for repeated invocations with the same parameters. - identityHashCode(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns an identity hash code for the receiver if it has
identity. - ifExported() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.Abstract
-
Specifies a message to be abstract only if another message is implemented.
- ifExportedAsWarning() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.Abstract
-
Specifies a message to be abstract only if another message is implemented.
- ignoreCount(int) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the number of times a breakpoint is ignored until it hits (i.e.
- ignoreLanguageContextInitialization(boolean) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Set to ignore language initialization code.
- Illegal - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- implementationName() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique name of your language implementation.
- implicit() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Allows implicit creation of this child node.
- ImplicitCast - Annotation Interface in com.oracle.truffle.api.dsl
-
Marks an implicit cast method.
- implicitCreate() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Defines the initializer expression for implicit child node creation.
- ImportStatic - Annotation Interface in com.oracle.truffle.api.dsl
-
Imports all
publicandstaticmethods and fields of the provided classes for the use in DSL expressions of the annotated class or its subclasses. - importSymbol(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Explicitly imports a symbol from the polyglot bindings.
- in() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Input associated with
Enginethisinstrumentis being executed in. - in() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Input stream provided by
Context.Builder.in(InputStream)this language is being executed in. - in(InputStream) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the input stream to be used for the context.
- inBounds(byte[], int, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Checks if an access is in bounds of the given buffer.
- inBounds(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Checks if an access is in bounds of the given buffer.
- includeInternal(boolean) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Set to include or exclude
internal codein the filter. - includeInternal(boolean) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Add a filter that includes or excludes
internal sources. - includeInternal(boolean) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter that includes or excludes
internal root nodes. - includes(Node) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
Checks if the filter includes the given node, i.e.
- includes(RootNode, SourceSection, Set<Class<?>>) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
Checks if the filter includes the given root node, i.e.
- incompatibleLocation() - Static method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- IncompatibleLocationException - Exception Class in com.oracle.truffle.api.object
-
Deprecated.
- inCompilationRoot() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in the root of a Truffle compilation.
- inCompiledCode() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in the compiled code.
- inContextPreinitialization() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns
trueif the engine causing the resource unpacking is being pre-initialized. - indexIn(int, int) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the index is inside a startIndex (inclusive) plus a given length (exclusive).
- indexIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections which indices are contained in one of the given index ranges.
- indexNotIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections which indices are not contained in one of the given index ranges.
- indexOf(byte[], int, int, byte...) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first occurrence of any byte contained in
valuesinarray, bounded byfromIndex(inclusive) andmaxIndex(exclusive). - indexOf(char[], int, int, char...) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first occurrence of any character contained in
valuesinarray, bounded byfromIndex(inclusive) andmaxIndex(exclusive). - indexOf(String, int, int, char...) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first occurrence of any character contained in
valuesinstring, bounded byfromIndex(inclusive) andmaxIndex(exclusive). - indexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IndexOfCodePointNode. - indexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IndexOfStringNode. - indexOfWithOrMask(byte[], int, int, byte[], byte[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first region of
haystackthat equalsneedleafter being OR'ed withmask, bounded byfromIndex(inclusive) andlength. - indexOfWithOrMask(char[], int, int, char[], char[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first region of
haystackthat equalsneedleafter being OR'ed withmask, bounded byfromIndex(inclusive) andlength. - indexOfWithOrMask(String, int, int, String, String) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns the index of the first region of
haystackthat equalsneedleafter being OR'ed withmask, bounded byfromIndex(inclusive) andlength. - IndirectCallNode - Class in com.oracle.truffle.api.nodes
-
Represents an indirect call to a
CallTarget. - IndirectCallNode() - Constructor for class com.oracle.truffle.api.nodes.IndirectCallNode
-
Constructor for implementation subclasses.
- info(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor.Builder
-
Adds a user-defined info object to the frame descriptor.
- info(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
info level. - info(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
info level. - inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateCached
-
If
trueenables inheritance ofGenerateCached.value()andGenerateCached.alwaysInlineCached()to subclasses. - inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateInline
-
If
trueenables inheritance ofGenerateInline.value()andGenerateInline.inlineByDefault()to subclasses. - inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateNodeFactory
-
Inherits the semantics of the annotation to subclasses.
- inherit() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateUncached
-
Inherits the semantics of the annotation to subclasses.
- inheritAllAccess(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
If set to
trueallows all access privileges that were also granted to the outer context. - inheritIO(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
If
truethe subprocess standard input, output and error output are the same as those of the current Java process. - inInterpreter() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean value indicating whether the method is executed in the interpreter.
- inInterpreterFastPath() - Static method in class com.oracle.truffle.api.HostCompilerDirectives
-
Indicates whether a branch is executed only in the interpreter.
- initCause(Throwable) - Method in exception class com.oracle.truffle.api.interop.InteropException
-
Deprecated.Do no longer use the cause will be initialized finally.
- initializeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Perform any complex initialization.
- initializeCreatorContext(boolean) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Specifies whether the creating language context should be initialized in the new context.
- initializeInternal(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
Forces initialization of an internal or public language.
- initializeLanguage(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Ensures that the target language is initialized.
- initializeMultipleContexts() - Method in class com.oracle.truffle.api.TruffleLanguage
-
Initializes this language instance for use with multiple contexts.
- initializeMultiThreading(C) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Invoked before the context is accessed from multiple threads at the same time.
- initializePublic(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
-
The same as
TruffleContext.initializeInternal(Node, String), but only public languages are accessible. - initializeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Invoked before a context is accessed from a new thread.
- initialLoopStatus() - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Returns a placeholder loop status used internally before the first iteration.
- inject(boolean) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- inject(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- injectBranchProbability(double, boolean) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Injects a probability for the given condition into the probability information of the immediately succeeding branch instruction for the condition.
- inline() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Enables inlining of the cached parameter if supported.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.BranchProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Returns an inlined version of the profile.
- inline(InlineSupport.InlineTarget) - Static method in class com.oracle.truffle.api.profiles.ValueProfile
-
Returns an inlined version of the profile.
- inlineByDefault() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateInline
-
If
truethe inlined version is used by default when the node is used as acachedargument. - InlinedBranchProfile - Class in com.oracle.truffle.api.profiles
-
BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
- InlinedByteValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
byteruntime values. - InlinedConditionProfile - Class in com.oracle.truffle.api.profiles
-
ConditionProfiles are useful to profile the outcome of conditions.
- InlinedCountingConditionProfile - Class in com.oracle.truffle.api.profiles
-
CountingConditionProfiles are useful to profile the outcome of conditions.
- InlinedDoubleValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
byteruntime values. - InlinedExactClassProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture the exact class of
referenceruntime values. - InlinedFloatValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
floatruntime values. - InlinedIntValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
intruntime values. - InlinedLongValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
longruntime values. - InlinedLoopConditionProfile - Class in com.oracle.truffle.api.profiles
-
InlinedLoopConditionProfiles are designed to profile the outcome of loop conditions.
- InlinedProfile - Class in com.oracle.truffle.api.profiles
-
A profile is a Truffle utility class that uses the
Truffle compiler directivesto guard for and/or forward runtime information to the compiler. - inlineMethod() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies an alternative method name for node object inlining.
- InlineSupport - Class in com.oracle.truffle.api.dsl
-
Contains classes to support node object inlining in Truffle.
- InlineSupport.BooleanField - Class in com.oracle.truffle.api.dsl
-
Represents a field for boolean primitives in inlined nodes.
- InlineSupport.ByteField - Class in com.oracle.truffle.api.dsl
-
Represents a field for byte primitives in inlined nodes.
- InlineSupport.CharField - Class in com.oracle.truffle.api.dsl
-
Represents a field for char primitives in inlined nodes.
- InlineSupport.DoubleField - Class in com.oracle.truffle.api.dsl
-
Represents a field for double primitives in inlined nodes.
- InlineSupport.FloatField - Class in com.oracle.truffle.api.dsl
-
Represents a field for float primitives in inlined nodes.
- InlineSupport.InlinableField - Class in com.oracle.truffle.api.dsl
-
Base class for inlined field references.
- InlineSupport.InlineTarget - Class in com.oracle.truffle.api.dsl
-
An inline targert for an inlinable node.
- InlineSupport.IntField - Class in com.oracle.truffle.api.dsl
-
Represents a field for int primitives in inlined nodes.
- InlineSupport.LongField - Class in com.oracle.truffle.api.dsl
-
Represents a field for long primitives in inlined nodes.
- InlineSupport.ReferenceField<T> - Class in com.oracle.truffle.api.dsl
-
Represents a field for references in inlined nodes.
- InlineSupport.RequiredField - Annotation Interface in com.oracle.truffle.api.dsl
-
Used to specify fields for node object inlining in inline methods for the
inline target. - InlineSupport.RequiredFields - Annotation Interface in com.oracle.truffle.api.dsl
-
Used to specify multiple
InlineSupport.RequiredField. - InlineSupport.ShortField - Class in com.oracle.truffle.api.dsl
-
Represents a field for short primitives in inlined nodes.
- InlineSupport.StateField - Class in com.oracle.truffle.api.dsl
-
Represents a field for updating state fields in inlined nodes.
- InlineSupport.UnsafeAccessedField - Annotation Interface in com.oracle.truffle.api.dsl
-
Marks a field to be accessed with unsafe.
- inNativeImageBuild() - Method in class com.oracle.truffle.api.InternalResource.Env
-
Returns
trueif resource unpacking happens during the native image build. - insert(T) - Method in class com.oracle.truffle.api.nodes.Node
- insert(T[]) - Method in class com.oracle.truffle.api.nodes.Node
- insertBefore() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
References a specialization of a super class by its method name where this specialization is inserted before.
- install(Breakpoint) - Method in class com.oracle.truffle.api.debug.Debugger
-
Adds a new breakpoint to this Debugger instance and makes it available in all its sessions.
- install(Breakpoint) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Adds a new breakpoint to this session and makes it capable of suspending execution.
- instantiate(Object, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Instantiates the receiver value with the given arguments.
- InstrumentableNode - Interface in com.oracle.truffle.api.instrumentation
-
Interface implemented by AST
nodesthat may be instrumentable: an AST location where Truffle instruments are permitted to listen to before and after using execution event listeners. - InstrumentableNode.WrapperNode - Interface in com.oracle.truffle.api.instrumentation
-
Nodes that the instrumentation framework inserts into guest language ASTs (between
instrumentableguest language nodes and their parents) for the purpose of interposing on execution events and reporting them via the instrumentation framework. - Instrumentation - Search tag in class com.oracle.truffle.api.nodes.RootNode
- Section
- Instrumenter - Class in com.oracle.truffle.api.instrumentation
-
Provides capabilities to attach listeners for execution, load, output and allocation events.
- InstrumentInfo - Class in com.oracle.truffle.api
-
Represents public information about an instrument.
- Int - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- interactive() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Specifies if the language is suitable for interactive evaluation of
sources. - interactive(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Marks the source as interactive.
- interactive(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Marks the source as interactive.
- internal() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Specifies whether the instrument is accessible using the polyglot API.
- internal() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Returns
trueif this language is intended for internal use only. - internal(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Marks the source as internal.
- internal(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Marks the source as internal.
- InternalByteArray - Class in com.oracle.truffle.api.strings
-
Wrapper object containing a
TruffleString's internal byte array, along with a byte offset and length defining the region in use. - InternalResource - Interface in com.oracle.truffle.api
-
Represents an internal resource of a language that can be lazily unpacked to a cache user directory.
- InternalResource.CPUArchitecture - Enum Class in com.oracle.truffle.api
-
Represents a supported CPU architecture.
- InternalResource.Env - Class in com.oracle.truffle.api
-
Access to common utilities for unpacking resource files.
- InternalResource.Id - Annotation Interface in com.oracle.truffle.api
-
The annotation used to lookup
InternalResourceby an id. - InternalResource.OS - Enum Class in com.oracle.truffle.api
-
Represents a supported operating system.
- InternalResourceProvider - Class in com.oracle.truffle.api.provider
-
Used to register an optional
InternalResourceusing aServiceLoader. - InternalResourceProvider() - Constructor for class com.oracle.truffle.api.provider.InternalResourceProvider
- internalResources() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Declarative list of
InternalResourceclasses that is associated with this instrument. - internalResources() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Declarative list of
InternalResourceclasses that is associated with this language. - InteropException - Exception Class in com.oracle.truffle.api.interop
-
Common super class for exceptions that can occur when sending
interop messages. - InteropLibrary - Class in com.oracle.truffle.api.interop
-
Represents the library that specifies the interoperability message protocol between Truffle languages, tools and embedders.
- InteropLibrary() - Constructor for class com.oracle.truffle.api.interop.InteropLibrary
- Interpretation - Search tag in com.oracle.truffle.api.TruffleLanguage.getScope(C)
- Section
- interpreterOnly(Runnable) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler that the given runnable should only be executed in the interpreter and ignored in the compiled code.
- interpreterOnly(Callable<T>) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler that the given callable should only be executed in the interpreter.
- interrupt(Thread) - Method in interface com.oracle.truffle.api.TruffleSafepoint.Interrupter
-
Sets the interrupted state on a foreign thread.
- INTERRUPT - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates that the application thread was interrupted by an
InterruptedException. - intIndexOfAnyIntUTF32Uncached(int, int, int[]) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IntIndexOfAnyIntUTF32Node. - IntLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- Introspectable - Annotation Interface in com.oracle.truffle.api.dsl
-
Annotate a DSL operation using this annotation to be introspectable.
- Introspection - Class in com.oracle.truffle.api.dsl
-
Contains introspection utilities for Truffle DSL.
- Introspection.Provider - Interface in com.oracle.truffle.api.dsl
-
Internal marker interface for DSL generated code to access reflection information.
- Introspection.SpecializationInfo - Class in com.oracle.truffle.api.dsl
-
Represents dynamic introspection information of a specialization of a DSL operation.
- IntValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
intruntime values. - InvalidArrayIndexException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an array does not contain a element with an index.
- InvalidAssumptionException - Exception Class in com.oracle.truffle.api.nodes
-
An exception that should be thrown if an assumption is checked and the check fails.
- InvalidAssumptionException() - Constructor for exception class com.oracle.truffle.api.nodes.InvalidAssumptionException
-
Default constructor.
- invalidate() - Method in interface com.oracle.truffle.api.Assumption
-
Invalidates this assumption.
- invalidate() - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
- invalidate(String) - Method in interface com.oracle.truffle.api.Assumption
-
Invalidates this assumption.
- invalidate(String) - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
- InvalidBufferOffsetException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a buffer access if out of bounds.
- invokeMember(Object, String, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Invokes a member for a given receiver and arguments.
- IS_DIRECTORY - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a directory.
- IS_OTHER - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a special file (device, named pipe).
- IS_REGULAR_FILE - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a regular file.
- IS_SYMBOLIC_LINK - Static variable in class com.oracle.truffle.api.TruffleFile
-
Represents the file a symbolic link.
- isAbsolute() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFile's path is absolute. - isActive() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns
trueif the specialization was active at the time when the introspection was performed. - isActive() - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Test if the reporter instance is actually doing some reporting when notify methods are called.
- isActive() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
trueif the context is currently active on the current thread, elsefalse. - isAdoptable() - Method in class com.oracle.truffle.api.nodes.Node
-
Returns
trueif this node can be adopted by a parent. - isArray() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value represents an array,falseotherwise. - isArrayElementExisting(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the array element is existing.
- isArrayElementInsertable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given array element index is not existing andinsertable. - isArrayElementModifiable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given array element index is existing andwritable. - isArrayElementReadable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given array element isreadable. - isArrayElementRemovable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given array element index is existing andremovable. - isArrayElementWritable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the array element is
modifiableorinsertable. - isAssumedFinal() - Method in class com.oracle.truffle.api.object.Location
-
Returns
trueif this location is assumed to be final. - isAttached() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Test if this binding is attached.
- isAvailable() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns whether this is a special instance that signifies that source information is available.
- isBoolean() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif and only if this value represents a boolean value. - isBoolean(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type boolean.
- isBoolean(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents abooleanlike value, elsefalse. - isBreakpointHit() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns true if a breakpoint hit was the reason for the suspension.
- isBreakpointsActive() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Deprecated.Use
DebuggerSession.isBreakpointsActive(Breakpoint.Kind)instead. - isBreakpointsActive(Breakpoint.Kind) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Test whether breakpoints of the given kind are active in this session.
- isBufferWritable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver is a modifiable buffer. - isByte(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type byte.
- isCached() - Method in class com.oracle.truffle.api.source.Source
-
Returns
trueif code caching is enabled for this source. - isCallTargetCloned() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
trueif the target of theDirectCallNodewas cloned by the runtime system or by the guest language implementation. - isCallTargetCloningAllowed() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
trueif the runtime system supports cloning and theRootNodereturnstrueinRootNode.isCloningAllowed(). - isCancelling() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
trueif the context is being cancelled elsefalse. - isCaptureFramesForTrace() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Deprecated.in 24.1, implement and use
RootNode.isCaptureFramesForTrace(boolean)instead - isCaptureFramesForTrace(boolean) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
trueif an AbstractTruffleException leaving this node should captureFrameobjects in its stack trace in addition to the default information. - isCaptureFramesForTrace(Node) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Deprecated.in 24.1, implement and use
RootNode.isCaptureFramesForTrace(boolean)instead - isChildField(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- isChildrenField(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- isCloneableField(Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- isCloneUninitializedSupported() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
trueifRootNode.cloneUninitialized()can be used to create uninitialized copies of an already initialized / executed root node. - isCloningAllowed() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
trueif thisRootNodeis allowed to be cloned. - isClosed() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
trueif the context was closed elsefalse. - isCompatibleTo(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Deprecated.
- isCompatibleToUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is compatible to the given encoding. - isCompilationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean indicating whether or not a given value is seen as constant in optimized code.
- isCompilationRoot() - Method in interface com.oracle.truffle.api.frame.FrameInstance
-
Returns whether or not the current frame is a compilation root.
- isConstant() - Method in class com.oracle.truffle.api.object.Location
-
Returns
trueif this is a constant value location. - isCounted(Node) - Method in interface com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter
- isCreateProcessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif the creation of a sub-process is allowed in the current environment. - isCreateThreadAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif the creation of new threads is allowed in the current environment. - isDate() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value represents a date, elsefalse. - isDate(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif this object represents a date, elsefalse. - isDeclared() - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.No longer needed. Declared locations can only be created with deprecated APIs.
- isDelegated(Library, int) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Returns
trueif a message is delegated, otherwisefalse. - isDeprecated() - Method in class com.oracle.truffle.api.library.Message
-
Returns true if this message is deprecated.
- isDirectory(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is a directory.
- isDisposed() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isDisposed() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
- isDouble(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type double.
- isDuration() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this object represents a duration, elsefalse. - isDuration(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif this object represents a duration, elsefalse. - isEmpty() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is empty. - isEmpty() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Returns true if this string builder is empty.
- isEmpty() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns true if this
FinalBitSetcontains no bits that are set totrue. - isEnabled() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isEngineRoot(RootNode) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns
trueif the given root node is considered an engine evaluation root for the current execution context. - isEntered() - Method in class com.oracle.truffle.api.TruffleContext
-
Checks whether the context is entered on the current thread and the context is the currently active context on this thread.
- isExact(Object, Class<?>) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Checks the given object to the exact class represented by
clazz. - isException(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver value represents a throwable exception/error}. - isExceptionIncompleteSource(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif receiver value represents an incomplete source exception. - isExcluded() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
-
Returns
trueif the specialization was excluded at the time when the introspection was performed. - isExecutable() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is executable.
- isExecutable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anexecutablevalue, elsefalse. - isExiting() - Method in class com.oracle.truffle.api.TruffleContext
-
Returns
trueif the context is being hard-exited elsefalse. - isFileIOAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif access to files is allowed, elsefalse. - isFinal() - Method in class com.oracle.truffle.api.object.Location
-
Returns
trueif this is a final location, i.e. - isFloat(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type float.
- isFunctionScope() - Method in class com.oracle.truffle.api.debug.DebugScope
-
Test if this scope represents the function scope at the frame it was
obtained from. - isHashEntryExisting(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif mapping for a given key is existing. - isHashEntryExisting(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif mapping for a given key is existing. - isHashEntryInsertable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif mapping for the specified key does not exist and iswritable. - isHashEntryInsertable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif mapping for the specified key does not exist and iswritable. - isHashEntryModifiable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif mapping for the specified key exists and iswritable. - isHashEntryModifiable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif mapping for the specified key exists and iswritable. - isHashEntryReadable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif mapping for the specified key exists and is readable. - isHashEntryReadable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif mapping for the specified key exists and isreadable. - isHashEntryRemovable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif mapping for the specified key exists and is removable. - isHashEntryRemovable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif mapping for the specified key exists and is removable. - isHashEntryWritable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
- isHashEntryWritable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
- isHidden() - Method in class com.oracle.truffle.api.object.Property
-
Is this property hidden from iteration.
- isHost() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns
trueif this frame is a host frame. - isHost() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Returns
trueif this element is a host element. - isHostException(Throwable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Tests whether an exception is a host exception thrown by a Java Interop method invocation.
- isHostFunction(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif the argument is a Java host language function wrapped using Truffle interop. - isHostLookupAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif host access is generally allowed. - isHostObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif the argument is Java host language object wrapped using Truffle interop. - isHostSymbol(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif the argument is a host symbol, representing the constructor and static members of a Java class, as obtained by e.g. - isIdentical(Object, Object, InteropLibrary) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif two values represent the the identical value, elsefalse. - isIdenticalOrUndefined(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
- isIgnoreLanguageContextInitialization() - Method in class com.oracle.truffle.api.debug.SuspensionFilter
-
Test if execution of language initialization code is to be ignored.
- isImmutable() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is immutable, i.e. - isInlinable() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
trueif the underlying runtime system supports inlining for theCallTargetin thisDirectCallNode. - isInliningForced() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
-
Returns
trueif theCallTargetis forced to be inlined. - isInnerContextOptionsAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif context options are allowed to be modified for inner contexts, orfalseif not. - isInstant() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value represents an instant. - isInstant(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents an instant. - isInstantiable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents aninstantiablevalue, elsefalse. - isInstrumentable() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Returns
trueif this node is instrumentable. - isInstrumentable() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Does this contain AST content that it is possible to instrument.
- isInt(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type int.
- isInteractive() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
- isInteractive() - Method in class com.oracle.truffle.api.source.Source
-
Check whether this source has been marked as interactive.
- isInternal() - Method in class com.oracle.truffle.api.debug.DebugStackFrame
-
Returns whether this stack frame is a language implementation artifact that should be hidden during normal guest language debugging, for example in stack traces.
- isInternal() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
-
Returns whether this trace element is a language implementation artifact.
- isInternal() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value represents an internal variable or property,falseotherwise. - isInternal() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
- isInternal() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Returns
trueif this root node should be considered internal and not be shown to a guest language programmer. - isInternal() - Method in class com.oracle.truffle.api.source.Source
-
Check whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.
- isInternalError() - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Returns
trueif this exception indicates an internal error. - isIntrinsicCandidate(TruffleString.CodeRange) - Method in class com.oracle.truffle.api.strings.TruffleString.CodePointSet
-
Returns
trueifTruffleString.ByteIndexOfCodePointSetNodemay implement the search for this particular code point set in strings with the given code range by dispatching to a compiler intrinsic. - isIntrospectable(Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
-
Returns
trueif the given node is introspectable. - isIOAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.since 23.0; replaced by
TruffleLanguage.Env.isFileIOAllowed(). - isIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value represents an iterator. - isIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents an iterator. - isLanguageContextInitialized() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Test if the language context of the source of the event is initialized.
- isLanguageContextInitialized() - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Test if language context of the source of the event is initialized.
- isLeaf() - Method in class com.oracle.truffle.api.object.Shape
-
Check whether this shape is a leaf in the transition graph, i.e.
- isLoggable(Level) - Method in class com.oracle.truffle.api.TruffleLogger
-
Checks if a message of the given level would be logged by this logger.
- isLong(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type long.
- isManaged() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is not backed by a native pointer. - isMemberExisting(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the member is existing.
- isMemberInsertable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given member is not existing andwritable. - isMemberInternal(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if a member is internal.
- isMemberInvocable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given member is invocable. - isMemberModifiable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given member is existing andwritable. - isMemberReadable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given member isreadable. - isMemberRemovable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif a given member is existing and removable. - isMemberWritable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns true if the member is
modifiableorinsertable. - isMetaInstance(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif the given instance is an instance of this value, elsefalse. - isMetaInstance(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the given instance is of the provided receiver metaobject, elsefalse. - isMetaObject() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif the value represents a metaobject. - isMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver value represents a metaobject. - isMimeTypeSupported(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Allows it to be determined if this
Contextcan execute code written in a language with a given MIME type. - isModifiable() - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Test whether this breakpoint can be modified.
- isMutable() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is mutable, i.e. - isNative() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns
trueif this string is backed by a native pointer. - isNativeAccessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif access to native code is generally allowed. - isNull() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Test if the value represents 'null'.
- isNull(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anulllike value, elsefalse. - isNumber() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif and only if this value represents a number. - isNumber(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents anumbervalue, elsefalse. - ISO_2022_JP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-2022-JP.
- ISO_2022_JP_2 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-2022-JP-2.
- ISO_2022_JP_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-2022-JP-KDDI.
- ISO_8859_1 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-1, also known as LATIN-1, which is equivalent to US-ASCII + the LATIN-1 Supplement Unicode block.
- ISO_8859_10 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-10.
- ISO_8859_11 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-11.
- ISO_8859_13 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-13.
- ISO_8859_14 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-14.
- ISO_8859_15 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-15.
- ISO_8859_16 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-16.
- ISO_8859_2 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-2.
- ISO_8859_3 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-3.
- ISO_8859_4 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-4.
- ISO_8859_5 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-5.
- ISO_8859_6 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-6.
- ISO_8859_7 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-7.
- ISO_8859_8 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-8.
- ISO_8859_9 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
ISO-8859-9.
- isObject(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Check whether the given indexed slot is of type object.
- isOneShot() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isPartialEvaluationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Returns a boolean indicating whether or not a given value is seen as constant during the initial partial evaluation phase.
- isPointer(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver value represents a native pointer. - isPolyglotBindingsAccessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif polyglot bindings access is allowed, elsefalse. - isPolyglotEvalAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.in 24.1 use
isPolyglotEvalAllowed(null) instead. Note that language implementations should now check whether polyglot eval is allowed also for individual languages, as access could be denied only for an individual language. - isPolyglotEvalAllowed(LanguageInfo) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif the current language is allowed to evaluate guest application provided code of the given language, elsefalse. - isPreInitialization() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif thisContextis being pre-initialized. - isPrimitive() - Method in class com.oracle.truffle.api.object.Location
-
Returns
trueif this location can only store primitive types and cannot contain any object references. - isProfilingEnabled() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Whether or not the
TruffleRuntimeimplementation can or wants to use gathered profiling information Truffle compilation. - isReadable() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value can be read elsefalse. - isReadable() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is readable.
- isRegularFile(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is a regular file.
- isReplaceAllowed() - Method in class com.oracle.truffle.api.nodes.NodeClass
-
Returns
trueifDenyReplacewas not set for this node. - isReplacementSafe(Node, Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Determines whether a proposed child replacement would be safe: structurally and type.
- isResolved() - Method in class com.oracle.truffle.api.debug.Breakpoint
- isSafelyReplaceableBy(Node) - Method in class com.oracle.truffle.api.nodes.Node
-
Checks if this node can be replaced by another node: tree structure & type.
- isSameFile(TruffleFile, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this and the given
TruffleFilerefer to the same physical file. - isSameFrame(Frame, Frame) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Tests if two frames are the same.
- isSameFrame(RootNode, Frame, Frame) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Tests if two frames are the same.
- isScope(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the value represents a scope object, elsefalse. - isShared() - Method in class com.oracle.truffle.api.object.Shape
-
Returns
trueif this shape is marked as shared. - isShared(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Checks whether this object is marked as shared.
- isSocketIOAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns
trueif access to network sockets is allowed, elsefalse. - isStatic(int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Checks whether the given indexed slot is static.
- isStep() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns true if a step was the reason for the suspension.
- isString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif and only if this value represents a string. - isString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif the receiver represents astringvalue, elsefalse. - isSubsetOf(TruffleString.CodeRange) - Method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns
trueif this set of potential codepoints is equal to or contained byother. - isSupersetOf(TruffleString.CodeRange) - Method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns
trueif this set of potential codepoints is equal to or containsother. - isSymbolicLink() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is a symbolic link.
- isThreadAccessAllowed(Thread, boolean) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Returns
trueif code of this language is allowed to be executed on this thread. - isTime() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value represents a time, elsefalse. - isTime(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif this object represents a time, elsefalse. - isTimeZone() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this object represents a timezone, elsefalse. - isTimeZone(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Returns
trueif this object represents a timezone, elsefalse. - isTracingEnabled() - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated code to determine whether tracing is enabled.
- isTrivial() - Method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.
- isTrivial() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Is this root node to be considered trivial by the runtime.
- isUnwind() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Returns true if an unwind was the reason for the suspension.
- isValid() - Method in interface com.oracle.truffle.api.Assumption
-
Checks whether the assumption is still valid.
- isValid() - Method in class com.oracle.truffle.api.object.Shape
-
Check whether this shape is valid.
- isValidAssumption(Assumption) - Static method in interface com.oracle.truffle.api.Assumption
-
Checks whether an assumption is not
nulland valid. - isValidAssumption(Assumption[]) - Static method in interface com.oracle.truffle.api.Assumption
-
Checks whether all assumptions in an array are not
nulland valid. - isValidProtocolValue(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Utility to check whether a value is a valid interop protocol value.
- isValidUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.IsValidNode. - isValidValue(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
-
Utility to check whether a value is a valid interop value.
- isValue() - Method in class com.oracle.truffle.api.object.Location
-
Returns
trueif this is a value location. - isVirtualFrame() - Method in interface com.oracle.truffle.api.frame.FrameInstance
- isVisible(C, Object) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Decides whether the result of evaluating an interactive source should be printed to stdout.
- isWritable() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns
trueif this value can be written to, elsefalse. - isWritable() - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if a file is writable.
- iterateFrames(FrameInstanceVisitor<T>) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Accesses the current stack, i.e., the contents of the
Frames and the associatedCallTargets. - iterateFrames(FrameInstanceVisitor<T>, int) - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Accesses the current stack, i.e., the contents of the
Frames and the associatedCallTargets.
J
- JSONHelper - Class in com.oracle.truffle.api.utilities
-
Deprecated.This class is deprecated and will be removed in a future version.
- JSONHelper.JSONArrayBuilder - Class in com.oracle.truffle.api.utilities
-
Deprecated.
- JSONHelper.JSONObjectBuilder - Class in com.oracle.truffle.api.utilities
-
Deprecated.
- JSONHelper.JSONStringBuilder - Class in com.oracle.truffle.api.utilities
-
Deprecated.
K
- kind() - Element in annotation interface com.oracle.truffle.api.nodes.ExplodeLoop
-
The loop explosion kind.
- KOI8_R - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
KOI8-R.
- KOI8_U - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
KOI8-U.
L
- language() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
A description, providing a user-readable explanation of the source language of the annotated
Node. - Language Configuration - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- languageContextCreated(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about creation of a language-specific context in an existing polyglot context.
- languageContextDisposed(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about disposal of a language-specific context in an existing polyglot context.
- languageContextFinalized(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about finalization of a language-specific context in an existing polyglot context.
- languageContextInitialized(DebugContext, LanguageInfo) - Method in interface com.oracle.truffle.api.debug.DebugContextsListener
-
Notifies about initialization of a language-specific context in an existing polyglot context.
- LanguageInfo - Class in com.oracle.truffle.api.nodes
-
Represents public information about a language.
- languageIs(String...) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Add a filter for all sources that specify one of the given
language ID. - LanguageReference() - Constructor for class com.oracle.truffle.api.TruffleLanguage.LanguageReference
-
Constructors for subclasses.
- languages(LanguageInfo...) - Method in class com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder
-
Specify languages that are instrumented for allocations of guest language values.
- LAST_ACCESS_TIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's last access time.
- LAST_MODIFIED_TIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's last modified time.
- lastByteIndexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfCodePointNode. - lastByteIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfStringNode. - lastByteIndexOfStringUncached(TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastByteIndexOfStringNode. - lastIndexOfCodePointUncached(int, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastIndexOfCodePointNode. - lastIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.LastIndexOfStringNode. - LATIN_1 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
All codepoints in this string are part of the ISO-8859-1 character set (0x00 - 0xff), which is equivalent to the union of the Basic Latin and the Latin-1 Supplement Unicode block.
- layout(Class<? extends DynamicObject>) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets custom object layout class (default:
DynamicObjectbase class). - Layout - Class in com.oracle.truffle.api.object
-
Deprecated.since 21.1. Use
Shape.Builderinstead. - Layout() - Constructor for class com.oracle.truffle.api.object.Layout
-
Deprecated.Constructor for subclasses.
- Layout.Access - Class in com.oracle.truffle.api.object
-
Deprecated.Internal package access helper.
- LayoutFactory - Interface in com.oracle.truffle.api.object
-
Deprecated.Implementation detail.
- leave(SpecializationStatistics) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Leaves the currently
enteredentered statistics. - leave(Node, Object) - Method in class com.oracle.truffle.api.TruffleContext
-
Leaves this context and sets the previous context as the new current context.
- leaveAndEnter(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.InterruptibleFunction<T, R>, T) - Method in class com.oracle.truffle.api.TruffleContext
-
Leaves this context, runs the passed interruptible function and reenters the context.
- leaveAndEnter(Node, Supplier<T>) - Method in class com.oracle.truffle.api.TruffleContext
-
Deprecated.
- length() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the "logical size" of this
FinalBitSet: the index of the highest set bit in theFinalBitSetplus one. - library() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage
-
Returns the library to export by this method or class.
- Library - Class in com.oracle.truffle.api.library
-
Base class for all Truffle library specifications.
- Library() - Constructor for class com.oracle.truffle.api.library.Library
-
Default constructor for sub-classes.
- LibraryExport<T> - Class in com.oracle.truffle.api.library
-
Base class for generated export classes.
- LibraryExport(Class<? extends T>, Class<?>, boolean) - Constructor for class com.oracle.truffle.api.library.LibraryExport
-
Constructor for generated code.
- LibraryExport(Class<? extends T>, Class<?>, boolean, boolean, int) - Constructor for class com.oracle.truffle.api.library.LibraryExport
-
Constructor for generated code.
- LibraryExport.DelegateExport - Interface in com.oracle.truffle.api.library
-
Internal interface for generated code only.
- LibraryFactory<T> - Class in com.oracle.truffle.api.library
-
Library factories allow to create instances of libraries used to call library messages.
- LibraryFactory(Class<T>, List<Message>) - Constructor for class com.oracle.truffle.api.library.LibraryFactory
-
Constructor for generated subclasses.
- Lifecycle - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- LIKELY_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- limit() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares the expression that limits the number of specialization instantiations.
- limit() - Element in annotation interface com.oracle.truffle.api.library.CachedLibrary
-
Sets the limit expression when using dispatched libraries.
- limit() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage
-
Specifies the limit of an exported message.
- lineEndsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the line ends in one of the given index ranges.
- lineIn(int, int) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the line is inside a startLine (first index inclusive) plus a given length (last index exclusive).
- lineIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where lines are contained in one of the given index ranges.
- lineIs(int) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the breakpoint's line number.
- lineIs(int) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all sources sections where the line is exactly the given line.
- lineNotIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where lines are not contained in one of the given index ranges.
- lineStartsIn(SourceSectionFilter.IndexRange...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections where the line starts in one of the given index ranges.
- LINUX - Enum constant in enum class com.oracle.truffle.api.InternalResource.OS
-
The Linux operating system.
- list() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a collection of
TruffleFiles in the directory denoted by thisTruffleFile. - littleEndian() - Static method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Enables accessing multibyte Java primitives from byte arrays in little-endian order.
- LoadSourceEvent - Class in com.oracle.truffle.api.instrumentation
-
Represents a source load event from a
LoadSourceListener. - LoadSourceListener - Interface in com.oracle.truffle.api.instrumentation
-
A listener attached by an
Instrumenterto specific locations of a guest language program to listen to load source events. - LoadSourceSectionEvent - Class in com.oracle.truffle.api.instrumentation
-
Represents a source section load event from a
LoadSourceSectionListener. - LoadSourceSectionListener - Interface in com.oracle.truffle.api.instrumentation
-
A listener attached by an
Instrumenterto specific locations of a guest language program to listen to sources section load events. - locals - Variable in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Provider for creating context local and context thread local references.
- locals - Variable in class com.oracle.truffle.api.TruffleLanguage
-
Provider for creating context local and context thread local references.
- Location - Class in com.oracle.truffle.api.object
-
Property location.
- Location() - Constructor for class com.oracle.truffle.api.object.Location
-
Constructor for subclasses.
- log(Level, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message.
- log(Level, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with single parameter.
- log(Level, String, Object[]) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with multiple parameters.
- log(Level, String, Throwable) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception.
- log(Level, Throwable, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception.
- log(Level, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message.
- logp(Level, String, String, String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message, specifying source class and source method.
- logp(Level, String, String, String, Object) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with single parameter, specifying source class and source method.
- logp(Level, String, String, String, Object[]) - Method in class com.oracle.truffle.api.TruffleLogger
-
Log a message with multiple parameters, specifying source class and source method.
- logp(Level, String, String, String, Throwable) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception, specifying source class and source method.
- logp(Level, String, String, Throwable, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with an exception, specifying source class and source method.
- logp(Level, String, String, Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message, specifying source class and source method.
- Long - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- LongLocation - Interface in com.oracle.truffle.api.object
-
Deprecated.
- LongValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
longruntime values. - lookup(InstrumentInfo, Class<S>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Returns an additional service provided by this instrument, specified by type.
- lookup(InstrumentInfo, Class<S>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns an additional service provided by this instrument, specified by type.
- lookup(LanguageInfo, Class<S>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Queries a
language implementationfor a special service. - lookup(LanguageInfo, Class<S>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns an additional service provided by the given language, specified by type.
- lookup(Class<T>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Looks additional service up.
- lookupEnumConstants(Class<T>) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Looks up shared enum constants for DSL generated code.
- lookupExecutionEventNode(EventBinding<? extends ExecutionEventNodeFactory>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns the execution event node that was inserted at this location given an event binding.
- lookupExecutionEventNode(Node, EventBinding<?>) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Returns the execution event node that was inserted at the node's location given an event binding, if any.
- lookupExecutionEventNodes(Collection<EventBinding<? extends ExecutionEventNodeFactory>>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
-
Returns all execution event nodes in the insertion order at this location, whose event bindings are contained in the given collection.
- lookupHostSymbol(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Looks up a Java class in the top-most scope the host environment.
- LoopConditionProfile - Class in com.oracle.truffle.api.profiles
-
LoopConditionProfiles are designed to profile the outcome of loop conditions.
- LoopNode - Class in com.oracle.truffle.api.nodes
-
A loop node calls
repeating nodesas long as it returnstrue. - LoopNode() - Constructor for class com.oracle.truffle.api.nodes.LoopNode
-
Constructor for subclasses.
M
- MacCentEuro - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacCentEuro.
- MacCroatian - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacCroatian.
- MacCyrillic - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacCyrillic.
- MacGreek - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacGreek.
- MacIceland - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacIceland.
- MacJapanese - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacJapanese.
- MacRoman - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacRoman.
- MacRomania - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacRomania.
- MacThai - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacThai.
- MacTurkish - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacTurkish.
- MacUkraine - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
MacUkraine.
- makeIterator(Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
- makePropertyGetter(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Makes a property getter for this shape and the given property key, if it exists.
- makeSharedShape() - Method in class com.oracle.truffle.api.object.Shape
-
Make a shared variant of this shape, to allow safe usage of this object between threads.
- markShared(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Marks this object as shared.
- materialize() - Method in interface com.oracle.truffle.api.frame.Frame
-
Materializes this frame, which allows it to be stored in a field or cast to
Object. - materialize(Object) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Ensures that the given object is not virtual, i.e., not removed by Escape Analysis at the point of this call.
- MATERIALIZE - Enum constant in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
This mode allows to read a materialized version of the frame and provides read and write access to its local variables.
- MaterializedFrame - Interface in com.oracle.truffle.api.frame
-
Represents a materialized frame containing values of local variables of the guest language.
- materializeInstrumentableNodes(Set<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
-
Removes optimizations performed in this AST node to restore the syntactic AST structure.
- materializeUncached(AbstractTruffleString, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.MaterializeNode. - MathUtils - Class in com.oracle.truffle.api.utilities
-
This class contains mathematical methods that are not already provided by
Maththat are generally useful for language implementations. - maybeInsert(Node, T) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Inserts a node if a
NodeInterfacedynamically implementsNode. - maybeInsert(Node, T[]) - Static method in class com.oracle.truffle.api.dsl.DSLSupport
-
Inserts a node array if a
NodeInterface[] dynamically implementsNode[]. - MEGAMORPHIC - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node represents a megamorphic version of an operation.
- MERGE_EXPLODE - Enum constant in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
like
ExplodeLoop.LoopExplosionKind.FULL_EXPLODE, but copies of the loop body that have the exact same state (all local variables have the same value) are merged. - Message - Class in com.oracle.truffle.api.library
-
Represents a description of library message.
- Message(Class<? extends Library>, String, int, boolean, Class<?>, Class<?>...) - Constructor for class com.oracle.truffle.api.library.Message
- Message(Class<? extends Library>, String, int, Class<?>, Class<?>...) - Constructor for class com.oracle.truffle.api.library.Message
- Method Exports - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- methodName() - Element in annotation interface com.oracle.truffle.api.dsl.GeneratedBy
- mimeType(String) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
- mimeType(String) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
- mimeTypeIs(String...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that declare one of the given mime-types.
- MONOMORPHIC - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node represents a specialized monomorphic version of an operation.
- move(TruffleFile, CopyOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Moves or renames the file.
- Multiple sessions - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- multiplyHigh(int, int) - Static method in class com.oracle.truffle.api.ExactMath
- multiplyHigh(long, long) - Static method in class com.oracle.truffle.api.ExactMath
- multiplyHighUnsigned(int, int) - Static method in class com.oracle.truffle.api.ExactMath
- multiplyHighUnsigned(long, long) - Static method in class com.oracle.truffle.api.ExactMath
- Multi-threading - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- MutableTruffleString - Class in com.oracle.truffle.api.strings
-
Represents a mutable variant of a
TruffleString. - MutableTruffleString.AsManagedNode - Class in com.oracle.truffle.api.strings
-
Node to get the given
AbstractTruffleStringas a managedMutableTruffleString, meaning that the resulting string's backing memory is not a native pointer. - MutableTruffleString.AsMutableTruffleStringNode - Class in com.oracle.truffle.api.strings
-
Node to get a
AbstractTruffleStringas aMutableTruffleString. - MutableTruffleString.ConcatNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
MutableTruffleStringby concatenating two strings. - MutableTruffleString.ForceEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to forcibly assign any encoding to a string.
- MutableTruffleString.FromByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
MutableTruffleStringfrom a byte array. - MutableTruffleString.FromNativePointerNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
MutableTruffleStringfrom an interop object representing a native pointer. - MutableTruffleString.SubstringByteIndexNode - Class in com.oracle.truffle.api.strings
-
MutableTruffleString.SubstringNode, but with byte indices. - MutableTruffleString.SubstringNode - Class in com.oracle.truffle.api.strings
-
Node to create a new mutable substring of a string.
- MutableTruffleString.SwitchEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to get a given string in a specific encoding.
- MutableTruffleString.WriteByteNode - Class in com.oracle.truffle.api.strings
-
Node to write a byte into a mutable string.
N
- Naive and aware dates and times - Search tag in class com.oracle.truffle.api.interop.InteropLibrary
- Section
- name() - Element in annotation interface com.oracle.truffle.api.dsl.NodeField
- name() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
The name of the instrument in an arbitrary format for humans.
- name() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage
-
Returns the message simple name to export.
- name() - Element in annotation interface com.oracle.truffle.api.Option
-
Returns a custom name for the option.
- name() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique name of your language.
- name(String) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
-
Specifies a name to the
to-be-builtSource. - name(String) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
-
Specifies a name to the
to-be-builtSource. - NAME - Static variable in class com.oracle.truffle.api.instrumentation.StandardTags.ReadVariableTag
-
Property of the node object that contains name of the variable.
- NAME - Static variable in class com.oracle.truffle.api.instrumentation.StandardTags.WriteVariableTag
-
Property of the node object that contains name of the variable.
- NativeAllocator - Interface in com.oracle.truffle.api.strings
-
An allocation function for native buffers.
- NATURAL - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Natural exit that occurs during normal context close.
- NearestSectionFilter - Class in com.oracle.truffle.api.instrumentation
-
Add a filter for source sections that are nearest to the given source position, according to the guest language control flow.
- NearestSectionFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
Builder to configure
NearestSectionFilterbefore creating its instance. - needsAllEncodings() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Deprecated.To enable all
TruffleStringencodings, it is sufficient to add theorg.graalvm.shadowed.jcodingsmodule to the language's module-inforequiresand ensure it is on the module path when languages are loaded. If the module can be found, and at least one languages requires it, all encodings are automatically enabled. When languages are loaded from the class path (i.e. as an unnamed module), having jcodings on the class path is enough to enable it. - NEVER_VALID - Static variable in interface com.oracle.truffle.api.Assumption
-
An assumption that is never valid.
- neverDefault() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Returns
trueif the cache initializer never returns the default value of its parameter type at runtime. - NeverDefault - Annotation Interface in com.oracle.truffle.api.dsl
-
Useful to annotate methods, fields or parameters bound by any DSL expression to indicate that it never returns a
nullor default primitive value. - neverPartOfCompilation() - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that this code position should never be reached during compilation.
- neverPartOfCompilation(String) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that this code position should never be reached during compilation.
- newBufferedReader() - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for reading returning a
BufferedReaderto access the file content. - newBufferedReader(Charset) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for reading returning a
BufferedReaderto access the file content. - newBufferedWriter(Charset, OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for writing returning an
BufferedWriter. - newBufferedWriter(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for writing returning an
BufferedWriter. - newBuilder() - Static method in class com.oracle.truffle.api.debug.StepConfig
-
Create a new step configuration builder.
- newBuilder() - Static method in class com.oracle.truffle.api.debug.SuspensionFilter
-
Returns a builder for creating a new suspension filter.
- newBuilder() - Static method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Builds a new frame descriptor with index-based frame slots.
- newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.AllocationEventFilter
-
Creates a new
AllocationEventFilterinstance through aAllocationEventFilter.Builder. - newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.SourceFilter
-
Creates a new
SourceFilterexpression using abuilderpattern. - newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
-
Creates a new
SourceSectionFilterexpression using abuilderpattern. - newBuilder() - Static method in class com.oracle.truffle.api.object.Shape
-
Creates a new initial shape builder.
- newBuilder(int) - Static method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Builds a new frame descriptor with index-based frame slots.
- newBuilder(int, int) - Static method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter
-
Creates a new
NearestSectionFilterusing abuilderpattern. - newBuilder(Shape) - Static method in class com.oracle.truffle.api.object.Shape
-
Creates a new derived shape builder that allows changing a root shape's flags and dynamic type and adding constant properties.
- newBuilder(Source) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new breakpoint builder based on a
Source. - newBuilder(Source) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new source builder that inherits from the given Source.
- newBuilder(SourceSection) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new breakpoint builder based on the textual region of a guest language source element.
- newBuilder(TruffleLanguage<?>) - Static method in class com.oracle.truffle.api.staticobject.StaticShape
-
Creates a new static shape builder.
- newBuilder(String, TruffleFile) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new file based source builder from a given file.
- newBuilder(String, Reader, String) - Static method in class com.oracle.truffle.api.source.Source
-
Creates new character based literal source from a reader.
- newBuilder(String, CharSequence, String) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new character based literal source from a character sequence.
- newBuilder(String, URL) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new URL based source builder from a given URL.
- newBuilder(String, ByteSequence, String) - Static method in class com.oracle.truffle.api.source.Source
-
Creates a new byte based literal source from a byte sequence.
- newBuilder(URI) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new breakpoint builder based on a URI location.
- newByteChannel(Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens or creates a file returning a
SeekableByteChannelto access the file content. - newContextBuilder() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Deprecated.use
TruffleLanguage.Env.newInnerContextBuilder(String...)instead. Note that the replacement method configures the context differently by default. To restore the old behavior:newInnerContextBuilder() .initializeCreatorContext(true).inheritAllAccess(true).build() - newDirectoryStream() - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a directory, returning a
DirectoryStreamto iterate over all entries in the directory. - newExceptionBuilder(boolean, boolean) - Static method in class com.oracle.truffle.api.debug.Breakpoint
-
Creates a new exception breakpoint builder.
- newInnerContextBuilder(String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Returns a new context builder useful to create inner context instances.
- newInputStream(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for reading returning an
InputStreamto access the file content. - newOutputStream(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Opens a file for writing returning an
OutputStream. - newProcessBuilder(String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a new process builder with the specified operating program and arguments.
- newTruffleThreadBuilder(Runnable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Creates a builder for threads that have access to the given context.
- nextClearBit(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the index of the first bit that is set to
falsethat occurs on or after the specified starting index. - Next debugging action - Search tag in class com.oracle.truffle.api.debug.SuspendedEvent
- Section
- nextSetBit(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the index of the first bit that is set to
truethat occurs on or after the specified starting index. - nextUncached() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Shorthand for calling the uncached version of
TruffleStringIterator.NextNode. - NO_ARGUMENT - Static variable in class com.oracle.truffle.api.nodes.BlockNode
-
Use when no argument is needed for the block node.
- NO_FILTER - Static variable in interface com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter
- Node - Class in com.oracle.truffle.api.nodes
-
Abstract base class for all Truffle nodes.
- Node() - Constructor for class com.oracle.truffle.api.nodes.Node
- Node.Child - Annotation Interface in com.oracle.truffle.api.nodes
-
Marks fields that represent child nodes of this node.
- Node.Children - Annotation Interface in com.oracle.truffle.api.nodes
-
Marks array fields that are children of this node.
- NodeChild - Annotation Interface in com.oracle.truffle.api.dsl
- NodeChildren - Annotation Interface in com.oracle.truffle.api.dsl
- NodeClass - Class in com.oracle.truffle.api.nodes
-
Information about a
Nodeclass. - NodeClass(Class<? extends Node>) - Constructor for class com.oracle.truffle.api.nodes.NodeClass
- NodeCloneable - Class in com.oracle.truffle.api.nodes
-
Declarative base class for node fields that are to be cloned together with the containing node.
- NodeCloneable() - Constructor for class com.oracle.truffle.api.nodes.NodeCloneable
-
Constructor for subclasses.
- NodeCost - Enum Class in com.oracle.truffle.api.nodes
-
Deprecated.in 24.1 without replacement
- NodeFactory<T> - Interface in com.oracle.truffle.api.dsl
-
Enables the dynamic creation of generated nodes.
- NodeField - Annotation Interface in com.oracle.truffle.api.dsl
- NodeFields - Annotation Interface in com.oracle.truffle.api.dsl
-
A
NodeFieldselement defines a field for the generatedNode. - NodeInfo - Annotation Interface in com.oracle.truffle.api.nodes
-
Annotation for providing additional information on nodes.
- NodeInterface - Interface in com.oracle.truffle.api.nodes
-
Common base interface for all Truffle nodes.
- NodeLibrary - Class in com.oracle.truffle.api.interop
-
Node Library provides access to guest language information associated with a particular
Nodelocation. - NodeLibrary() - Constructor for class com.oracle.truffle.api.interop.NodeLibrary
- nodeReplaced(Node, Node, CharSequence) - Method in interface com.oracle.truffle.api.ReplaceObserver
-
Returns
trueif the event is consumed and no parent nodes should be notified by for replaces. - NodeUtil - Class in com.oracle.truffle.api.nodes
-
Utility class that manages the special access methods for node instances.
- NodeUtil.NodeCountFilter - Interface in com.oracle.truffle.api.nodes
- NodeVisitor - Interface in com.oracle.truffle.api.nodes
-
Visitor for trees of nodes.
- nonAtomicReplace(Node, T, CharSequence) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- NONE - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node has literally no costs and should be ignored for heuristics.
- NonIdempotent - Annotation Interface in com.oracle.truffle.api.dsl
-
Methods annotated with
NonIdempotentmust be methods that may cause side effects but may not always cause the same side effects for repeated invocations with the same parameters. - normalize() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a
TruffleFilewith removed redundant name elements in it's path. - notifyExternalMutation() - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Notify this mutable string of an external modification of its internal content.
- notifyInserted(Node) - Method in class com.oracle.truffle.api.nodes.Node
-
Notifies the framework about the insertion of one or more nodes during execution.
- notifyTransferToInterpreter() - Method in interface com.oracle.truffle.api.TruffleRuntime
-
Internal API method.
O
- object() - Static method in class com.oracle.truffle.api.utilities.JSONHelper
-
Deprecated.
- Object - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- ObjectType - Class in com.oracle.truffle.api.object
-
Deprecated.no replacement; dynamic type no longer needs to inherit from
ObjectType. - ObjectType() - Constructor for class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- onCancelled(Runnable) - Method in class com.oracle.truffle.api.TruffleContext.Builder
- onClosed(Runnable) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Specifies a
Runnablethat will be executed when some operation on the new context attenmpted while the context is alreadyTruffleContext.close()closed}. - onContextClosed(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about close of a polyglot context.
- onContextCreated(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about creation of a new polyglot context.
- onContextResetLimits(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Invoked when the resource consumption limits were reset for a particular context.
- onCreate(TruffleInstrument.Env) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Invoked once on each newly allocated
TruffleInstrumentinstance. - onDispose(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked when an event node is removed from the AST.
- onDispose(TruffleInstrument.Env) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Invoked once on an instance when it becomes disabled, possibly because the underlying engine has been closed.
- onEnter(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately before the
instrumented nodeis executed. - onEnter(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should get invoked before the node is invoked.
- onEnter(AllocationEvent) - Method in interface com.oracle.truffle.api.instrumentation.AllocationListener
-
Notifies about an intent to allocate or re-allocate a guest language value.
- onEnter(EventContext, VirtualFrame) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked immediately before the
instrumented nodeis executed. - onEnter(Object, long, long) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Report an intent to allocate a new guest language value, or re-allocate an existing one.
- onEnterThread(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsActivationListener
-
Notified when a context is entered on the
current thread. - oneShot() - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies that the breakpoint will disable itself after suspending execution, i.e.
- onExecute(ExecuteSourceEvent) - Method in interface com.oracle.truffle.api.instrumentation.ExecuteSourceListener
-
Invoked whenever a new
sourceis executed. - onExited(Consumer<Integer>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Specifies a
Consumerthat will be executed when the new context ishard-exitedand the exit exception is about to reach the outer context, or when some operation on the new context is attempted while the context is already hard-exited. - onFinalize(TruffleInstrument.Env) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Invoked once on an instance just before all instruments and languages are going to be disposed, possibly because the underlying engine is going to be closed.
- onInputValue(VirtualFrame, EventContext, int, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately after each return value event of instrumented input child node that match the
input filter. - onInputValue(EventContext, VirtualFrame, EventContext, int, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Deprecated.in 20.0. input value notifications are not functional for
listeners. Useevent node factoriesinstead. - onLanguageContextCreate(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies before creation of a language-specific context in an existing polyglot context.
- onLanguageContextCreated(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about creation of a language-specific context in an existing polyglot context.
- onLanguageContextCreateFailed(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies after failed creation of a language-specific context in an existing polyglot context.
- onLanguageContextDisposed(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about disposal of a language-specific context in an existing polyglot context.
- onLanguageContextFinalized(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about finalization of a language-specific context in an existing polyglot context.
- onLanguageContextInitialize(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies before initialization of a language-specific context in an existing polyglot context.
- onLanguageContextInitialized(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies about initialization of a language-specific context in an existing polyglot context.
- onLanguageContextInitializeFailed(TruffleContext, LanguageInfo) - Method in interface com.oracle.truffle.api.instrumentation.ContextsListener
-
Notifies after failed initialization of a language-specific context in an existing polyglot context.
- onLeaveThread(TruffleContext) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsActivationListener
-
Notified when a context is entered on the
current thread. - onLoad(LoadSourceEvent) - Method in interface com.oracle.truffle.api.instrumentation.LoadSourceListener
-
Invoked whenever a new
sourceis loaded. - onLoad(LoadSourceSectionEvent) - Method in interface com.oracle.truffle.api.instrumentation.LoadSourceSectionListener
-
Invoked whenever a new
source sectionis loaded. - onReplace(Node, CharSequence) - Method in class com.oracle.truffle.api.nodes.Node
-
Intended to be implemented by subclasses of
Nodeto receive a notification when the node is rewritten. - onResume(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked on a resume of the execution on the current thread after a
yield. - onResume(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should be invoked when execution is resumed after a
yield. - onResume(EventContext, VirtualFrame) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked on a resume of the execution on the current thread after a
yield. - onReturnExceptional(VirtualFrame, Throwable) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately after the execution of an
instrumented noderesulted in an exception. - onReturnExceptional(EventContext, VirtualFrame, Throwable) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked immediately after an
instrumented nodedid not successfully execute. - onReturnExceptionalOrUnwind(VirtualFrame, Throwable, boolean) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should get invoked if the node did not complete successfully and handle a possible unwind.
- onReturnValue(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked immediately after an
instrumented nodeis successfully executed. - onReturnValue(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should get invoked after the node is invoked successfully.
- onReturnValue(AllocationEvent) - Method in interface com.oracle.truffle.api.instrumentation.AllocationListener
-
Notifies about an allocated guest language value.
- onReturnValue(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked immediately after an
instrumented nodeis successfully executed. - onReturnValue(Object, long, long) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Report an allocation of a new one or re-allocation of an existing guest language value.
- onSuspend(SuspendedEvent) - Method in interface com.oracle.truffle.api.debug.SuspendedCallback
- onThreadDisposed(TruffleContext, Thread) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsListener
-
Notifies about disposal of thread-related resources that were used for a guest language execution in a
TruffleContext. - onThreadInitialized(TruffleContext, Thread) - Method in interface com.oracle.truffle.api.instrumentation.ThreadsListener
-
Notifies about initialization of a thread to be used for a guest language execution in a
TruffleContext. - onUnwind(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked when an
instrumented nodeis unwound from the execution stack byunwind throwablethrown in this node implementation. - onUnwind(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked when an
instrumented nodeis unwound from the execution stack byunwind throwablethrown in this listener instance. - onYield(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Invoked on a yield of the current thread.
- onYield(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
-
Should be invoked when the node yields execution.
- onYield(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
-
Invoked on a yield of the current thread.
- OptimizationFailedException - Exception Class in com.oracle.truffle.api
- OptimizationFailedException(Throwable, RootCallTarget) - Constructor for exception class com.oracle.truffle.api.OptimizationFailedException
- option(String, String) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Overrides an option of the inner context.
- Option - Annotation Interface in com.oracle.truffle.api
-
Describes the attributes of an option whose
valueis in a static field annotated by this annotation. - OPTION_PREFIX - Static variable in class com.oracle.truffle.api.object.Layout
-
Deprecated.
- Option.Group - Annotation Interface in com.oracle.truffle.api
-
Must be applied on classes containing
optionfields to specify a name prefix if the prefix cannot be inferred by language or instrument. - optional() - Element in annotation interface com.oracle.truffle.api.InternalResource.Id
-
Marks the annotated resource as optional.
- options(Map<String, String>) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets multiple options using a map.
- out() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Standard output writer for
Enginethisinstrumentis being executed in. - out() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Standard output writer provided by
Context.Builder.out(OutputStream)this language is being executed in. - out(OutputStream) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the standard output stream to be used for the context.
P
- parameters() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Specifies the bindings used for the $parameters variable in cached or uncached initializers.
- parse(Source, String...) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Evaluates source of (potentially different) language using the current context.The names of arguments are parameters for the resulting {#link CallTarget} that allow the
sourceto reference the actual parameters passed toCallTarget.call(java.lang.Object...). - parse(TruffleLanguage.InlineParsingRequest) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Parses the
provided source snippetat theprovided locationand generates its appropriate AST representation. - parse(TruffleLanguage.ParsingRequest) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Parses the
provided sourceand generates its appropriate AST representation. - PARSE_ERROR - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates a parser or syntax error.
- Parse Caching - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- parseDoubleUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseDoubleNode. - parseInline(Source, Node, MaterializedFrame) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Parses source snippet of the node's language at the provided node location.
- parseInternal(Source, String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Parses the source of a public or internal language and returns the parse result as
CallTarget. - parseIntUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseIntNode. - parseIntUncached(int) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseIntNode. - parseLongUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseLongNode. - parseLongUncached(int) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ParseLongNode. - parsePublic(Source, String...) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Parses the source of a public language and returns the parse result as
CallTarget. - partialEvaluationConstant(boolean) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)forbooleanvalues. - partialEvaluationConstant(double) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)fordoublevalues. - partialEvaluationConstant(float) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)forfloatvalues. - partialEvaluationConstant(int) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)forintvalues. - partialEvaluationConstant(long) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Specialized version of
CompilerAsserts.compilationConstant(Object)forlongvalues. - partialEvaluationConstant(Object) - Static method in class com.oracle.truffle.api.CompilerAsserts
-
Assertion that the corresponding value is reduced to a constant during the initial partial evaluation phase.
- patchContext(C, TruffleLanguage.Env) - Method in class com.oracle.truffle.api.TruffleLanguage
-
Notifies the language with pre-initialized context about
TruffleLanguage.Envchange. - pause() - Method in class com.oracle.truffle.api.TruffleContext
-
Pause execution on all threads for this context.
- perform(ThreadLocalAction.Access) - Method in class com.oracle.truffle.api.ThreadLocalAction
-
Performs the thread local action on a given thread.
- poll(Node) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Polls a safepoint at the provided location.
- pollHere(Node) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Similar to
TruffleSafepoint.poll(Node)but with exact location. - pollOSRBackEdge(BytecodeOSRNode) - Static method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Reports a back edge, returning whether to try performing OSR.
- Polyglot Bindings - Search tag in class com.oracle.truffle.api.TruffleLanguage
- Section
- POLYMORPHIC - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node represents a polymorphic version of an operation.
- prepareContinue() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in Continue mode when guest language program execution resumes.
- prepareForAOT() - Method in class com.oracle.truffle.api.nodes.RootNode
-
Allows languages to perform actions before a root node is attempted to be compiled without prior call to
RootNode.execute(VirtualFrame). - prepareForAOT(RootNode) - Static method in class com.oracle.truffle.api.dsl.AOTSupport
-
Recursively prepares an AST for AOT compilation.
- prepareForAOT(TruffleLanguage<?>, RootNode) - Method in interface com.oracle.truffle.api.dsl.GenerateAOT.Provider
-
Called and implemented by framework code.
- prepareForAOT(TruffleLanguage<?>, RootNode, Node) - Method in interface com.oracle.truffle.api.dsl.GenerateAOT.Provider
-
Called and implemented by framework code.
- prepareKill() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to terminate the suspended execution represented by this event.
- prepareOSR(int) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Initialization hook which will be invoked before OSR compilation.
- prepareStepInto(int) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step into mode when guest language program execution resumes.
- prepareStepInto(StepConfig) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step into mode when guest language program execution resumes.
- prepareStepOut(int) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step out mode when guest language program execution resumes.
- prepareStepOut(StepConfig) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step out mode when guest language program execution resumes.
- prepareStepOver(int) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step over mode when guest language program execution resumes.
- prepareStepOver(StepConfig) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to execute in step over mode when guest language program execution resumes.
- prepareUnwindFrame(DebugStackFrame) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to unwind a frame.
- prepareUnwindFrame(DebugStackFrame, DebugValue) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Prepare to unwind a frame.
- previousUncached() - Method in class com.oracle.truffle.api.strings.TruffleStringIterator
-
Shorthand for calling the uncached version of
TruffleStringIterator.PreviousNode. - PrimitiveValueProfile - Class in com.oracle.truffle.api.profiles
-
Represents a
ValueProfilethat speculates on the primitive equality or object identity of values. - printCompactTree(OutputStream, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printCompactTreeToString(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printHistogram(PrintStream) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Prints the specialization histogram to the provided stream.
- printHistogram(PrintWriter) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
-
Prints the specialization histogram to the provided writer.
- printSourceAttributionTree(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printSourceAttributionTree(OutputStream, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printSourceAttributionTree(PrintWriter, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printStackTrace() - Method in exception class com.oracle.truffle.api.debug.DebugException
- printStackTrace(PrintStream) - Method in exception class com.oracle.truffle.api.debug.DebugException
- printStackTrace(PrintWriter) - Method in exception class com.oracle.truffle.api.debug.DebugException
- printSyntaxTags(Object) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Originally returned the tags if any, associated with a node; now unsupported.
- printTree(OutputStream, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
-
Prints a human readable form of a
NodeAST to the givenPrintStream. - printTree(PrintWriter, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- printTreeToString(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- priority() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Specifies the priority for service provider lookup based default exports.
- ProbeNode - Class in com.oracle.truffle.api.instrumentation
-
Represents an event sink for instrumentation events that is embedded in the AST using wrappers if needed.
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.ConditionProfile
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
- profile(boolean) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(byte) - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
- profile(byte) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(char) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(double) - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
- profile(double) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(float) - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
- profile(float) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(int) - Method in class com.oracle.truffle.api.profiles.IntValueProfile
- profile(int) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(long) - Method in class com.oracle.truffle.api.profiles.LongValueProfile
- profile(long) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(short) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
- profile(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
- profile(Node, boolean) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
- profile(Node, byte) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- profile(Node, double) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- profile(Node, float) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- profile(Node, int) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- profile(Node, long) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- profile(Node, T) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- profile(T) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- profile(T) - Method in class com.oracle.truffle.api.profiles.ValueProfile
- Profile - Class in com.oracle.truffle.api.profiles
-
A profile is a Truffle utility class that uses the
Truffle compiler directivesto guard for and/or forward runtime information to the compiler. - profileCounted(long) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- profileCounted(Node, long) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Provides an alternative way to profile counted loops with less interpreter footprint.
- property(StaticProperty, Class<?>, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticShape.Builder
-
Adds a
StaticPropertyto the static shape to be constructed. - Property - Class in com.oracle.truffle.api.object
-
Property objects represent the mapping between property identifiers (keys) and storage locations.
- Property() - Constructor for class com.oracle.truffle.api.object.Property
-
Deprecated.do not use.
- propertyAssumptions(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
If
true, enables the use of property assumptions for this object shape and any derived shapes (default:false). - PropertyGetter - Class in com.oracle.truffle.api.object
-
A lightweight property getter that allows getting the value of a
DynamicObjectproperty without any lookup or cache dispatch. - ProvidedTags - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Specifies a set of tags that are provided by a
languageimplementation. - Proxies - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- pushEncapsulatingNode() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Enables push and pop of the encapsulating node when a library transitions from cached to uncached.
- put(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the value of an existing property or adds a new property if no such property exists.
- putByte(byte[], int, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given byte at the given byte offset from the start of the buffer.
- putByte(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given byte at the given byte offset from the start of the buffer.
- putByteVolatile(byte[], long, byte) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putByte(byte[], long, byte). - putConstant(DynamicObject, Object, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Adds a property with a constant value or replaces an existing one.
- putDouble(byte[], int, double) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given double at the given byte offset from the start of the buffer.
- putDouble(byte[], long, double) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given double at the given byte offset from the start of the buffer.
- putDouble(DynamicObject, Object, double) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
- putFieldObject(Object, Node, Object) - Method in class com.oracle.truffle.api.nodes.NodeClass
- putFloat(byte[], int, float) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given float at the given byte offset from the start of the buffer.
- putFloat(byte[], long, float) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given float at the given byte offset from the start of the buffer.
- putHashEntry(DebugValue, DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Associates the specified value with the specified key in the hash map.
- putIfPresent(DynamicObject, Object, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the value of the property if present, otherwise returns
false. - putInt(byte[], int, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given int at the given byte offset from the start of the buffer.
- putInt(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given int at the given byte offset from the start of the buffer.
- putInt(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
- putIntVolatile(byte[], long, int) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putInt(byte[], long, int). - putLong(byte[], int, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given long at the given byte offset from the start of the buffer.
- putLong(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given long at the given byte offset from the start of the buffer.
- putLong(DynamicObject, Object, long) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
- putLongVolatile(byte[], long, long) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putLong(byte[], long, long). - putShort(byte[], int, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given short at the given byte offset from the start of the buffer.
- putShort(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Writes the given short at the given byte offset from the start of the buffer.
- putShortVolatile(byte[], long, short) - Method in class com.oracle.truffle.api.memory.ByteArraySupport
-
Volatile version of
ByteArraySupport.putShort(byte[], long, short). - putWithFlags(DynamicObject, Object, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Like
DynamicObjectLibrary.put(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object), but additionally assigns flags to the property.
Q
- querySourceSections(SourceSectionFilter) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Returns a filtered list of loaded
SourceSectioninstances. - queryTags(Node) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Returns an unmodifiable
Setof tag classes which where associated with this node.
R
- READ_ONLY - Enum constant in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
This mode allows to read the frame and provides read only access to its local variables.
- READ_WRITE - Enum constant in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
This mode allows to read the frame and provides read and write access to its local variables.
- readAllBytes() - Method in class com.oracle.truffle.api.TruffleFile
-
Reads a file content as bytes.
- readArrayElement(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value of an array element by index.
- readBuffer(Object, long, byte[], int, int) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads bytes from the receiver object into the specified byte array.
- readBufferByte(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the byte from the receiver object at the given byte offset from the start of the buffer.
- readBufferDouble(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the double from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferFloat(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the float from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferInt(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the int from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferLong(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the long from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readBufferShort(Object, ByteOrder, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the short from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- readByteUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ReadByteNode. - readCharUTF16Uncached(int) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ReadCharUTF16Node. - readDelegate(Library, Object) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Reads the delegate for a receiver.
- readDelegateExport(Object) - Method in interface com.oracle.truffle.api.library.LibraryExport.DelegateExport
-
Internal method for generated code only.
- Read from a URL - Search tag in class com.oracle.truffle.api.source.Source
- Section
- readHashValue(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value for the specified key.
- readHashValueOrDefault(Object, Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value for the specified key or returns the
defaultValuewhen the mapping for the specified key does not exist or is not readable. - Reading from a stream - Search tag in class com.oracle.truffle.api.source.Source
- Section
- Reading from bytes - Search tag in class com.oracle.truffle.api.source.Source
- Section
- readMember(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Reads the value of a given member.
- readResourceLines(Path) - Method in class com.oracle.truffle.api.InternalResource.Env
-
Reads a resource from the module, which owns the
InternalResourceimplementation class. - readSymbolicLink() - Method in class com.oracle.truffle.api.TruffleFile
-
Reads the target of a symbolic link.
- receiverType() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
The explicit receiver type to use if specified.
- receiverType() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary
-
Restricts the receiver type for exports that implement this library.
- redirectError(ProcessHandler.Redirect) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the standard error output destination.
- redirectErrorStream(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
If
truethe standard error output is merged into standard output. - redirectInput(ProcessHandler.Redirect) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the standard input source.
- redirectOutput(ProcessHandler.Redirect) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Sets the standard output destination.
- ReflectionLibrary - Class in com.oracle.truffle.api.library
-
The reflection library allows to send to and proxy messages of receivers.
- ReflectionLibrary() - Constructor for class com.oracle.truffle.api.library.ReflectionLibrary
-
Constructor for generated subclasses.
- regionEqualByteIndexUncached(int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RegionEqualByteIndexNode. - regionEqualByteIndexUncached(int, TruffleString.WithMask, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RegionEqualByteIndexNode. - regionEqualsUncached(int, AbstractTruffleString, int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RegionEqualNode. - regionEqualsWithOrMask(byte[], int, byte[], int, int, byte[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns
trueiff for all indicesifrom0(inclusive) tolength(exclusive),(a[offsetA + i] | mask[i]) == b[offsetB + i]holds. - regionEqualsWithOrMask(char[], int, char[], int, int, char[]) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns
trueiff for all indicesifrom0(inclusive) tolength(exclusive),(a[offsetA + i] | mask[i]) == b[offsetB + i]holds. - regionEqualsWithOrMask(String, int, String, int, int, String) - Static method in class com.oracle.truffle.api.ArrayUtils
-
Returns
trueiff for all indicesifrom0(inclusive) tolength(exclusive),(a.charAt(offsetA + i) | mask.charAt(i)) == b.charAt(offsetB + i)holds. - register(Class<?>, LibraryExport<?>...) - Static method in class com.oracle.truffle.api.library.LibraryExport
-
Called only by code generated by
ExportLibrary. - register(Class<T>, LibraryFactory<T>) - Static method in class com.oracle.truffle.api.library.LibraryFactory
- registerOnDispose(Closeable) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Registers
Closeablefor automatic close on context dispose. - registerService(Object) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Registers additional service.
- registerService(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Registers additional services provided by the language.
- relativize(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
- removeActiveListener(Consumer<Boolean>) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Remove a listener that is notified when
activevalue of this reporter changes. - removeArrayElement(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Remove an array element from the receiver object.
- removeBreakpointAddedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Remove a listener that was added by
Debugger.addBreakpointAddedListener(Consumer). - removeBreakpointRemovedListener(Consumer<Breakpoint>) - Method in class com.oracle.truffle.api.debug.Debugger
-
Remove a listener that was added by
Debugger.addBreakpointRemovedListener(Consumer). - removeHashEntry(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Removes the mapping for a given key from the hash map.
- removeHashEntry(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Removes the mapping for a given key from the receiver.
- removeKey(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Removes the property with the given key from the object.
- removeMember(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Removes a member from the receiver object.
- removeProperty(Property) - Method in class com.oracle.truffle.api.object.Shape
-
Remove the given property from the shape.
- RepeatingNode - Interface in com.oracle.truffle.api.nodes
-
A node that is repeatedly invoked as part of a Truffle loop control structure.
- repeatUncached(int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.RepeatNode. - replace(T) - Method in class com.oracle.truffle.api.nodes.Node
-
Replaces this node with another node.
- replace(T, CharSequence) - Method in class com.oracle.truffle.api.nodes.Node
-
Replaces this node with another node.
- replaceChild(Node, Node, Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- replacement() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns the value of the
replacementrecord component. - ReplacementString(TruffleString, int) - Constructor for record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Creates an instance of a
ReplacementStringrecord class. - ReplaceObserver - Interface in com.oracle.truffle.api
-
An observer that is notified whenever a child node is replaced.
- replaceProperty(Property, Property) - Method in class com.oracle.truffle.api.object.Shape
-
Replace a property in the shape.
- replaces() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares other specializations of the same operation to be replaced by this specialization.
- reportLoopCount(Node, int) - Static method in class com.oracle.truffle.api.nodes.LoopNode
-
Reports the execution count of a loop for which no
LoopNodewas used. - reportPolymorphicSpecialize() - Method in class com.oracle.truffle.api.nodes.Node
-
Notifies the runtime that this node specialized to a polymorphic state.
- ReportPolymorphism - Annotation Interface in com.oracle.truffle.api.dsl
-
Enables reporting of polymorphic specializations from this node or exported message to the runtime.
- ReportPolymorphism.Exclude - Annotation Interface in com.oracle.truffle.api.dsl
-
Nodes (and their subclasses) or specializations annotated with this annotation will be excluded from consideration when
reporting polymorphic specializations. - ReportPolymorphism.Megamorphic - Annotation Interface in com.oracle.truffle.api.dsl
-
Specializations annotated with this annotation are considered megamorphic.
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- REQUIRED_STATE_BITS - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- reset() - Method in class com.oracle.truffle.api.profiles.BranchProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.ConditionProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.IntValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.LongValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
-
Resets this profile to its uninitialized state.
- reset() - Method in class com.oracle.truffle.api.profiles.Profile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Resets this profile to its uninitialized state.
- reset(Node) - Method in class com.oracle.truffle.api.profiles.InlinedProfile
-
Resets this profile to its uninitialized state.
- resetInterrupted() - Method in interface com.oracle.truffle.api.TruffleSafepoint.Interrupter
-
Resets the interrupted state when executing on a thread after the thread was interrupted.
- resetShape(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Empties and resets the object to the given root shape, which must not contain any instance properties (but may contain properties with a constant value).
- resolve(Class<? extends Library>, String) - Static method in class com.oracle.truffle.api.library.Message
-
Resolves a message globally for a given library class and message name.
- resolve(Class<? extends Library>, String, boolean) - Static method in class com.oracle.truffle.api.library.Message
-
Resolves a message globally for a given library class and message name.
- resolve(Class<T>) - Static method in class com.oracle.truffle.api.library.LibraryFactory
-
Looks up the resolved library instance for a library class.
- resolve(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Resolves given string path representation against this
TruffleFile. - resolveListener(Breakpoint.ResolveListener) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Set a resolve listener.
- resolveSibling(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Resolves given string path representation against the parent of this
TruffleFile. - resolveSource(Source) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Resolve the source with respect to the actual
source path. - resolveValueClass(Object) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
-
Called to resolve the class of a value provided in
SpecializationStatistics.NodeStatistics.acceptExecute(int, Class). - restoreParentFrame(VirtualFrame, VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Restores the contents of the
osrFrameback into theparentFrameafter OSR. - restoreParentFrameFromArguments(Object[]) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Return the parent frame that was stored in an arguments array by a previous call to
BytecodeOSRNode.storeParentFrameInArguments(com.oracle.truffle.api.frame.VirtualFrame). - restoreStepping() - Method in class com.oracle.truffle.api.debug.Debugger
-
Restore the stepping on the current thread.
- Resumable Usage: - Search tag in class com.oracle.truffle.api.nodes.BlockNode
- Section
- resume(Thread) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Resumes the execution on a given thread if it has not been suspended yet.
- resume(Future<Void>) - Method in class com.oracle.truffle.api.TruffleContext
-
Resume previously paused execution on all threads for this context.
- resumeAll() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Resumes all suspended executions that have not yet been notified.
- resumeMethodPrefix() - Element in annotation interface com.oracle.truffle.api.instrumentation.GenerateWrapper
-
Prefix of methods that resume execution after
yield. - RETURN_NEGATIVE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
This mode will cause a negative value to be returned in all error cases.
- REUSE - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Use a single
TruffleLanguageinstance per context instance, but allow the reuse of a language instance when a context wasdisposed. - rewriteOn() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Declares an event guards that trigger re-specialization in case an exception is thrown in the specialization body.
- ROOT - Enum constant in enum class com.oracle.truffle.api.debug.SourceElement
-
Denotes program locations that represent a function of a guest language.
- RootCallTarget - Interface in com.oracle.truffle.api
-
Represents the target of a call to a
RootNode, i.e., to another tree of nodes. - rootInstance(DebugValue) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies the breakpoint's root instance.
- rootNameIs(Predicate<String>) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Adds custom predicate to filter inclusion for
root names. - RootNode - Class in com.oracle.truffle.api.nodes
-
Represents the root node in a Truffle AST.
- RootNode(TruffleLanguage<?>) - Constructor for class com.oracle.truffle.api.nodes.RootNode
-
Creates new root node with a given language instance.
- RootNode(TruffleLanguage<?>, FrameDescriptor) - Constructor for class com.oracle.truffle.api.nodes.RootNode
-
Creates new root node given an language environment and frame descriptor.
- rootSourceSectionEquals(SourceSection...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all root source sections that equal one of the given source sections.
- runInContext(Supplier<T>) - Method in class com.oracle.truffle.api.debug.DebugContext
-
Run supplied operations in this context.
- RUNTIME_ERROR - Enum constant in enum class com.oracle.truffle.api.interop.ExceptionType
-
Indicates a guest language error.
S
- S1 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
One byte per array element.
- S2 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Two bytes per array element.
- S4 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Four bytes per array element.
- sandbox() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Specifies the most strict sandbox policy in which the instrument can be used.
- sandbox() - Element in annotation interface com.oracle.truffle.api.Option
-
Specifies the most strict sandbox policy in which the option can be used.
- sandbox() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Specifies the most strict sandbox policy in which the language can be used.
- saveInputValue(VirtualFrame, int, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
-
Saves an input value reported by
ExecutionEventNode.onInputValue(VirtualFrame, EventContext, int, Object)for use in later events. - send(Object, Message, Object...) - Method in class com.oracle.truffle.api.library.ReflectionLibrary
-
Sends a given message to the target receiver with the provided arguments.
- Sending Messages - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- services() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
Declarative list of classes this instrument is known to provide.
- services() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Declarative list of classes this language is known to provide.
- Session lifetime - Search tag in class com.oracle.truffle.api.debug.DebuggerSession
- Section
- set(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Sets the value using another
DebugValue. - set(Node) - Method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
-
Sets the current encapsulating node for the current thread and returns its previous value.
- set(Node, boolean) - Method in class com.oracle.truffle.api.dsl.InlineSupport.BooleanField
-
This method sets the value of the target field giving the a target node.
- set(Node, byte) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ByteField
-
This method sets the value of the target field giving the a target node.
- set(Node, char) - Method in class com.oracle.truffle.api.dsl.InlineSupport.CharField
-
This method sets the value of the target field giving the a target node.
- set(Node, double) - Method in class com.oracle.truffle.api.dsl.InlineSupport.DoubleField
-
This method sets the value of the target field giving the a target node.
- set(Node, float) - Method in class com.oracle.truffle.api.dsl.InlineSupport.FloatField
-
This method sets the value of the target field giving the a target node.
- set(Node, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.IntField
-
This method sets the value of the target field giving the a target node.
- set(Node, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
This method sets the value of the target field giving the a target node.
- set(Node, long) - Method in class com.oracle.truffle.api.dsl.InlineSupport.LongField
-
This method sets the value of the target field giving the a target node.
- set(Node, short) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ShortField
-
This method sets the value of the target field giving the a target node.
- set(Node, T) - Method in class com.oracle.truffle.api.dsl.InlineSupport.ReferenceField
-
This method sets the value of the target field giving the a target node.
- set(DynamicObject, Object, Shape) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- set(DynamicObject, Object, Shape, Shape) - Method in class com.oracle.truffle.api.object.Location
-
Deprecated.
- set(Object) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Deprecated.
- set(T) - Method in class com.oracle.truffle.api.utilities.AssumedValue
-
Set a new value, which will be picked up the next time
AssumedValue.get()is called. - setAllowActions(boolean) - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Allows to temporarily delay all thread local actions on the current thread.
- setAllowSideEffects(boolean) - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Allows to temporarily delay side-effecting thread local actions on the current thread.
- setAsynchronousStackDepth(int) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Request for languages to provide stack frames of scheduled asynchronous execution.
- setAsynchronousStackDepth(int) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Request for languages to provide stack frames of scheduled asynchronous execution.
- setAttribute(TruffleFile.AttributeDescriptor<T>, T, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets a single file's attribute.
- setAuxiliarySlot(int, Object) - Method in interface com.oracle.truffle.api.frame.Frame
-
Sets the value of the given auxiliary slot.
- setBlocked(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible<T>, T, Runnable, Consumer<Throwable>) - Method in class com.oracle.truffle.api.TruffleSafepoint
- setBlockedFunction(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.InterruptibleFunction<T, R>, T, Runnable, Consumer<Throwable>) - Method in class com.oracle.truffle.api.TruffleSafepoint
-
Transitions the current thread into a blocked state and calls an interruptible functional method.
- setBlockedThreadInterruptible(Node, TruffleSafepoint.Interruptible<T>, T) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Short-cut method to allow setting the blocked status for methods that throw
InterruptedExceptionand support interrupting usingThread.interrupt(). - setBlockedThreadInterruptibleFunction(Node, TruffleSafepoint.InterruptibleFunction<T, R>, T) - Static method in class com.oracle.truffle.api.TruffleSafepoint
-
Short-cut method to allow setting the blocked status for methods that throw
InterruptedExceptionand support interrupting usingThread.interrupt(). - setBlockedWithException(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible<T>, T, Runnable, Consumer<Throwable>) - Method in class com.oracle.truffle.api.TruffleSafepoint
- setBoolean(int, boolean) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type boolean.
- setBoolean(DynamicObject, boolean, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
-
Deprecated.
- setBoolean(Object, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the boolean value represented by this StaticProperty and stored in the specified static object.
- setBooleanStatic(int, boolean) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type boolean.
- setBooleanVolatile(Object, boolean) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the boolean value represented by this StaticProperty and stored in the specified static object.
- setBreakpointsActive(boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Deprecated.
- setBreakpointsActive(Breakpoint.Kind, boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set whether breakpoints of the given kind are active in this session.
- setByte(int, byte) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type byte.
- setByte(Object, byte) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the byte value represented by this StaticProperty and stored in the specified static object.
- setByteStatic(int, byte) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type byte.
- setByteVolatile(Object, byte) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the byte value represented by this StaticProperty and stored in the specified static object.
- setChar(Object, char) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the char value represented by this StaticProperty and stored in the specified static object.
- setCharVolatile(Object, char) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the char value represented by this StaticProperty and stored in the specified static object.
- setCondition(String) - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Assigns to this breakpoint a boolean expression whose evaluation will determine whether the breakpoint suspends execution (i.e.
- setContextsListener(DebugContextsListener, boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a
listenerto be notified about changes in contexts in guest language application. - setCreationTime(FileTime, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's creation time.
- setCurrentWorkingDirectory(TruffleFile) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Sets the current working directory.
- setDouble(int, double) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type double.
- setDouble(DynamicObject, double, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
-
Deprecated.
- setDouble(Object, double) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the double value represented by this StaticProperty and stored in the specified static object.
- setDoubleStatic(int, double) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type double.
- setDoubleVolatile(Object, double) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the double value represented by this StaticProperty and stored in the specified static object.
- setDynamicType(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the object's dynamic type identifier.
- setDynamicType(Object) - Method in class com.oracle.truffle.api.object.Shape
-
Returns a copy of the shape, with the dynamic object type identifier set to
dynamicType. - setEnabled(boolean) - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Controls whether this breakpoint is currently allowed to suspend execution (true by default).
- setFlags(int) - Method in class com.oracle.truffle.api.object.Shape
-
Returns a copy of the shape, with the shape flags set to
newFlags. - setFloat(int, float) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type float.
- setFloat(Object, float) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the float value represented by this StaticProperty and stored in the specified static object.
- setFloatStatic(int, float) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type float.
- setFloatVolatile(Object, float) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the float value represented by this StaticProperty and stored in the specified static object.
- setIgnoreCount(int) - Method in class com.oracle.truffle.api.debug.Breakpoint
-
Changes the number of times the breakpoint must be executed before it hits (i.e.
- setInt(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type int.
- setInt(DynamicObject, int, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
-
Deprecated.
- setInt(Object, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the int value represented by this StaticProperty and stored in the specified static object.
- setIntStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type int.
- setIntVolatile(Object, int) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the int value represented by this StaticProperty and stored in the specified static object.
- setLastAccessTime(FileTime, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's last access time.
- setLastModifiedTime(FileTime, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's last modified time.
- setLong(int, long) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type long.
- setLong(DynamicObject, long, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
-
Deprecated.
- setLong(Object, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the long value represented by this StaticProperty and stored in the specified static object.
- setLongStatic(int, long) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type long.
- setLongVolatile(Object, long) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the long value represented by this StaticProperty and stored in the specified static object.
- setObject(int, Object) - Method in interface com.oracle.truffle.api.frame.Frame
-
Write access to a local variable of type
Object. - setObject(Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the
Objectvalue represented by this StaticProperty and stored in the specified static object. - setObjectArray(DynamicObject, Object[]) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- setObjectStatic(int, Object) - Method in interface com.oracle.truffle.api.frame.Frame
-
Static write access to a local variable of type
Object. - setObjectVolatile(Object, Object) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the
Objectvalue represented by this StaticProperty and stored in the specified static object. - setOSRMetadata(Object) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Sets the OSR metadata for this instance.
- setPosixPermissions(Set<? extends PosixFilePermission>, LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Sets the file's Posix permissions.
- setPrimitiveArray(DynamicObject, int[]) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- setPropertyFlags(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets the property flags associated with the requested property.
- setReturnValue(DebugValue) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
-
Change the return value.
- setShape(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Layout.Access
-
Deprecated.
- setShapeFlags(DynamicObject, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Sets language-specific object shape flags, changing the object's shape if need be.
- setShort(Object, short) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the short value represented by this StaticProperty and stored in the specified static object.
- setShortVolatile(Object, short) - Method in class com.oracle.truffle.api.staticobject.StaticProperty
-
Sets the short value represented by this StaticProperty and stored in the specified static object.
- setShowHostStackFrames(boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set to provide host information in stack traces.
- setSlotKind(int, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
-
Sets the
FrameSlotKindof the given indexed slot. - setSourcePath(Iterable<URI>) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a list of source path roots that are used to resolve relative
source URIs. - setStackTrace(StackTraceElement[]) - Method in exception class com.oracle.truffle.api.debug.DebugException
-
Unsupported,
DebugExceptioninstances are not writable therefore setting the stack trace has no effect for them. - setSteppingFilter(SuspensionFilter) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a stepping suspension filter.
- setThreadsListener(DebugThreadsListener, boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Set a
listenerto be notified about changes in threads in guest language application. - severe(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
severe level. - severe(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
severe level. - Shape - Class in com.oracle.truffle.api.object
-
A Shape is an immutable descriptor of the current object "shape" of a DynamicObject, i.e., object layout, metadata (type, flags), and a mapping of properties to storage locations.
- Shape() - Constructor for class com.oracle.truffle.api.object.Shape
-
Constructor for subclasses.
- Shape.Builder - Class in com.oracle.truffle.api.object
-
Builder class to construct initial
Shapeinstances. - Shape.DerivedBuilder - Class in com.oracle.truffle.api.object
-
Builder class to construct derived
Shapeinstances. - shapeFlags(int) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets initial shape flags (default: 0).
- shapeFlags(int) - Method in class com.oracle.truffle.api.object.Shape.DerivedBuilder
-
Sets initial shape flags (default: 0).
- shared(boolean) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
If
true, makes the object shared (default:false). - SHARED - Enum constant in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Use one
TruffleLanguageinstance for many language context instances. - sharedData(Object) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets shared data to be associated with the root shape and any derived shapes (e.g.
- Shift_JIS - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Shift-JIS.
- shortName() - Element in annotation interface com.oracle.truffle.api.nodes.NodeInfo
-
Short name representing the node that can be used for debugging.
- shouldContinue(Object) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
-
Predicate called on values returned by
executeRepeatingWithValue(). - shouldNotReachHere() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shouldNotReachHere(String) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shouldNotReachHere(String, Throwable) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- shouldNotReachHere(Throwable) - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Indicates a code path that is not supposed to be reached during compilation or interpretation.
- Simple Usage: - Search tag in class com.oracle.truffle.api.nodes.BlockNode
- Section
- singleContextAssumption(Assumption) - Method in class com.oracle.truffle.api.object.Shape.Builder
-
Sets an assumption that allows specializations on constant object instances with this shape, as long as the assumption is valid.
- size() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns the number of bits of space actually in use by this
FinalBitSetto represent bit values. - size(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the size of a file.
- SIZE - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's size in bytes.
- SIZE_UNKNOWN - Static variable in class com.oracle.truffle.api.instrumentation.AllocationReporter
-
Constant specifying an unknown size.
- SJIS_DoCoMo - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
SJIS-DoCoMo.
- SJIS_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
SJIS-KDDI.
- SJIS_SoftBank - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
SJIS-SoftBank.
- SLOWPATH_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- SlowPathException - Exception Class in com.oracle.truffle.api.nodes
-
An exception thrown to enter a slow path.
- SlowPathException() - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- SlowPathException(String) - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- SlowPathException(String, Throwable) - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- SlowPathException(Throwable) - Constructor for exception class com.oracle.truffle.api.nodes.SlowPathException
-
Creates an exception thrown to enter a slow path.
- Source - Class in com.oracle.truffle.api.source
-
Representation of a source code unit and its contents that can be evaluated in a language.
- SOURCE_LOCATION - Enum constant in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Represents breakpoints submitted for a particular source code location.
- Source.LiteralBuilder - Class in com.oracle.truffle.api.source
- Source.SourceBuilder - Class in com.oracle.truffle.api.source
- SourceElement - Enum Class in com.oracle.truffle.api.debug
-
Representation of a guest language source syntax element, that is used for debugging purposes.
- sourceElements(SourceElement...) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specifies which source elements will this breakpoint adhere to.
- sourceElements(SourceElement...) - Method in class com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder
-
Specifies which source elements will this breakpoint adhere to.
- sourceElements(SourceElement...) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Provide a list of
SourceElements that are enabled for the step. - sourceFilter(SourceFilter) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a source filter.
- SourceFilter - Class in com.oracle.truffle.api.instrumentation
-
A source filter represents an expression for a subset of guest language sources that are used in an Truffle interpreter.
- SourceFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
Configure your own
SourceFilterbefore creating its instance. - Source from a literal text - Search tag in class com.oracle.truffle.api.source.Source
- Section
- sourceIs(SourceSectionFilter.SourcePredicate) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Adds custom predicate to filter inclusion of
sources. - sourceIs(Source...) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Add a filter for one of the given sources.
- sourceIs(Source...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that reference one of the given sources.
- sourceIs(Predicate<Source>) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
- sourceIs(Predicate<Source>) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
-
Adds custom predicate to filter inclusion of
sources. - SourceSection - Class in com.oracle.truffle.api.source
-
Description of contiguous section of text within a
Sourceof program code.; supports multiple modes of access to the text and its location. - sourceSectionAvailableOnly(boolean) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
-
Set to suspend on available source sections only.
- sourceSectionAvailableOnly(boolean) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for available source sections.
- sourceSectionEquals(SourceSection...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that equal one of the given source sections.
- SourceSectionFilter - Class in com.oracle.truffle.api.instrumentation
-
A source section filter represents an expression for a subset of tagged source sections that are used in an Truffle interpreter.
- SourceSectionFilter.Builder - Class in com.oracle.truffle.api.instrumentation
-
Configure your own
SourceSectionFilterbefore creating its instance. - SourceSectionFilter.IndexRange - Class in com.oracle.truffle.api.instrumentation
-
Represents a range between two indices within a
source section filter. - SourceSectionFilter.SourcePredicate - Interface in com.oracle.truffle.api.instrumentation
-
Represents a predicate for source objects.
- Specialization - Annotation Interface in com.oracle.truffle.api.dsl
-
Defines a method of a node subclass to represent one specialization of an operation.
- SpecializationStatistics - Class in com.oracle.truffle.api.dsl
-
Represents a specialization statistics utiltiy that can be
enteredto collect additional statistics about Truffle DSL nodes. - SpecializationStatistics.AlwaysEnabled - Annotation Interface in com.oracle.truffle.api.dsl
-
Used on nodes to always enable specialization statistics.
- SpecializationStatistics.NodeStatistics - Class in com.oracle.truffle.api.dsl
-
Class to collect statistics information per node.
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- SPECIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- stability() - Element in annotation interface com.oracle.truffle.api.Option
-
Defines the stability of this option.
- stackSize(long) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies stack size for the threads created by this builder.
- StandardTags - Class in com.oracle.truffle.api.instrumentation
-
Set of standard tags usable by language agnostic tools.
- StandardTags.CallTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations that represent a call to other guest language functions, methods or closures.
- StandardTags.ExpressionTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations as to be considered expressions of the languages.
- StandardTags.ReadVariableTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations to be considered as reads of variables of the languages.
- StandardTags.RootBodyTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations as bodies of a function, method or closure.
- StandardTags.RootTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations as root of a function, method or closure.
- StandardTags.StatementTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations that represent a statement of a language.
- StandardTags.TryBlockTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations to be considered as try blocks, that are followed by catch.
- StandardTags.WriteVariableTag - Class in com.oracle.truffle.api.instrumentation
-
Marks program locations to be considered as writes of variables of the languages.
- start() - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
-
Starts a new subprocess using the attributes of this builder.
- startServer(URI, MessageEndpoint) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Start a server at the provided URI via the
MessageTransportservice. - startSession(SuspendedCallback) - Method in class com.oracle.truffle.api.debug.Debugger
-
Starts a new
sessionprovided with a callback that gets notified whenever the execution is suspended. - startSession(SuspendedCallback, SourceElement...) - Method in class com.oracle.truffle.api.debug.Debugger
-
Starts a new
sessionprovided with a callback that gets notified whenever the execution is suspended and with a list of source syntax elements on which it is possible to step. - startsWith(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFilepath starts with the givenTruffleFilepath. - startsWith(String) - Method in class com.oracle.truffle.api.TruffleFile
-
Tests if this
TruffleFilepath starts with the given path. - state - Variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- state - Variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- Stateless_ISO_2022_JP - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Stateless-ISO-2022-JP.
- Stateless_ISO_2022_JP_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Stateless-ISO-2022-JP-KDDI.
- STATEMENT - Enum constant in enum class com.oracle.truffle.api.debug.SourceElement
-
Denotes program locations that represent a statement of a guest language.
- Static - Enum constant in enum class com.oracle.truffle.api.frame.FrameSlotKind
- StaticProperty - Class in com.oracle.truffle.api.staticobject
-
StaticProperty objects represent the mapping between property identifiers and storage locations within static objects.
- StaticProperty() - Constructor for class com.oracle.truffle.api.staticobject.StaticProperty
-
Constructor for subclasses.
- StaticShape<T> - Class in com.oracle.truffle.api.staticobject
-
A StaticShape is an immutable descriptor of the layout of a static object and is a good entry point to learn about the Static Object Model.
- StaticShape.Builder - Class in com.oracle.truffle.api.staticobject
-
Builder class to construct
StaticShapeinstances. - StepConfig - Class in com.oracle.truffle.api.debug
-
Represents a debugger step configuration.
- StepConfig.Builder - Class in com.oracle.truffle.api.debug
-
Builder of
StepConfig. - StopIterationException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an iterator is finished.
- storeParentFrameInArguments(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Produce the arguments that will be used to perform the call to the new OSR root.
- submitThreadLocal(TruffleContext, Thread[], ThreadLocalAction) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
-
Submits a thread local action to be performed at the next guest language safepoint on a provided set of threads, once for each thread.
- submitThreadLocal(Thread[], ThreadLocalAction) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
-
Submits a thread local action to be performed at the next guest language safepoint on a provided set of threads, once for each thread.
- Submitting thread local actions - Search tag in class com.oracle.truffle.api.TruffleSafepoint
- Section
- subSource(int, int) - Method in class com.oracle.truffle.api.source.Source
- substringByteIndexUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.SubstringByteIndexNode. - substringByteIndexUncached(int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SubstringByteIndexNode. - substringUncached(int, int, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.SubstringNode. - substringUncached(int, int, TruffleString.Encoding, boolean) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SubstringNode. - subUpdater(int, int) - Method in class com.oracle.truffle.api.dsl.InlineSupport.StateField
-
Creates a sub updater for a subset of bits in a state field.
- Supporting Safepoints in a Language - Search tag in class com.oracle.truffle.api.TruffleSafepoint
- Section
- SuppressPackageWarnings - Annotation Interface in com.oracle.truffle.api.dsl
-
Use to suppress Truffle DSL warnings in whole packages using a package-info.java class.
- suspend(Thread) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspends the current or the next execution of a given thread.
- suspendAll() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspends the current or the next execution on all threads.
- suspendAnchor(SuspendAnchor) - Method in class com.oracle.truffle.api.debug.Breakpoint.Builder
-
Specify the breakpoint suspension anchor within the guest language source location.
- SuspendAnchor - Enum Class in com.oracle.truffle.api.debug
-
Describes where, within a guest language source section, the suspend position is.
- suspendAnchors(SourceElement, SuspendAnchor...) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
-
Provide a list of
SuspendAnchors for individualSourceElements. - SuspendedCallback - Interface in com.oracle.truffle.api.debug
- SuspendedEvent - Class in com.oracle.truffle.api.debug
-
Access for
Debuggerclients to the state of a guest language execution thread that has been suspended, for example by aBreakpointor stepping action. - suspendHere(Node) - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspend immediately at the current location of the current execution thread.
- suspendNextExecution() - Method in class com.oracle.truffle.api.debug.DebuggerSession
-
Suspends the next execution on the first thread that is encountered.
- suspensionFilter(SuspensionFilter) - Method in class com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder
-
A filter to limit source locations which intercept exceptions.
- SuspensionFilter - Class in com.oracle.truffle.api.debug
-
A filter to limit the suspension locations.
- SuspensionFilter.Builder - Class in com.oracle.truffle.api.debug
-
A builder for creating a suspension filter.
- swap(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps, including the type, the contents of two slots.
- swapObjectStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps the object values of two slots.
- swapPrimitiveStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps the primitive values of two slots.
- swapStatic(int, int) - Method in interface com.oracle.truffle.api.frame.Frame
-
Swaps the contents of two slots.
- switchEncodingUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SwitchEncodingNode. - switchEncodingUncached(TruffleString.Encoding, TranscodingErrorHandler) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.SwitchEncodingNode.
T
- tag - Variable in enum class com.oracle.truffle.api.frame.FrameSlotKind
- Tag - Class in com.oracle.truffle.api.instrumentation
-
Base class for tags used in the Truffle instrumentation framework.
- Tag() - Constructor for class com.oracle.truffle.api.instrumentation.Tag
-
No instances of tags allowed.
- Tag.Identifier - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotation applied to
Tagsubclasses to specify the tag identifier. - tagIs(Class<?>...) - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder
-
Specify tags of the nearest source section.
- tagIs(Class<?>...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that are tagged with one of the given tags.
- tagIsNot(Class<?>...) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
-
Add a filter for all source sections that are not tagged with one of the given tags.
- Terminology - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- test(Source) - Method in interface com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate
-
Returns
trueif the given source should be tested positive andfalseif the sources should be filtered. - THREAD_INTERRUPT - Static variable in interface com.oracle.truffle.api.TruffleSafepoint.Interrupter
-
A thread interrupter implementation that uses
Thread.interrupt()andThread.interrupted()to clear the thread state. - threadDisposed(DebugContext, Thread) - Method in interface com.oracle.truffle.api.debug.DebugThreadsListener
-
Notifies about disposal of thread-related resources that were used for a guest language execution in a
DebugContext. - threadGroup(ThreadGroup) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies thread group for the threads created by this builder.
- threadInitialized(DebugContext, Thread) - Method in interface com.oracle.truffle.api.debug.DebugThreadsListener
-
Notifies about initialization of a thread to be used for a guest language execution in a
DebugContext. - ThreadLocalAction - Class in com.oracle.truffle.api
-
Represents an action that is executed at a
safepointlocation of the guest language execution. - ThreadLocalAction(boolean, boolean) - Constructor for class com.oracle.truffle.api.ThreadLocalAction
-
Creates a new thread local action.
- ThreadLocalAction(boolean, boolean, boolean) - Constructor for class com.oracle.truffle.api.ThreadLocalAction
-
Creates a new thread local action.
- ThreadLocalAction.Access - Class in com.oracle.truffle.api
-
Argument class for
ThreadLocalAction.perform(Access). - ThreadsActivationListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener that allows to be notified when threads become active and deactivated.
- Thread safety - Search tag in class com.oracle.truffle.api.memory.ByteArraySupport
- Section
- ThreadsListener - Interface in com.oracle.truffle.api.instrumentation
-
Listener to be notified about changes of threads in guest language application.
- throwException(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Throws the receiver object as an exception of the source language, as if it was thrown by the source language itself.
- throwing(String, String, T) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs throwing an exception.
- timeZone(ZoneId) - Method in class com.oracle.truffle.api.TruffleContext.Builder
-
Sets the default time zone to be used for this context.
- TIS_620 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
TIS-620.
- toDisplayString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Converts the value to a language-specific string representation.
- toDisplayString(boolean) - Method in class com.oracle.truffle.api.debug.DebugValue
-
Converts the value to a language-specific string representation.
- toDisplayString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Converts the receiver to a human readable
stringof the language. - toDisplayString(Object, boolean) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Converts the receiver to a human readable
string. - toJavaStringUncached() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ToJavaStringNode. - toLongArray() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a new long array containing all the bits in this bit set.
- toNative(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Attempts to transform a
receiverto a value that represents a raw native pointer. - toRelativeUri() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns a relative
URIrepresentation of non absoluteTruffleFile. - toString() - Method in class com.oracle.truffle.api.debug.Breakpoint
- toString() - Method in class com.oracle.truffle.api.debug.DebuggerSession
- toString() - Method in class com.oracle.truffle.api.debug.DebugValue
-
Returns a string representation of the debug value.
- toString() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
- toString() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
- toString() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
- toString() - Method in class com.oracle.truffle.api.instrumentation.EventContext
- toString() - Method in class com.oracle.truffle.api.instrumentation.NearestSectionFilter
- toString() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange
- toString() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
- toString() - Method in class com.oracle.truffle.api.InstrumentInfo
- toString() - Method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns the string representing CPU architecture name.
- toString() - Method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns the string representing operating system name.
- toString() - Method in class com.oracle.truffle.api.library.LibraryExport
- toString() - Method in class com.oracle.truffle.api.library.LibraryFactory
- toString() - Method in class com.oracle.truffle.api.library.Message
- toString() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
- toString() - Method in class com.oracle.truffle.api.nodes.Node
-
Converts this node to a textual representation useful for debugging.
- toString() - Method in class com.oracle.truffle.api.object.HiddenKey
- toString() - Method in class com.oracle.truffle.api.profiles.BranchProfile
- toString() - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.ConditionProfile
- toString() - Method in class com.oracle.truffle.api.profiles.CountingConditionProfile
- toString() - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.InlinedProfile
- toString() - Method in class com.oracle.truffle.api.profiles.IntValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.LongValueProfile
- toString() - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
- toString() - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
- toString() - Method in class com.oracle.truffle.api.source.Source
- toString() - Method in class com.oracle.truffle.api.source.SourceSection
-
Returns an implementation-defined string representation of this source section to be used for debugging purposes only.
- toString() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns a
Stringrepresentation of this string. - toString() - Method in record class com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString
-
Returns a string representation of this record class.
- toString() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Convert the string builder's content to a java string.
- toString() - Method in class com.oracle.truffle.api.TruffleFile.AttributeDescriptor
- toString() - Method in class com.oracle.truffle.api.TruffleFile
- toString() - Method in exception class com.oracle.truffle.api.TruffleStackTrace
- toString() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
- toString() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a string representation of this bit set.
- toString() - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
-
Deprecated.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(Node) - Method in class com.oracle.truffle.api.profiles.InlinedProfile
-
Prints a string representation of this inlined profile given a target node.
- toString(DynamicObject) - Method in class com.oracle.truffle.api.object.ObjectType
-
Deprecated.
- toStringDebug() - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Returns debug information about this string.
- toStringUncached() - Method in class com.oracle.truffle.api.strings.TruffleStringBuilder
-
Shorthand for calling the uncached version of
TruffleStringBuilder.ToStringNode. - toUri() - Method in class com.oracle.truffle.api.TruffleFile
-
Returns the absolute
URIrepresentation of thisTruffleFile. - toValidStringUncached(TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.AbstractTruffleString
-
Shorthand for calling the uncached version of
TruffleString.ToValidStringNode. - traceOnEnter(Object[]) - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated
executemethods before anySpecializationis called, but after allNodeChildrenare evaluated. - traceOnException(Throwable) - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated
executemethods when aSpecializationthrows an exception. - traceOnReturn(Object) - Method in interface com.oracle.truffle.api.dsl.ExecuteTracingSupport
-
Invoked by the generated
executemethods when aSpecializationreturns normally. - TraceRewrites - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Enables/disables the rewriting of traces in the Truffle runtime to stdout.
- TraceRewritesFilterClass - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Filters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.
- TraceRewritesFilterFromCost - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Deprecated.in 24.1 without replacement
- TraceRewritesFilterToCost - Static variable in class com.oracle.truffle.api.TruffleOptions
-
Deprecated.in 24.1 without replacement
- TranscodingErrorHandler - Interface in com.oracle.truffle.api.strings
-
An error handler for transcoding operations such as
TruffleString.SwitchEncodingNode. - TranscodingErrorHandler.ReplacementString - Record Class in com.oracle.truffle.api.strings
- transferToInterpreter() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler to discontinue compilation at this code position and instead insert a transfer to the interpreter.
- transferToInterpreterAndInvalidate() - Static method in class com.oracle.truffle.api.CompilerDirectives
-
Directive for the compiler to discontinue compilation at this code position and instead insert a transfer to the interpreter, invalidating the currently executing machine code.
- transferToInterpreterOnException() - Element in annotation interface com.oracle.truffle.api.CompilerDirectives.TruffleBoundary
-
Determines whether execution should be transferred to the interpreter if an exception is thrown across this boundary, in which case the caller's compiled code is invalidated and will not transfer to the interpreter on exceptions for this method again.
- transitionLimit() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
By default export libraries don't allow changes in the behavior of accepts for a receiver instance.
- translateStackTraceElement(TruffleStackTraceElement) - Method in class com.oracle.truffle.api.nodes.RootNode
-
Translates the
TruffleStackTraceElementinto an interop object supporting thehasExecutableNameand potentiallyhasDeclaringMetaObjectandhasSourceLocationmessages. - TriState - Enum Class in com.oracle.truffle.api.utilities
- TRUE - Enum constant in enum class com.oracle.truffle.api.utilities.TriState
-
The state is true.
- Truffle - Class in com.oracle.truffle.api
-
Class for obtaining the Truffle runtime singleton object of this virtual machine.
- TruffleContext - Class in com.oracle.truffle.api
-
A handle on a context of a set of Truffle languages.
- TruffleContext.Builder - Class in com.oracle.truffle.api
-
Builder class to create new
TruffleContextinstances. - TruffleFile - Class in com.oracle.truffle.api
-
An abstract representation of a file used by Truffle languages.
- TruffleFile.AttributeDescriptor<T> - Class in com.oracle.truffle.api
-
Represents a file's attribute.
- TruffleFile.Attributes - Class in com.oracle.truffle.api
-
A view over file's attributes values obtained by
getAttributes. - TruffleFile.FileTypeDetector - Interface in com.oracle.truffle.api
-
A detector for finding
file's MIME type and encoding. - TruffleInstrument - Class in com.oracle.truffle.api.instrumentation
-
The service provider interface (SPI) for Truffle instruments: clients of Truffle instrumentation that may observe and inject behavior into interpreters written using the Truffle framework.
- TruffleInstrument() - Constructor for class com.oracle.truffle.api.instrumentation.TruffleInstrument
-
Constructor for subclasses.
- TruffleInstrument.ContextLocalFactory<T> - Interface in com.oracle.truffle.api.instrumentation
-
Context local factory for Truffle instruments.
- TruffleInstrument.ContextLocalProvider - Class in com.oracle.truffle.api.instrumentation
-
Provider for creating context local and context thread local references.
- TruffleInstrument.ContextThreadLocalFactory<T> - Interface in com.oracle.truffle.api.instrumentation
-
Context local factory for Truffle instruments.
- TruffleInstrument.Env - Class in com.oracle.truffle.api.instrumentation
-
Access to instrumentation services as well as input, output, and error streams.
- TruffleInstrument.Provider - Interface in com.oracle.truffle.api.instrumentation
-
Deprecated.
- TruffleInstrument.Registration - Annotation Interface in com.oracle.truffle.api.instrumentation
-
Annotation that registers an
instrumentimplementations for automatic discovery. - TruffleInstrumentProvider - Class in com.oracle.truffle.api.instrumentation.provider
-
Used to register a
TruffleInstrumentusing aServiceLoader. - TruffleInstrumentProvider() - Constructor for class com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider
-
Constructor to be called by subclasses.
- TruffleLanguage<C> - Class in com.oracle.truffle.api
-
A Truffle language implementation contains all the services a language should provide to make it composable with other languages.
- TruffleLanguage() - Constructor for class com.oracle.truffle.api.TruffleLanguage
-
Constructor to be called by subclasses.
- TruffleLanguage.ContextLocalFactory<C,
T> - Interface in com.oracle.truffle.api -
Context local factory for Truffle languages.
- TruffleLanguage.ContextLocalProvider<C> - Class in com.oracle.truffle.api
-
Provider for creating context local and context thread local references.
- TruffleLanguage.ContextPolicy - Enum Class in com.oracle.truffle.api
-
Defines the supported policy for reusing
languagesper context. - TruffleLanguage.ContextReference<C> - Class in com.oracle.truffle.api
-
Represents a reference to the current context.
- TruffleLanguage.ContextThreadLocalFactory<C,
T> - Interface in com.oracle.truffle.api -
Context thread local factory for Truffle languages.
- TruffleLanguage.Env - Class in com.oracle.truffle.api
-
Represents execution environment of the
TruffleLanguage. - TruffleLanguage.ExitMode - Enum Class in com.oracle.truffle.api
-
Mode of exit operation.
- TruffleLanguage.InlineParsingRequest - Class in com.oracle.truffle.api
-
Request for inline parsing.
- TruffleLanguage.LanguageReference<L> - Class in com.oracle.truffle.api
-
Represents a reference to the current language instance.
- TruffleLanguage.ParsingRequest - Class in com.oracle.truffle.api
-
Request for parsing.
- TruffleLanguage.Provider - Interface in com.oracle.truffle.api
-
Deprecated.
- TruffleLanguage.Registration - Annotation Interface in com.oracle.truffle.api
-
The annotation to use to register your language to the.
invalid reference
Polyglot API - TruffleLanguageProvider - Class in com.oracle.truffle.api.provider
-
Used to register a
TruffleLanguageusing aServiceLoader. - TruffleLanguageProvider() - Constructor for class com.oracle.truffle.api.provider.TruffleLanguageProvider
-
Constructor to be called by subclasses.
- TruffleLogger - Class in com.oracle.truffle.api
-
Support for logging in Truffle languages and instruments.
- TruffleObject - Interface in com.oracle.truffle.api.interop
-
Interface for any entity of a Truffle guest language implementations that can be shared across other language implementations.
- TruffleOptionDescriptors - Interface in com.oracle.truffle.api
-
An
OptionDescriptorsenhanced to provide a sandbox policy for options. - TruffleOptions - Class in com.oracle.truffle.api
-
Class containing general Truffle options.
- TruffleProcessBuilder - Class in com.oracle.truffle.api.io
-
A builder used to create an external subprocess.
- TruffleRuntime - Interface in com.oracle.truffle.api
-
Interface representing a Truffle runtime object.
- TruffleRuntimeAccess - Interface in com.oracle.truffle.api
-
A service that provides access to a
TruffleRuntimeimplementation. - TruffleSafepoint - Class in com.oracle.truffle.api
-
Truffle safepoints allow interrupting the guest language execution to execute thread-local actions submitted by a language or tool.
- TruffleSafepoint(Accessor.EngineSupport) - Constructor for class com.oracle.truffle.api.TruffleSafepoint
-
Do not extend this class.
- TruffleSafepoint.CompiledInterruptible<T> - Interface in com.oracle.truffle.api
-
Just like
TruffleSafepoint.Interruptiblebut allows partial evaluation. - TruffleSafepoint.CompiledInterruptibleFunction<T,
R> - Interface in com.oracle.truffle.api -
Just like
TruffleSafepoint.InterruptibleFunctionbut allows partial evaluation. - TruffleSafepoint.Interrupter - Interface in com.oracle.truffle.api
-
An interrupter allows a foreign thread to interrupt the execution on a separate thread.
- TruffleSafepoint.Interruptible<T> - Interface in com.oracle.truffle.api
-
Function interface that represent interruptable Java methods.
- TruffleSafepoint.InterruptibleFunction<T,
R> - Interface in com.oracle.truffle.api -
Function interface that represent interruptable Java methods.
- TruffleStackTrace - Exception Class in com.oracle.truffle.api
-
Represents a guest language stack trace.
- TruffleStackTraceElement - Class in com.oracle.truffle.api
-
Represents a guest stack trace element.
- TruffleString - Class in com.oracle.truffle.api.strings
-
Represents a primitive String type, which can be reused across languages.
- TruffleString.AsManagedNode - Class in com.oracle.truffle.api.strings
-
Node to get the given
AbstractTruffleStringas a managedTruffleString, meaning that the resulting string's backing memory is not a native pointer. - TruffleString.AsNativeNode - Class in com.oracle.truffle.api.strings
- TruffleString.AsTruffleStringNode - Class in com.oracle.truffle.api.strings
-
Node to get the given
AbstractTruffleStringas aTruffleString. - TruffleString.ByteIndexOfAnyByteNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of any byte from a given array.
- TruffleString.ByteIndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
TruffleString.IndexOfCodePointNode, but with byte indices. - TruffleString.ByteIndexOfCodePointSetNode - Class in com.oracle.truffle.api.strings
-
Node to find the byte index of the first occurrence of a codepoint present in a given codepoint set.
- TruffleString.ByteIndexOfStringNode - Class in com.oracle.truffle.api.strings
-
TruffleString.IndexOfStringNode, but with byte indices. - TruffleString.ByteIndexToCodePointIndexNode - Class in com.oracle.truffle.api.strings
-
Node to convert a given byte index to a codepoint index.
- TruffleString.ByteLengthOfCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to get the number of bytes occupied by the codepoint starting at a given byte index.
- TruffleString.CharIndexOfAnyCharUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of any
charfrom a given array. - TruffleString.CodePointAtByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to read a codepoint at a given byte index.
- TruffleString.CodePointAtIndexNode - Class in com.oracle.truffle.api.strings
-
Node to read a codepoint at a given codepoint index.
- TruffleString.CodePointIndexToByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to convert a given codepoint index to a byte index.
- TruffleString.CodePointLengthNode - Class in com.oracle.truffle.api.strings
-
Node to get the number of codepoints in a string.
- TruffleString.CodePointSet - Class in com.oracle.truffle.api.strings
-
A set of codepoints in a given encoding.
- TruffleString.CodeRange - Enum Class in com.oracle.truffle.api.strings
-
Provides information about a string's content.
- TruffleString.CodeRangeEqualsNode - Class in com.oracle.truffle.api.strings
-
Node to check if a string's code range is equal to the given
TruffleString.CodeRange. - TruffleString.CompactionLevel - Enum Class in com.oracle.truffle.api.strings
-
Represents a string's compaction level, i.e.
- TruffleString.CompareBytesNode - Class in com.oracle.truffle.api.strings
-
Node to compare two strings byte-by-byte.
- TruffleString.CompareCharsUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to compare two UTF-16 strings.
- TruffleString.CompareIntsUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to compare two UTF-32 strings.
- TruffleString.ConcatNode - Class in com.oracle.truffle.api.strings
-
Node to concatenate two strings.
- TruffleString.CopyToByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to copy a region of a string into a byte array.
- TruffleString.CopyToNativeMemoryNode - Class in com.oracle.truffle.api.strings
-
Node to copy a region of a string into native memory.
- TruffleString.CreateBackwardCodePointIteratorNode - Class in com.oracle.truffle.api.strings
-
Node to create a
TruffleStringIterator. - TruffleString.CreateCodePointIteratorNode - Class in com.oracle.truffle.api.strings
-
Node to create a
TruffleStringIterator. - TruffleString.Encoding - Enum Class in com.oracle.truffle.api.strings
-
The list of encodings supported by
TruffleString. - TruffleString.EqualNode - Class in com.oracle.truffle.api.strings
-
Node to check two strings for equality.
- TruffleString.ErrorHandling - Enum Class in com.oracle.truffle.api.strings
-
Error handling instructions for operations that return integer values, such as indices or code points.
- TruffleString.ForceEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to forcibly assign any encoding to a string.
- TruffleString.FromByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleStringfrom a byte array. - TruffleString.FromCharArrayUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to create a new UTF-16
TruffleStringfrom a char array. - TruffleString.FromCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleStringfrom a single codepoint. - TruffleString.FromIntArrayUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to create a new UTF-32
TruffleStringfrom an int-array. - TruffleString.FromJavaStringNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleStringfrom a Java string. - TruffleString.FromLongNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleStringfrom alongvalue. - TruffleString.FromNativePointerNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleStringfrom an interop object representing a native pointer. - TruffleString.GetByteCodeRangeNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's "byte-based"
TruffleString.CodeRange. - TruffleString.GetCodeRangeImpreciseNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's possibly imprecise
TruffleString.CodeRange. - TruffleString.GetCodeRangeNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's precise
TruffleString.CodeRange. - TruffleString.GetInternalByteArrayNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's internal byte array.
- TruffleString.GetInternalNativePointerNode - Class in com.oracle.truffle.api.strings
-
Node to get a
nativestring's pointer object. - TruffleString.GetStringCompactionLevelNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's
TruffleString.CompactionLevel. - TruffleString.HashCodeNode - Class in com.oracle.truffle.api.strings
-
Node to get a string's hash code.
- TruffleString.IllegalByteArrayLengthException - Exception Class in com.oracle.truffle.api.strings
- TruffleString.IndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of a given code point.
- TruffleString.IndexOfStringNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of a given string.
- TruffleString.IntIndexOfAnyIntUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to find the index of the first occurrence of any
intfrom a given array. - TruffleString.IsValidNode - Class in com.oracle.truffle.api.strings
-
Node to check if a string is encoded correctly.
- TruffleString.LastByteIndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
TruffleString.LastIndexOfCodePointNode, but with byte indices. - TruffleString.LastByteIndexOfStringNode - Class in com.oracle.truffle.api.strings
-
TruffleString.LastIndexOfStringNode, but with byte indices. - TruffleString.LastIndexOfCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to find the codepoint index of the last occurrence of a given code point.
- TruffleString.LastIndexOfStringNode - Class in com.oracle.truffle.api.strings
-
Node to find the index of the last occurrence of a given string.
- TruffleString.MaterializeNode - Class in com.oracle.truffle.api.strings
-
Node to force materialization of any lazy internal data.
- TruffleString.NumberFormatException - Exception Class in com.oracle.truffle.api.strings
-
This exception may be thrown by
TruffleString.ParseIntNode,TruffleString.ParseLongNodeorTruffleString.ParseDoubleNodeto indicate that the given string cannot be parsed as an integer, long or double value. - TruffleString.ParseDoubleNode - Class in com.oracle.truffle.api.strings
-
Node to parse a given string as a double value.
- TruffleString.ParseIntNode - Class in com.oracle.truffle.api.strings
-
Node to parse a given string as an int value.
- TruffleString.ParseLongNode - Class in com.oracle.truffle.api.strings
-
Node to parse a given string as a long value.
- TruffleString.ReadByteNode - Class in com.oracle.truffle.api.strings
-
Node to read a single byte from a string.
- TruffleString.ReadCharUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to read a single char from a UTF-16 string.
- TruffleString.RegionEqualByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to check for a region match, byte-by-byte.
- TruffleString.RegionEqualNode - Class in com.oracle.truffle.api.strings
-
Node to check codepoint equality of two string regions.
- TruffleString.RepeatNode - Class in com.oracle.truffle.api.strings
-
Node to repeat a given string
Ntimes. - TruffleString.SubstringByteIndexNode - Class in com.oracle.truffle.api.strings
-
TruffleString.SubstringNode, but with byte indices. - TruffleString.SubstringNode - Class in com.oracle.truffle.api.strings
-
Node to create a substring of a given string.
- TruffleString.SwitchEncodingNode - Class in com.oracle.truffle.api.strings
-
Node to get a given string in a specific encoding.
- TruffleString.ToJavaStringNode - Class in com.oracle.truffle.api.strings
-
Node to get a
Stringrepresentation of aTruffleString. - TruffleString.ToValidStringNode - Class in com.oracle.truffle.api.strings
-
Node to replace all invalid bytes in a given string, such that the resulting string is
valid. - TruffleString.WithMask - Class in com.oracle.truffle.api.strings
-
Extended parameter type for the operations
TruffleString.ByteIndexOfStringNode,TruffleString.LastByteIndexOfStringNodeandTruffleString.RegionEqualByteIndexNode. - TruffleString.WithMask.CreateNode - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString.WithMaskfrom a string and a byte array. - TruffleString.WithMask.CreateUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString.WithMaskfrom a UTF-16 string and a char array. - TruffleString.WithMask.CreateUTF32Node - Class in com.oracle.truffle.api.strings
-
Node to create a new
TruffleString.WithMaskfrom a UTF-32 string and an int array. - TruffleStringBuilder - Class in com.oracle.truffle.api.strings
-
The
TruffleStringequivalent toStringBuilder. - TruffleStringBuilder.AppendByteNode - Class in com.oracle.truffle.api.strings
-
Node to append a single byte to a string builder.
- TruffleStringBuilder.AppendCharUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to append a single char to a string builder.
- TruffleStringBuilder.AppendCodePointNode - Class in com.oracle.truffle.api.strings
-
Node to append a codepoint to a string builder.
- TruffleStringBuilder.AppendIntNumberNode - Class in com.oracle.truffle.api.strings
-
Node to append an integer to a string builder.
- TruffleStringBuilder.AppendJavaStringUTF16Node - Class in com.oracle.truffle.api.strings
-
Node to append a substring of a given
Stringto a string builder. - TruffleStringBuilder.AppendLongNumberNode - Class in com.oracle.truffle.api.strings
-
Node to append a
longvalue to a string builder. - TruffleStringBuilder.AppendStringNode - Class in com.oracle.truffle.api.strings
-
Node to append a given
TruffleStringto a string builder. - TruffleStringBuilder.AppendSubstringByteIndexNode - Class in com.oracle.truffle.api.strings
-
Node to append a substring of a given
TruffleStringto a string builder. - TruffleStringBuilder.ToStringNode - Class in com.oracle.truffle.api.strings
-
Node to materialize a string builder as a
TruffleString. - TruffleStringBuilderUTF16 - Class in com.oracle.truffle.api.strings
-
The UTF-16-specific variant of
TruffleStringBuilder. - TruffleStringBuilderUTF32 - Class in com.oracle.truffle.api.strings
-
The UTF-32-specific variant of
TruffleStringBuilder. - TruffleStringBuilderUTF8 - Class in com.oracle.truffle.api.strings
-
The UTF-8-specific variant of
TruffleStringBuilder. - TruffleStringIterator - Class in com.oracle.truffle.api.strings
-
An iterator object that allows iterating over a
TruffleString's codepoints, without having to re-calculate codepoint indices on every access. - TruffleStringIterator.NextNode - Class in com.oracle.truffle.api.strings
-
Returns the next codepoint in the string.
- TruffleStringIterator.PreviousNode - Class in com.oracle.truffle.api.strings
-
Returns the previous codepoint in the string.
- TruffleThreadBuilder - Class in com.oracle.truffle.api
-
A builder for threads that have access to the appropriate
TruffleContext. - TruffleWeakReference<T> - Class in com.oracle.truffle.api.utilities
-
Creates a new weak reference that is safe to be used in compiled code paths.
- TruffleWeakReference(T) - Constructor for class com.oracle.truffle.api.utilities.TruffleWeakReference
-
Creates a new Truffle weak reference that refers to the given object.
- TruffleWeakReference(T, ReferenceQueue<? super T>) - Constructor for class com.oracle.truffle.api.utilities.TruffleWeakReference
-
Creates a new Truffle weak reference that refers to the given object and is registered with the given queue.
- truncate(double) - Static method in class com.oracle.truffle.api.ExactMath
-
Removes the decimal part (aka truncation or rounds towards zero) of the given double.
- truncate(float) - Static method in class com.oracle.truffle.api.ExactMath
-
Removes the decimal part (aka truncation or rounds towards zero) of the given float.
- tryAttach() - Method in class com.oracle.truffle.api.instrumentation.EventBinding
-
Try to attach this binding, if not disposed or attached already.
- tryMerge(Shape) - Method in class com.oracle.truffle.api.object.Shape
-
Try to merge two related shapes to a more general shape that has the same properties and can store at least the values of both shapes.
- tryOSR(BytecodeOSRNode, int, Object, Runnable, VirtualFrame) - Static method in interface com.oracle.truffle.api.nodes.BytecodeOSRNode
-
Tries to perform OSR.
- type() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
90 Specifies the the value type for
referencerequired fields. - type() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
- type() - Element in annotation interface com.oracle.truffle.api.dsl.NodeField
- TypeCast - Annotation Interface in com.oracle.truffle.api.dsl
-
Overrides the standard way of casting a certain type in a
TypeSystem. - TypeCheck - Annotation Interface in com.oracle.truffle.api.dsl
-
Overrides the standard way of checking for a certain type in a
TypeSystem. - TypeSystem - Annotation Interface in com.oracle.truffle.api.dsl
-
Type guards are the most common form of guards used in Truffle languages.
- TypeSystemReference - Annotation Interface in com.oracle.truffle.api.dsl
-
References a
TypeSystemon a node.
U
- UnadoptableNode - Interface in com.oracle.truffle.api.nodes
-
Marks a node unadoptable, this means that the parent pointer will never be written by the Truffle framework.
- uncached() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Defines the initializer that is used for
uncachednodes or uncached versions of exported library messages. - uncached() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
-
Defines the expression to get an uncached instance of the child node.
- UNDEFINED - Enum constant in enum class com.oracle.truffle.api.utilities.TriState
-
The state is undefined.
- UnexpectedResultException - Exception Class in com.oracle.truffle.api.nodes
-
An exception that should be thrown if the return value cannot be represented as a value of the return type.
- UnexpectedResultException(Object) - Constructor for exception class com.oracle.truffle.api.nodes.UnexpectedResultException
-
Creates the exception with the alternative result that cannot be represented as a value of the return type.
- UNINITIALIZED - Enum constant in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.This node has a
CompilerDirectives.transferToInterpreter()orCompilerDirectives.transferToInterpreterAndInvalidate()as its first unconditional statement. - UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedByteValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedDoubleValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedExactClassProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedFloatValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedIntValueProfile
- UNINITIALIZED - Static variable in class com.oracle.truffle.api.profiles.InlinedLongValueProfile
- UNIX_CTIME - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's last status change time.
- UNIX_DEV - Static variable in class com.oracle.truffle.api.TruffleFile
-
The id of a device containing the file.
- UNIX_GID - Static variable in class com.oracle.truffle.api.TruffleFile
-
The group id of file owner.
- UNIX_GROUP - Static variable in class com.oracle.truffle.api.TruffleFile
-
The group owner of the file.
- UNIX_INODE - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's inode number.
- UNIX_MODE - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's mode containing the protection and file type bits.
- UNIX_NLINK - Static variable in class com.oracle.truffle.api.TruffleFile
-
The number of hard links.
- UNIX_OWNER - Static variable in class com.oracle.truffle.api.TruffleFile
-
The owner of the file.
- UNIX_PERMISSIONS - Static variable in class com.oracle.truffle.api.TruffleFile
-
The file's Posix permissions.
- UNIX_RDEV - Static variable in class com.oracle.truffle.api.TruffleFile
-
The id of a device represented by the file.
- UNIX_UID - Static variable in class com.oracle.truffle.api.TruffleFile
-
The user id of file owner.
- UnknownIdentifierException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an object does not contain a member with such an identifier.
- UnknownKeyException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if an object does not contain a hash entry with such a key.
- UNLIKELY_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
- UNLIMITED_STACK_TRACE - Static variable in exception class com.oracle.truffle.api.exception.AbstractTruffleException
-
The constant for an unlimited stack trace element limit.
- unpackFiles(InternalResource.Env, Path) - Method in interface com.oracle.truffle.api.InternalResource
-
Unpacks all resources to a given target directory.
- unpackResourceFiles(Path, Path, Path) - Method in class com.oracle.truffle.api.InternalResource.Env
-
Extracts files from the module, which owns the
InternalResourceimplementation class, listed in thesourcefile list and places them into thetargetfolder. - unroll() - Element in annotation interface com.oracle.truffle.api.dsl.Specialization
-
Instructs the specialization to unroll a specialization with multiple instances.
- UNROLL vs EXPLODE - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- UnsupportedMessageException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a
TruffleObjectdoes not support a interop message. - UnsupportedSpecializationException - Exception Class in com.oracle.truffle.api.dsl
-
Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for the provided values.
- UnsupportedSpecializationException(Node, Node[], Object...) - Constructor for exception class com.oracle.truffle.api.dsl.UnsupportedSpecializationException
-
Constructs a new
UnsupportedSpecializationException. - UnsupportedTypeException - Exception Class in com.oracle.truffle.api.interop
-
An exception thrown if a
TruffleObjectdoes not support the type of one or more arguments. - UNTIL_RETURN - Search tag in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
- Section
- UNWIND_ACTION_REENTER - Static variable in class com.oracle.truffle.api.instrumentation.ProbeNode
-
A constant that performs reenter of the current node when returned from
ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object)orExecutionEventNode.onUnwind(VirtualFrame, Object). - updateShape(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
-
Ensures the object's shape is up-to-date.
- uri(URI) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
- uri(URI) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
- US_ASCII - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
US-ASCII, which maps only 7-bit characters.
- Usage: - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- Usage: - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- Usage example - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- Usage example - Search tag in annotation interface com.oracle.truffle.api.library.ExportLibrary
- Section
- Usage example - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- Usage example - Search tag in class com.oracle.truffle.api.library.ReflectionLibrary
- Section
- Usage example - Search tag in com.oracle.truffle.api.library.ExportLibrary.delegateTo()
- Section
- Usage example - Search tag in com.oracle.truffle.api.library.ExportLibrary.receiverType()
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.containsKey(DynamicObject, Object)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.getKeyArray(DynamicObject)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault(DynamicObject, Object, Object)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.getShapeFlags(DynamicObject)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.put(DynamicObject, Object, Object)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.putConstant(DynamicObject, Object, Object, int)
- Section
- Usage example: - Search tag in com.oracle.truffle.api.object.DynamicObjectLibrary.setShapeFlags(DynamicObject, int)
- Section
- Usage examples: - Search tag in class com.oracle.truffle.api.object.DynamicObjectLibrary
- Section
- usageSyntax() - Element in annotation interface com.oracle.truffle.api.Option
-
Describes in short the syntax of accepted values for this option.
- Use Cases - Search tag in com.oracle.truffle.api.TruffleLanguage.getScope(C)
- Section
- useForAOT() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Enables
AOT preparationfor this export. - useForAOTPriority() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
Specifies the priority for the export when used for AOT preparation.
- Using Dispatched Libraries - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- Using Specialized Libraries - Search tag in annotation interface com.oracle.truffle.api.library.CachedLibrary
- Section
- UTF_16 - Static variable in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-16 in the current system's endianness, without byte-order mark, with transparent string compaction.
- UTF_16BE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-16BE.
- UTF_16LE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-16LE.
- UTF_32 - Static variable in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-32 in the current system's endianness, without byte-order mark, with transparent string compaction.
- UTF_32BE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-32BE.
- UTF_32LE - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-32LE.
- UTF_7 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-7.
- UTF_8 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF-8.
- UTF8_DoCoMo - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-DoCoMo.
- UTF8_KDDI - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-KDDI.
- UTF8_MAC - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-MAC.
- UTF8_SoftBank - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
UTF8-SoftBank.
V
- VALID - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
This string is encoded correctly (
TruffleString.IsValidNodereturnstrue), and if this code range isprecise, at least one codepoint is outside the largest other applicable code range (e.g. - validate(Node) - Method in class com.oracle.truffle.api.dsl.InlineSupport.InlinableField
-
Validates a receiver of an inlined field.
- validate(Node, InlineSupport.InlinableField) - Static method in class com.oracle.truffle.api.dsl.InlineSupport
-
Shortcut to
validatemultiple inlinable fields. - validate(Node, InlineSupport.InlinableField, InlineSupport.InlinableField) - Static method in class com.oracle.truffle.api.dsl.InlineSupport
-
Shortcut to
validatemultiple inlinable fields. - validate(Node, InlineSupport.InlinableField, InlineSupport.InlinableField, InlineSupport.InlinableField...) - Static method in class com.oracle.truffle.api.dsl.InlineSupport
-
Shortcut to
validatemultiple inlinable fields. - value() - Element in annotation interface com.oracle.truffle.api.dsl.Bind
-
The extract expression.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.Cached.Shared
-
Specifies the sharing group of the shared cached element.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
Defines the initializer expression of the cached parameter value.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.CreateCast
- value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateCached
-
If
trueenables the generation of a cached version of thisspecializingnode. - value() - Element in annotation interface com.oracle.truffle.api.dsl.GeneratedBy
- value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateInline
-
If
trueenables the generation of a inlined version of thisspecializingnode. - value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateNodeFactory
-
If
trueenables the generation of node factories of thisspecializingnode. - value() - Element in annotation interface com.oracle.truffle.api.dsl.GenerateUncached
-
If
trueenables the generation of an uncached version of thisspecializingnode. - value() - Element in annotation interface com.oracle.truffle.api.dsl.ImportStatic
- value() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredField
-
Species which field type is expected.
- value() - Element in annotation interface com.oracle.truffle.api.dsl.InlineSupport.RequiredFields
-
Used to specify multiple
InlineSupport.RequiredField. - value() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChild
- value() - Element in annotation interface com.oracle.truffle.api.dsl.NodeChildren
- value() - Element in annotation interface com.oracle.truffle.api.dsl.NodeFields
- value() - Element in annotation interface com.oracle.truffle.api.dsl.SuppressPackageWarnings
- value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeCast
- value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeCheck
- value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeSystem
-
The list of types as child elements of the
TypeSystem. - value() - Element in annotation interface com.oracle.truffle.api.dsl.TypeSystemReference
-
The
TypeSystemjava type. - value() - Element in annotation interface com.oracle.truffle.api.instrumentation.ProvidedTags
- value() - Element in annotation interface com.oracle.truffle.api.instrumentation.Tag.Identifier
-
Returns the identifier value as string.
- value() - Element in annotation interface com.oracle.truffle.api.InternalResource.Id
-
An internal resource identifier that is a valid path component and unique per language.
- value() - Element in annotation interface com.oracle.truffle.api.library.CachedLibrary
-
Sets the specialized value expression when using specialized libraries.
- value() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary.Repeat
-
Repeat value for
ExportLibrary. - value() - Element in annotation interface com.oracle.truffle.api.library.ExportLibrary
-
The library class that specifies the messages that are exported.
- value() - Element in annotation interface com.oracle.truffle.api.library.ExportMessage.Repeat
- value() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.DefaultExport.Repeat
- value() - Element in annotation interface com.oracle.truffle.api.library.GenerateLibrary.DefaultExport
- value() - Element in annotation interface com.oracle.truffle.api.Option.Group
-
A set of group names that are used as prefix for all options of the annotated class.
- valueOf(boolean) - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Create a
TriStatefrom a primitive boolean. - valueOf(long[]) - Static method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a new bit set containing all the bits in the given long array.
- valueOf(Boolean) - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Create a
TriStatefrom a boxedBooleanexplicitely checking fornulland returningTriState.UNDEFINED. - valueOf(String) - Static method in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.debug.SourceElement
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.frame.FrameSlotKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.interop.ExceptionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Returns the enum constant of this class with the specified name.
- valueOf(BitSet) - Static method in class com.oracle.truffle.api.utilities.FinalBitSet
-
Returns a new final bit set from a Java
BitSetinstance. - ValueProfile - Class in com.oracle.truffle.api.profiles
-
Specialized value profile to capture certain properties of
Objectruntime values. - values() - Static method in enum class com.oracle.truffle.api.debug.Breakpoint.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.debug.SourceElement
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.debug.SuspendAnchor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.frame.FrameInstance.FrameAccess
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.frame.FrameSlotKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.InternalResource.CPUArchitecture
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.InternalResource.OS
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.interop.ExceptionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.nodes.NodeCost
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CodeRange
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.CompactionLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.strings.TruffleString.ErrorHandling
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ContextPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.TruffleLanguage.ExitMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.oracle.truffle.api.utilities.TriState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
- version() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
The version for instrument in an arbitrary format.
- version() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
Unique string identifying the language version.
- versionHash(InternalResource.Env) - Method in interface com.oracle.truffle.api.InternalResource
-
Returns the version hash to be used for this resource.
- virtual(boolean) - Method in class com.oracle.truffle.api.TruffleThreadBuilder
-
Specifies whether to create a virtual thread (Thread#ofVirtual()) or a regular platform thread (the default) for the threads created by this builder.
- VirtualFrame - Interface in com.oracle.truffle.api.frame
-
Represents a frame containing values of local variables of the guest language.
- visit(Node) - Method in interface com.oracle.truffle.api.nodes.NodeVisitor
-
This visitor method is called for every node in the tree.
- visit(FileVisitor<TruffleFile>, int, FileVisitOption...) - Method in class com.oracle.truffle.api.TruffleFile
-
Visits this
TruffleFilefile tree. - visitFrame(FrameInstance) - Method in interface com.oracle.truffle.api.frame.FrameInstanceVisitor
- visitLoadedSourceSections(SourceSectionFilter, LoadSourceSectionListener) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
-
Notifies the listener for each
SourceSectionin every loadedSourcethat corresponds to the filter.
W
- warning(String) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
warning level. - warning(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
-
Logs a message with
warning level. - wasEntered(Node) - Method in class com.oracle.truffle.api.profiles.InlinedBranchProfile
- wasFalse(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns
trueif theInlinedConditionProfile.profile(Node, boolean)method ever received afalsevalue, otherwisefalse. - wasFalse(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns
trueif theInlinedCountingConditionProfile.profile(Node, boolean)method ever received afalsevalue, otherwisefalse. - wasFalse(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns
trueif theInlinedLoopConditionProfile.profile(Node, boolean)method ever received afalsevalue, otherwisefalse. - wasTrue(Node) - Method in class com.oracle.truffle.api.profiles.InlinedConditionProfile
-
Returns
trueif theInlinedConditionProfile.profile(Node, boolean)method ever received atruevalue, otherwisefalse. - wasTrue(Node) - Method in class com.oracle.truffle.api.profiles.InlinedCountingConditionProfile
-
Returns
trueif theInlinedCountingConditionProfile.profile(Node, boolean)method ever received atruevalue, otherwisefalse. - wasTrue(Node) - Method in class com.oracle.truffle.api.profiles.InlinedLoopConditionProfile
-
Returns
trueif theInlinedLoopConditionProfile.profile(Node, boolean)method ever received atruevalue, otherwisefalse. - weak() - Element in annotation interface com.oracle.truffle.api.dsl.Cached
-
If set to
truethen weak references will be used to refer to this cached value in the generated node. - website() - Element in annotation interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration
-
A link to a website with more information about the instrument.
- website() - Element in annotation interface com.oracle.truffle.api.TruffleLanguage.Registration
-
A link to a website with more information about the language.
- WINDOWS - Enum constant in enum class com.oracle.truffle.api.InternalResource.OS
-
The Windows operating system.
- Windows_1250 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1250.
- Windows_1251 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1251.
- Windows_1252 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1252.
- Windows_1253 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1253.
- Windows_1254 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1254.
- Windows_1255 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1255.
- Windows_1256 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1256.
- Windows_1257 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1257.
- Windows_1258 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-1258.
- Windows_31J - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-31J.
- Windows_874 - Enum constant in enum class com.oracle.truffle.api.strings.TruffleString.Encoding
-
Windows-874.
- with() - Element in annotation interface com.oracle.truffle.api.dsl.Executed
-
The
Executed.with()property allows a node to pass the result of one child's executable as an input to another child's executable. - writeArrayElement(Object, long, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the value of an array element by index.
- writeBufferByte(Object, long, byte) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given byte from the receiver object at the given byte offset from the start of the buffer.
- writeBufferDouble(Object, ByteOrder, long, double) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given double from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- writeBufferFloat(Object, ByteOrder, long, float) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given float from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- writeBufferInt(Object, ByteOrder, long, int) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given int from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- writeBufferLong(Object, ByteOrder, long, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given long from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- writeBufferShort(Object, ByteOrder, long, short) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the given short from the receiver object in the given byte order at the given byte offset from the start of the buffer.
- writeByteUncached(int, byte, TruffleString.Encoding) - Method in class com.oracle.truffle.api.strings.MutableTruffleString
-
Shorthand for calling the uncached version of
MutableTruffleString.WriteByteNode. - writeHashEntry(Object, Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Associates the specified value with the specified key in the receiver.
- writeMember(Object, String, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
-
Writes the value of a given member.
Y
- yieldExceptions() - Element in annotation interface com.oracle.truffle.api.instrumentation.GenerateWrapper
-
Exceptions that are thrown to yield the execution of a thread.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DebugValue.toDisplayString()instead.