Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

AbstractTruffleException - Exception 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 com.oracle.truffle.api.exception.AbstractTruffleException
Creates a new AbstractTruffleException.
AbstractTruffleException(Node) - Constructor for exception com.oracle.truffle.api.exception.AbstractTruffleException
Creates a new AbstractTruffleException with given location.
AbstractTruffleException(String) - Constructor for exception com.oracle.truffle.api.exception.AbstractTruffleException
Creates a new AbstractTruffleException with given message.
AbstractTruffleException(String, Node) - Constructor for exception com.oracle.truffle.api.exception.AbstractTruffleException
Creates a new AbstractTruffleException with given message and location.
AbstractTruffleException(AbstractTruffleException) - Constructor for exception com.oracle.truffle.api.exception.AbstractTruffleException
Creates a new AbstractTruffleException initialized from the given prototype.
AbstractTruffleException(String, Throwable, int, Node) - Constructor for exception com.oracle.truffle.api.exception.AbstractTruffleException
Creates a new AbstractTruffleException.
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<?>, 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.
accepts(Object) - Method in class com.oracle.truffle.api.library.Library
Returns true if this library instance supports sending messages with the given receiver.
Access() - Constructor for class com.oracle.truffle.api.object.Layout.Access
Deprecated.
 
Access(AbstractPolyglotImpl) - Constructor for class com.oracle.truffle.api.ThreadLocalAction.Access
Constructor for framework use only.
acquire() - Static method in class com.oracle.truffle.api.memory.MemoryFence
Ensures that loads before the fence will not be reordered with loads and stores after the fence.
add(String) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
 
add(Number) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
 
add(Boolean) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
 
add(JSONHelper.JSONStringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
 
add(String, String) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
 
add(String, Number) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
 
add(String, Boolean) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
 
add(String, JSONHelper.JSONStringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
 
addActiveListener(Consumer<Boolean>) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
Add a listener that is notified when active value 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.
addFrameSlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Adds frame slot.
addFrameSlot(Object, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Adds frame slot.
addFrameSlot(Object, Object, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Adds new frame slot to FrameDescriptor.getSlots() list.
addLocation(Location) - Method in class com.oracle.truffle.api.object.Shape.Allocator
Reserves space for the given location, so that it will not be available to subsequently allocated locations.
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.
addToHostClassPath(TruffleFile) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Adds an entry to the Java host class loader.
adoptChildren() - Method in class com.oracle.truffle.api.nodes.Node
 
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.
allocator() - Method in class com.oracle.truffle.api.object.Shape
Obtain an Shape.Allocator instance for the purpose of allocating locations.
Allocator() - Constructor for class com.oracle.truffle.api.object.Shape.Allocator
 
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.
allPropertiesMatch(Predicate<Property>) - Method in class com.oracle.truffle.api.object.Shape
Tests if all properties in the shape match the provided predicate.
AlwaysValidAssumption - Class in com.oracle.truffle.api.utilities
An assumption that is always valid.
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().
appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder
 
appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder
 
appendTo(StringBuilder) - Method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
 
appendValue(StringBuilder, Object) - Static method in class com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder
 
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.Interruptible
Runs the interruptable method for a given object.
areOptionsCompatible(OptionValues, OptionValues) - Method in class com.oracle.truffle.api.TruffleLanguage
Returns true if the combination of two sets of options allow to share or reuse the same language instance, else false.
ArityException - Exception 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
 
ArrayUtils - Class in com.oracle.truffle.api
This class provides additional operations for String as well as character and byte arrays, which may be intrinsified by a compiler.
asBoolean() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns a boolean representation of this value if it is boolean.
asBoolean(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns the Java boolean value if the receiver represents a boolean like 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
Returns a byte representation of this value if it is number and the value fits.
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.
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
Returns a double representation of this value if it is number and the value fits.
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
Returns a float representation of this value if it is number and the value fits.
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.
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
Returns an int representation of this value if it is number and the value fits.
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
Returns a long representation of this value if it is number and the value fits.
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.
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.
assertRecursion(Node, int) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
Fails with an assertion if the exact node type is used as a parent.
asShort() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns a short representation of this value if it is number and the value fits.
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 String value 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 string like 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(T) - Constructor for class com.oracle.truffle.api.utilities.AssumedValue
 
AssumedValue(String, 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()).
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.
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 listener to be notified about allocations of guest language values.
attachContextsListener(T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Attach a listener to 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
Starts notifications for each newly executed Source and returns a binding that can be used to terminate notifications.
attachExecutionEventFactory(SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Starts execution event notification for a given event filter and factory.
attachExecutionEventFactory(SourceSectionFilter, SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Starts execution event notification for a given event filter and factory.
attachExecutionEventListener(SourceSectionFilter, T) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Starts execution event notification for a given event filter and listener.
attachLoadSourceListener(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Starts notifications for each newly loaded Source and 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 SourceSection in every newly loaded Source and 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 listener to 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 listener to be notified about changes in threads in guest language application.

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).
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.
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 Type in com.oracle.truffle.api.dsl
Binds and executes an expression at most once for every execution of the node.
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(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(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(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(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(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(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 extends Node> - 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 extends Node> - Interface in com.oracle.truffle.api.nodes
Represents a contract how block element nodes can be executed.
BooleanLocation - Interface in com.oracle.truffle.api.object
Planned to be deprecated.
BranchProfile - Class in com.oracle.truffle.api.profiles
BranchProfiles are profiles to speculate on branches that are unlikely to be visited.
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 breakpoint of EXCEPTION kind.
Breakpoint.Kind - Enum 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.
breakpointResolved(Breakpoint, SourceSection) - Method in interface com.oracle.truffle.api.debug.Breakpoint.ResolveListener
Notify about a breakpoint resolved at the specified location.
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 configuration from 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.instrumentation.AllocationEventFilter.Builder
Create an instance of AllocationEventFilter based on the current setup of this builder.
build() - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
Finalizes and constructs the SourceFilter instance.
build() - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
Finalizes and constructs the SourceSectionFilter instance.
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 Source object.
build() - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Uses configuration of this builder to create new Source object.
build() - Method in class com.oracle.truffle.api.TruffleContext.Builder
Builds the new context instance.
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.
ByteArraySupport - Class in com.oracle.truffle.api.memory
Utility methods to write to and read from arrays of bytes.
ByteValueProfile - Class in com.oracle.truffle.api.profiles
Specialized value profile to capture certain properties of byte runtime values.

C

Cached - Annotation Type in com.oracle.truffle.api.dsl
A parameter annotated with Cached in a Specialization refers to a cached value of a specialization instance.
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.Exclusive - Annotation Type in com.oracle.truffle.api.dsl
Disallows any sharing with other cached parameters.
Cached.Shared - Annotation Type in com.oracle.truffle.api.dsl
Allows sharing between multiple Cached parameters between multiple specializations or exported library messages.
CachedContext - Annotation Type in com.oracle.truffle.api.dsl
Allows to access the current language execution context in specializations or exported messages.
CachedLanguage - Annotation Type in com.oracle.truffle.api.dsl
Allows to access the current language instance in specializations or exported messages.
CachedLibrary - Annotation Type in com.oracle.truffle.api.library
The cached library annotation allows to use Truffle Libraries conveniently in specializations or exported 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(Object...) - Method in interface com.oracle.truffle.api.CallTarget
Calls this target as a root method.
call(Object...) - Method in class com.oracle.truffle.api.nodes.DirectCallNode
call(CallTarget, Object...) - Method in class com.oracle.truffle.api.nodes.IndirectCallNode
Performs an indirect call to the given CallTarget target with the provided arguments.
CallTarget - Interface in com.oracle.truffle.api
Represents the target of a call.
callTarget - Variable in class com.oracle.truffle.api.nodes.DirectCallNode
 
canExecute() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value can be executed (represents a guest language function), else false.
canonicalizePath(boolean) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
Whether the Source.getPath() (from the TruffleFile) should be canonicalized.
canonicalizePath(boolean) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Whether the Source.getPath() (from the TruffleFile) should be canonicalized.
canSet(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.Location
Returns true if the location can be set to the given value.
canSet(Object) - Method in class com.oracle.truffle.api.object.Location
Returns true if the location can be set to the value.
canStore(Object) - Method in class com.oracle.truffle.api.object.Location
Returns true if the location is compatible with the type of the value.
cardinality() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
Returns the number of bits set to true in this BitSet.
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 catches function.
changeType(ObjectType) - Method in class com.oracle.truffle.api.object.Shape
Change the shape's type, yielding a new shape.
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.
check() - Method in class com.oracle.truffle.api.utilities.AlwaysValidAssumption
 
check() - Method in class com.oracle.truffle.api.utilities.NeverValidAssumption
 
check() - Method in class com.oracle.truffle.api.utilities.UnionAssumption
 
checkShape(DynamicObject, Shape) - Static method in class com.oracle.truffle.api.object.Location
clear(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Clears the given slot in the frame.
clearEnvironment(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
If true the environment variables are not inherited by the subprocess.
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 by DynamicObject at this point in time, so it always throws CloneNotSupportedException, even if the Cloneable interface is implemented in a subclass.
cloneCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Clones the CallTarget instance returned by DirectCallNode.getCallTarget() in an uninitialized state for this DirectCallNode.
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 ThreadDeath exception.
closeResourceExhausted(Node, String) - Method in class com.oracle.truffle.api.TruffleContext
Force closes the context due to resource exhaustion.
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(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.
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).
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 start here.
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.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 TruffleLanguage implementations.
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.memory - package com.oracle.truffle.api.memory
This package contains memory related classes used by TruffleLanguage implementations.
com.oracle.truffle.api.nodes - package com.oracle.truffle.api.nodes
Abstract syntax tree nodes are the basic building block for your TruffleLanguage.
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 directives to guard for and/or forward runtime information to the compiler.
com.oracle.truffle.api.source - package com.oracle.truffle.api.source
Represents a source file.
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(List<String>) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
Sets the executable and arguments.
command(String...) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
Sets the executable and arguments.
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 Type 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 Type in com.oracle.truffle.api
Marks a method that it is considered as a boundary for Truffle partial evaluation.
CompilerDirectives.ValueType - Annotation Type in com.oracle.truffle.api
Marks classes as value types.
CompilerOptions - Interface in com.oracle.truffle.api
Allows options to be set to control the compilation of a specific RootNode, without creating a dependency on the specific compiler used.
concat(T[], T[]) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
 
ConditionProfile - Class in com.oracle.truffle.api.profiles
ConditionProfiles are useful to profile the outcome of conditions.
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(String) - Method in class com.oracle.truffle.api.TruffleLogger
Logs a message with config level.
config(Supplier<String>) - Method in class com.oracle.truffle.api.TruffleLogger
Logs a message with config level.
connectNodes(Object, Object) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
connectNodes(Object, Object, String) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
constantLocation(Object) - Method in class com.oracle.truffle.api.object.Shape.Allocator
Creates a new location from a constant value.
containsKey(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
Returns true if 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-built Source.
content(ByteSequence) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
Specifies byte based content of to-be-built Source.
content(CharSequence) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Specifies character based content of to-be-built Source.
content(ByteSequence) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Specifies byte based content of to-be-built Source.
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.
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.
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 in com.oracle.truffle.api.nodes
An exception thrown to model control flow in a Truffle interpreter.
ControlFlowException() - Constructor for exception 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 null if 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() - Method in class com.oracle.truffle.api.object.Shape.Allocator
Creates an copy of this allocator state.
copy(TruffleFile, CopyOption...) - Method in class com.oracle.truffle.api.TruffleFile
Copies the file.
count(int) - Method in class com.oracle.truffle.api.debug.StepConfig.Builder
Provide the step count.
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 true if this root node should count towards AbstractTruffleException.getStackTraceElementLimit().
create(Object...) - Static method in interface com.oracle.truffle.api.dsl.Introspection.Provider
Factory method to create Node introspection data.
create() - Static method in class com.oracle.truffle.api.dsl.SpecializationStatistics
Creates a new specialization statistics instance.
create(Node, String[]) - Static method in class com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics
Called when a new node statistics object is created.
create(EventContext) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventNodeFactory
Returns a new instance of ExecutionEventNode for this particular source location.
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() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
Creates a new instance of a TruffleInstrument.
create(int, int, int) - Static method in exception com.oracle.truffle.api.interop.ArityException
Creates an ArityException to indicate that the wrong number of arguments were provided.
create(int, int, int, Throwable) - Static method in exception com.oracle.truffle.api.interop.ArityException
Creates an ArityException to indicate that the wrong number of arguments were provided.
create(long) - Static method in exception com.oracle.truffle.api.interop.InvalidArrayIndexException
Creates an InvalidArrayIndexException to indicate that an array index is invalid.
create(long, Throwable) - Static method in exception com.oracle.truffle.api.interop.InvalidArrayIndexException
Creates an InvalidArrayIndexException to indicate that an array index is invalid.
create(long, long) - Static method in exception com.oracle.truffle.api.interop.InvalidBufferOffsetException
Creates an InvalidBufferOffsetException to indicate that a buffer access is invalid.
create(long, long, Throwable) - Static method in exception com.oracle.truffle.api.interop.InvalidBufferOffsetException
Creates an InvalidBufferOffsetException to indicate that a buffer access is invalid.
create() - Static method in exception com.oracle.truffle.api.interop.StopIterationException
Creates an StopIterationException to indicate that iteration was stopped.
create(Throwable) - Static method in exception com.oracle.truffle.api.interop.StopIterationException
Creates an StopIterationException to indicate that iteration was stopped.
create(String) - Static method in exception com.oracle.truffle.api.interop.UnknownIdentifierException
Creates an UnknownIdentifierException to indicate that an identifier is missing.
create(String, Throwable) - Static method in exception com.oracle.truffle.api.interop.UnknownIdentifierException
Creates an UnknownIdentifierException to indicate that an identifier is missing.
create(Object) - Static method in exception com.oracle.truffle.api.interop.UnknownKeyException
Creates an UnknownKeyException to indicate that a key is missing in the hash object.
create(Object, Throwable) - Static method in exception com.oracle.truffle.api.interop.UnknownKeyException
Creates an UnknownKeyException to indicate that a key is missing in the hash object.
create() - Static method in exception com.oracle.truffle.api.interop.UnsupportedMessageException
Creates an UnsupportedMessageException to indicate that an interop message is not supported.
create(Throwable) - Static method in exception com.oracle.truffle.api.interop.UnsupportedMessageException
Creates an UnsupportedMessageException to indicate that an interop message is not supported.
create(Object[]) - Static method in exception com.oracle.truffle.api.interop.UnsupportedTypeException
Creates an UnsupportedTypeException to indicate that an argument type is not supported.
create(Object[], String) - Static method in exception com.oracle.truffle.api.interop.UnsupportedTypeException
Creates an UnsupportedTypeException to indicate that an argument type is not supported.
create(Object[], String, Throwable) - Static method in exception com.oracle.truffle.api.interop.UnsupportedTypeException
Creates an UnsupportedTypeException to indicate that an argument type is not supported.
create(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
Creates a new manually dispatched cached library for a given receiver.
create(T[], BlockNode.ElementExecutor<T>) - Static method in class com.oracle.truffle.api.nodes.BlockNode
Creates a new block node.
create(CallTarget) - Static method in class com.oracle.truffle.api.nodes.DirectCallNode
 
create(Class<?>, Class<?>[]) - Static method in class com.oracle.truffle.api.nodes.ExecutionSignature
Creates a new execution signature of a RootNode.
create() - Static method in class com.oracle.truffle.api.nodes.IndirectCallNode
 
create(Object, Location, int) - Static method in class com.oracle.truffle.api.object.Property
Create a new property.
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.ConditionProfile
Creates a binary ConditionProfile using ConditionProfile.createBinaryProfile().
create() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
create(C) - Method in interface com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory
Returns a new value for a context local of a language.
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() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
Creates a new instance of a TruffleLanguage.
create(Node, RootCallTarget, Frame) - Static method in class com.oracle.truffle.api.TruffleStackTraceElement
Create a new stack trace element.
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.
createBinaryProfile() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
Returns a ConditionProfile that speculates on conditions to be never true or to be never false.
createCached(Object) - Method in class com.oracle.truffle.api.library.LibraryExport
Implemented generated by ExportLibrary.
createCallTarget(RootNode) - Method in interface com.oracle.truffle.api.TruffleRuntime
Creates a new call target for a given root node.
CreateCast - Annotation Type in com.oracle.truffle.api.dsl
Specifies a factory method that creates a Node which 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.
createCompilerOptions() - Method in interface com.oracle.truffle.api.TruffleRuntime
Creates an object which allows you to test for support of and set options specific for this runtime.
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
Creates a new context local reference for this instrument.
createContextLocal(TruffleLanguage.ContextLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage
Creates a new context local reference for this Truffle language.
createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument
Creates a new context thread local reference for this Truffle language.
createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T>) - Method in class com.oracle.truffle.api.TruffleLanguage
Creates a new context thread local reference for this Truffle language.
createCountingProfile() - Static method in class com.oracle.truffle.api.profiles.ConditionProfile
Returns a ConditionProfile that speculates on conditions to be never true or to be never false.
createCountingProfile() - Static method in class com.oracle.truffle.api.profiles.LoopConditionProfile
Returns a LoopConditionProfile that speculates on loop conditions to be never true.
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.
createElementForNode(Object) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
createEqualityProfile() - Static method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
Returns a PrimitiveValueProfile that speculates on the primitive equality or object identity of a value.
createError(RuntimeException) - Method in class com.oracle.truffle.api.instrumentation.EventContext
Creates a runtime exception that when thrown is observable to the guest language application.
createExecuteSourceBinding(SourceFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Create a binding to get notifications for each newly executed Source.
createFactory() - Method in class com.oracle.truffle.api.object.Shape
Create a DynamicObjectFactory for creating instances of this shape.
createFile(FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
Creates a new empty file.
createFileTypeDetectors() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
Creates file type detectors used by the TruffleLanguage.
createHostAdapterClass(Class<?>[]) - 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.
createHostAdapterClassWithStaticOverrides(Class<?>[], Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Like TruffleLanguage.Env.createHostAdapterClass(Class[]) but creates a Java host adapter class with class-level overrides, i.e., the guest object provided as classOverrides is 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.
createLayout(Layout.Builder) - Method in interface com.oracle.truffle.api.object.LayoutFactory
 
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
Create a binding to get notifications for each newly loaded Source.
createLoadSourceSectionBinding(SourceSectionFilter, T, boolean) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Create a binding to get notifications for each newly loaded SourceSection in every newly loaded Source.
createLocation(Shape, Object) - Method in interface com.oracle.truffle.api.object.LocationFactory
 
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.
createPrimitiveValue(Object, LanguageInfo) - Method in class com.oracle.truffle.api.debug.DebuggerSession
Creates a DebugValue object that wraps a primitive value.
createProperty(Object, Location) - Method in interface com.oracle.truffle.api.object.LayoutFactory
 
createProperty(Object, Location, int) - Method in interface com.oracle.truffle.api.object.LayoutFactory
 
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 double using Double.doubleToRawLongBits(double).
createRawIdentityProfile() - Static method in class com.oracle.truffle.api.profiles.FloatValueProfile
Returns a value profile that profiles the exact value of a float using Float.floatToRawIntBits(float).
createRedirectToStream(OutputStream) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
Creates a redirect to write into the given OutputStream.
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.
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.
createSymbolicLink(TruffleFile, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
Creates a symbolic link to a target (optional operation).
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
Creates a new thread that has access to the current language context.
createThread(Runnable, TruffleContext) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Creates a new thread that has access to the given context.
createThread(Runnable, TruffleContext, ThreadGroup) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Creates a new thread that has access to the given context.
createThread(Runnable, TruffleContext, ThreadGroup, long) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Creates a new thread that has access to the given context.
createUnavailableSection() - Method in class com.oracle.truffle.api.source.Source
Returns an unavailable source section indicating that the source location is not available.
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.
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 wrapper node implementation for this instrumentable node.
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

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 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.
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.
declaredLocation(Object) - Method in class com.oracle.truffle.api.object.Shape.Allocator
Creates a new declared location with a default value.
deepCopy() - Method in class com.oracle.truffle.api.nodes.Node
Creates a deep copy of this node.
DefaultExportProvider - Interface in com.oracle.truffle.api.library
Service provider interface implemented by external default exports of a library.
defineProperty(Object, Object, int) - Method in class com.oracle.truffle.api.object.Shape
Add or change property in the map, yielding a new or cached Shape object.
delete() - Method in class com.oracle.truffle.api.TruffleFile
Deletes the file.
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 file MIME type.
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.Profile
Disables this profile by setting it to its generic state.
dispatch(Object) - Method in class com.oracle.truffle.api.library.DynamicDispatchLibrary
Returns a class that exports at least one library with an explicit receiver.
dispatch() - Method in class com.oracle.truffle.api.object.ObjectType
Returns the exports class that this object type is dispatched to using dynamic dispatch.
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
disposeThread(C, Thread) - Method in class com.oracle.truffle.api.TruffleLanguage
Invoked the last time code will be executed for this thread and context.
DoubleLocation - Interface in com.oracle.truffle.api.object
Planned to be deprecated.
DoubleValueProfile - Class in com.oracle.truffle.api.profiles
Specialized value profile to capture certain properties of double runtime values.
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 DynamicObject subclasses.
DynamicObject.DynamicField - Annotation Type in com.oracle.truffle.api.object
Using this annotation, subclasses can define additional dynamic fields to be used by the object layout.
DynamicObjectFactory - Interface in com.oracle.truffle.api.object
This factory can be used to create a new DynamicObject from an initial shape, with its instance properties initialized to the values passed to DynamicObjectFactory.newInstance(Object...).
DynamicObjectLibrary - Class in com.oracle.truffle.api.object
DynamicObject access 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
Service provider interface implemented by library exports if they needed to be loaded eagerly with a library.
EMPTY - Static variable in class com.oracle.truffle.api.utilities.FinalBitSet
An empty bit set of size 0.
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(String) - Method in class com.oracle.truffle.api.TruffleFile
Tests if this TruffleFile path ends with the given path.
endsWith(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
Tests if this TruffleFile path ends with the given TruffleFile path.
ensureRegistered() - Method in interface com.oracle.truffle.api.library.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.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(Map<String, String>) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
Shortcut for setting multiple environment variables using a map.
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 DebugValue is 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(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.ObjectType
Delegate method for Object.equals(Object).
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.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.
err() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Standard error writer for Engine this instrument is 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.
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.
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.
ExactMath - Class in com.oracle.truffle.api
This class contains exact math related methods that are generally useful for dynamic language implementations.
ExceptionType - Enum in com.oracle.truffle.api.interop
Represents a type of a Truffle exception.
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(DebugValue...) - Method in class com.oracle.truffle.api.debug.DebugValue
Executes the executable represented by this value.
execute(Object, Object...) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Executes an executable value with the given arguments.
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.
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.
executeBoolean(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a boolean 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.
executeByte(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a byte 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.
executeChar(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a char value.
Executed - Annotation Type in com.oracle.truffle.api.dsl
This annotation declares a child field to be executed and used as dynamic input values for specializations.
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.
executeDouble(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a double 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.
executeFloat(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a float 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.
executeGeneric(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a generic 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.
executeInt(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns an int 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.
executeLong(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns a long value.
executeRepeating(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
Repeatedly invoked by a loop node implementation until the method returns false or throws an exception.
executeRepeatingWithValue(VirtualFrame) - Method in interface com.oracle.truffle.api.nodes.RepeatingNode
Repeatedly invoked by a loop node implementation, but allows returning a language-specific loop exit status.
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.
executeShort(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns 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 Instrumenter to specific sources of a guest language program to listen to execute source events.
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.
executeVoid(VirtualFrame, int) - Method in class com.oracle.truffle.api.nodes.BlockNode
Executes the block and returns no value.
ExecutionEventListener - Interface in com.oracle.truffle.api.instrumentation
A listener attached by an Instrumenter to 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 ExecutionEventNodeFactory for 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.
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.
ExplodeLoop - Annotation Type in com.oracle.truffle.api.nodes
Specifies for a method that the loops with constant number of invocations should be fully unrolled.
ExplodeLoop.LoopExplosionKind - Enum in com.oracle.truffle.api.nodes
Controls the behavior of the ExplodeLoop annotation.
ExportLibrary - Annotation Type in com.oracle.truffle.api.library
Allows to export messages of Truffle libraries.
ExportLibrary.Repeat - Annotation Type in com.oracle.truffle.api.library
Repeat annotation for ExportLibrary.
ExportMessage - Annotation Type in com.oracle.truffle.api.library
Exports the annotated method or class as library message.
ExportMessage.Ignore - Annotation Type in com.oracle.truffle.api.library
Explicitly ignores warning messages originating from the ExportLibrary annotation.
ExportMessage.Repeat - Annotation Type 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.

F

Fallback - Annotation Type in com.oracle.truffle.api.dsl
A method annotated with Fallback is treated as a Specialization that implicitly links all the guards of all other declared Specialization annotated methods of the operation in a negated form.
FASTPATH_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
 
fillIn(Throwable) - Static method in exception com.oracle.truffle.api.TruffleStackTrace
Fills in the guest language stack frames from the current frames on the stack.
fillInStackTrace() - Method in exception com.oracle.truffle.api.debug.DebugException
Unsupported, DebugException instances are not writable therefore filling the stack trace has no effect for them.
fillInStackTrace() - Method in exception com.oracle.truffle.api.exception.AbstractTruffleException
fillInStackTrace() - Method in exception com.oracle.truffle.api.interop.InteropException
No stack trace for interop exceptions.
fillInStackTrace() - Method in exception com.oracle.truffle.api.nodes.ControlFlowException
For performance reasons, this exception does not record any stack trace information.
fillInStackTrace() - Method in exception 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.
finalLocation() - Static method in class com.oracle.truffle.api.object.Location
 
FinalLocationException - Exception in com.oracle.truffle.api.object
This exception is thrown on an attempt to assign a value to a final location.
find(TruffleInstrument.Env) - Static method in class com.oracle.truffle.api.debug.Debugger
Finds the debugger associated with a given instrument environment.
find(Engine) - Static method in class com.oracle.truffle.api.debug.Debugger
Finds the debugger associated with a given an engine.
find(TruffleLanguage.Env) - Static method in class com.oracle.truffle.api.debug.Debugger
Finds the debugger associated with a given language environment.
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.
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
 
findFrameSlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Finds an existing slot.
findInstrumentableParent(Node) - Static method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
Find the first instrumentable node 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(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.
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.
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 null if no MIME type could be resolved.
findMimeType(URL) - Static method in class com.oracle.truffle.api.source.Source
Returns the probed MIME type for a given url, or null if no MIME type could be resolved.
findMimeType(TruffleFile) - Method in interface com.oracle.truffle.api.TruffleFile.FileTypeDetector
Finds a MIME type for given TruffleFile.
findNearestNodeAt(int, Set<Class<? extends Tag>>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
Find the nearest node to 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
 
findOrAddFrameSlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Finds an existing slot or creates new one.
findOrAddFrameSlot(Object, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Finds an existing slot or creates new one.
findOrAddFrameSlot(Object, Object, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Finds an existing slot or creates new one.
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.
fitsInByte() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a number and the value fits in byte, else false.
fitsInByte(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number and its value fits in a Java byte primitive without loss of precision, else false.
fitsInDouble() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a number and the value fits in double, else false.
fitsInDouble(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number and its value fits in a Java double primitive without loss of precision, else false.
fitsInFloat() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a number and the value fits in float, else false.
fitsInFloat(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number and its value fits in a Java float primitive without loss of precision, else false.
fitsInInt() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a number and the value fits in int, else false.
fitsInInt(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number and its value fits in a Java int primitive without loss of precision, else false.
fitsInLong() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a number and the value fits in long, else false.
fitsInLong(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number and its value fits in a Java long primitive without loss of precision, else false.
fitsInShort() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a number and the value fits in short, else false.
fitsInShort(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number and its value fits in a Java short primitive without loss of precision, else false.
FloatValueProfile - Class in com.oracle.truffle.api.profiles
Specialized value profile to capture certain properties of float runtime values.
forceInlining() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Enforces the runtime system to inline the CallTarget at this call site.
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().
FrameInstance - Interface in com.oracle.truffle.api.frame
Represents a current frame instance on the stack.
FrameInstance.FrameAccess - Enum in com.oracle.truffle.api.frame
FrameInstanceVisitor<T> - Interface in com.oracle.truffle.api.frame
FrameSlot - Class in com.oracle.truffle.api.frame
A slot in a Frame and FrameDescriptor that can store a value of a given type.
FrameSlotKind - Enum in com.oracle.truffle.api.frame
 
FrameSlotTypeException - Exception in com.oracle.truffle.api.frame
Exception thrown if the frame slot type does not match the access type.
FrameSlotTypeException() - Constructor for exception com.oracle.truffle.api.frame.FrameSlotTypeException
 
FrameUtil - Class in com.oracle.truffle.api.frame
 
fromCount(int) - Static method in enum com.oracle.truffle.api.nodes.NodeCost
Finds the node cost for an associated node count.
full() - Static method in class com.oracle.truffle.api.memory.MemoryFence
Ensures that loads and stores before the fence will not be reordered with loads and stores after the fence.

G

GenerateAOT - Annotation Type in com.oracle.truffle.api.dsl
Allows nodes with specializations to be prepared for AOT.
GenerateAOT.Exclude - Annotation Type in com.oracle.truffle.api.dsl
Excludes the annotated Specialization from AOT preparation.
GenerateAOT.Provider - Interface in com.oracle.truffle.api.dsl
Implemented by generated code.
GeneratedBy - Annotation Type in com.oracle.truffle.api.dsl
Marks a type as being generated based on another class or method of a class.
GenerateLibrary - Annotation Type in com.oracle.truffle.api.library
Libraries are specified with public and abstract Java classes that extend the Library class and are annotated by @GenerateLibrary.
GenerateLibrary.Abstract - Annotation Type in com.oracle.truffle.api.library
Makes a library message abstract, but allows to keep a default implementation.
GenerateLibrary.DefaultExport - Annotation Type in com.oracle.truffle.api.library
Specifies library implementations provided by default as a fallback.
GenerateLibrary.DefaultExport.Repeat - Annotation Type in com.oracle.truffle.api.library
 
GenerateNodeFactory - Annotation Type in com.oracle.truffle.api.dsl
Annotate nodes or base classes of nodes to generate factory handlers implementing the NodeFactory interface.
GenerateUncached - Annotation Type in com.oracle.truffle.api.dsl
Generates an uncached version of a node with specializations.
GenerateWrapper - Annotation Type in com.oracle.truffle.api.instrumentation
Generates a default wrapper subclass of an annotated InstrumentableNode subclass.
GenerateWrapper.IncomingConverter - Annotation Type in com.oracle.truffle.api.instrumentation
Annotates a method to be used as incoming value converter.
GenerateWrapper.OutgoingConverter - Annotation Type in com.oracle.truffle.api.instrumentation
Annotates a method to be used as outgoing value converter.
GENERIC - Static variable in class com.oracle.truffle.api.nodes.ExecutionSignature
Returns a generic return profile where return and argument types are unknown.
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(TruffleContext) - Method in class com.oracle.truffle.api.ContextLocal
Returns the context local value for an explicit context.
get() - Method in class com.oracle.truffle.api.ContextThreadLocal
Returns the context thread local value for the currently entered context and thread.
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.
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() - Method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
Returns the current encapsulating node for the current thread.
get(Class<? extends Node>) - Static method in class com.oracle.truffle.api.nodes.NodeClass
 
get(Node) - Static method in class com.oracle.truffle.api.nodes.NodeClass
 
get(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Location
Get object value as object at this location in store.
get(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Location
Get object value as object at this location in store.
get(DynamicObject) - Method in class com.oracle.truffle.api.object.Location
Get object value as object at this location in store.
get(DynamicObject, Shape) - Method in class com.oracle.truffle.api.object.Property
Gets the value of this property of the object.
get(DynamicObject, boolean) - Method in class com.oracle.truffle.api.object.Property
Gets the value of this property of the object.
get(TruffleFile.AttributeDescriptor<T>) - Method in class com.oracle.truffle.api.TruffleFile.Attributes
Returns the attribute value.
get() - Method in class com.oracle.truffle.api.TruffleLanguage.ContextReference
Returns the current language context of the current execution context.
get() - Method in class com.oracle.truffle.api.TruffleLanguage.LanguageReference
Returns the current language of the current execution context.
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.utilities.FinalBitSet
Returns the value of the bit with the specified index.
getAbsoluteFile() - Method in class com.oracle.truffle.api.TruffleFile
Resolves this TruffleFile to absolute TruffleFile.
getActualArity() - Method in exception com.oracle.truffle.api.interop.ArityException
Returns the actual number of arguments provided by the foreign access.
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 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.
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 com.oracle.truffle.api.TruffleStackTrace
Returns asynchronous guest language stack frames that led to the execution of given CallTarget on the given Frame.
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.
getBoolean(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type boolean.
getBoolean(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
 
getBoolean(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.BooleanLocation
 
getBooleanSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
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 installed in this debugger instance, in the install order.
getBreakpoints() - Method in class com.oracle.truffle.api.debug.DebuggerSession
Returns all breakpoints installed in this session, in the install order.
getBreakpoints() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
Returns the breakpoints that 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type byte.
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.
getByteOffset() - Method in exception 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.
getByteSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
getCachedData(int) - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
Returns the cached state for a given specialization instance.
getCallerFrame() - Method in interface com.oracle.truffle.api.TruffleRuntime
Accesses the caller frame.
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 CallTarget being invoked in this frame.
getCallTarget() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Returns the originally supplied CallTarget when this call node was created.
getCallTarget() - Method in class com.oracle.truffle.api.nodes.RootNode
 
getCallTarget() - Method in exception com.oracle.truffle.api.OptimizationFailedException
 
getCanonicalFile(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
Returns a TruffleFile representing 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 com.oracle.truffle.api.debug.DebugException
Get source code location where this exception is to be caught.
getCause() - Method in exception com.oracle.truffle.api.exception.AbstractTruffleException
getCause() - Method in exception com.oracle.truffle.api.interop.InteropException
Returns the cause of an interop exception.
getCharacters() - Method in class com.oracle.truffle.api.source.Source
Returns all characters of the source.
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.
getCharacters() - Method in class com.oracle.truffle.api.source.SourceSection
Returns the source code fragment described by this section.
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.
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 CallTarget if this call site's CallTarget is cloned.
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.
getCompilerOptions() - Method in class com.oracle.truffle.api.nodes.RootNode
Get compiler options specific to this RootNode.
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.
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.instrumentation.ProbeNode
 
getCost() - Method in class com.oracle.truffle.api.nodes.BlockNode
Block nodes always have NodeCost.NONE.
getCost() - Method in class com.oracle.truffle.api.nodes.Node
Returns a rough estimate for the cost of this Node.
getCreationTime(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
Returns the creation time.
getCurrent() - Static method in class com.oracle.truffle.api.nodes.EncapsulatingNodeReference
Returns the encapsulating node reference of the current thread.
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
Returns the current language context entered on the current thread.
getCurrentFrame() - Method in interface com.oracle.truffle.api.TruffleRuntime
Accesses the current frame, i.e., the frame of the closest CallTarget.
getCurrentLanguage(Class<T>) - Static method in class com.oracle.truffle.api.TruffleLanguage
Returns the current language instance for the current thread.
getCurrentRootNode() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Returns the RootNode associated with CallTarget returned by DirectCallNode.getCurrentCallTarget().
getCurrentWorkingDirectory() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Gets the current working directory.
getDebugAsynchronousStacks() - Method in exception 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 debugger instance 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 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.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 null if 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 instrumentable guest 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type double.
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(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
 
getDouble(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.DoubleLocation
 
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.
getDoubleSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
getDynamicFieldAnnotation() - Method in class com.oracle.truffle.api.object.Layout.Access
Deprecated.
 
getDynamicType(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
Gets the dynamic type identifier currently associated with this object.
getDynamicType() - Method in class com.oracle.truffle.api.object.Shape
Get the shape's dynamic object type identifier.
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.
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.
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 TruffleContext or null when 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 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 type of 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 com.oracle.truffle.api.interop.ArityException
Returns the maximum number of arguments that are expected.
getExpectedMinArity() - Method in exception 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.
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.Shape
Returns the language-specific shape flags previously set using DynamicObjectLibrary.setShapeFlags(DynamicObject, int) or Shape.Builder.shapeFlags(int).
getFloat(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type float.
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.
getFloatSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
getFrame() - Method in class com.oracle.truffle.api.debug.DebugException.CatchLocation
 
getFrame(FrameInstance.FrameAccess) - Method in interface com.oracle.truffle.api.frame.FrameInstance
Accesses the underlying frame using a specified access mode.
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.
getFrameDescriptor() - Method in interface com.oracle.truffle.api.frame.Frame
 
getFrameDescriptor() - Method in class com.oracle.truffle.api.nodes.RootNode
 
getFrameSlotKind(FrameSlot) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Kind of the provided slot.
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 hasExecutableName and potentially hasDeclaringMetaObject and hasSourceLocation messages.
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 null if 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 defaultValue when 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.nodes.LanguageInfo
Returns the unique id of the language.
getIdentifier() - Method in class com.oracle.truffle.api.frame.FrameSlot
Identifier of the slot.
getIdentifier(Class<? extends Tag>) - Static method in class com.oracle.truffle.api.instrumentation.Tag
Returns the alias of a particular tag or null if no alias was specified for this tag.
getIdentifiers() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Retrieve the current set of all the identifiers associated with this frame descriptor.
getIgnoreCount() - Method in class com.oracle.truffle.api.debug.Breakpoint
 
getInfo() - Method in class com.oracle.truffle.api.frame.FrameSlot
Information about the slot.
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 events when 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 interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
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 SourceSection that 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 id to instrument info of 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type int.
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(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
 
getInt(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.IntLocation
 
getInternal(DynamicObject) - Method in class com.oracle.truffle.api.object.Location
 
getInternalLanguages() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns all languages that are installed and internally accessible in the environment.
getInternalTruffleFile(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns a TruffleFile for given path.
getInternalTruffleFile(URI) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns TruffleFile for given URI.
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.
getIntSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
getInvalidIndex() - Method in exception 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.
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(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns the the original language of the receiver value.
getLanguage(Class<C>) - Method in class com.oracle.truffle.api.nodes.ExecutableNode
Returns the language instance associated with this executable node.
getLanguage() - Method in class com.oracle.truffle.api.source.Source
Returns the language this source was created with.
getLanguageClassName() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
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.
getLanguageInfo(Class<? extends TruffleLanguage<?>>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Returns the language info for a given language class if available.
getLanguageInfo() - Method in class com.oracle.truffle.api.nodes.ExecutableNode
Returns public information about the language.
getLanguages() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Returns a map language id to language info of 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.
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 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.
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.DefaultExportProvider
Returns the class name of the library to be used.
getLibraryClassName() - Method in interface com.oracle.truffle.api.library.EagerExportProvider
Returns the class name of 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 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.
getLogger(String) - 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.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(Class<?>) - 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type long.
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(DynamicObject, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
 
getLong(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.LongLocation
 
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.
getLongSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
getMembers(Object, boolean) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns an array of member name strings.
getMembers(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
getMessage() - Method in exception com.oracle.truffle.api.dsl.UnsupportedSpecializationException
 
getMessage() - Method in exception com.oracle.truffle.api.interop.ArityException
getMessage() - Method in exception com.oracle.truffle.api.interop.InvalidArrayIndexException
getMessage() - Method in exception com.oracle.truffle.api.interop.InvalidBufferOffsetException
getMessage() - Method in exception com.oracle.truffle.api.interop.StopIterationException
getMessage() - Method in exception com.oracle.truffle.api.interop.UnknownIdentifierException
getMessage() - Method in exception com.oracle.truffle.api.interop.UnknownKeyException
getMessage() - Method in exception com.oracle.truffle.api.interop.UnsupportedMessageException
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.
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.
getMimeTypes() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
Returns the MIME types supported by this language.
getMutex() - Method in class com.oracle.truffle.api.object.Shape
Get mutex object shared by related shapes, i.e.
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.
getName() - Method in class com.oracle.truffle.api.utilities.AlwaysValidAssumption
 
getName() - Method in class com.oracle.truffle.api.utilities.NeverValidAssumption
 
getName() - Method in class com.oracle.truffle.api.utilities.UnionAssumption
 
getNewSize() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
Returns a size of the allocated value in bytes.
getNode() - Method in exception com.oracle.truffle.api.dsl.UnsupportedSpecializationException
Returns the Node that caused the this UnsupportedSpecializationException.
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...).
getNotInFrameAssumption(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Make an assumption that no slot with the specified identifier is present in this frame descriptor.
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.
getObject(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of type Object.
getObjectArray(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
Deprecated.
 
getObjectSafe(Frame, FrameSlot) - Static method in class com.oracle.truffle.api.frame.FrameUtil
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by a guard or statically known).
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(TruffleContext) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Returns the context specific option values for the options described in TruffleInstrument.getContextOptionDescriptors() and TruffleInstrument.getOptionDescriptors().
getOptions() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns option values for the options described in TruffleLanguage.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.
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.
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 TruffleFile or null when the file does not have a parent.
getParent() - Method in class com.oracle.truffle.api.TruffleLogger
Returns the parent TruffleLogger.
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.
getPrimitiveArray(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
Deprecated.
 
getPriority() - Method in interface com.oracle.truffle.api.library.DefaultExportProvider
Returns the priority used when multiple default exports would be applicable.
getPriority() - Method in interface com.oracle.truffle.api.object.LayoutFactory
 
getPriority() - Method in interface com.oracle.truffle.api.TruffleRuntimeAccess
Allows disambiguation if more than one TruffleRuntime implementation 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 Iterable over the shape's properties in insertion order.
getProperty(String) - Method in class com.oracle.truffle.api.debug.DebugValue
Get a property value by its name.
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.
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 TruffleFile for given path.
getPublicTruffleFile(URI) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns a TruffleFile for 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 com.oracle.truffle.api.debug.DebugException
Returns the guest language representation of the exception, or null if 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 null if 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 null if 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.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.
getRepeatingNode() - Method in class com.oracle.truffle.api.nodes.LoopNode
Returns the repeating node the loop node was created with.
getResult() - Method in exception 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 instance is 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 TruffleRuntime object.
getRuntime() - Method in interface com.oracle.truffle.api.TruffleRuntimeAccess
Gets the TruffleRuntime implementation available via this access object.
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(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.
getScope(C) - Method in class com.oracle.truffle.api.TruffleLanguage
Get a top scope of the language, if any.
getScopeParent(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns the parent scope object if it has the parent.
getServicesClassNames() - Method in interface com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider
Returns the class names of provided services.
getServicesClassNames() - Method in interface com.oracle.truffle.api.TruffleLanguage.Provider
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() - Method in interface com.oracle.truffle.api.object.DynamicObjectFactory
 
getShape(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
Gets the shape of 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) or Shape.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.
getSimpleName() - Method in class com.oracle.truffle.api.library.Message
Returns the simple name of this message.
getSize() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Returns the size of an array which is needed for storing all the frame slots.
getSlots() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Retrieve the current list of slots in the descriptor.
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, 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.
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 com.oracle.truffle.api.debug.DebugException
Gets stack trace elements of guest languages.
getStackTrace(Throwable) - Static method in exception com.oracle.truffle.api.TruffleStackTrace
Returns the guest language frames that are stored in this throwable or null if no guest language frames can ever be stored in this throwable.
getStackTraceElementLimit() - Method in exception 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).
getSuppliedNodes() - Method in exception com.oracle.truffle.api.dsl.UnsupportedSpecializationException
Returns the children of the Node returned by UnsupportedSpecializationException.getNode() which produced the values returned by UnsupportedSpecializationException.getSuppliedValues().
getSuppliedValues() - Method in exception 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 by UnsupportedSpecializationException.getSuppliedValues().
getSuppliedValues() - Method in exception 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.
getTarget() - Method in class com.oracle.truffle.api.TruffleStackTraceElement
Returns the call target on the stack.
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 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.
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(String) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Returns a TruffleFile for given path.
getTruffleFile(URI) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Returns a TruffleFile for given URI.
getTruffleFileInternal(String, Predicate<TruffleFile>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns a TruffleFile for the given path.
getTruffleFileInternal(URI, Predicate<TruffleFile>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns a TruffleFile for given URI.
getType() - Method in class com.oracle.truffle.api.nodes.NodeClass
The Class this NodeClass has been created for.
getType() - Method in interface com.oracle.truffle.api.object.BooleanLocation
 
getType() - Method in interface com.oracle.truffle.api.object.DoubleLocation
 
getType() - Method in interface com.oracle.truffle.api.object.IntLocation
 
getType() - Method in interface com.oracle.truffle.api.object.LongLocation
 
getType() - Method in interface com.oracle.truffle.api.object.ObjectLocation
 
getUncached() - Static method in class com.oracle.truffle.api.interop.InteropLibrary
Returns the uncached automatically dispatched version of the interop library.
getUncached(Object) - Static method in class com.oracle.truffle.api.interop.InteropLibrary
Returns the uncached manually 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(Object) - Static method in class com.oracle.truffle.api.interop.NodeLibrary
Returns the uncached manually 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(Object) - Method in class com.oracle.truffle.api.library.LibraryFactory
Returns an uncached manually dispatched library for a given receiver.
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 DynamicObjectLibrary instance 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.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.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.
getUncachedInstance() - Method in interface com.oracle.truffle.api.dsl.NodeFactory
Returns the uncached version of this node or null if GenerateUncached was not applied to the node.
getUnknownIdentifier() - Method in exception com.oracle.truffle.api.interop.UnknownIdentifierException
Returns the identifier that could not be accessed.
getUnknownKey() - Method in exception 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Read access to a local variable of any type.
getValue() - Method in class com.oracle.truffle.api.instrumentation.AllocationEvent
Returns the value which is a subject of allocation.
getVersion() - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Returns an assumption reflecting the frame's current version, which is updated every time a slot is added or removed, or an existing slot's kind is changed.
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.
GraphPrintAdapter() - Constructor for class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
Default constructor.
GraphPrintVisitor.CustomGraphPrintHandler - Annotation Type in com.oracle.truffle.api.nodes
Deprecated.
 
GraphPrintVisitor.GraphPrintAdapter - Class in com.oracle.truffle.api.nodes
Deprecated.
 
GraphPrintVisitor.GraphPrintHandler - Interface in com.oracle.truffle.api.nodes
Deprecated.
 
GraphPrintVisitor.NullGraphPrintHandler - Annotation Type in com.oracle.truffle.api.nodes
Deprecated.
 

H

hasArrayElements(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver may have array elements.
hasBufferElements(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver may have buffer elements.
hasBytes() - Method in class com.oracle.truffle.api.source.Source
Returns true if this source represents a byte based source, else false.
hasCharacters() - Method in class com.oracle.truffle.api.source.Source
Returns true if this source represents a character based source, else false.
hasCharIndex() - Method in class com.oracle.truffle.api.source.SourceSection
Returns true if this section has a character index information, false otherwise.
hasColumns() - Method in class com.oracle.truffle.api.source.SourceSection
Returns true if this section has a column number information, false otherwise.
hasData() - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
Returns true if the statistics did collect any data, else false.
hasDeclaringMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver has a declaring meta object.
hasExceptionCause(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver is an exception with an attached internal cause.
hasExceptionMessage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver is an exception that has an exception message.
hasExceptionStackTrace(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver is an exception and has a stack trace.
hasExecutableName(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver has an executable name.
hasHashEntries() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if the value may have hash map entries.
hasHashEntries(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if 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(DynamicObject) - Method in class com.oracle.truffle.api.object.ObjectType
Delegate method for Object.hashCode().
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.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.
hasIdentity(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if and only if the receiver specifies identity, else false.
hasInstanceProperties() - Method in class com.oracle.truffle.api.object.Shape
Returns true if this shape has instance properties (i.e., stored in the object).
hasIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if the value provides an iterator.
hasIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver provides an iterator.
hasIteratorNextElement() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if the value is an iterator which has more elements, else false.
hasIteratorNextElement(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver is an iterator which has more elements, else false.
hasLanguage(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver originates from a language, else false .
hasLines() - Method in class com.oracle.truffle.api.source.SourceSection
Returns true if this section has a line number information, false otherwise.
hasMemberReadSideEffects(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if reading a member may cause a side-effect.
hasMembers(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver may have members.
hasMemberWriteSideEffects(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if 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 true if the receiver value has a metaobject associated.
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).
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 true if reading of this value can have side-effects, else false.
hasReceiverMember(Object, Frame) - Method in class com.oracle.truffle.api.interop.NodeLibrary
Returns true, if there is a named receiver object, else false.
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, else false.
hasScopeParent(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if this scope has an enclosing parent scope, else false.
hasSourceElement(SourceElement) - Method in class com.oracle.truffle.api.debug.SuspendedEvent
Returns true if the underlying guest language source location is denoted as the source element.
hasSourceLocation(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver value has a declared source location attached, else false.
hasTag(Class<? extends Tag>) - Method in class com.oracle.truffle.api.instrumentation.EventContext
Returns true if the underlying instrumented AST is tagged with a particular tag.
hasTag(Class<? extends Tag>) - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
Returns true if this node should be considered tagged by a given tag else false.
hasWriteSideEffects() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if setting a new value can have side-effects, else false.
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 Type 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 Type in com.oracle.truffle.api
Marks a method that is called from a Truffle interpreter, but is not called frequently and is not important for interpreter performance.

I

identityHashCode(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns an identity hash code for the receiver if it has identity.
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.
ImplicitCast - Annotation Type in com.oracle.truffle.api.dsl
 
ImportStatic - Annotation Type in com.oracle.truffle.api.dsl
Imports all public and static methods 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 Engine this instrument is 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.
inBounds(byte[], int, int) - 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 code in 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.
incompatibleLocation() - Static method in class com.oracle.truffle.api.object.Location
 
IncompatibleLocationException - Exception in com.oracle.truffle.api.object
This exception is thrown on an attempt to assign an incompatible value to a location.
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.
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.
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).
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(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 needle in haystack, bounded by fromIndex (inclusive) and maxIndex (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 needle in haystack, bounded by fromIndex (inclusive) and maxIndex (exclusive).
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 needle in haystack, bounded by fromIndex (inclusive) and maxIndex (exclusive).
indexOfWithOrMask(byte[], int, int, byte[], byte[]) - Static method in class com.oracle.truffle.api.ArrayUtils
Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.
indexOfWithOrMask(char[], int, int, char[], char[]) - Static method in class com.oracle.truffle.api.ArrayUtils
Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.
indexOfWithOrMask(String, int, int, String, String) - Static method in class com.oracle.truffle.api.ArrayUtils
Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.
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(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.
inheritIO(boolean) - Method in class com.oracle.truffle.api.io.TruffleProcessBuilder
If true the 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.
initializeContext(C) - Method in class com.oracle.truffle.api.TruffleLanguage
Perform any complex initialization.
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.
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.
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.
insert(T[]) - Method in class com.oracle.truffle.api.nodes.Node
Inserts new node children into an AST that was already adopted by a parent.
insert(T) - Method in class com.oracle.truffle.api.nodes.Node
Inserts an new node into an AST that was already adopted by a parent.
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.
INSTANCE - Static variable in class com.oracle.truffle.api.utilities.AlwaysValidAssumption
 
INSTANCE - Static variable in class com.oracle.truffle.api.utilities.NeverValidAssumption
 
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 nodes that 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 instrumentable guest language nodes and their parents) for the purpose of interposing on execution events and reporting them via the instrumentation framework.
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.
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(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.
InteropException - Exception 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
 
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.
IntLocation - Interface in com.oracle.truffle.api.object
Planned to be deprecated.
Introspectable - Annotation Type 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 int runtime values.
InvalidArrayIndexException - Exception in com.oracle.truffle.api.interop
An exception thrown if an array does not contain a element with an index.
InvalidAssumptionException - Exception 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 com.oracle.truffle.api.nodes.InvalidAssumptionException
Default constructor.
invalidate() - Method in interface com.oracle.truffle.api.Assumption
Invalidates this assumption.
invalidate(String) - Method in interface com.oracle.truffle.api.Assumption
Invalidates this assumption.
invalidate() - Method in class com.oracle.truffle.api.utilities.AlwaysValidAssumption
 
invalidate(String) - Method in class com.oracle.truffle.api.utilities.AlwaysValidAssumption
 
invalidate() - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
 
invalidate(String) - Method in class com.oracle.truffle.api.utilities.CyclicAssumption
 
invalidate() - Method in class com.oracle.truffle.api.utilities.NeverValidAssumption
 
invalidate(String) - Method in class com.oracle.truffle.api.utilities.NeverValidAssumption
 
invalidate() - Method in class com.oracle.truffle.api.utilities.UnionAssumption
 
invalidate(String) - Method in class com.oracle.truffle.api.utilities.UnionAssumption
 
InvalidBufferOffsetException - Exception 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 true if 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 true if the context is currently active on the current thread, else false.
isAdoptable() - Method in class com.oracle.truffle.api.nodes.Node
Returns true if this node can be adopted by a parent.
isArray() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents an array, false otherwise.
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 true if a given array element index is not existing and insertable.
isArrayElementModifiable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if a given array element index is existing and writable.
isArrayElementReadable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if a given array element is readable.
isArrayElementRemovable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if a given array element index is existing and removable.
isArrayElementWritable(Object, long) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the array element is modifiable or insertable.
isAssumedFinal() - Method in class com.oracle.truffle.api.object.Location
Returns true if 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 true if and only if this value represents a boolean value.
isBoolean(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot is of type boolean.
isBoolean(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a boolean like value, else false.
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 true if the receiver is a modifiable buffer.
isByte(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot is of type byte.
isCached() - Method in class com.oracle.truffle.api.source.Source
Returns true if code caching is enabled for this source.
isCallTargetCloned() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Returns true if the target of the DirectCallNode was cloned by the runtime system or by the guest language implementation.
isCallTargetCloningAllowed() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Returns true if the runtime system supports cloning and the RootNode returns true in RootNode.isCloningAllowed().
isCancelling() - Method in class com.oracle.truffle.api.TruffleContext
Returns true if the context is being cancelled else false.
isCaptureFramesForTrace() - Method in class com.oracle.truffle.api.nodes.RootNode
Returns true if a TruffleException leaving this node should capture Frame objects in its stack trace in addition to the default information.
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 true if RootNode.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 true if this RootNode is allowed to be cloned.
isClosed() - Method in class com.oracle.truffle.api.TruffleContext
Returns true if the context was closed else false.
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.
isConstant() - Method in class com.oracle.truffle.api.object.Location
Returns true if 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 true if the creation of a sub-process is allowed in the current environment.
isCreateThreadAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if the creation of new threads is allowed in the current environment.
isDate() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a date, else false.
isDate(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if this object represents a date, else false.
isDeclared() - Method in class com.oracle.truffle.api.object.Location
Returns true if this is a declared value location.
isDelegated(Library, int) - Static method in class com.oracle.truffle.api.library.LibraryFactory
Returns true if a message is delegated, otherwise false.
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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot is of type double.
isDuration() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this object represents a duration, else false.
isDuration(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if this object represents a duration, else false.
isEmpty() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
Returns true if this FinalBitSet contains no bits that are set to true.
isEnabled() - Method in class com.oracle.truffle.api.debug.Breakpoint
 
isEngineRoot(RootNode) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Returns true if 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 true if the receiver value represents a throwable exception/error}.
isExceptionIncompleteSource(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if receiver value represents an incomplete source exception.
isExcluded() - Method in class com.oracle.truffle.api.dsl.Introspection.SpecializationInfo
Returns true if the specialization was excluded at the time when the introspection was performed.
isExecutable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents an executable value, else false.
isExecutable() - Method in class com.oracle.truffle.api.TruffleFile
Tests if a file is executable.
isFinal() - Method in class com.oracle.truffle.api.object.Location
Returns true if this is a final location, i.e.
isFloat(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot 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 true if mapping for a given key is existing.
isHashEntryExisting(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if mapping for a given key is existing.
isHashEntryInsertable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if mapping for the specified key does not exist and is writable.
isHashEntryInsertable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if mapping for the specified key does not exist and is writable.
isHashEntryModifiable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if mapping for the specified key exists and is writable.
isHashEntryModifiable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if mapping for the specified key exists and is writable.
isHashEntryReadable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if mapping for the specified key exists and is readable.
isHashEntryReadable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if mapping for the specified key exists and is readable.
isHashEntryRemovable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if mapping for the specified key exists and is removable.
isHashEntryRemovable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if mapping for the specified key exists and is removable.
isHashEntryWritable(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if mapping for the specified key is modifiable or insertable.
isHashEntryWritable(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if mapping for the specified key is modifiable or insertable.
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 true if this frame is a host frame.
isHost() - Method in class com.oracle.truffle.api.debug.DebugStackTraceElement
Returns true if 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 true if the argument is a Java host language function wrapped using Truffle interop.
isHostLookupAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if host access is generally allowed.
isHostObject(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if the argument is Java host language object wrapped using Truffle interop.
isHostSymbol(Object) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if 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 true if two values represent the the identical value, else false.
isIdenticalOrUndefined(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns TRUE if the receiver is or FALSE if the receiver is not identical to the other value.
isIgnoreLanguageContextInitialization() - Method in class com.oracle.truffle.api.debug.SuspensionFilter
Test if execution of language initialization code is to be ignored.
isInlinable() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Returns true if the underlying runtime system supports inlining for the CallTarget in this DirectCallNode.
isInliningForced() - Method in class com.oracle.truffle.api.nodes.DirectCallNode
Returns true if the CallTarget is forced to be inlined.
isInstant() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents an instant.
isInstant(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents an instant.
isInstantiable(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents an instantiable value, else false.
isInstrumentable() - Method in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
Returns true if 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot 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 true if this value represents an internal variable or property, false otherwise.
isInternal() - Method in class com.oracle.truffle.api.nodes.LanguageInfo
 
isInternal() - Method in class com.oracle.truffle.api.nodes.RootNode
Returns true if 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 com.oracle.truffle.api.debug.DebugException
Returns true if this exception indicates an internal error.
isIntrospectable(Node) - Static method in class com.oracle.truffle.api.dsl.Introspection
Returns true if the given node is introspectable.
isIterator() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents an iterator.
isIterator(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if 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(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot is of type long.
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 true if a given member is not existing and writable.
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 true if a given member is invocable.
isMemberModifiable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if a given member is existing and writable.
isMemberReadable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if a given member is readable.
isMemberRemovable(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if 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 modifiable or insertable.
isMetaInstance(DebugValue) - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if the given instance is an instance of this value, else false.
isMetaInstance(Object, Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the given instance is of the provided receiver metaobject, else false.
isMetaObject() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if the value represents a metaobject.
isMetaObject(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver value represents a metaobject.
isMimeTypeSupported(String) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Allows it to be determined if this Context can 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.
isNativeAccessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if access to native code is generally allowed.
isNonNull() - Method in interface com.oracle.truffle.api.object.ObjectLocation
If true, this location does not accept null values.
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 true if the receiver represents a null like value, else false.
isNumber() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if and only if this value represents a number.
isNumber(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a number value, else false.
isObject(FrameSlot) - Method in interface com.oracle.truffle.api.frame.Frame
Check whether the given FrameSlot 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 true if the receiver value represents a native pointer.
isPolyglotBindingsAccessAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if polyglot bindings access is allowed, else false .
isPolyglotEvalAllowed() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if polyglot evaluation is allowed, else false.
isPreInitialization() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns true if this Context is being pre-initialized.
isProfilingEnabled() - Method in interface com.oracle.truffle.api.TruffleRuntime
Whether or not the TruffleRuntime implementation can or wants to use gathered profiling information Truffle compilation.
isReadable() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value can be read else false.
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.
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 TruffleFile refer to the same physical file.
isScope(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the value represents a scope object, else false.
isShared(DynamicObject) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
Checks whether this object is marked as shared.
isShared() - Method in class com.oracle.truffle.api.object.Shape
Returns true if this shape is shared.
isString() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if and only if this value represents a string.
isString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if the receiver represents a string value, else false.
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 true if code of this language is allowed to be executed on this thread.
isTime() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this value represents a time, else false.
isTime(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if this object represents a time, else false.
isTimeZone() - Method in class com.oracle.truffle.api.debug.DebugValue
Returns true if this object represents a timezone, else false.
isTimeZone(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Returns true if this object represents a timezone, else false.
isTrivial() - Method in enum com.oracle.truffle.api.nodes.NodeCost
 
isTrivial() - Method in class com.oracle.truffle.api.nodes.RootNode
Is this root node to be considered trivial by the runtime.
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.
isValid() - Method in class com.oracle.truffle.api.utilities.AlwaysValidAssumption
 
isValid() - Method in class com.oracle.truffle.api.utilities.NeverValidAssumption
 
isValid() - Method in class com.oracle.truffle.api.utilities.UnionAssumption
 
isValidAssumption(Assumption) - Static method in interface com.oracle.truffle.api.Assumption
Checks whether an assumption is not null and valid.
isValidAssumption(Assumption[]) - Static method in interface com.oracle.truffle.api.Assumption
Checks whether all assumptions in an array are not null and valid.
isValue() - Method in class com.oracle.truffle.api.object.Location
Returns true if 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 true if this value can be written to, else false.
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 associated CallTargets.

J

JSONHelper - Class in com.oracle.truffle.api.utilities
Helper function that allows to dump the AST during creation to a JSON format.
JSONHelper.JSONArrayBuilder - Class in com.oracle.truffle.api.utilities
 
JSONHelper.JSONObjectBuilder - Class in com.oracle.truffle.api.utilities
 
JSONHelper.JSONStringBuilder - Class in com.oracle.truffle.api.utilities
 

L

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.
layout(Class<? extends DynamicObject>) - Method in class com.oracle.truffle.api.object.Shape.Builder
Sets custom object layout class (default: DynamicObject base class).
Layout.Access - Class in com.oracle.truffle.api.object
Deprecated.
Internal package access helper.
LayoutFactory - Interface in com.oracle.truffle.api.object
Implementation class.
leave(SpecializationStatistics) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
Leaves the currently entered entered 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, Supplier<T>) - Method in class com.oracle.truffle.api.TruffleContext
Leaves this context, runs the passed supplier and reenters the context.
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 the FinalBitSet plus one.
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 extends Library> - 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 extends Library> - 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.
LIKELY_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
 
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(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.
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).
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.
list() - Method in class com.oracle.truffle.api.TruffleFile
Returns a collection of TruffleFiles in the directory denoted by this TruffleFile.
littleEndian() - Static method in class com.oracle.truffle.api.memory.ByteArraySupport
Enables accessing multibyte Java primitives from byte arrays in little-endian order.
loadLoad() - Static method in class com.oracle.truffle.api.memory.MemoryFence
Ensures that loads before the fence will not be reordered with loads after the fence.
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 Instrumenter to 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 Instrumenter to specific locations of a guest language program to listen to sources section load events.
Location - Class in com.oracle.truffle.api.object
Property location.
Location() - Constructor for class com.oracle.truffle.api.object.Location
Constructor for subclasses.
LocationFactory - Interface in com.oracle.truffle.api.object
This interface allows to provide a custom location for a given shape and value.
locationForType(Class<?>, boolean, boolean) - Method in class com.oracle.truffle.api.object.Shape.Allocator
 
locationForType(Class<?>) - Method in class com.oracle.truffle.api.object.Shape.Allocator
Create a new location for a fixed type.
locationForType(Class<?>, EnumSet<LocationModifier>) - Method in class com.oracle.truffle.api.object.Shape.Allocator
Create a new location for a fixed type.
LocationModifier - Enum in com.oracle.truffle.api.object
Location modifiers specify the desired semantics and allowed use of a location to be allocated by Shape.Allocator.
log(Level, String) - Method in class com.oracle.truffle.api.TruffleLogger
Logs a message.
log(Level, Supplier<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.
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, Supplier<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.
LongLocation - Interface in com.oracle.truffle.api.object
Planned to be deprecated.
LongValueProfile - Class in com.oracle.truffle.api.profiles
Specialized value profile to capture certain properties of long runtime values.
lookup(LanguageInfo, Class<S>) - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Queries a language implementation for a special service.
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(Class<T>) - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Looks additional service up.
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.TruffleLanguage.Env
Returns an additional service provided by the given language, specified by type.
lookupContextReference(Class<T>) - Method in class com.oracle.truffle.api.nodes.Node
Returns a reference that returns the current execution context associated with the given language.
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.
lookupLanguageReference(Class<T>) - Method in class com.oracle.truffle.api.nodes.Node
Returns a reference that returns the current language instance.
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 nodes as long as it returns true.
LoopNode() - Constructor for class com.oracle.truffle.api.nodes.LoopNode
Constructor for subclasses.

M

makeIterator(Node) - Method in class com.oracle.truffle.api.nodes.NodeClass
 
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(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() - 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.
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.
MemoryFence - Class in com.oracle.truffle.api.memory
Provides memory fence methods for fine-grained control of memory ordering.
Message - Class in com.oracle.truffle.api.library
Represents a description of library message.
Message(Class<? extends Library>, String, Class<?>, Class<?>...) - Constructor for class com.oracle.truffle.api.library.Message
 
mimeType(String) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
Explicitly assigns a MIME type to the to-be-built Source.
mimeType(String) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Explicitly assigns a MIME type to the to-be-built Source.
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.
move(TruffleFile, CopyOption...) - Method in class com.oracle.truffle.api.TruffleFile
Moves or renames the file.
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
 

N

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.
name(String) - Method in class com.oracle.truffle.api.source.Source.LiteralBuilder
Specifies a name to the to-be-built Source.
name(String) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Specifies a name to the to-be-built Source.
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.
NeverValidAssumption - Class in com.oracle.truffle.api.utilities
An assumption that is never valid.
newBufferedReader(Charset) - Method in class com.oracle.truffle.api.TruffleFile
Opens a file for reading returning a BufferedReader to access the file content.
newBufferedReader() - Method in class com.oracle.truffle.api.TruffleFile
Opens a file for reading returning a BufferedReader to 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(URI) - Static method in class com.oracle.truffle.api.debug.Breakpoint
Creates a new breakpoint builder based on a URI location.
newBuilder(Source) - Static method in class com.oracle.truffle.api.debug.Breakpoint
Creates a new breakpoint builder based on a 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() - 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.instrumentation.AllocationEventFilter
Creates a new AllocationEventFilter instance through a AllocationEventFilter.Builder.
newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.SourceFilter
Creates a new SourceFilter expression using a builder pattern.
newBuilder() - Static method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter
Creates a new SourceSectionFilter expression using a builder pattern.
newBuilder() - Static method in class com.oracle.truffle.api.object.Shape
Creates a new initial shape builder.
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(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, ByteSequence, String) - Static method in class com.oracle.truffle.api.source.Source
Creates a new byte based literal source from a byte sequence.
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, URL) - Static method in class com.oracle.truffle.api.source.Source
Creates a new URL based source builder from a given URL.
newBuilder(String, Reader, String) - Static method in class com.oracle.truffle.api.source.Source
Creates new character based literal source from a reader.
newBuilder(Source) - Static method in class com.oracle.truffle.api.source.Source
Creates a new source builder that inherits from the given Source.
newByteChannel(Set<? extends OpenOption>, FileAttribute<?>...) - Method in class com.oracle.truffle.api.TruffleFile
Opens or creates a file returning a SeekableByteChannel to access the file content.
newContextBuilder() - Method in class com.oracle.truffle.api.TruffleLanguage.Env
Returns a new context builder useful to create inner context instances.
newDirectoryStream() - Method in class com.oracle.truffle.api.TruffleFile
Opens a directory, returning a DirectoryStream to 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.
newInputStream(OpenOption...) - Method in class com.oracle.truffle.api.TruffleFile
Opens a file for reading returning an InputStream to access the file content.
newInstance(Object...) - Method in interface com.oracle.truffle.api.object.DynamicObjectFactory
Create a new DynamicObject and initialize instance properties with the provided values.
newInstance() - Method in class com.oracle.truffle.api.object.Shape
Create a new DynamicObject instance with this shape.
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.
nextClearBit(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
Returns the index of the first bit that is set to false that occurs on or after the specified starting index.
nextSetBit(int) - Method in class com.oracle.truffle.api.utilities.FinalBitSet
Returns the index of the first bit that is set to true that occurs on or after the specified starting index.
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 Type in com.oracle.truffle.api.nodes
Marks fields that represent child nodes of this node.
Node.Children - Annotation Type in com.oracle.truffle.api.nodes
Marks array fields that are children of this node.
NodeChild - Annotation Type in com.oracle.truffle.api.dsl
A NodeChild element defines an executable child for the enclosing Node.
NodeChildren - Annotation Type in com.oracle.truffle.api.dsl
 
NodeClass - Class in com.oracle.truffle.api.nodes
Information about a Node class.
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 in com.oracle.truffle.api.nodes
Represents a rough estimate for the cost of a Node.
NodeFactory<T> - Interface in com.oracle.truffle.api.dsl
Enables the dynamic creation of generated nodes.
NodeField - Annotation Type in com.oracle.truffle.api.dsl
A NodeField element defines a field for the generated Node.
NodeFieldAccessor.NodeFieldKind - Enum in com.oracle.truffle.api.nodes
Deprecated.
 
NodeFields - Annotation Type in com.oracle.truffle.api.dsl
A NodeFields element defines a field for the generated Node.
NodeInfo - Annotation Type 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 Node location.
NodeLibrary() - Constructor for class com.oracle.truffle.api.interop.NodeLibrary
 
nodeReplaced(Node, Node, CharSequence) - Method in interface com.oracle.truffle.api.ReplaceObserver
Returns true if 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
 
normalize() - Method in class com.oracle.truffle.api.TruffleFile
Returns a TruffleFile with removed redundant name elements in it's path.
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
 
objectClone(DynamicObject) - Method in class com.oracle.truffle.api.object.Layout.Access
Deprecated.
 
ObjectLocation - Interface in com.oracle.truffle.api.object
Planned to be deprecated.
ObjectType - Class in com.oracle.truffle.api.object
An extensible object type descriptor for DynamicObjects.
ObjectType() - Constructor for class com.oracle.truffle.api.object.ObjectType
Default constructor.
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 TruffleInstrument instance.
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(AllocationEvent) - Method in interface com.oracle.truffle.api.instrumentation.AllocationListener
Notifies about an intent to allocate or re-allocate a guest language value.
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.
onEnter(EventContext, VirtualFrame) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
Invoked immediately before the instrumented node is executed.
onEnter(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
Invoked immediately before the instrumented node is executed.
onEnter(VirtualFrame) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
Should get invoked before the node is invoked.
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 source is executed.
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.
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 source is loaded.
onLoad(LoadSourceSectionEvent) - Method in interface com.oracle.truffle.api.instrumentation.LoadSourceSectionListener
Invoked whenever a new source section is loaded.
onReplace(Node, CharSequence) - Method in class com.oracle.truffle.api.nodes.Node
Intended to be implemented by subclasses of Node to receive a notification when the node is rewritten.
onReturnExceptional(EventContext, VirtualFrame, Throwable) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
Invoked immediately after an instrumented node did not successfully execute.
onReturnExceptional(VirtualFrame, Throwable) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
Invoked immediately after the execution of an instrumented node resulted in an exception.
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(AllocationEvent) - Method in interface com.oracle.truffle.api.instrumentation.AllocationListener
Notifies about an allocated guest language value.
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.
onReturnValue(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
Invoked immediately after an instrumented node is successfully executed.
onReturnValue(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
Invoked immediately after an instrumented node is successfully executed.
onReturnValue(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ProbeNode
Should get invoked after the node is invoked successfully.
onSuspend(SuspendedEvent) - Method in interface com.oracle.truffle.api.debug.SuspendedCallback
Called whenever the debugger suspends for a particular session.
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(EventContext, VirtualFrame, Object) - Method in interface com.oracle.truffle.api.instrumentation.ExecutionEventListener
Invoked when an instrumented node is unwound from the execution stack by unwind throwable thrown in this listener instance.
onUnwind(VirtualFrame, Object) - Method in class com.oracle.truffle.api.instrumentation.ExecutionEventNode
Invoked when an instrumented node is unwound from the execution stack by unwind throwable thrown in this node implementation.
OptimizationFailedException - Exception in com.oracle.truffle.api
 
OptimizationFailedException(Throwable, RootCallTarget) - Constructor for exception com.oracle.truffle.api.OptimizationFailedException
 
Option - Annotation Type in com.oracle.truffle.api
Describes the attributes of an option whose value is in a static field annotated by this annotation.
Option.Group - Annotation Type in com.oracle.truffle.api
Must be applied on classes containing option fields to specify a name prefix if the prefix cannot be inferred by language or instrument.
out() - Method in class com.oracle.truffle.api.instrumentation.TruffleInstrument.Env
Standard output writer for Engine this instrument is 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.

P

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 source to reference the actual parameters passed to CallTarget.call(java.lang.Object...).
parse(TruffleLanguage.ParsingRequest) - Method in class com.oracle.truffle.api.TruffleLanguage
Parses the provided source and generates its appropriate AST representation.
parse(TruffleLanguage.InlineParsingRequest) - Method in class com.oracle.truffle.api.TruffleLanguage
Parses the provided source snippet at the provided location and generates its appropriate AST representation.
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.
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(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.
partialEvaluationConstant(boolean) - Static method in class com.oracle.truffle.api.CompilerAsserts
Specialized version of CompilerAsserts.compilationConstant(Object) for boolean values.
partialEvaluationConstant(int) - Static method in class com.oracle.truffle.api.CompilerAsserts
Specialized version of CompilerAsserts.compilationConstant(Object) for int values.
partialEvaluationConstant(float) - Static method in class com.oracle.truffle.api.CompilerAsserts
Specialized version of CompilerAsserts.compilationConstant(Object) for float values.
partialEvaluationConstant(long) - Static method in class com.oracle.truffle.api.CompilerAsserts
Specialized version of CompilerAsserts.compilationConstant(Object) for long values.
partialEvaluationConstant(double) - Static method in class com.oracle.truffle.api.CompilerAsserts
Specialized version of CompilerAsserts.compilationConstant(Object) for double values.
patchContext(C, TruffleLanguage.Env) - Method in class com.oracle.truffle.api.TruffleLanguage
Notifies the language with pre-initialized context about TruffleLanguage.Env change.
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.
prepareContinue() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
Prepare to execute in Continue mode when guest language program execution resumes.
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() - 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).
prepareKill() - Method in class com.oracle.truffle.api.debug.SuspendedEvent
Prepare to terminate the suspended execution represented by this event.
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.
PrimitiveValueProfile - Class in com.oracle.truffle.api.profiles
Represents a ValueProfile that 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(PrintWriter) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
Prints the specialization histogram to the provided writer.
printHistogram(PrintStream) - Method in class com.oracle.truffle.api.dsl.SpecializationStatistics
Prints the specialization histogram to the provided stream.
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 com.oracle.truffle.api.debug.DebugException
printStackTrace(PrintStream) - Method in exception com.oracle.truffle.api.debug.DebugException
printStackTrace(PrintWriter) - Method in exception 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 Node AST to the given PrintStream.
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
 
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(byte) - Method in class com.oracle.truffle.api.profiles.ByteValueProfile
 
profile(boolean) - Method in class com.oracle.truffle.api.profiles.ConditionProfile
 
profile(double) - Method in class com.oracle.truffle.api.profiles.DoubleValueProfile
 
profile(float) - Method in class com.oracle.truffle.api.profiles.FloatValueProfile
 
profile(int) - Method in class com.oracle.truffle.api.profiles.IntValueProfile
 
profile(long) - Method in class com.oracle.truffle.api.profiles.LongValueProfile
 
profile(boolean) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
 
profile(T) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(byte) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(short) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(int) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(long) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(float) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(double) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(boolean) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
profile(char) - Method in class com.oracle.truffle.api.profiles.PrimitiveValueProfile
 
Profile - Class in com.oracle.truffle.api.profiles
A profile is a Truffle utility class that uses the Truffle compiler directives to guard for and/or forward runtime information to the compiler.
profile(T) - Method in class com.oracle.truffle.api.profiles.ValueProfile
 
profileCounted(long) - Method in class com.oracle.truffle.api.profiles.LoopConditionProfile
Provides an alternative way to profile counted loops with less interpreter footprint.
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
Constructor for subclasses.
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).
ProvidedTags - Annotation Type in com.oracle.truffle.api.instrumentation
Specifies a set of tags that are provided by a language implementation.
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.
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(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.
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(DynamicObject, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
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(DynamicObject, Object, long) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary
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.
putWithFlags(DynamicObject, Object, Object, int) - Method in class com.oracle.truffle.api.object.DynamicObjectLibrary

Q

querySourceSections(SourceSectionFilter) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Returns a filtered list of loaded SourceSection instances.
queryTags(Node) - Method in class com.oracle.truffle.api.instrumentation.Instrumenter
Returns an unmodifiable Set of tag classes which where associated with this node.

R

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.
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.
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.
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 defaultValue when the mapping for the specified key does not exist or is not readable.
readMember(Object, String) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Reads the value of a given member.
readSymbolicLink() - Method in class com.oracle.truffle.api.TruffleFile
Reads the target of a symbolic link.
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 true the 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.
regionEqualsWithOrMask(byte[], int, byte[], int, int, byte[]) - Static method in class com.oracle.truffle.api.ArrayUtils
Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a1[fromIndex1 + i] | mask[i]) == a2[fromIndex2 + i] holds.
regionEqualsWithOrMask(char[], int, char[], int, int, char[]) - Static method in class com.oracle.truffle.api.ArrayUtils
Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a1[fromIndex1 + i] | mask[i]) == a2[fromIndex2 + i] holds.
regionEqualsWithOrMask(String, int, String, int, int, String) - Static method in class com.oracle.truffle.api.ArrayUtils
Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a1.charAt(fromIndex1 + i) | mask.charAt(i)) == a2.charAt(fromIndex2 + 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 Closeable for 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
Creates a TruffleFile with a relative path between this TruffleFile and a given TruffleFile.
release() - Static method in class com.oracle.truffle.api.memory.MemoryFence
Ensures that loads and stores before the fence will not be reordered with stores after the fence.
removeActiveListener(Consumer<Boolean>) - Method in class com.oracle.truffle.api.instrumentation.AllocationReporter
Remove a listener that is notified when active value 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).
removeFrameSlot(Object) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Removes a slot.
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.
RepeatingNode - Interface in com.oracle.truffle.api.nodes
A node that is repeatedly invoked as part of a Truffle loop control structure.
replace(T, CharSequence) - Method in class com.oracle.truffle.api.nodes.Node
Replaces this node with another node.
replace(T) - 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
 
ReplaceObserver - Interface in com.oracle.truffle.api
An observer that is notified whenever a child node is replaced.
reportLoopCount(Node, int) - Static method in class com.oracle.truffle.api.nodes.LoopNode
Reports the execution count of a loop for which a no LoopNode was used.
reportPolymorphicSpecialize() - Method in class com.oracle.truffle.api.nodes.Node
Notifies the runtime that this node specialized to a polymorphic state.
ReportPolymorphism - Annotation Type in com.oracle.truffle.api.dsl
Enables reporting of polymorphic specializations from this node or exported message to the runtime.
ReportPolymorphism.Exclude - Annotation Type 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 Type in com.oracle.truffle.api.dsl
Specializations annotated with this annotation are considered megamorphic.
reset() - Method in class com.oracle.truffle.api.profiles.Profile
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<T>) - Static method in class com.oracle.truffle.api.library.LibraryFactory
Looks up the resolved library instance for a library class.
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(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).
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.
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.

S

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.
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(DynamicObject, Object, Shape) - Method in class com.oracle.truffle.api.object.Location
Set object value at this location in store.
set(DynamicObject, Object, Shape, Shape) - Method in class com.oracle.truffle.api.object.Location
Set object value at this location in store and update shape.
set(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.Location
Set object value at this location in store.
set(DynamicObject, Object, Shape) - Method in class com.oracle.truffle.api.object.Property
Assigns value to this property of the object.
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.
setAllowSideEffects(boolean) - Method in class com.oracle.truffle.api.TruffleSafepoint
Allows to temporarily delay side-effecting thread local actions on this 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.
setBlocked(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible<T>, T, Runnable, Runnable) - 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 InterruptedException and support interrupting using Thread.interrupt().
setBoolean(FrameSlot, boolean) - Method in interface com.oracle.truffle.api.frame.Frame
Write access to a local variable of type boolean.
setBoolean(DynamicObject, boolean) - Method in interface com.oracle.truffle.api.object.BooleanLocation
 
setBoolean(DynamicObject, boolean, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
 
setBoolean(DynamicObject, boolean, Shape, Shape) - Method in interface com.oracle.truffle.api.object.BooleanLocation
 
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(FrameSlot, byte) - Method in interface com.oracle.truffle.api.frame.Frame
 
setCallTarget(RootCallTarget) - Method in class com.oracle.truffle.api.nodes.RootNode
 
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 listener to 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(FrameSlot, double) - Method in interface com.oracle.truffle.api.frame.Frame
Write access to a local variable of type double.
setDouble(DynamicObject, double) - Method in interface com.oracle.truffle.api.object.DoubleLocation
 
setDouble(DynamicObject, double, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
 
setDouble(DynamicObject, double, Shape, Shape) - Method in interface com.oracle.truffle.api.object.DoubleLocation
 
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 objectType.
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(FrameSlot, float) - Method in interface com.oracle.truffle.api.frame.Frame
Write access to a local variable of type float.
setFrameSlotKind(FrameSlot, FrameSlotKind) - Method in class com.oracle.truffle.api.frame.FrameDescriptor
Changes the kind of the provided slot.
setGeneric(DynamicObject, Object, Shape) - Method in class com.oracle.truffle.api.object.Property
Assigns value to this property of the 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(FrameSlot, int) - Method in interface com.oracle.truffle.api.frame.Frame
Write access to a local variable of type int.
setInt(DynamicObject, int) - Method in interface com.oracle.truffle.api.object.IntLocation
 
setInt(DynamicObject, int, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
 
setInt(DynamicObject, int, Shape, Shape) - Method in interface com.oracle.truffle.api.object.IntLocation
 
setInternal(DynamicObject, Object) - Method in class com.oracle.truffle.api.object.Location
Like Location.set(DynamicObject, Object, Shape), but does not invalidate final locations.
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(FrameSlot, long) - Method in interface com.oracle.truffle.api.frame.Frame
Write access to a local variable of type long.
setLong(DynamicObject, long) - Method in interface com.oracle.truffle.api.object.LongLocation
 
setLong(DynamicObject, long, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
 
setLong(DynamicObject, long, Shape, Shape) - Method in interface com.oracle.truffle.api.object.LongLocation
 
setNodeProperty(Object, String, Object) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
setObject(FrameSlot, Object) - Method in interface com.oracle.truffle.api.frame.Frame
Write access to a local variable of type Object.
setObjectArray(DynamicObject, Object[]) - Method in class com.oracle.truffle.api.object.Layout.Access
Deprecated.
 
setOption(String, Object) - Method in interface com.oracle.truffle.api.CompilerOptions
 
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.
setSafe(DynamicObject, Object, Shape) - Method in class com.oracle.truffle.api.object.Property
setSafe(DynamicObject, Object, Shape, Shape) - Method in class com.oracle.truffle.api.object.Property
Assigns value to this property of the object, changing the object's shape.
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.
setShowHostStackFrames(boolean) - Method in class com.oracle.truffle.api.debug.DebuggerSession
Set to provide host information in stack traces.
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 com.oracle.truffle.api.debug.DebugException
Unsupported, DebugException instances 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 listener to 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.Allocator - Class in com.oracle.truffle.api.object
Utility class to allocate locations in an object layout.
Shape.Builder - Class in com.oracle.truffle.api.object
Builder class to construct initial Shape instances.
Shape.DerivedBuilder - Class in com.oracle.truffle.api.object
Builder class to construct derived Shape instances.
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).
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.
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(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(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.
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 - Static variable in class com.oracle.truffle.api.TruffleFile
The file's size in bytes.
size(LinkOption...) - Method in class com.oracle.truffle.api.TruffleFile
Returns the size of a file.
size() - Method in class com.oracle.truffle.api.utilities.FinalBitSet
Returns the number of bits of space actually in use by this FinalBitSet to represent bit values.
SIZE_UNKNOWN - Static variable in class com.oracle.truffle.api.instrumentation.AllocationReporter
Constant specifying an unknown size.
SLOWPATH_PROBABILITY - Static variable in class com.oracle.truffle.api.CompilerDirectives
 
SlowPathException - Exception in com.oracle.truffle.api.nodes
An exception thrown to enter a slow path.
SlowPathException() - Constructor for exception com.oracle.truffle.api.nodes.SlowPathException
Creates an exception thrown to enter a slow path.
SlowPathException(String, Throwable) - Constructor for exception com.oracle.truffle.api.nodes.SlowPathException
Creates an exception thrown to enter a slow path.
SlowPathException(String) - Constructor for exception com.oracle.truffle.api.nodes.SlowPathException
Creates an exception thrown to enter a slow path.
SlowPathException(Throwable) - Constructor for exception 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.LiteralBuilder - Class in com.oracle.truffle.api.source
Allows one to specify additional attribute before creating new Source instance.
Source.SourceBuilder - Class in com.oracle.truffle.api.source
Allows one to specify additional attribute before creating new Source instance.
SourceElement - Enum 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 - 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(SourceFilter) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder
Add a source filter.
SourceFilter.Builder - Class in com.oracle.truffle.api.instrumentation
Configure your own SourceFilter before creating its instance.
sourceIs(Predicate<Source>) - Method in class com.oracle.truffle.api.debug.SuspensionFilter.Builder
Set a Predicate that filters based on a Source.
sourceIs(Source...) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
Add a filter for one of the given sources.
sourceIs(Predicate<Source>) - Method in class com.oracle.truffle.api.instrumentation.SourceFilter.Builder
Adds custom predicate to filter inclusion of 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(SourceSectionFilter.SourcePredicate) - Method in class com.oracle.truffle.api.instrumentation.SourceSectionFilter.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 Source of program code.; supports multiple modes of access to the text and its location.
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 SourceSectionFilter before 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 Type 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 entered to collect additional statistics about Truffle DSL nodes.
SpecializationStatistics.AlwaysEnabled - Annotation Type 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.
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 MessageTransport service.
startSession(SuspendedCallback) - Method in class com.oracle.truffle.api.debug.Debugger
Starts a new session provided 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 session provided 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(String) - Method in class com.oracle.truffle.api.TruffleFile
Tests if this TruffleFile path starts with the given path.
startsWith(TruffleFile) - Method in class com.oracle.truffle.api.TruffleFile
Tests if this TruffleFile path starts with the given TruffleFile path.
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 in com.oracle.truffle.api.interop
An exception thrown if an iterator is finished.
storeStore() - Static method in class com.oracle.truffle.api.memory.MemoryFence
Ensures that stores before the fence will not be reordered with stores after the fence.
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.
subSource(int, int) - Method in class com.oracle.truffle.api.source.Source
Creates a Source instance that represents the contents of a sub-range of an this Source.
supportsOption(String) - Method in interface com.oracle.truffle.api.CompilerOptions
 
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 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 individual SourceElements.
SuspendedCallback - Interface in com.oracle.truffle.api.debug
Callback invoked whenever the debugger suspends for a particular session.
SuspendedEvent - Class in com.oracle.truffle.api.debug
Access for Debugger clients to the state of a guest language execution thread that has been suspended, for example by a Breakpoint or 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.

T

tag - Variable in enum 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 Type in com.oracle.truffle.api.instrumentation
Annotation applied to Tag subclasses to specify the tag identifier.
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.
test(Source) - Method in interface com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate
Returns true if the given source should be tested positive and false if 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() and Thread.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.
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 safepoint location of the guest language execution.
ThreadLocalAction(boolean, boolean) - Constructor for class com.oracle.truffle.api.ThreadLocalAction
Creates a new thread local actions.
ThreadLocalAction.Access - Class in com.oracle.truffle.api
ThreadsActivationListener - Interface in com.oracle.truffle.api.instrumentation
Listener that allows to be notified when threads become active and deactivated.
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.
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, boolean) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Converts the receiver to a human readable string.
toDisplayString(Object) - Method in class com.oracle.truffle.api.interop.InteropLibrary
Converts the receiver to a human readable string of the language.
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 receiver to a value that represents a raw native pointer.
toRelativeUri() - Method in class com.oracle.truffle.api.TruffleFile
Returns a relative URI representation of non absolute TruffleFile.
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.frame.FrameSlot
 
toString() - Method in class com.oracle.truffle.api.instrumentation.EventContext
 
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 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(DynamicObject) - Method in class com.oracle.truffle.api.object.ObjectType
Delegate method for Object.toString().
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.TruffleFile.AttributeDescriptor
toString() - Method in class com.oracle.truffle.api.TruffleFile
toString() - Method in exception com.oracle.truffle.api.TruffleStackTrace
 
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
 
toUri() - Method in class com.oracle.truffle.api.TruffleFile
Returns the absolute URI representation of this TruffleFile.
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
Filters rewrites which does not contain the NodeCost in its source NodeInfo.
TraceRewritesFilterToCost - Static variable in class com.oracle.truffle.api.TruffleOptions
Filters rewrites which does not contain the NodeCost in its target NodeInfo.
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.
translateStackTraceElement(TruffleStackTraceElement) - Method in class com.oracle.truffle.api.nodes.RootNode
Translates the TruffleStackTraceElement into an interop object supporting the hasExecutableName and potentially hasDeclaringMetaObject and hasSourceLocation messages.
TriState - Enum in com.oracle.truffle.api.utilities
An utility value with three states, TriState.TRUE, TriState.FALSE, and TriState.UNDEFINED.
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 TruffleContext instances.
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.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
Used to register a TruffleInstrument using a ServiceLoader.
TruffleInstrument.Registration - Annotation Type in com.oracle.truffle.api.instrumentation
Annotation that registers an instrument implementations for automatic discovery.
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.ContextPolicy - Enum in com.oracle.truffle.api
Defines the supported policy for reusing languages per context.
TruffleLanguage.ContextReference<C> - Class in com.oracle.truffle.api
Represents a reference to the current context to be stored in an AST.
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.InlineParsingRequest - Class in com.oracle.truffle.api
Request for inline parsing.
TruffleLanguage.LanguageReference<L extends TruffleLanguage> - Class in com.oracle.truffle.api
Represents a reference to the language to be stored in an AST.
TruffleLanguage.ParsingRequest - Class in com.oracle.truffle.api
Request for parsing.
TruffleLanguage.Provider - Interface in com.oracle.truffle.api
Used to register a TruffleLanguage using a ServiceLoader.
TruffleLanguage.Registration - Annotation Type in com.oracle.truffle.api
The annotation to use to register your language to the Polyglot API.
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.
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 TruffleRuntime implementation.
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.Interruptible but 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.
TruffleStackTrace - Exception in com.oracle.truffle.api
Represents a guest language stack trace.
TruffleStackTraceElement - Class in com.oracle.truffle.api
Represents a guest stack trace element.
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(float) - Static method in class com.oracle.truffle.api.ExactMath
Removes the decimal part (aka truncation or rounds towards zero) of the given float.
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.
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.
TypeCast - Annotation Type in com.oracle.truffle.api.dsl
Overrides the standard way of casting a certain type in a TypeSystem.
TypeCheck - Annotation Type in com.oracle.truffle.api.dsl
Overrides the standard way of checking for a certain type in a TypeSystem.
TypeSystem - Annotation Type in com.oracle.truffle.api.dsl
Each Node has one TypeSystem at its root to define the types that can be used throughout the system.
TypeSystemReference - Annotation Type in com.oracle.truffle.api.dsl
References a TypeSystem on a node.

U

UnexpectedResultException - Exception 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 com.oracle.truffle.api.nodes.UnexpectedResultException
Creates the exception with the alternative result that cannot be represented as a value of the return type.
UnionAssumption - Class in com.oracle.truffle.api.utilities
An assumption that combines two other assumptions.
UnionAssumption(String, Assumption, Assumption) - Constructor for class com.oracle.truffle.api.utilities.UnionAssumption
 
UnionAssumption(Assumption, Assumption) - Constructor for class com.oracle.truffle.api.utilities.UnionAssumption
 
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 in com.oracle.truffle.api.interop
An exception thrown if an object does not contain a member with such an identifier.
UnknownKeyException - Exception 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 com.oracle.truffle.api.exception.AbstractTruffleException
The constant for an unlimited stack trace element limit.
UnsupportedMessageException - Exception in com.oracle.truffle.api.interop
An exception thrown if a TruffleObject does not support a interop message.
UnsupportedSpecializationException - Exception 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 com.oracle.truffle.api.dsl.UnsupportedSpecializationException
 
UnsupportedTypeException - Exception in com.oracle.truffle.api.interop
An exception thrown if a TruffleObject does not support the type of one ore more arguments.
UNWIND_ACTION_REENTER - Static variable in class com.oracle.truffle.api.instrumentation.ProbeNode
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
Assigns new URI to the to-be-created Source.
uri(URI) - Method in class com.oracle.truffle.api.source.Source.SourceBuilder
Assigns new URI to the to-be-created Source.

V

valueOf(String) - Static method in enum com.oracle.truffle.api.debug.Breakpoint.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.debug.SourceElement
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.debug.SuspendAnchor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.frame.FrameInstance.FrameAccess
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.frame.FrameSlotKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.interop.ExceptionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.nodes.NodeCost
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.nodes.NodeFieldAccessor.NodeFieldKind
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.object.LocationModifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.oracle.truffle.api.TruffleLanguage.ContextPolicy
Returns the enum constant of this type with the specified name.
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(BitSet) - Static method in class com.oracle.truffle.api.utilities.FinalBitSet
Returns a new final bit set from a Java BitSet instance.
valueOf(String) - Static method in enum com.oracle.truffle.api.utilities.TriState
Returns the enum constant of this type with the specified name.
valueOf(boolean) - Static method in enum com.oracle.truffle.api.utilities.TriState
Create a TriState from a primitive boolean.
valueOf(Boolean) - Static method in enum com.oracle.truffle.api.utilities.TriState
Create a TriState from a boxed Boolean explicitely checking for null and returning TriState.UNDEFINED.
ValueProfile - Class in com.oracle.truffle.api.profiles
Specialized value profile to capture certain properties of Object runtime values.
values() - Static method in enum com.oracle.truffle.api.debug.Breakpoint.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.debug.SourceElement
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.debug.SuspendAnchor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.frame.FrameInstance.FrameAccess
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.frame.FrameSlotKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.interop.ExceptionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.nodes.NodeCost
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.nodes.NodeFieldAccessor.NodeFieldKind
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.object.LocationModifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.TruffleLanguage.ContextPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.oracle.truffle.api.utilities.TriState
Returns an array containing the constants of this enum type, in the order they are declared.
verify(Node) - Static method in class com.oracle.truffle.api.nodes.NodeUtil
 
VirtualFrame - Interface in com.oracle.truffle.api.frame
Represents a frame containing values of local variables of the guest language.
visit(Object) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
visit(Object, GraphPrintVisitor.GraphPrintHandler) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
visit(Object, GraphPrintVisitor.GraphPrintAdapter) - Method in interface com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintHandler
Deprecated.
 
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 TruffleFile file tree.
visited(Object) - Method in class com.oracle.truffle.api.nodes.GraphPrintVisitor.GraphPrintAdapter
Deprecated.
 
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 SourceSection in every loaded Source that 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.
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.
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.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links