{"symbol":"com.oracle.truffle.api.ArrayUtils","href":"com/oracle/truffle/api/ArrayUtils.html","name":"ArrayUtils","kind":"class","signature":"public final class ArrayUtils","summary":"This class provides additional operations for String as well as character and byte arrays, which may be intrinsified by a compiler."}
{"symbol":"com.oracle.truffle.api.ArrayUtils.indexOf(String, int, int, char...)","href":"com/oracle/truffle/api/ArrayUtils.html#indexOf(java.lang.String,int,int,char...)","name":"indexOf","kind":"method","signature":"public static int indexOf(String string, int fromIndex, int maxIndex, char... values)","summary":"Returns the index of the first occurrence of any character contained in values in string, bounded by fromIndex (inclusive) and maxIndex (exclusive).","params":[{"name":"string","type":"String"},{"name":"fromIndex","type":"int"},{"name":"maxIndex","type":"int"},{"name":"values","type":"char..."}],"returns":{"type":"int","doc":"the index of the first occurrence of any character contained in values in string that is greater than or equal to fromIndex and less than maxIndex, or -1 if none of the characters occur."}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.indexOf(char[], int, int, char...)","href":"com/oracle/truffle/api/ArrayUtils.html#indexOf(char[],int,int,char...)","name":"indexOf","kind":"method","signature":"public static int indexOf(char[] array, int fromIndex, int maxIndex, char... values)","summary":"Returns the index of the first occurrence of any character contained in values in array, bounded by fromIndex (inclusive) and maxIndex (exclusive).","params":[{"name":"array","type":"char[]"},{"name":"fromIndex","type":"int"},{"name":"maxIndex","type":"int"},{"name":"values","type":"char..."}],"returns":{"type":"int","doc":"the index of the first occurrence of any character contained in values in array that is greater than or equal to fromIndex and less than maxIndex, or -1 if none of the characters occur."}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.indexOf(byte[], int, int, byte...)","href":"com/oracle/truffle/api/ArrayUtils.html#indexOf(byte[],int,int,byte...)","name":"indexOf","kind":"method","signature":"public static int indexOf(byte[] array, int fromIndex, int maxIndex, byte... values)","summary":"Returns the index of the first occurrence of any byte contained in values in array, bounded by fromIndex (inclusive) and maxIndex (exclusive).","params":[{"name":"array","type":"byte[]"},{"name":"fromIndex","type":"int"},{"name":"maxIndex","type":"int"},{"name":"values","type":"byte..."}],"returns":{"type":"int","doc":"the index of the first occurrence of any byte contained in values in array that is greater than or equal to fromIndex and less than maxIndex, or -1 if none of the values occur."}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.indexOfWithOrMask(byte[], int, int, byte[], byte[])","href":"com/oracle/truffle/api/ArrayUtils.html#indexOfWithOrMask(byte[],int,int,byte[],byte[])","name":"indexOfWithOrMask","kind":"method","signature":"public static int indexOfWithOrMask(byte[] haystack, int fromIndex, int length, byte[] needle, byte[] mask)","summary":"Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.","details":"Performs best if needle and mask are CompilationFinal with dimensions = 1.","params":[{"name":"haystack","type":"byte[]"},{"name":"fromIndex","type":"int"},{"name":"length","type":"int"},{"name":"needle","type":"byte[]"},{"name":"mask","type":"byte[]"}],"returns":{"type":"int","doc":"the index of the first region of haystack where for all indices i of needle (haystack[index + i] | mask[i]) == needle[i] holds, and fromIndex <= index && index + needle.length <= fromIndex + length holds, or -1 if no such region is found."}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.indexOfWithOrMask(char[], int, int, char[], char[])","href":"com/oracle/truffle/api/ArrayUtils.html#indexOfWithOrMask(char[],int,int,char[],char[])","name":"indexOfWithOrMask","kind":"method","signature":"public static int indexOfWithOrMask(char[] haystack, int fromIndex, int length, char[] needle, char[] mask)","summary":"Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.","details":"Performs best if needle and mask are CompilationFinal with dimensions = 1.","params":[{"name":"haystack","type":"char[]"},{"name":"fromIndex","type":"int"},{"name":"length","type":"int"},{"name":"needle","type":"char[]"},{"name":"mask","type":"char[]"}],"returns":{"type":"int","doc":"the index of the first region of haystack where for all indices i of needle (haystack[index + i] | mask[i]) == needle[i] holds, and fromIndex <= index && index + needle.length <= fromIndex + length holds, or -1 if no such region is found."}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.indexOfWithOrMask(String, int, int, String, String)","href":"com/oracle/truffle/api/ArrayUtils.html#indexOfWithOrMask(java.lang.String,int,int,java.lang.String,java.lang.String)","name":"indexOfWithOrMask","kind":"method","signature":"public static int indexOfWithOrMask(String haystack, int fromIndex, int length, String needle, String mask)","summary":"Returns the index of the first region of haystack that equals needle after being OR'ed with mask, bounded by fromIndex (inclusive) and length.","details":"Performs best if needle and mask are CompilationFinal.","params":[{"name":"haystack","type":"String"},{"name":"fromIndex","type":"int"},{"name":"length","type":"int"},{"name":"needle","type":"String"},{"name":"mask","type":"String"}],"returns":{"type":"int","doc":"the index of the first region of haystack where for all indices i of needle (haystack.charAt(index + i) | mask.charAt(i)) == needle.charAt(i) holds, and fromIndex <= index && index + needle.length() <= fromIndex + length holds, or -1 if no such region is found."}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.regionEqualsWithOrMask(byte[], int, byte[], int, int, byte[])","href":"com/oracle/truffle/api/ArrayUtils.html#regionEqualsWithOrMask(byte[],int,byte[],int,int,byte[])","name":"regionEqualsWithOrMask","kind":"method","signature":"public static boolean regionEqualsWithOrMask(byte[] a, int offsetA, byte[] b, int offsetB, int length, byte[] mask)","summary":"Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a[offsetA + i] | mask[i]) == b[offsetB + i] holds.","details":"Performs best if length and mask are CompilationFinal with dimensions = 1. If mask is null, it is treated as if it was filled with zeroes.","params":[{"name":"a","type":"byte[]"},{"name":"offsetA","type":"int"},{"name":"b","type":"byte[]"},{"name":"offsetB","type":"int"},{"name":"length","type":"int"},{"name":"mask","type":"byte[]"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.regionEqualsWithOrMask(char[], int, char[], int, int, char[])","href":"com/oracle/truffle/api/ArrayUtils.html#regionEqualsWithOrMask(char[],int,char[],int,int,char[])","name":"regionEqualsWithOrMask","kind":"method","signature":"public static boolean regionEqualsWithOrMask(char[] a, int offsetA, char[] b, int offsetB, int length, char[] mask)","summary":"Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a[offsetA + i] | mask[i]) == b[offsetB + i] holds.","details":"Performs best if length and mask are CompilationFinal with dimensions = 1. If mask is null, it is treated as if it was filled with zeroes.","params":[{"name":"a","type":"char[]"},{"name":"offsetA","type":"int"},{"name":"b","type":"char[]"},{"name":"offsetB","type":"int"},{"name":"length","type":"int"},{"name":"mask","type":"char[]"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.regionEqualsWithOrMask(String, int, String, int, int, String)","href":"com/oracle/truffle/api/ArrayUtils.html#regionEqualsWithOrMask(java.lang.String,int,java.lang.String,int,int,java.lang.String)","name":"regionEqualsWithOrMask","kind":"method","signature":"public static boolean regionEqualsWithOrMask(String a, int offsetA, String b, int offsetB, int length, String mask)","summary":"Returns true iff for all indices i from 0 (inclusive) to length (exclusive), (a.charAt(offsetA + i) | mask.charAt(i)) == b.charAt(offsetB + i) holds.","details":"Performs best if length and mask are CompilationFinal with dimensions = 1. If mask is null, it is treated as if it was filled with zeroes.","params":[{"name":"a","type":"String"},{"name":"offsetA","type":"int"},{"name":"b","type":"String"},{"name":"offsetB","type":"int"},{"name":"length","type":"int"},{"name":"mask","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.ArrayUtils.arraycopy(int[], int, int[], int, int)","href":"com/oracle/truffle/api/ArrayUtils.html#arraycopy(int[],int,int[],int,int)","name":"arraycopy","kind":"method","signature":"public static void arraycopy(int[] source, int sourceIndex, int[] destination, int destinationIndex, int length)","summary":"Copies length elements from source, starting at sourceIndex, to destination, starting at destinationIndex.","detailsOmitted":true,"params":[{"name":"source","type":"int[]"},{"name":"sourceIndex","type":"int"},{"name":"destination","type":"int[]"},{"name":"destinationIndex","type":"int"},{"name":"length","type":"int"}]}
{"symbol":"com.oracle.truffle.api.Assumption","href":"com/oracle/truffle/api/Assumption.html","name":"Assumption","kind":"interface","signature":"public interface Assumption","summary":"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()).","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.Assumption.ALWAYS_VALID","href":"com/oracle/truffle/api/Assumption.html#ALWAYS_VALID","name":"ALWAYS_VALID","kind":"field","signature":"Assumption ALWAYS_VALID","summary":"An assumption that is always valid and fails with an UnsupportedOperationException if invalidated."}
{"symbol":"com.oracle.truffle.api.Assumption.NEVER_VALID","href":"com/oracle/truffle/api/Assumption.html#NEVER_VALID","name":"NEVER_VALID","kind":"field","signature":"Assumption NEVER_VALID","summary":"An assumption that is never valid."}
{"symbol":"com.oracle.truffle.api.Assumption.check()","href":"com/oracle/truffle/api/Assumption.html#check()","name":"check","kind":"method","signature":"void check() throws InvalidAssumptionException","summary":"Checks that this assumption is still valid.","details":"The method throws an exception, if this is no longer the case. This method is preferred over the isValid() method when writing guest language interpreter code. The catch block should perform a node rewrite (see Node.replace(Node)) with a node that no longer relies on the assumption.","throws":[{"type":"InvalidAssumptionException","doc":"If the assumption is no longer valid."}]}
{"symbol":"com.oracle.truffle.api.Assumption.isValid()","href":"com/oracle/truffle/api/Assumption.html#isValid()","name":"isValid","kind":"method","signature":"boolean isValid()","summary":"Checks whether the assumption is still valid.","returns":{"type":"boolean","doc":"a boolean value indicating the validity of the assumption"}}
{"symbol":"com.oracle.truffle.api.Assumption.invalidate()","href":"com/oracle/truffle/api/Assumption.html#invalidate()","name":"invalidate","kind":"method","signature":"void invalidate()","summary":"Invalidates this assumption.","details":"Performs no operation, if the assumption is already invalid."}
{"symbol":"com.oracle.truffle.api.Assumption.invalidate(String)","href":"com/oracle/truffle/api/Assumption.html#invalidate(java.lang.String)","name":"invalidate","kind":"method","signature":"default void invalidate(String message)","summary":"Invalidates this assumption.","details":"Performs no operation, if the assumption is already invalid.","params":[{"name":"message","type":"String","doc":"a message stating the reason of the invalidation"}]}
{"symbol":"com.oracle.truffle.api.Assumption.getName()","href":"com/oracle/truffle/api/Assumption.html#getName()","name":"getName","kind":"method","signature":"String getName()","summary":"A name for the assumption that is used for debug output.","returns":{"type":"String","doc":"the name of the assumption"}}
{"symbol":"com.oracle.truffle.api.Assumption.isValidAssumption(Assumption)","href":"com/oracle/truffle/api/Assumption.html#isValidAssumption(com.oracle.truffle.api.Assumption)","name":"isValidAssumption","kind":"method","signature":"static boolean isValidAssumption(Assumption assumption)","summary":"Checks whether an assumption is not null and valid.","params":[{"name":"assumption","type":"Assumption"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.Assumption.isValidAssumption(Assumption[])","href":"com/oracle/truffle/api/Assumption.html#isValidAssumption(com.oracle.truffle.api.Assumption[])","name":"isValidAssumption","kind":"method","signature":"static boolean isValidAssumption(Assumption[] assumptions)","summary":"Checks whether all assumptions in an array are not null and valid.","details":"Returns false if the assumptions array itself is null. This method is designed for compilation. Note that the provided assumptions array must be a compilation final array with dimensions set to one.","params":[{"name":"assumptions","type":"Assumption[]"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.Assumption.create()","href":"com/oracle/truffle/api/Assumption.html#create()","name":"create","kind":"method","signature":"static Assumption create()","summary":"Creates a new assumption with a name.","details":"Shortcut for TruffleRuntime.createAssumption().","returns":{"type":"Assumption"}}
{"symbol":"com.oracle.truffle.api.Assumption.create(String)","href":"com/oracle/truffle/api/Assumption.html#create(java.lang.String)","name":"create","kind":"method","signature":"static Assumption create(String name)","summary":"Creates a new assumption with a name.","details":"Shortcut for TruffleRuntime.createAssumption(String).","params":[{"name":"name","type":"String"}],"returns":{"type":"Assumption"}}
{"symbol":"com.oracle.truffle.api.CallTarget","href":"com/oracle/truffle/api/CallTarget.html","name":"CallTarget","kind":"interface","signature":"public interface CallTarget","summary":"Represents the target of a call.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.CallTarget.call(Object...)","href":"com/oracle/truffle/api/CallTarget.html#call(java.lang.Object...)","name":"call","kind":"method","signature":"Object call(Object... arguments)","summary":"Calls the encapsulated root node with the given arguments and returns the result.","details":"By calling this method, the call location is looked up using EncapsulatingNodeReference. Use call(Node, Object...) if the call location is already known. Calling this method in partially evaluated code will allow it to get inlined if the receiver (this) is a pe-constant. Call site cloning is only supported if a DirectCallNode is used instead.","params":[{"name":"arguments","type":"Object...","doc":"The arguments passed to the call, as an object array."}],"returns":{"type":"Object","doc":"The result of the call."}}
{"symbol":"com.oracle.truffle.api.CallTarget.call(Node, Object...)","href":"com/oracle/truffle/api/CallTarget.html#call(com.oracle.truffle.api.nodes.Node,java.lang.Object...)","name":"call","kind":"method","signature":"default Object call(Node location, Object... arguments)","summary":"Calls the encapsulated root node with an explicit call location and arguments, and returns the result.","details":"This method should be preferred over call(Object...) if the current location is known, as it avoids looking up the current location from a thread-local.","params":[{"name":"location","type":"Node","doc":"A Node that identifies the location of this call. The location may be null if no location is available."},{"name":"arguments","type":"Object...","doc":"The arguments passed to the call, as an object array."}],"returns":{"type":"Object","doc":"The result of the call."}}
{"symbol":"com.oracle.truffle.api.CallTarget.call(Node, int, Object[])","href":"com/oracle/truffle/api/CallTarget.html#call(com.oracle.truffle.api.nodes.Node,int,java.lang.Object[])","name":"call","kind":"method","signature":"default Object call(Node location, int bytecodeIndex, Object[] arguments)","summary":"Calls the root node, preserving the explicit location and BCI for stack walking.","details":"Callers that do not have an explicit bytecode index should pass -1.","params":[{"name":"location","type":"Node","doc":"a Node that identifies the location of this call. The location may be null if no location is available."},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index associated with this call, or -1 if no explicit bytecode index is available."},{"name":"arguments","type":"Object[]","doc":"the arguments passed to the call, as an object array."}],"returns":{"type":"Object","doc":"the result of the call."}}
{"symbol":"com.oracle.truffle.api.CompilerAsserts","href":"com/oracle/truffle/api/CompilerAsserts.html","name":"CompilerAsserts","kind":"class","signature":"public final class CompilerAsserts","summary":"Assertions about the code produced by the Truffle compiler.","details":"All operations have no effect when either executed in the interpreter or in the compiled code. The assertions are checked during code generation and the Truffle compiler produces for failing assertions a stack trace that identifies the code position of the assertion in the context of the current compilation."}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation()","href":"com/oracle/truffle/api/CompilerAsserts.html#neverPartOfCompilation()","name":"neverPartOfCompilation","kind":"method","signature":"public static void neverPartOfCompilation()","summary":"Assertion that this code position should never be reached during compilation.","details":"It can be used for exceptional code paths or rare code paths that should never be included in a compilation unit. See CompilerDirectives.transferToInterpreter() for the corresponding compiler directive. CompilerDirectives.bailout(String) should be used if failing compilation is desired, e.g., for testing. neverPartOfCompilation() must not be reachable for runtime compilation, see the TruffleCheckNeverPartOfCompilation option."}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.neverPartOfCompilation(String)","href":"com/oracle/truffle/api/CompilerAsserts.html#neverPartOfCompilation(java.lang.String)","name":"neverPartOfCompilation","kind":"method","signature":"public static void neverPartOfCompilation(String message)","summary":"Assertion that this code position should never be reached during compilation.","details":"It can be used for exceptional code paths or rare code paths that should never be included in a compilation unit. See CompilerDirectives.transferToInterpreter() for the corresponding compiler directive. CompilerDirectives.bailout(String) should be used if failing compilation is desired, e.g., for testing. neverPartOfCompilation() must not be reachable for runtime compilation, see the TruffleCheckNeverPartOfCompilation option.","params":[{"name":"message","type":"String","doc":"text associated with the bailout exception"}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.compilationConstant(Object)","href":"com/oracle/truffle/api/CompilerAsserts.html#compilationConstant(java.lang.Object)","name":"compilationConstant","kind":"method","signature":"public static <T> void compilationConstant(Object value)","summary":"Assertion that the corresponding value is reduced to a constant during compilation.","details":"This is, for example, useful to assert that an array has always the same size, although the actual value is only known at run-time. In most cases, it is preferred to use CompilerAsserts.partialEvaluationConstant(Object) and its specialized variants.","params":[{"name":"value","type":"Object","doc":"the value that must be constant during compilation"}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant(Object)","href":"com/oracle/truffle/api/CompilerAsserts.html#partialEvaluationConstant(java.lang.Object)","name":"partialEvaluationConstant","kind":"method","signature":"public static <T> void partialEvaluationConstant(Object value)","summary":"Assertion that the corresponding value is reduced to a constant during the initial partial evaluation phase.","details":"Compared with CompilerAsserts.compilationConstant(Object), the constantness of the value is checked much earlier in the compilation pipeline. It should therefore be preferred, also because its specialized variants avoid boxing.","params":[{"name":"value","type":"Object","doc":"the value that must be constant during compilation"}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant(boolean)","href":"com/oracle/truffle/api/CompilerAsserts.html#partialEvaluationConstant(boolean)","name":"partialEvaluationConstant","kind":"method","signature":"public static <T> void partialEvaluationConstant(boolean value)","summary":"Specialized version of CompilerAsserts.compilationConstant(Object) for boolean values.","params":[{"name":"value","type":"boolean","doc":"the value that must be constant during partial evaluation."}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant(int)","href":"com/oracle/truffle/api/CompilerAsserts.html#partialEvaluationConstant(int)","name":"partialEvaluationConstant","kind":"method","signature":"public static <T> void partialEvaluationConstant(int value)","summary":"Specialized version of CompilerAsserts.compilationConstant(Object) for int values.","params":[{"name":"value","type":"int","doc":"the value that must be constant during partial evaluation."}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant(float)","href":"com/oracle/truffle/api/CompilerAsserts.html#partialEvaluationConstant(float)","name":"partialEvaluationConstant","kind":"method","signature":"public static <T> void partialEvaluationConstant(float value)","summary":"Specialized version of CompilerAsserts.compilationConstant(Object) for float values.","params":[{"name":"value","type":"float","doc":"the value that must be constant during partial evaluation."}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant(long)","href":"com/oracle/truffle/api/CompilerAsserts.html#partialEvaluationConstant(long)","name":"partialEvaluationConstant","kind":"method","signature":"public static <T> void partialEvaluationConstant(long value)","summary":"Specialized version of CompilerAsserts.compilationConstant(Object) for long values.","params":[{"name":"value","type":"long","doc":"the value that must be constant during partial evaluation."}]}
{"symbol":"com.oracle.truffle.api.CompilerAsserts.partialEvaluationConstant(double)","href":"com/oracle/truffle/api/CompilerAsserts.html#partialEvaluationConstant(double)","name":"partialEvaluationConstant","kind":"method","signature":"public static <T> void partialEvaluationConstant(double value)","summary":"Specialized version of CompilerAsserts.compilationConstant(Object) for double values.","params":[{"name":"value","type":"double","doc":"the value that must be constant during partial evaluation."}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives","href":"com/oracle/truffle/api/CompilerDirectives.html","name":"CompilerDirectives","kind":"class","signature":"public final class CompilerDirectives","summary":"Directives that influence the optimizations of the Truffle compiler.","details":"All of the operations have no effect when executed in the Truffle interpreter."}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.LIKELY_PROBABILITY","href":"com/oracle/truffle/api/CompilerDirectives.html#LIKELY_PROBABILITY","name":"LIKELY_PROBABILITY","kind":"field","signature":"public static final double LIKELY_PROBABILITY","value":"0.75"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.UNLIKELY_PROBABILITY","href":"com/oracle/truffle/api/CompilerDirectives.html#UNLIKELY_PROBABILITY","name":"UNLIKELY_PROBABILITY","kind":"field","signature":"public static final double UNLIKELY_PROBABILITY","value":"0.25"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.SLOWPATH_PROBABILITY","href":"com/oracle/truffle/api/CompilerDirectives.html#SLOWPATH_PROBABILITY","name":"SLOWPATH_PROBABILITY","kind":"field","signature":"public static final double SLOWPATH_PROBABILITY","value":"1.0E-4"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.FASTPATH_PROBABILITY","href":"com/oracle/truffle/api/CompilerDirectives.html#FASTPATH_PROBABILITY","name":"FASTPATH_PROBABILITY","kind":"field","signature":"public static final double FASTPATH_PROBABILITY","value":"0.9999"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.transferToInterpreter()","href":"com/oracle/truffle/api/CompilerDirectives.html#transferToInterpreter()","name":"transferToInterpreter","kind":"method","signature":"public static void transferToInterpreter()","summary":"Directive for the compiler to discontinue compilation at this code position and instead insert a transfer to the interpreter."}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate()","href":"com/oracle/truffle/api/CompilerDirectives.html#transferToInterpreterAndInvalidate()","name":"transferToInterpreterAndInvalidate","kind":"method","signature":"public static void transferToInterpreterAndInvalidate()","summary":"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."}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.inInterpreter()","href":"com/oracle/truffle/api/CompilerDirectives.html#inInterpreter()","name":"inInterpreter","kind":"method","signature":"public static boolean inInterpreter()","summary":"Returns a boolean value indicating whether the method is executed in the interpreter.","returns":{"type":"boolean","doc":"true when executed in the interpreter, false in compiled code."}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.hasNextTier()","href":"com/oracle/truffle/api/CompilerDirectives.html#hasNextTier()","name":"hasNextTier","kind":"method","signature":"public static boolean hasNextTier()","summary":"Returns a boolean value indicating whether the method is executed in a compilation tier which can be replaced with a higher tier (e.g.","details":"interpretation tier can be replaced by a first tier, a first tier by a second tier compilation).","returns":{"type":"boolean","doc":"true when executed in the first tier Truffle compilation, false otherwise."}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.inCompiledCode()","href":"com/oracle/truffle/api/CompilerDirectives.html#inCompiledCode()","name":"inCompiledCode","kind":"method","signature":"public static boolean inCompiledCode()","summary":"Returns a boolean value indicating whether the method is executed in the compiled code.","returns":{"type":"boolean","doc":"false when executed in the interpreter, true in compiled code."}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.preserveFrameStateHere()","href":"com/oracle/truffle/api/CompilerDirectives.html#preserveFrameStateHere()","name":"preserveFrameStateHere","kind":"method","signature":"public static void preserveFrameStateHere()","summary":"Inserts a state-split marker at this program point so deoptimization restores frame state for the current bytecode location.","details":"This is intended for bytecode interpreters that need reliable transfer-to-interpreter transition reporting at specific program points."}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.inCompilationRoot()","href":"com/oracle/truffle/api/CompilerDirectives.html#inCompilationRoot()","name":"inCompilationRoot","kind":"method","signature":"public static boolean inCompilationRoot()","summary":"Returns a boolean value indicating whether the method is executed in the root of a Truffle compilation.","returns":{"type":"boolean","doc":"false when executed in the interpreter or in an inlined CallTarget, true when in non-inlined compiled code."}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.isCompilationConstant(Object)","href":"com/oracle/truffle/api/CompilerDirectives.html#isCompilationConstant(java.lang.Object)","name":"isCompilationConstant","kind":"method","signature":"public static boolean isCompilationConstant(Object value)","summary":"Returns a boolean indicating whether or not a given value is seen as constant in optimized code.","details":"If this method is called in the interpreter this method will always return true. Note that optimizations that a compiler will apply to code that is conditional on isCompilationConstant may be limited. For this reason isCompilationConstant is not recommended for use to select between alternate implementations of functionality depending on whether a value is constant. Instead, it is intended for use as a diagnostic mechanism.","params":[{"name":"value","type":"Object"}],"returns":{"type":"boolean","doc":"true when given value is seen as compilation constant, false if not compilation constant."}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.isPartialEvaluationConstant(Object)","href":"com/oracle/truffle/api/CompilerDirectives.html#isPartialEvaluationConstant(java.lang.Object)","name":"isPartialEvaluationConstant","kind":"method","signature":"public static boolean isPartialEvaluationConstant(Object value)","summary":"Returns a boolean indicating whether a given value is seen as constant during the initial partial evaluation phase.","detailsOmitted":true,"params":[{"name":"value","type":"Object"}],"returns":{"type":"boolean","doc":"true when given value is seen as compilation constant or in interpreter, false otherwise."}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.interpreterOnly(Runnable)","href":"com/oracle/truffle/api/CompilerDirectives.html#interpreterOnly(java.lang.Runnable)","name":"interpreterOnly","kind":"method","signature":"public static void interpreterOnly(Runnable runnable)","summary":"Directive for the compiler that the given runnable should only be executed in the interpreter and ignored in the compiled code.","params":[{"name":"runnable","type":"Runnable","doc":"the closure that should only be executed in the interpreter"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.interpreterOnly(Callable)","href":"com/oracle/truffle/api/CompilerDirectives.html#interpreterOnly(java.util.concurrent.Callable)","name":"interpreterOnly","kind":"method","signature":"public static <T> T interpreterOnly(Callable<T> callable) throws Exception","summary":"Directive for the compiler that the given callable should only be executed in the interpreter.","params":[{"name":"callable","type":"Callable<T>","doc":"the closure that should only be executed in the interpreter"}],"returns":{"type":"T","doc":"the result of executing the closure in the interpreter and null in the compiled code"},"throws":[{"type":"Exception","doc":"If the closure throws an exception when executed in the interpreter."}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.injectBranchProbability(double, boolean)","href":"com/oracle/truffle/api/CompilerDirectives.html#injectBranchProbability(double,boolean)","name":"injectBranchProbability","kind":"method","signature":"public static boolean injectBranchProbability(double probability, boolean condition)","summary":"Injects a probability for the given condition into the probability information of the immediately succeeding branch instruction for the condition.","detailsOmitted":true,"params":[{"name":"probability","type":"double","doc":"the probability value between 0.0 and 1.0 that should be injected"},{"name":"condition","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.bailout(String)","href":"com/oracle/truffle/api/CompilerDirectives.html#bailout(java.lang.String)","name":"bailout","kind":"method","signature":"public static void bailout(String reason)","summary":"Bails out of a compilation (e.g., for guest language features that should never be compiled).","params":[{"name":"reason","type":"String","doc":"the reason for the bailout"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.materialize(Object)","href":"com/oracle/truffle/api/CompilerDirectives.html#materialize(java.lang.Object)","name":"materialize","kind":"method","signature":"public static void materialize(Object obj)","summary":"Ensures that the given object is not virtual, i.e., not removed by Escape Analysis at the point of this call.","params":[{"name":"obj","type":"Object","doc":"the object to exclude from Escape Analysis"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.ensureAllocatedHere(T)","href":"com/oracle/truffle/api/CompilerDirectives.html#ensureAllocatedHere(T)","name":"ensureAllocatedHere","kind":"method","signature":"public static <T> T ensureAllocatedHere(T object)","summary":"Prevents the compiler from moving an allocation, enabling precise OutOfMemoryError exception locations.","detailsOmitted":true,"params":[{"name":"object","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.ensureVirtualized(Object)","href":"com/oracle/truffle/api/CompilerDirectives.html#ensureVirtualized(java.lang.Object)","name":"ensureVirtualized","kind":"method","signature":"public static void ensureVirtualized(Object object)","summary":"Ensures that the given object will be virtual (escape analyzed) at all points that are dominated by the current position.","params":[{"name":"object","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.ensureVirtualizedHere(Object)","href":"com/oracle/truffle/api/CompilerDirectives.html#ensureVirtualizedHere(java.lang.Object)","name":"ensureVirtualizedHere","kind":"method","signature":"public static void ensureVirtualizedHere(Object object)","summary":"Ensures that the given object will be virtual at the current position.","params":[{"name":"object","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(boolean)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(boolean)","name":"blackhole","kind":"method","signature":"public static void blackhole(boolean value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(byte)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(byte)","name":"blackhole","kind":"method","signature":"public static void blackhole(byte value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(short)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(short)","name":"blackhole","kind":"method","signature":"public static void blackhole(short value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"short"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(char)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(char)","name":"blackhole","kind":"method","signature":"public static void blackhole(char value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"char"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(int)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(int)","name":"blackhole","kind":"method","signature":"public static void blackhole(int value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(long)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(long)","name":"blackhole","kind":"method","signature":"public static void blackhole(long value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(float)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(float)","name":"blackhole","kind":"method","signature":"public static void blackhole(float value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(double)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(double)","name":"blackhole","kind":"method","signature":"public static void blackhole(double value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.blackhole(Object)","href":"com/oracle/truffle/api/CompilerDirectives.html#blackhole(java.lang.Object)","name":"blackhole","kind":"method","signature":"public static void blackhole(Object value)","summary":"Consume a value, making sure the compiler doesn't optimize away the computation of this value, even if it is otherwise unused.","details":"This should only be used for benchmarking purposes.","params":[{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.castExact(Object, Class)","href":"com/oracle/truffle/api/CompilerDirectives.html#castExact(java.lang.Object,java.lang.Class)","name":"castExact","kind":"method","signature":"public static <T> T castExact(Object object, Class<T> clazz)","summary":"Casts the given object to the exact class represented by clazz.","details":"The cast succeeds only if object == null || object.getClass() == clazz and thus fails for any subclass.","params":[{"name":"object","type":"Object","doc":"the object to be cast"},{"name":"clazz","type":"Class<T>","doc":"the class to check against, must not be null"}],"returns":{"type":"T","doc":"the object after casting"},"throws":[{"type":"ClassCastException","doc":"if the object is non-null and not exactly of the given class"},{"type":"NullPointerException","doc":"if the class argument is null"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.isExact(Object, Class)","href":"com/oracle/truffle/api/CompilerDirectives.html#isExact(java.lang.Object,java.lang.Class)","name":"isExact","kind":"method","signature":"public static boolean isExact(Object object, Class<?> clazz)","summary":"Checks the given object to the exact class represented by clazz.","details":"The method returns true only if object != null && object.getClass() == clazz and thus fails for any subclass.","params":[{"name":"object","type":"Object","doc":"the object to be cast"},{"name":"clazz","type":"Class<?>","doc":"the class to check against, must not be null"}],"returns":{"type":"boolean"},"throws":[{"type":"NullPointerException","doc":"if the class argument is null"}]}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.shouldNotReachHere()","href":"com/oracle/truffle/api/CompilerDirectives.html#shouldNotReachHere()","name":"shouldNotReachHere","kind":"method","signature":"public static RuntimeException shouldNotReachHere()","summary":"Indicates a code path that is not supposed to be reached during compilation or interpretation.","details":"Reaching this method is considered a fatal internal error and execution should not continue. Transfers to interpreter and invalidates the compiled code and always throws an AssertionError when invoked. This method returns a runtime exception to be conveniently used in combination with Java throw statements, for example: if (expectedCondition) { return 42; } else { throw shouldNotReachHere(); }","returns":{"type":"RuntimeException"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.shouldNotReachHere(String)","href":"com/oracle/truffle/api/CompilerDirectives.html#shouldNotReachHere(java.lang.String)","name":"shouldNotReachHere","kind":"method","signature":"public static RuntimeException shouldNotReachHere(String message)","summary":"Indicates a code path that is not supposed to be reached during compilation or interpretation.","details":"Reaching this method is considered a fatal internal error and execution should not continue. Transfers to interpreter and invalidates the compiled code and always throws an AssertionError when invoked. This method returns a runtime exception to be conveniently used in combination with Java throw statements, for example: if (expectedCondition) { return 42; } else { throw shouldNotReachHere(\"Additional message\"); }","params":[{"name":"message","type":"String","doc":"an additional message for the exception thrown."}],"returns":{"type":"RuntimeException"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.shouldNotReachHere(Throwable)","href":"com/oracle/truffle/api/CompilerDirectives.html#shouldNotReachHere(java.lang.Throwable)","name":"shouldNotReachHere","kind":"method","signature":"public static RuntimeException shouldNotReachHere(Throwable cause)","summary":"Indicates a code path that is not supposed to be reached during compilation or interpretation.","details":"Reaching this method is considered a fatal internal error and execution should not continue. Transfers to interpreter and invalidates the compiled code and always throws an AssertionError when invoked. This method returns a runtime exception to be conveniently used in combination with Java throw statements, for example: if (expectedCondition) { return 42; } else { throw shouldNotReachHere(\"Additional message\"); }","params":[{"name":"cause","type":"Throwable","doc":"the cause if an exception was responsible for the unexpected case."}],"returns":{"type":"RuntimeException"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.shouldNotReachHere(String, Throwable)","href":"com/oracle/truffle/api/CompilerDirectives.html#shouldNotReachHere(java.lang.String,java.lang.Throwable)","name":"shouldNotReachHere","kind":"method","signature":"public static RuntimeException shouldNotReachHere(String message, Throwable cause)","summary":"Indicates a code path that is not supposed to be reached during compilation or interpretation.","details":"Reaching this method is considered a fatal internal error and execution should not continue. Transfers to interpreter and invalidates the compiled code and always throws an AssertionError when invoked. This method returns a runtime exception to be conveniently used in combination with Java throw statements, for example: if (expectedCondition) { return 42; } else { throw shouldNotReachHere(\"Additional message\"); }","params":[{"name":"message","type":"String","doc":"an additional message for the exception thrown."},{"name":"cause","type":"Throwable","doc":"the cause if an exception was responsible for the unexpected case."}],"returns":{"type":"RuntimeException"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.mergeExplodeKey(int)","href":"com/oracle/truffle/api/CompilerDirectives.html#mergeExplodeKey(int)","name":"mergeExplodeKey","kind":"method","signature":"public static int mergeExplodeKey(int i)","summary":"Marks a local variable as the key used for merging loop iterations in methods annotated with LoopExplosionKind.MERGE_EXPLODE.","detailsOmitted":true,"params":[{"name":"i","type":"int","doc":"the variable that should be used as the merge key."}],"returns":{"type":"int","doc":"the unchanged value"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.mergeExplodeKey(long)","href":"com/oracle/truffle/api/CompilerDirectives.html#mergeExplodeKey(long)","name":"mergeExplodeKey","kind":"method","signature":"public static long mergeExplodeKey(long i)","summary":"Marks a long variable as the key used for merging loop iterations in methods annotated with LoopExplosionKind.MERGE_EXPLODE.","details":"Using this outside of merge exploded methods will lead to a compilation failure. The usage and restrictions are the same as for mergeExplodeKey(int), including the requirement that the key be a compile-time constant at every loop header. For irreducible loops, long key values must also fit in the signed 32-bit int range. Values outside of this range will cause a compilation failure.","params":[{"name":"i","type":"long","doc":"the variable that should be used as the merge key."}],"returns":{"type":"long","doc":"the unchanged value"}}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.CompilationFinal","href":"com/oracle/truffle/api/CompilerDirectives.CompilationFinal.html","name":"CompilerDirectives.CompilationFinal","kind":"annotation","signature":"public @interface CompilerDirectives.CompilationFinal","summary":"Marks fields that should be considered final for a Truffle compilation although they are not final while executing in the interpreter.","details":"If the field type is an array type, the compiler considers reads with a constant index as constants."}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.CompilationFinal.dimensions()","href":"com/oracle/truffle/api/CompilerDirectives.CompilationFinal.html#dimensions()","name":"dimensions","kind":"annotationElement","signature":"int dimensions() default -1","summary":"Specifies the number of array dimensions to be marked as compilation final.","detailsOmitted":true,"returns":{"type":"int"},"defaultValue":"-1"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.EarlyEscapeAnalysis","href":"com/oracle/truffle/api/CompilerDirectives.EarlyEscapeAnalysis.html","name":"CompilerDirectives.EarlyEscapeAnalysis","kind":"annotation","signature":"public @interface CompilerDirectives.EarlyEscapeAnalysis","summary":"Requests the Truffle compiler to run escape analysis on this method before partial evaluation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.EarlyInline","href":"com/oracle/truffle/api/CompilerDirectives.EarlyInline.html","name":"CompilerDirectives.EarlyInline","kind":"annotation","signature":"public @interface CompilerDirectives.EarlyInline","summary":"Marks a method or constructor as a candidate for early inlining during Truffle compilation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.TruffleBoundary","href":"com/oracle/truffle/api/CompilerDirectives.TruffleBoundary.html","name":"CompilerDirectives.TruffleBoundary","kind":"annotation","signature":"public @interface CompilerDirectives.TruffleBoundary","summary":"Marks a method that it is considered as a boundary for Truffle partial evaluation."}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.TruffleBoundary.transferToInterpreterOnException()","href":"com/oracle/truffle/api/CompilerDirectives.TruffleBoundary.html#transferToInterpreterOnException()","name":"transferToInterpreterOnException","kind":"annotationElement","signature":"boolean transferToInterpreterOnException() default true","summary":"Determines whether execution should be transferred to the interpreter if an exception is thrown across this boundary, in which case the caller's compiled code is invalidated and will not transfer to the interpreter on exceptions for this method again.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.TruffleBoundary.allowInlining()","href":"com/oracle/truffle/api/CompilerDirectives.TruffleBoundary.html#allowInlining()","name":"allowInlining","kind":"annotationElement","signature":"boolean allowInlining() default false","summary":"Considers this Truffle boundary invoke as an inlining candidate.","details":"Partial evaluation cannot inline a boundary, but a later inlining pass can.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.CompilerDirectives.ValueType","href":"com/oracle/truffle/api/CompilerDirectives.ValueType.html","name":"CompilerDirectives.ValueType","kind":"annotation","signature":"public @interface CompilerDirectives.ValueType","summary":"Marks classes as value types.","details":"Reference comparisons (==) between instances of those classes have undefined semantics and can either return true or false."}
{"symbol":"com.oracle.truffle.api.ContextLocal","href":"com/oracle/truffle/api/ContextLocal.html","name":"ContextLocal","kind":"class","signature":"public abstract class ContextLocal<T>","summary":"A context local reference that refers to a value that is created for each polyglot context.","details":"Context references can be used to attach data to a polyglot context. That data can be retrieved efficiently for the current context using get() or for other contexts using get(TruffleContext). Context locals can be created for languages and instruments. See links below for usage examples."}
{"symbol":"com.oracle.truffle.api.ContextLocal(Object)","href":"com/oracle/truffle/api/ContextLocal.html#%3Cinit%3E(java.lang.Object)","name":"ContextLocal","kind":"constructor","signature":"protected ContextLocal(Object polyglotObject)","summary":"Custom subclasses of context local are not allowed.","params":[{"name":"polyglotObject","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.ContextLocal.get()","href":"com/oracle/truffle/api/ContextLocal.html#get()","name":"get","kind":"method","signature":"public abstract T get()","summary":"Returns the context local value for the currently entered context.","details":"This method is intended to be used on compiled code paths. The return value is never null.","returns":{"type":"T"},"throws":[{"type":"IllegalStateException","doc":"if assertions (-ea) are enabled and no current context is entered on the current thread, context locals have already been cleared for the current context, the corresponding instrument is not initialized, or the corresponding language is not created."}]}
{"symbol":"com.oracle.truffle.api.ContextLocal.get(TruffleContext)","href":"com/oracle/truffle/api/ContextLocal.html#get(com.oracle.truffle.api.TruffleContext)","name":"get","kind":"method","signature":"public abstract T get(TruffleContext context)","summary":"Returns the context local value for an explicit context.","details":"This method is intended to be used on compiled code paths. The return value is never null.","params":[{"name":"context","type":"TruffleContext"}],"returns":{"type":"T"},"throws":[{"type":"IllegalStateException","doc":"if assertions (-ea) are enabled and context locals have already been cleared for the specified context, the corresponding instrument is not initialized, or the corresponding language is not created."}]}
{"symbol":"com.oracle.truffle.api.ContextThreadLocal","href":"com/oracle/truffle/api/ContextThreadLocal.html","name":"ContextThreadLocal","kind":"class","signature":"public abstract class ContextThreadLocal<T>","summary":"A context thread local reference that refers to a value that is created for each polyglot context and thread.","details":"Context thread references can be used to attach data to a polyglot context for a thread. That data can be retrieved efficiently for the current context and thread using get() or less efficiently for other contexts and other threads using get(TruffleContext, Thread). Context thread locals can be created for languages and instruments. See links below for usage examples."}
{"symbol":"com.oracle.truffle.api.ContextThreadLocal(Object)","href":"com/oracle/truffle/api/ContextThreadLocal.html#%3Cinit%3E(java.lang.Object)","name":"ContextThreadLocal","kind":"constructor","signature":"protected ContextThreadLocal(Object polyglotObject)","summary":"Custom subclasses of context local are not allowed.","params":[{"name":"polyglotObject","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.ContextThreadLocal.get()","href":"com/oracle/truffle/api/ContextThreadLocal.html#get()","name":"get","kind":"method","signature":"public abstract T get()","summary":"Returns the context thread local value for the currently entered context and thread.","details":"This method is intended to be used on compiled code paths. The return value is never null. Throws IllegalStateException if no current context is entered on the current thread.","returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.ContextThreadLocal.get(Thread)","href":"com/oracle/truffle/api/ContextThreadLocal.html#get(java.lang.Thread)","name":"get","kind":"method","signature":"public abstract T get(Thread t)","summary":"Returns the context thread local value for the currently entered context and the given thread.","details":"This method is less efficient than get() or get(TruffleContext) as it requires synchronization between the threads. The return value is never null. Throws IllegalStateException if no current context is entered on the current thread.","params":[{"name":"t","type":"Thread"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.ContextThreadLocal.get(TruffleContext)","href":"com/oracle/truffle/api/ContextThreadLocal.html#get(com.oracle.truffle.api.TruffleContext)","name":"get","kind":"method","signature":"public abstract T get(TruffleContext t)","summary":"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.","details":"The return value is never null. Throws IllegalStateException if no current context is entered on the current thread.","params":[{"name":"t","type":"TruffleContext"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.ContextThreadLocal.get(TruffleContext, Thread)","href":"com/oracle/truffle/api/ContextThreadLocal.html#get(com.oracle.truffle.api.TruffleContext,java.lang.Thread)","name":"get","kind":"method","signature":"public abstract T get(TruffleContext context, Thread t)","summary":"Returns the context thread local value for the given context and the given thread.","details":"The context does not need to, but may be entered when retrieving the current context local. This method is less efficient than get() or get(TruffleContext) as it requires synchronization between the threads. The return value is never null. Throws IllegalStateException if no current context is entered on the current thread.","params":[{"name":"context","type":"TruffleContext"},{"name":"t","type":"Thread"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.ExactMath","href":"com/oracle/truffle/api/ExactMath.html","name":"ExactMath","kind":"class","signature":"public final class ExactMath","summary":"This class contains exact math related methods that are generally useful for dynamic language implementations."}
{"symbol":"com.oracle.truffle.api.ExactMath.multiplyHigh(int, int)","href":"com/oracle/truffle/api/ExactMath.html#multiplyHigh(int,int)","name":"multiplyHigh","kind":"method","signature":"public static int multiplyHigh(int x, int y)","params":[{"name":"x","type":"int"},{"name":"y","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.ExactMath.multiplyHighUnsigned(int, int)","href":"com/oracle/truffle/api/ExactMath.html#multiplyHighUnsigned(int,int)","name":"multiplyHighUnsigned","kind":"method","signature":"public static int multiplyHighUnsigned(int x, int y)","params":[{"name":"x","type":"int"},{"name":"y","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.ExactMath.multiplyHigh(long, long)","href":"com/oracle/truffle/api/ExactMath.html#multiplyHigh(long,long)","name":"multiplyHigh","kind":"method","signature":"public static long multiplyHigh(long x, long y)","params":[{"name":"x","type":"long"},{"name":"y","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.ExactMath.multiplyHighUnsigned(long, long)","href":"com/oracle/truffle/api/ExactMath.html#multiplyHighUnsigned(long,long)","name":"multiplyHighUnsigned","kind":"method","signature":"public static long multiplyHighUnsigned(long x, long y)","params":[{"name":"x","type":"long"},{"name":"y","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.ExactMath.truncate(float)","href":"com/oracle/truffle/api/ExactMath.html#truncate(float)","name":"truncate","kind":"method","signature":"public static float truncate(float x)","summary":"Removes the decimal part (aka truncation or rounds towards zero) of the given float.","details":"This corresponds to the IEEE 754 roundToIntegralTowardZero operation (IEEE Std 754-2008, section 5.9, page 41).","params":[{"name":"x","type":"float"}],"returns":{"type":"float"}}
{"symbol":"com.oracle.truffle.api.ExactMath.truncate(double)","href":"com/oracle/truffle/api/ExactMath.html#truncate(double)","name":"truncate","kind":"method","signature":"public static double truncate(double x)","summary":"Removes the decimal part (aka truncation or rounds towards zero) of the given double.","details":"This corresponds to the IEEE 754 roundToIntegralTowardZero operation (IEEE Std 754-2008, section 5.9, page 41).","params":[{"name":"x","type":"double"}],"returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.ExactMath.truncateToUnsignedLong(double)","href":"com/oracle/truffle/api/ExactMath.html#truncateToUnsignedLong(double)","name":"truncateToUnsignedLong","kind":"method","signature":"public static long truncateToUnsignedLong(double x)","summary":"Converts the double value to unsigned long with truncation (i.e.","details":"rounding towards zero) and saturation of NaN and x <= -1 to 0, and x >= 264 to 263-1 (-1). Non-saturating (e.g. trapping) behavior can be implemented by checking the input for NaN, underflow (x <= -1) and overflow (x >= 0x1p64) first.","params":[{"name":"x","type":"double","doc":"input value"}],"returns":{"type":"long","doc":"the unsigned integer result, wrapped in a signed integer"}}
{"symbol":"com.oracle.truffle.api.ExactMath.truncateToUnsignedLong(float)","href":"com/oracle/truffle/api/ExactMath.html#truncateToUnsignedLong(float)","name":"truncateToUnsignedLong","kind":"method","signature":"public static long truncateToUnsignedLong(float x)","summary":"Converts the float value to unsigned long with truncation (i.e.","details":"rounding towards zero) and saturation of NaN and x <= -1 to 0, and x >= 264 to 263-1 (-1). Non-saturating (e.g. trapping) behavior can be implemented by checking the input for NaN, underflow (x <= -1f) and overflow (x >= 0x1p64f) first.","params":[{"name":"x","type":"float","doc":"input value"}],"returns":{"type":"long","doc":"the unsigned integer result, wrapped in a signed integer"}}
{"symbol":"com.oracle.truffle.api.ExactMath.truncateToUnsignedInt(double)","href":"com/oracle/truffle/api/ExactMath.html#truncateToUnsignedInt(double)","name":"truncateToUnsignedInt","kind":"method","signature":"public static int truncateToUnsignedInt(double x)","summary":"Converts the double value to unsigned long with truncation (i.e.","details":"rounding towards zero) and saturation of NaN and x <= -1 to 0, and x >= 232 to 231-1 (-1). Non-saturating (e.g. trapping) behavior can be implemented by checking the input for NaN, underflow (x <= -1) and overflow (x >= 0x1p32) first.","params":[{"name":"x","type":"double","doc":"input value"}],"returns":{"type":"int","doc":"the unsigned integer result, wrapped in a signed integer"}}
{"symbol":"com.oracle.truffle.api.ExactMath.truncateToUnsignedInt(float)","href":"com/oracle/truffle/api/ExactMath.html#truncateToUnsignedInt(float)","name":"truncateToUnsignedInt","kind":"method","signature":"public static int truncateToUnsignedInt(float x)","summary":"Converts the float value to unsigned int with truncation (i.e.","details":"rounding towards zero) and saturation of NaN and x <= -1 to 0, and x >= 232 to 231-1 (-1). Non-saturating (e.g. trapping) behavior can be implemented by checking the input for NaN, underflow (x <= -1) and overflow (x >= 0x1p64) first.","params":[{"name":"x","type":"float","doc":"input value"}],"returns":{"type":"int","doc":"the unsigned integer result, wrapped in a signed integer"}}
{"symbol":"com.oracle.truffle.api.ExactMath.unsignedToDouble(long)","href":"com/oracle/truffle/api/ExactMath.html#unsignedToDouble(long)","name":"unsignedToDouble","kind":"method","signature":"public static double unsignedToDouble(long x)","summary":"Converts the given unsigned long to the closest double value.","params":[{"name":"x","type":"long","doc":"unsigned integer input, wrapped in a signed integer"}],"returns":{"type":"double","doc":"the double result"}}
{"symbol":"com.oracle.truffle.api.ExactMath.unsignedToFloat(long)","href":"com/oracle/truffle/api/ExactMath.html#unsignedToFloat(long)","name":"unsignedToFloat","kind":"method","signature":"public static float unsignedToFloat(long x)","summary":"Converts the given unsigned long to the closest float value.","params":[{"name":"x","type":"long","doc":"unsigned integer input, wrapped in a signed integer"}],"returns":{"type":"float","doc":"the float result"}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives","href":"com/oracle/truffle/api/HostCompilerDirectives.html","name":"HostCompilerDirectives","kind":"class","signature":"public final class HostCompilerDirectives","summary":"Directives that influence the optimizations of the host compiler.","details":"These operations affect how the Truffle interpreter is itself compiled."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.inInterpreterFastPath()","href":"com/oracle/truffle/api/HostCompilerDirectives.html#inInterpreterFastPath()","name":"inInterpreterFastPath","kind":"method","signature":"public static boolean inInterpreterFastPath()","summary":"Indicates whether a branch is executed only in the interpreter.","detailsOmitted":true,"returns":{"type":"boolean","doc":"true if executed in the interpreter, false in compiled code."}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.markThreadedSwitch(int)","href":"com/oracle/truffle/api/HostCompilerDirectives.html#markThreadedSwitch(int)","name":"markThreadedSwitch","kind":"method","signature":"public static int markThreadedSwitch(int input)","summary":"Marks a switch statement within a loop as a candidate for threaded switch optimization.","detailsOmitted":true,"params":[{"name":"input","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterFetchOpcode","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterFetchOpcode.html","name":"HostCompilerDirectives.BytecodeInterpreterFetchOpcode","kind":"annotation","signature":"public @interface HostCompilerDirectives.BytecodeInterpreterFetchOpcode","summary":"Annotates a method that fetches the next opcode.","details":"The annotated method must be side-effect free, must not throw for valid interpreter state, and share the same signature with BytecodeInterpreterHandler-annotated methods in the same enclosing class. It will be inlined into Truffle interpreter bytecode handler stubs to enable tail call threading."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandler","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandler.html","name":"HostCompilerDirectives.BytecodeInterpreterHandler","kind":"annotation","signature":"public @interface HostCompilerDirectives.BytecodeInterpreterHandler","summary":"Annotates a method that serves as a Truffle interpreter bytecode handler, that is, a method implements the complete semantics of a single bytecode instruction.","details":"For more details, see the One Compilation per Bytecode Handler documentation."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandler.value()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandler.html#value()","name":"value","kind":"annotationElement","signature":"int[] value()","summary":"The handled bytecode's opcodes.","returns":{"type":"int[]"}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandler.threading()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandler.html#threading()","name":"threading","kind":"annotationElement","signature":"boolean threading() default true","summary":"Indicates whether to enable tail call threading at the end of this handler.","details":"If false, the threading will terminate, and control will return to the switch-loop after this handler is executed. Alternatively, omitting the BytecodeInterpreterHandler annotation will cause control to return to the switch-loop before this handler is executed.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandler.safepoint()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandler.html#safepoint()","name":"safepoint","kind":"annotationElement","signature":"boolean safepoint() default true","summary":"Indicates whether host safepoint should be inserted in the stub correspond to this handler.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.html","name":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig","kind":"annotation","signature":"public @interface HostCompilerDirectives.BytecodeInterpreterHandlerConfig","summary":"Configuration for all bytecode interpreter handler arguments, including the receiver.","details":"Must be used in conjunction with BytecodeInterpreterSwitch."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.maximumOperationCode()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.html#maximumOperationCode()","name":"maximumOperationCode","kind":"annotationElement","signature":"int maximumOperationCode()","summary":"The maximum unsigned value of the opcode.","details":"This is relevant for BytecodeInterpreterHandler when tail call threading is enabled, and is used to construct a handler table.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.arguments()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.html#arguments()","name":"arguments","kind":"annotationElement","signature":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument[] arguments()","summary":"Configuration for each method argument.","details":"For non-static methods, the first element corresponds to the receiver.","returns":{"type":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument[]"}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.secondarySwitch()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.html#secondarySwitch()","name":"secondarySwitch","kind":"annotationElement","signature":"boolean secondarySwitch() default false","summary":"Indicates that the annotated method implements a secondary partition of a bytecode interpreter switch.","detailsOmitted":true,"returns":{"type":"boolean","doc":"true if the annotated method is a secondary switch partition whose handler calls must not be outlined when the method is compiled separately"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.enableTailDuplication()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.html#enableTailDuplication()","name":"enableTailDuplication","kind":"annotationElement","signature":"boolean enableTailDuplication() default false","summary":"Enables tail duplication for this interpreter's threaded bytecode handler stubs.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.html","name":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument","kind":"annotation","signature":"public @interface HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument","summary":"Configuration for a bytecode interpreter handler argument."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.returnValue()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.html#returnValue()","name":"returnValue","kind":"annotationElement","signature":"boolean returnValue() default false","summary":"Indicates that this argument will be updated with the return value of the handler.","details":"The interpreter must store the handler result directly back to the logical local represented by this argument. Threaded handler stubs rely on that direct store shape to keep the local consistent when an exception unwinds before the normal return-value update path runs.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.expand()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.html#expand()","name":"expand","kind":"annotationElement","signature":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind expand() default NONE","summary":"Indicates that this argument will be expanded in a Truffle interpreter bytecode handler stub if its expansion kind is not ExpansionKind.NONE.","returns":{"type":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind"},"defaultValue":"NONE"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.expandedType()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.html#expandedType()","name":"expandedType","kind":"annotationElement","signature":"Class<?> expandedType() default void.class","summary":"Exact concrete type reconstructed for a ExpansionKind.VIRTUAL argument.","details":"void.class uses the declared parameter type. An explicit type must be a concrete instance class assignable to the parameter type. It may be defined by a different class loader from the handler's declaring class. At each outlined call, the compiler must prove that the argument is non-null and has this exact type. All instance fields, including inherited fields, are expanded. The expansion type must have at least one instance field. This property is ignored on HotSpot, which uses the declared parameter type.","returns":{"type":"Class<?>"},"defaultValue":"void.class"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.fields()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.html#fields()","name":"fields","kind":"annotationElement","signature":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field[] fields() default {}","summary":"Indicates the fields to be expanded of this argument if its expansion kind is ExpansionKind.MATERIALIZED.","returns":{"type":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.nonNull()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.html#nonNull()","name":"nonNull","kind":"annotationElement","signature":"boolean nonNull() default true","summary":"Indicates that this argument is always non-null.","details":"A null check will be placed before the call site and before threading dispatch. This property is irrelevant for primitive arguments.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.html","name":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind","kind":"enum","signature":"public enum HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.values()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.html#values()","name":"values","kind":"method","signature":"public static HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.valueOf(String)","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.NONE","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.html#NONE","name":"NONE","kind":"enumConstant","signature":"NONE","summary":"No expansion."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.MATERIALIZED","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.html#MATERIALIZED","name":"MATERIALIZED","kind":"enumConstant","signature":"MATERIALIZED","summary":"The argument is expanded into its subfields in addition to the original argument."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.VIRTUAL","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.ExpansionKind.html#VIRTUAL","name":"VIRTUAL","kind":"enumConstant","signature":"VIRTUAL","summary":"The argument is expanded into its subfields without the original argument."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.html","name":"HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field","kind":"annotation","signature":"public @interface HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field","summary":"Configuration for an expanded field."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.name()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.html#name()","name":"name","kind":"annotationElement","signature":"String name()","summary":"Name of the field.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.nonNull()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.html#nonNull()","name":"nonNull","kind":"annotationElement","signature":"boolean nonNull() default true","summary":"Indicates that this field is always non-null.","details":"A null check will be placed before the call site and before threading dispatch. This property is irrelevant for primitive fields.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.templateVariable()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.html#templateVariable()","name":"templateVariable","kind":"annotationElement","signature":"int templateVariable() default 0","summary":"Marks this field as template state for threaded bytecode handlers.","detailsOmitted":true,"returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.validWhen()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.html#validWhen()","name":"validWhen","kind":"annotationElement","signature":"String validWhen() default \"\"","summary":"Names the template-variable field on the same virtual-expanded argument that controls whether this field's incoming value is valid.","details":"An empty name disables conditional validity and requires valid() to be empty. Only non-final, non-template long or double fields of ExpansionKind.VIRTUAL arguments support conditional validity. This metadata is ignored on HotSpot and whenever template mode is disabled.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.valid()","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterHandlerConfig.Argument.Field.html#valid()","name":"valid","kind":"annotationElement","signature":"int[] valid() default {}","summary":"Values of validWhen() for which the incoming field value is valid.","details":"Otherwise, the generated handler starts with an arbitrary field value that must not be observed, including through exception-state materialization. The handler may overwrite the field before reading it. This contract applies at handler entry, not to subsequent changes of the template-variable field. This metadata is ignored on HotSpot and whenever template mode is disabled.","returns":{"type":"int[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.BytecodeInterpreterSwitch","href":"com/oracle/truffle/api/HostCompilerDirectives.BytecodeInterpreterSwitch.html","name":"HostCompilerDirectives.BytecodeInterpreterSwitch","kind":"annotation","signature":"public @interface HostCompilerDirectives.BytecodeInterpreterSwitch","summary":"Marks a method that is an implementation of a Truffle interpreter, and which should receive additional optimization budget.","details":"This annotation is used to annotate the root method of a bytecode interpreter, and it hints the compiler to invest extra effort into optimizing such methods. Language implementers are advised to inspect the IR of the interpreter when using this."}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.InliningCutoff","href":"com/oracle/truffle/api/HostCompilerDirectives.InliningCutoff.html","name":"HostCompilerDirectives.InliningCutoff","kind":"annotation","signature":"public @interface HostCompilerDirectives.InliningCutoff","summary":"Hints to Truffle host inlining that a particular method is partial evaluatable, but it would be a good place for a cutoff when performing host inlining.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.HostCompilerDirectives.InliningRoot","href":"com/oracle/truffle/api/HostCompilerDirectives.InliningRoot.html","name":"HostCompilerDirectives.InliningRoot","kind":"annotation","signature":"public @interface HostCompilerDirectives.InliningRoot","summary":"Marks a method as a candidate for Truffle host inlining.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.InstrumentInfo","href":"com/oracle/truffle/api/InstrumentInfo.html","name":"InstrumentInfo","kind":"class","signature":"public final class InstrumentInfo","summary":"Represents public information about an instrument."}
{"symbol":"com.oracle.truffle.api.InstrumentInfo.getId()","href":"com/oracle/truffle/api/InstrumentInfo.html#getId()","name":"getId","kind":"method","signature":"public String getId()","summary":"Gets the id clients can use to acquire this instrument.","returns":{"type":"String","doc":"this instrument's unique id"}}
{"symbol":"com.oracle.truffle.api.InstrumentInfo.getName()","href":"com/oracle/truffle/api/InstrumentInfo.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Gets a human readable name of this instrument.","returns":{"type":"String","doc":"this instrument's user-friendly name"}}
{"symbol":"com.oracle.truffle.api.InstrumentInfo.getVersion()","href":"com/oracle/truffle/api/InstrumentInfo.html#getVersion()","name":"getVersion","kind":"method","signature":"public String getVersion()","summary":"Gets the version of this instrument.","returns":{"type":"String","doc":"this instrument's version"}}
{"symbol":"com.oracle.truffle.api.InstrumentInfo.toString()","href":"com/oracle/truffle/api/InstrumentInfo.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.InternalResource","href":"com/oracle/truffle/api/InternalResource.html","name":"InternalResource","kind":"interface","signature":"public interface InternalResource","summary":"Represents an internal resource of a language that can be lazily unpacked to a cache user directory.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.InternalResource.unpackFiles(InternalResource.Env, Path)","href":"com/oracle/truffle/api/InternalResource.html#unpackFiles(com.oracle.truffle.api.InternalResource.Env,java.nio.file.Path)","name":"unpackFiles","kind":"method","signature":"void unpackFiles(InternalResource.Env env, Path targetDirectory) throws IOException","summary":"Unpacks all resources to a given target directory.","detailsOmitted":true,"params":[{"name":"env","type":"InternalResource.Env"},{"name":"targetDirectory","type":"Path","doc":"the target directory to extract files to"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.InternalResource.versionHash(InternalResource.Env)","href":"com/oracle/truffle/api/InternalResource.html#versionHash(com.oracle.truffle.api.InternalResource.Env)","name":"versionHash","kind":"method","signature":"String versionHash(InternalResource.Env env) throws IOException","summary":"Returns the version hash to be used for this resource.","details":"It is the responsibility of the implementer to ensure that this version hash is unique. For example, an SHA-256 could be a good version identifier for file based resources. Since the version hash serves as a path component on the host filesystem, its length is restricted to a maximum of 128 bytes. If the version hash length exceeds this limit, an IOException will be thrown during unpacking.","params":[{"name":"env","type":"InternalResource.Env"}],"returns":{"type":"String"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html","name":"InternalResource.CPUArchitecture","kind":"enum","signature":"public enum InternalResource.CPUArchitecture","summary":"Represents a supported CPU architecture."}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.values()","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#values()","name":"values","kind":"method","signature":"public static InternalResource.CPUArchitecture[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"InternalResource.CPUArchitecture[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.valueOf(String)","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static InternalResource.CPUArchitecture valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"InternalResource.CPUArchitecture","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.AARCH64","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#AARCH64","name":"AARCH64","kind":"enumConstant","signature":"AARCH64","summary":"The ARMv8 64-bit architecture."}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.AMD64","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#AMD64","name":"AMD64","kind":"enumConstant","signature":"AMD64","summary":"The x86 64-bit architecture."}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.UNSUPPORTED","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#UNSUPPORTED","name":"UNSUPPORTED","kind":"enumConstant","signature":"UNSUPPORTED","summary":"Represents an unsupported architecture.","details":"To enable execution on unsupported platforms, the system property -Dpolyglot.engine.allowUnsupportedPlatform=true must be explicitly set. If this property is not set and the platform is unsupported, the getCurrent() method will throw an IllegalStateException."}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.toString()","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns the string representing CPU architecture name.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.InternalResource.CPUArchitecture.getCurrent()","href":"com/oracle/truffle/api/InternalResource.CPUArchitecture.html#getCurrent()","name":"getCurrent","kind":"method","signature":"public static InternalResource.CPUArchitecture getCurrent()","summary":"Returns the current CPU architecture.","returns":{"type":"InternalResource.CPUArchitecture"}}
{"symbol":"com.oracle.truffle.api.InternalResource.Env","href":"com/oracle/truffle/api/InternalResource.Env.html","name":"InternalResource.Env","kind":"class","signature":"public final class InternalResource.Env","summary":"Access to common utilities for unpacking resource files."}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.inContextPreinitialization()","href":"com/oracle/truffle/api/InternalResource.Env.html#inContextPreinitialization()","name":"inContextPreinitialization","kind":"method","signature":"public boolean inContextPreinitialization()","summary":"Returns true if the engine causing the resource unpacking is being pre-initialized.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.inNativeImageBuild()","href":"com/oracle/truffle/api/InternalResource.Env.html#inNativeImageBuild()","name":"inNativeImageBuild","kind":"method","signature":"public boolean inNativeImageBuild()","summary":"Returns true if resource unpacking happens during the native image build.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.getCPUArchitecture()","href":"com/oracle/truffle/api/InternalResource.Env.html#getCPUArchitecture()","name":"getCPUArchitecture","kind":"method","signature":"public InternalResource.CPUArchitecture getCPUArchitecture()","summary":"Returns the current processor architecture.","details":"The value can be used to resolve an architecture specific files during resource unpacking.","returns":{"type":"InternalResource.CPUArchitecture"}}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.getOS()","href":"com/oracle/truffle/api/InternalResource.Env.html#getOS()","name":"getOS","kind":"method","signature":"public InternalResource.OS getOS()","summary":"Returns the current operating system.","details":"The value can be used to resolve an OS specific files during resource unpacking.","returns":{"type":"InternalResource.OS"}}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.readResourceLines(Path)","href":"com/oracle/truffle/api/InternalResource.Env.html#readResourceLines(java.nio.file.Path)","name":"readResourceLines","kind":"method","signature":"public List<String> readResourceLines(Path location) throws IOException","summary":"Reads a resource from the module, which owns the InternalResource implementation class.","details":"If the resource is encapsulated in the module, see Module.getResourceAsStream(String), the module needs to open the location enclosing package to the org.graalvm.truffle module. It is recommended to use non-encapsulated resource paths.","params":[{"name":"location","type":"Path","doc":"relative path that identifies the resource in the module. The relative path gets resolved into an absolute path using the archive root."}],"returns":{"type":"List<String>","doc":"the lines from the resource as a List"},"throws":[{"type":"IOException","doc":"in case of IO error"}]}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.unpackResourceFiles(Path, Path, Path, Predicate)","href":"com/oracle/truffle/api/InternalResource.Env.html#unpackResourceFiles(java.nio.file.Path,java.nio.file.Path,java.nio.file.Path,java.util.function.Predicate)","name":"unpackResourceFiles","kind":"method","signature":"public void unpackResourceFiles(Path source, Path target, Path relativizeTo, Predicate<Path> filter) throws IOException","summary":"Extracts files from the module, which owns the InternalResource implementation class, listed in the source file list and places them into the target folder.","detailsOmitted":true,"params":[{"name":"source","type":"Path","doc":"the relative path that identifies the file list resource in the module. The relative path gets resolved into an absolute path using the archive root."},{"name":"target","type":"Path","doc":"the folder to extract resources to"},{"name":"relativizeTo","type":"Path","doc":"the path used to relativize the file list entries in the target folder. In other words, the file list entries are resolved using the target directory after removing the relativizeTo path."},{"name":"filter","type":"Predicate<Path>","doc":"resource path filter. Only resources at resource paths for which the filter predicate returns true are unpacked."}],"throws":[{"type":"IllegalArgumentException","doc":"if relativizeTo is an absolute path or file list contains an absolute path"},{"type":"IOException","doc":"in case of IO error"}]}
{"symbol":"com.oracle.truffle.api.InternalResource.Env.unpackResourceFiles(Path, Path, Path)","href":"com/oracle/truffle/api/InternalResource.Env.html#unpackResourceFiles(java.nio.file.Path,java.nio.file.Path,java.nio.file.Path)","name":"unpackResourceFiles","kind":"method","signature":"public void unpackResourceFiles(Path source, Path target, Path relativizeTo) throws IOException","summary":"Extracts files from the module, which owns the InternalResource implementation class, listed in the source file list and places them into the target folder.","details":"Same as unpackResourceFiles(Path, Path, Path, Predicate) with filter = p -> true.","params":[{"name":"source","type":"Path"},{"name":"target","type":"Path"},{"name":"relativizeTo","type":"Path"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.InternalResource.Id","href":"com/oracle/truffle/api/InternalResource.Id.html","name":"InternalResource.Id","kind":"annotation","signature":"public @interface InternalResource.Id","summary":"The annotation used to lookup InternalResource by an id.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.InternalResource.Id.value()","href":"com/oracle/truffle/api/InternalResource.Id.html#value()","name":"value","kind":"annotationElement","signature":"String value()","summary":"An internal resource identifier that is a valid path component and unique per language.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.InternalResource.Id.componentId()","href":"com/oracle/truffle/api/InternalResource.Id.html#componentId()","name":"componentId","kind":"annotationElement","signature":"String componentId() default \"\"","summary":"A Truffle language or instrument identifier for which the resource is registered.","details":"The componentId is necessary only for optional internal resources to associate them with the appropriate language or instrument. For required internal resources, the componentId can be left unset.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.InternalResource.Id.optional()","href":"com/oracle/truffle/api/InternalResource.Id.html#optional()","name":"optional","kind":"annotationElement","signature":"boolean optional() default false","summary":"Marks the annotated resource as optional.","details":"By default, internal resources are considered required and must be registered using TruffleLanguage.Registration or TruffleInstrument.Registration. Optional internal resources are retrieved using the java.util.ServiceLoader mechanism. The service implementation is generated by an annotation processor. Therefore, for proper functionality, the Truffle DSL processor must be included in the processor path.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.InternalResource.OS","href":"com/oracle/truffle/api/InternalResource.OS.html","name":"InternalResource.OS","kind":"enum","signature":"public enum InternalResource.OS","summary":"Represents a supported operating system."}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.values()","href":"com/oracle/truffle/api/InternalResource.OS.html#values()","name":"values","kind":"method","signature":"public static InternalResource.OS[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"InternalResource.OS[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.valueOf(String)","href":"com/oracle/truffle/api/InternalResource.OS.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static InternalResource.OS valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"InternalResource.OS","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.DARWIN","href":"com/oracle/truffle/api/InternalResource.OS.html#DARWIN","name":"DARWIN","kind":"enumConstant","signature":"DARWIN","summary":"The macOS operating system."}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.LINUX","href":"com/oracle/truffle/api/InternalResource.OS.html#LINUX","name":"LINUX","kind":"enumConstant","signature":"LINUX","summary":"The Linux operating system."}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.WINDOWS","href":"com/oracle/truffle/api/InternalResource.OS.html#WINDOWS","name":"WINDOWS","kind":"enumConstant","signature":"WINDOWS","summary":"The Windows operating system."}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.UNSUPPORTED","href":"com/oracle/truffle/api/InternalResource.OS.html#UNSUPPORTED","name":"UNSUPPORTED","kind":"enumConstant","signature":"UNSUPPORTED","summary":"Represents an unsupported operating system.","details":"To enable execution on unsupported platforms, the system property -Dpolyglot.engine.allowUnsupportedPlatform=true must be explicitly set. If this property is not set and the platform is unsupported, the getCurrent() method will throw an IllegalStateException."}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.toString()","href":"com/oracle/truffle/api/InternalResource.OS.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns the string representing operating system name.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.InternalResource.OS.getCurrent()","href":"com/oracle/truffle/api/InternalResource.OS.html#getCurrent()","name":"getCurrent","kind":"method","signature":"public static InternalResource.OS getCurrent()","summary":"Returns the current operating system.","returns":{"type":"InternalResource.OS"}}
{"symbol":"com.oracle.truffle.api.OptimizationFailedException","href":"com/oracle/truffle/api/OptimizationFailedException.html","name":"OptimizationFailedException","kind":"class","signature":"public class OptimizationFailedException extends RuntimeException"}
{"symbol":"com.oracle.truffle.api.OptimizationFailedException(Throwable, RootCallTarget)","href":"com/oracle/truffle/api/OptimizationFailedException.html#%3Cinit%3E(java.lang.Throwable,com.oracle.truffle.api.RootCallTarget)","name":"OptimizationFailedException","kind":"constructor","signature":"public OptimizationFailedException(Throwable cause, RootCallTarget callTarget)","params":[{"name":"cause","type":"Throwable"},{"name":"callTarget","type":"RootCallTarget"}]}
{"symbol":"com.oracle.truffle.api.OptimizationFailedException.getCallTarget()","href":"com/oracle/truffle/api/OptimizationFailedException.html#getCallTarget()","name":"getCallTarget","kind":"method","signature":"public RootCallTarget getCallTarget()","returns":{"type":"RootCallTarget"}}
{"symbol":"com.oracle.truffle.api.Option","href":"com/oracle/truffle/api/Option.html","name":"Option","kind":"annotation","signature":"public @interface Option","summary":"Describes the attributes of an option whose value is in a static field annotated by this annotation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.Option.name()","href":"com/oracle/truffle/api/Option.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"Returns a custom name for the option.","details":"If not specified then the name of the annotated field is used. The option descriptor name is generated from the group name and the option name separated by '.'. If the option name is an empty String then the trailing '.' will be removed from the descriptor name such that it exactly matches the group name. If, for example, the option group is 'js' and the option name is inherited from the field name 'ECMACompatibility' then the full descriptor name is 'js.ECMACompatibility'.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.Option.help()","href":"com/oracle/truffle/api/Option.html#help()","name":"help","kind":"annotationElement","signature":"String help()","summary":"Returns a help message for the option.","details":"New lines can be embedded in the message with \"%n\". The generated an option descriptor returns this value as result of OptionDescriptor.getHelp(). Recommendation: Include the default value for the option and the end of the text, e.g. \"Enable or disable the option (default: true).\"","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.Option.deprecated()","href":"com/oracle/truffle/api/Option.html#deprecated()","name":"deprecated","kind":"annotationElement","signature":"boolean deprecated() default false","summary":"Returns true if this option is deprecated.","details":"The generated option descriptor returns this value as result of OptionDescriptor.isDeprecated().","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.Option.deprecationMessage()","href":"com/oracle/truffle/api/Option.html#deprecationMessage()","name":"deprecationMessage","kind":"annotationElement","signature":"String deprecationMessage() default \"\"","summary":"Returns the deprecation reason and the recommended fix.","details":"The generated option descriptor returns this value as result of OptionDescriptor.getDeprecationMessage().","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.Option.category()","href":"com/oracle/truffle/api/Option.html#category()","name":"category","kind":"annotationElement","signature":"OptionCategory category()","summary":"Specifies the category of the option.","details":"The generated option descriptor returns this value as result of OptionDescriptor.getCategory().","returns":{"type":"OptionCategory"}}
{"symbol":"com.oracle.truffle.api.Option.stability()","href":"com/oracle/truffle/api/Option.html#stability()","name":"stability","kind":"annotationElement","signature":"OptionStability stability() default EXPERIMENTAL","summary":"Defines the stability of this option.","details":"The default value is OptionStability.EXPERIMENTAL.","returns":{"type":"OptionStability"},"defaultValue":"EXPERIMENTAL"}
{"symbol":"com.oracle.truffle.api.Option.usageSyntax()","href":"com/oracle/truffle/api/Option.html#usageSyntax()","name":"usageSyntax","kind":"annotationElement","signature":"String usageSyntax() default \"\"","summary":"Describes in short the syntax of accepted values for this option.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.Option.sandbox()","href":"com/oracle/truffle/api/Option.html#sandbox()","name":"sandbox","kind":"annotationElement","signature":"SandboxPolicy sandbox() default TRUSTED","summary":"Specifies the most strict sandbox policy in which the option can be used.","details":"The option can be used for an engine/context with the specified sandbox policy or a weaker one. For example, if an option specifies ISOLATED policy, it can be used for an engine/context configured with sandbox policy TRUSTED, CONSTRAINED or ISOLATED. But it cannot be used for an engine/context configured with the UNTRUSTED sandbox policy.","returns":{"type":"SandboxPolicy"},"defaultValue":"TRUSTED"}
{"symbol":"com.oracle.truffle.api.Option.constant()","href":"com/oracle/truffle/api/Option.html#constant()","name":"constant","kind":"annotationElement","signature":"boolean constant() default false","summary":"Declares this option as immutable after polyglot runtime initialization, enabling constant propagation and dead-code elimination when read through org.graalvm.options.ConstantOptionKey.getConstantValue().","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.Option.Group","href":"com/oracle/truffle/api/Option.Group.html","name":"Option.Group","kind":"annotation","signature":"public @interface Option.Group","summary":"Must be applied on classes containing option fields to specify a name prefix if the prefix cannot be inferred by language or instrument.","details":"The option descriptor name is generated from the option name prefix and the option name separated by '.'. If the option name is an empty String then the trailing '.' will be removed from the descriptor name."}
{"symbol":"com.oracle.truffle.api.Option.Group.value()","href":"com/oracle/truffle/api/Option.Group.html#value()","name":"value","kind":"annotationElement","signature":"String[] value()","summary":"A set of group names that are used as prefix for all options of the annotated class.","detailsOmitted":true,"returns":{"type":"String[]"}}
{"symbol":"com.oracle.truffle.api.ReplaceObserver","href":"com/oracle/truffle/api/ReplaceObserver.html","name":"ReplaceObserver","kind":"interface","signature":"public interface ReplaceObserver","summary":"An observer that is notified whenever a child node is replaced.","details":"Note this is not called if the RootNode does not have a CallTarget yet."}
{"symbol":"com.oracle.truffle.api.ReplaceObserver.nodeReplaced(Node, Node, CharSequence)","href":"com/oracle/truffle/api/ReplaceObserver.html#nodeReplaced(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node,java.lang.CharSequence)","name":"nodeReplaced","kind":"method","signature":"boolean nodeReplaced(Node oldNode, Node newNode, CharSequence reason)","summary":"Returns true if the event is consumed and no parent nodes should be notified by for replaces.","details":"Returns false if the parent Node or CallTarget should get notified.","params":[{"name":"oldNode","type":"Node"},{"name":"newNode","type":"Node"},{"name":"reason","type":"CharSequence"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.RootCallTarget","href":"com/oracle/truffle/api/RootCallTarget.html","name":"RootCallTarget","kind":"interface","signature":"public interface RootCallTarget extends CallTarget","summary":"Represents the target of a call to a RootNode, i.e., to another tree of nodes.","details":"Instances of this class are created lazily and can be accessed via RootNode.getCallTarget()."}
{"symbol":"com.oracle.truffle.api.RootCallTarget.getRootNode()","href":"com/oracle/truffle/api/RootCallTarget.html#getRootNode()","name":"getRootNode","kind":"method","signature":"RootNode getRootNode()","returns":{"type":"RootNode"}}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction","href":"com/oracle/truffle/api/ThreadLocalAction.html","name":"ThreadLocalAction","kind":"class","signature":"public abstract class ThreadLocalAction","summary":"Represents an action that is executed at a safepoint location of the guest language execution.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction(boolean, boolean)","href":"com/oracle/truffle/api/ThreadLocalAction.html#%3Cinit%3E(boolean,boolean)","name":"ThreadLocalAction","kind":"constructor","signature":"protected ThreadLocalAction(boolean hasSideEffects, boolean synchronous)","summary":"Creates a new thread local action.","params":[{"name":"hasSideEffects","type":"boolean","doc":"true if the event may have side-effects else false."},{"name":"synchronous","type":"boolean","doc":"true if the event should run synchronous else the event will run asynchronous."}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction(boolean, boolean, boolean)","href":"com/oracle/truffle/api/ThreadLocalAction.html#%3Cinit%3E(boolean,boolean,boolean)","name":"ThreadLocalAction","kind":"constructor","signature":"protected ThreadLocalAction(boolean hasSideEffects, boolean synchronous, boolean recurring)","summary":"Creates a new thread local action.","params":[{"name":"hasSideEffects","type":"boolean","doc":"true if the event may have side-effects else false."},{"name":"synchronous","type":"boolean","doc":"true if the event should run synchronous else the event will run asynchronous."},{"name":"recurring","type":"boolean","doc":"true if the event should be rescheduled until cancelled, else false."}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.perform(ThreadLocalAction.Access)","href":"com/oracle/truffle/api/ThreadLocalAction.html#perform(com.oracle.truffle.api.ThreadLocalAction.Access)","name":"perform","kind":"method","signature":"protected abstract void perform(ThreadLocalAction.Access access)","summary":"Performs the thread local action on a given thread.","params":[{"name":"access","type":"ThreadLocalAction.Access","doc":"allows access to the current thread and the current code location."}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.notifyBlocked(ThreadLocalAction.Access)","href":"com/oracle/truffle/api/ThreadLocalAction.html#notifyBlocked(com.oracle.truffle.api.ThreadLocalAction.Access)","name":"notifyBlocked","kind":"method","signature":"protected void notifyBlocked(ThreadLocalAction.Access access)","summary":"Callback for notifying the thread local action that its processing has been blocked due to a blocked call.","params":[{"name":"access","type":"ThreadLocalAction.Access","doc":"allows access to the current thread and the current code location."}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.notifyUnblocked(ThreadLocalAction.Access)","href":"com/oracle/truffle/api/ThreadLocalAction.html#notifyUnblocked(com.oracle.truffle.api.ThreadLocalAction.Access)","name":"notifyUnblocked","kind":"method","signature":"protected void notifyUnblocked(ThreadLocalAction.Access access)","summary":"Callback for notifying the thread local action that its processing has been unblocked during or while leaving a blocked call.","params":[{"name":"access","type":"ThreadLocalAction.Access","doc":"allows access to the current thread and the current code location."}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.Access","href":"com/oracle/truffle/api/ThreadLocalAction.Access.html","name":"ThreadLocalAction.Access","kind":"class","signature":"public abstract static class ThreadLocalAction.Access","summary":"Argument class for ThreadLocalAction.perform(Access)."}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.Access(Object)","href":"com/oracle/truffle/api/ThreadLocalAction.Access.html#%3Cinit%3E(java.lang.Object)","name":"Access","kind":"constructor","signature":"protected Access(Object secret)","summary":"Constructor for framework use only.","params":[{"name":"secret","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.Access(AbstractPolyglotImpl)","href":"com/oracle/truffle/api/ThreadLocalAction.Access.html#%3Cinit%3E(org.graalvm.polyglot.impl.AbstractPolyglotImpl)","name":"Access","kind":"constructor","signature":"protected Access(AbstractPolyglotImpl secret)","summary":"Constructor for framework use only.","params":[{"name":"secret","type":"AbstractPolyglotImpl"}]}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.Access.getLocation()","href":"com/oracle/truffle/api/ThreadLocalAction.Access.html#getLocation()","name":"getLocation","kind":"method","signature":"public abstract Node getLocation()","summary":"Returns the current node location executing on this thread.","details":"The return value is guaranteed to be non-null.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.ThreadLocalAction.Access.getThread()","href":"com/oracle/truffle/api/ThreadLocalAction.Access.html#getThread()","name":"getThread","kind":"method","signature":"public abstract Thread getThread()","summary":"Returns the thread where this thread local action is running on.","details":"Currently this always returns Thread.currentThread(). See the safepoint tutorial for further details on our plans.","returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.Truffle","href":"com/oracle/truffle/api/Truffle.html","name":"Truffle","kind":"class","signature":"public final class Truffle","summary":"Class for obtaining the Truffle runtime singleton object of this virtual machine."}
{"symbol":"com.oracle.truffle.api.Truffle.getRuntime()","href":"com/oracle/truffle/api/Truffle.html#getRuntime()","name":"getRuntime","kind":"method","signature":"public static TruffleRuntime getRuntime()","summary":"Gets the singleton TruffleRuntime object.","returns":{"type":"TruffleRuntime"}}
{"symbol":"com.oracle.truffle.api.TruffleContext","href":"com/oracle/truffle/api/TruffleContext.html","name":"TruffleContext","kind":"class","signature":"public final class TruffleContext implements AutoCloseable","summary":"A handle on a context of a set of Truffle languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleContext.equals(Object)","href":"com/oracle/truffle/api/TruffleContext.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.hashCode()","href":"com/oracle/truffle/api/TruffleContext.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.getParent()","href":"com/oracle/truffle/api/TruffleContext.html#getParent()","name":"getParent","kind":"method","signature":"public TruffleContext getParent()","summary":"Get a parent context of this context, if any.","details":"This provides the hierarchy of inner contexts.","returns":{"type":"TruffleContext","doc":"a parent context, or null if there is no parent"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.enter(Node)","href":"com/oracle/truffle/api/TruffleContext.html#enter(com.oracle.truffle.api.nodes.Node)","name":"enter","kind":"method","signature":"public Object enter(Node node)","summary":"Enters this context and returns an object representing the previous context.","detailsOmitted":true,"params":[{"name":"node","type":"Node"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.initializeInternal(Node, String)","href":"com/oracle/truffle/api/TruffleContext.html#initializeInternal(com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"initializeInternal","kind":"method","signature":"public boolean initializeInternal(Node node, String languageId)","summary":"Forces initialization of an internal or public language.","details":"If the context is not an inner context and e.g. accessed using Env.getContext() an IllegalStateException is thrown. In such a case Env.initializeLanguage(LanguageInfo) should be used instead to initialize contexts. No context or the parent creator context must be entered to initialize languages in a TruffleContext otherwise an IllegalStateException will be thrown.","params":[{"name":"node","type":"Node","doc":"a partial evaluation constant node context used to optimize this operation. Can be null if not available."},{"name":"languageId","type":"String","doc":"the id of the language to initialize"}],"returns":{"type":"boolean","doc":"true if the language was initialized, else false, e.g. if the language as already initialized."},"throws":[{"type":"IllegalStateException","doc":"if an invalid context is entered or the context is already closed."},{"type":"IllegalArgumentException","doc":"if the given language of the source cannot be accessed."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.initializePublic(Node, String)","href":"com/oracle/truffle/api/TruffleContext.html#initializePublic(com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"initializePublic","kind":"method","signature":"public boolean initializePublic(Node node, String languageId)","summary":"The same as initializeInternal(Node, String), but only public languages are accessible.","params":[{"name":"node","type":"Node","doc":"a partial evaluation constant node context used to optimize this operation. Can be null if not available."},{"name":"languageId","type":"String","doc":"the id of the language to initialize"}],"returns":{"type":"boolean","doc":"true if the language was initialized, else false, e.g. if the language as already initialized."},"throws":[{"type":"IllegalStateException","doc":"if an invalid context is entered or the context is already closed."},{"type":"IllegalArgumentException","doc":"if the given language of the source cannot be accessed."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.evalInternal(Node, Source)","href":"com/oracle/truffle/api/TruffleContext.html#evalInternal(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.source.Source)","name":"evalInternal","kind":"method","signature":"public Object evalInternal(Node node, Source source)","summary":"Evaluates a source in an inner context and returns the result.","detailsOmitted":true,"params":[{"name":"node","type":"Node","doc":"a partial evaluation constant node context used to optimize this operation. Can be null if not available."},{"name":"source","type":"Source","doc":"the source to evaluate"}],"returns":{"type":"Object"},"throws":[{"type":"IllegalArgumentException","doc":"if the given language of the source cannot be accessed."},{"type":"IllegalStateException","doc":"if an invalid context is entered or the context is already closed."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.evalPublic(Node, Source)","href":"com/oracle/truffle/api/TruffleContext.html#evalPublic(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.source.Source)","name":"evalPublic","kind":"method","signature":"public Object evalPublic(Node node, Source source)","summary":"The same as evalInternal(Node, Source), but only public languages are accessible.","params":[{"name":"node","type":"Node","doc":"a partial evaluation constant node context used to optimize this operation. Can be null if not available."},{"name":"source","type":"Source","doc":"the source to evaluate"}],"returns":{"type":"Object"},"throws":[{"type":"IllegalArgumentException","doc":"if the given language of the source cannot be accessed."},{"type":"IllegalStateException","doc":"if an invalid context is entered or the context is already closed."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.isEntered()","href":"com/oracle/truffle/api/TruffleContext.html#isEntered()","name":"isEntered","kind":"method","signature":"public boolean isEntered()","summary":"Checks whether the context is entered on the current thread and the context is the currently active context on this thread.","details":"There can be multiple contexts active on a single thread, but this method only returns true if it is the top-most context. This method is thread-safe and may be used from multiple threads.","returns":{"type":"boolean","doc":"true if the context is active, false otherwise"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.isActive()","href":"com/oracle/truffle/api/TruffleContext.html#isActive()","name":"isActive","kind":"method","signature":"public boolean isActive()","summary":"Returns true if the context is currently active on the current thread, else false.","details":"Checks whether the context has been previously entered by this thread with enter(Node) and hasn't been left yet with leave(Node, java.lang.Object) methods. Multiple contexts can be active on a single thread. See isEntered() for checking whether it is the top-most entered context. This method is thread-safe and may be used from multiple threads.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.isClosed()","href":"com/oracle/truffle/api/TruffleContext.html#isClosed()","name":"isClosed","kind":"method","signature":"public boolean isClosed()","summary":"Returns true if the context was closed else false.","details":"A context may be closed if close(), closeCancelled(Node, String), or closeExited(Node, int) was called previously.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.isCancelling()","href":"com/oracle/truffle/api/TruffleContext.html#isCancelling()","name":"isCancelling","kind":"method","signature":"public boolean isCancelling()","summary":"Returns true if the context is being cancelled else false.","details":"A context may be in the process of cancelling if closeCancelled(Node, String) was called previously.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.isExiting()","href":"com/oracle/truffle/api/TruffleContext.html#isExiting()","name":"isExiting","kind":"method","signature":"public boolean isExiting()","summary":"Returns true if the context is being hard-exited else false.","details":"A context may be in the process of exit if closeExited(Node, int) was called previously.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.pause()","href":"com/oracle/truffle/api/TruffleContext.html#pause()","name":"pause","kind":"method","signature":"public Future<Void> pause()","summary":"Pause execution on all threads for this context.","details":"This call does not wait for the threads to be actually paused. Instead, a future is returned that can be used to wait for the execution to be paused. The future is completed when all active threads are paused. New threads entered after this point are paused immediately after entering until TruffleContext.resume(Future) is called.","returns":{"type":"Future<Void>","doc":"a future that can be used to wait for the execution to be paused. Also, the future is used to resume execution by passing it to the TruffleContext.resume(Future) method."}}
{"symbol":"com.oracle.truffle.api.TruffleContext.resume(Future)","href":"com/oracle/truffle/api/TruffleContext.html#resume(java.util.concurrent.Future)","name":"resume","kind":"method","signature":"public void resume(Future<Void> pauseFuture)","summary":"Resume previously paused execution on all threads for this context.","details":"The execution will not resume if TruffleContext.pause() was called multiple times and for some of the other calls resume was not called yet.","params":[{"name":"pauseFuture","type":"Future<Void>","doc":"pause future returned by a previous call to TruffleContext.pause()."}],"throws":[{"type":"IllegalArgumentException","doc":"in case the passed pause future was not obtained by a previous call to TruffleContext.pause() on this context."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.leave(Node, Object)","href":"com/oracle/truffle/api/TruffleContext.html#leave(com.oracle.truffle.api.nodes.Node,java.lang.Object)","name":"leave","kind":"method","signature":"public void leave(Node node, Object prev)","summary":"Leaves this context and sets the previous context as the new current context.","details":"An adopted node may be passed to allow perform optimizations on the fast-path. If a null node is passed then entering a context will result in a boundary call in compiled code. If the node is not adopted an IllegalArgumentException is thrown. Leaving a language context is designed for compilation and is most efficient if the context instance is compilation final.","params":[{"name":"node","type":"Node"},{"name":"prev","type":"Object","doc":"the previous context returned by enter(Node)"}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.leaveAndEnter(Node, Supplier)","href":"com/oracle/truffle/api/TruffleContext.html#leaveAndEnter(com.oracle.truffle.api.nodes.Node,java.util.function.Supplier)","name":"leaveAndEnter","kind":"method","signature":"public <T> T leaveAndEnter(Node node, Supplier<T> runWhileOutsideContext)","summary":"Leaves this context, runs the passed supplier and reenters the context.","detailsOmitted":true,"deprecated":{"doc":"Use leaveAndEnter(Node, Interrupter, InterruptibleFunction, Object) instead."},"params":[{"name":"node","type":"Node","doc":"an adopted node or null"},{"name":"runWhileOutsideContext","type":"Supplier<T>","doc":"the supplier to run while having left this context"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.leaveAndEnter(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.InterruptibleFunction, T)","href":"com/oracle/truffle/api/TruffleContext.html#leaveAndEnter(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.TruffleSafepoint.Interrupter,com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction,T)","name":"leaveAndEnter","kind":"method","signature":"public <T, R> R leaveAndEnter(Node node, TruffleSafepoint.Interrupter interrupter, TruffleSafepoint.InterruptibleFunction<T, R> interruptible, T object)","summary":"Leaves this context, runs the passed interruptible function and reenters the context.","detailsOmitted":true,"params":[{"name":"node","type":"Node","doc":"an adopted node or null"},{"name":"interrupter","type":"TruffleSafepoint.Interrupter","doc":"an interrupter used to interrupt the interruptible function when, e.g., the context is cancelled. The interrupter is also used to reset the interrupted state when the context is reentered."},{"name":"interruptible","type":"TruffleSafepoint.InterruptibleFunction<T, R>","doc":"the interruptible function to run while having left this context. This function is run at most once."},{"name":"object","type":"T"}],"returns":{"type":"R","doc":"return value of the interruptible, or null if the interruptibe throws an InterruptedException without the context being cancelled or exited."}}
{"symbol":"com.oracle.truffle.api.TruffleContext.close()","href":"com/oracle/truffle/api/TruffleContext.html#close()","name":"close","kind":"method","signature":"public void close()","summary":"Closes this context and disposes its resources.","details":"Closes this context and disposes its resources. A context cannot be closed if it is currently entered or active by any thread. If a closed context is attempted to be accessed or entered, then an IllegalStateException is thrown. If the context is not closed explicitly, then it is automatically closed together with the parent context. If an attempt to close a context was successful then consecutive calls to close have no effect.","throws":[{"type":"UnsupportedOperationException","doc":"if the close operation is not supported on this context"},{"type":"IllegalStateException","doc":"if the context is active."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.closeCancelled(Node, String)","href":"com/oracle/truffle/api/TruffleContext.html#closeCancelled(com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"closeCancelled","kind":"method","signature":"public void closeCancelled(Node closeLocation, String message)","summary":"Force closes the context as cancelled and stops all the execution on all active threads using a special ThreadDeath cancel exception.","detailsOmitted":true,"params":[{"name":"closeLocation","type":"Node","doc":"the node where the close occurred. If the context is currently entered on the thread, then this node will be used as location, for the exception thrown. If the context is not entered, then the closeLocation parameter will be ignored."},{"name":"message","type":"String","doc":"exception text for humans provided to the embedder and tools that observe the cancellation."}],"throws":[{"type":"UnsupportedOperationException","doc":"if the close operation is not supported on this context"},{"type":"IllegalStateException","doc":"if the context is active but not entered on the current thread."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.closeExited(Node, int)","href":"com/oracle/truffle/api/TruffleContext.html#closeExited(com.oracle.truffle.api.nodes.Node,int)","name":"closeExited","kind":"method","signature":"public void closeExited(Node exitLocation, int exitCode)","summary":"Initiates force close of the context as exited - hard exit.","detailsOmitted":true,"params":[{"name":"exitLocation","type":"Node","doc":"the node where the exit occurred."},{"name":"exitCode","type":"int","doc":"exitCode provided to the embedder and tools that observe the exit."}],"throws":[{"type":"IllegalStateException","doc":"if the context is not entered on the current thread."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.closeResourceExhausted(Node, String)","href":"com/oracle/truffle/api/TruffleContext.html#closeResourceExhausted(com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"closeResourceExhausted","kind":"method","signature":"public void closeResourceExhausted(Node location, String message)","summary":"Force closes the context due to resource exhaustion.","details":"This method is equivalent to calling closeCancelled(location, message) except in addition the thrown PolyglotException returns true for PolyglotException.isResourceExhausted().","params":[{"name":"location","type":"Node"},{"name":"message","type":"String"}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder","href":"com/oracle/truffle/api/TruffleContext.Builder.html","name":"TruffleContext.Builder","kind":"class","signature":"public final class TruffleContext.Builder","summary":"Builder class to create new TruffleContext instances."}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.config(String, Object)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#config(java.lang.String,java.lang.Object)","name":"config","kind":"method","signature":"public TruffleContext.Builder config(String key, Object value)","summary":"Sets a config parameter that the child context of this language can access using Env.getConfig().","params":[{"name":"key","type":"String"},{"name":"value","type":"Object"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.initializeCreatorContext(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#initializeCreatorContext(boolean)","name":"initializeCreatorContext","kind":"method","signature":"public TruffleContext.Builder initializeCreatorContext(boolean enabled)","summary":"Specifies whether the creating language context should be initialized in the new context.","details":"By default the creating language won't get initialized.","params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.out(OutputStream)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#out(java.io.OutputStream)","name":"out","kind":"method","signature":"public TruffleContext.Builder out(OutputStream out)","summary":"Sets the standard output stream to be used for the context.","details":"If not set or set to null, then the standard output stream is inherited from the outer context.","params":[{"name":"out","type":"OutputStream"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.err(OutputStream)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#err(java.io.OutputStream)","name":"err","kind":"method","signature":"public TruffleContext.Builder err(OutputStream err)","summary":"Sets the error output stream to be used for the context.","details":"If not set or set to null, then the standard error stream is inherited from the outer context. is used.","params":[{"name":"err","type":"OutputStream"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.in(InputStream)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#in(java.io.InputStream)","name":"in","kind":"method","signature":"public TruffleContext.Builder in(InputStream in)","summary":"Sets the input stream to be used for the context.","details":"If not set or set to null, then the standard input stream is inherited from the outer context.","params":[{"name":"in","type":"InputStream"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.forceSharing(Boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#forceSharing(java.lang.Boolean)","name":"forceSharing","kind":"method","signature":"public TruffleContext.Builder forceSharing(Boolean enabled)","summary":"Force enables or disables code sharing for this inner context.","detailsOmitted":true,"params":[{"name":"enabled","type":"Boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.option(String, String)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#option(java.lang.String,java.lang.String)","name":"option","kind":"method","signature":"public TruffleContext.Builder option(String key, String value)","summary":"Overrides an option of the inner context.","detailsOmitted":true,"params":[{"name":"key","type":"String"},{"name":"value","type":"String"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.inheritAllAccess(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#inheritAllAccess(boolean)","name":"inheritAllAccess","kind":"method","signature":"public TruffleContext.Builder inheritAllAccess(boolean b)","summary":"If set to true allows all access privileges that were also granted to the outer context.","detailsOmitted":true,"params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowCreateThread(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowCreateThread(boolean)","name":"allowCreateThread","kind":"method","signature":"public TruffleContext.Builder allowCreateThread(boolean b)","summary":"Allows or denies creating threads for this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowNativeAccess(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowNativeAccess(boolean)","name":"allowNativeAccess","kind":"method","signature":"public TruffleContext.Builder allowNativeAccess(boolean b)","summary":"Allows or denies using native access in this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowIO(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowIO(boolean)","name":"allowIO","kind":"method","signature":"public TruffleContext.Builder allowIO(boolean b)","summary":"Allows or denies using IO in this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowHostClassLoading(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowHostClassLoading(boolean)","name":"allowHostClassLoading","kind":"method","signature":"public TruffleContext.Builder allowHostClassLoading(boolean b)","summary":"Allows or denies loading new host classes in this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowHostClassLookup(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowHostClassLookup(boolean)","name":"allowHostClassLookup","kind":"method","signature":"public TruffleContext.Builder allowHostClassLookup(boolean b)","summary":"Allows or denies loading new host classes in this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowCreateProcess(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowCreateProcess(boolean)","name":"allowCreateProcess","kind":"method","signature":"public TruffleContext.Builder allowCreateProcess(boolean b)","summary":"Allows or denies creating processes in this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowInnerContextOptions(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowInnerContextOptions(boolean)","name":"allowInnerContextOptions","kind":"method","signature":"public TruffleContext.Builder allowInnerContextOptions(boolean b)","summary":"Allows or denies options for inner contexts created by this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowPolyglotAccess(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowPolyglotAccess(boolean)","name":"allowPolyglotAccess","kind":"method","signature":"public TruffleContext.Builder allowPolyglotAccess(boolean b)","summary":"Allows or denies access to polyglot languages in this context.","details":"Set to true to inherit access privilege from the outer context or false to deny access for this context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.threadAccessDeniedHandler(Consumer)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#threadAccessDeniedHandler(java.util.function.Consumer)","name":"threadAccessDeniedHandler","kind":"method","signature":"public TruffleContext.Builder threadAccessDeniedHandler(Consumer<String> handler)","summary":"Installs handler to control what happens on multiple thread access.","details":"When multiple threads are accessing a context which isn't ready for multithreaded access an exception is yielded by default. By installing this handler one can control what shall happen. Either to throw exception (with the provided reason) or to resolve the multithreaded situation somehow and return to retry the thread access again.","params":[{"name":"handler","type":"Consumer<String>","doc":"callback (that gets a reason as an input) that either throws an exception or returns to signal a request for retry"}],"returns":{"type":"TruffleContext.Builder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.allowInheritEnvironmentAccess(boolean)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#allowInheritEnvironmentAccess(boolean)","name":"allowInheritEnvironmentAccess","kind":"method","signature":"public TruffleContext.Builder allowInheritEnvironmentAccess(boolean b)","summary":"Allows or denies access to the parent context's environment in this context.","details":"Set to true to inherit variables from the outer context or false to deny inheritance for this context. Environment variables can be set for the inner context with environment(String, String) even if inheritance is disabled. If inheritance is enabled, environment variables specified for the inner context override environment variables of the outer context.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.environment(String, String)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#environment(java.lang.String,java.lang.String)","name":"environment","kind":"method","signature":"public TruffleContext.Builder environment(String name, String value)","summary":"Sets an environment variable.","params":[{"name":"name","type":"String","doc":"the environment variable name"},{"name":"value","type":"String","doc":"the environment variable value"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.environment(Map)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#environment(java.util.Map)","name":"environment","kind":"method","signature":"public TruffleContext.Builder environment(Map<String, String> env)","summary":"Shortcut for setting multiple environment variables using a map.","details":"All values of the provided map must be non-null.","params":[{"name":"env","type":"Map<String, String>","doc":"environment variables"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.timeZone(ZoneId)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#timeZone(java.time.ZoneId)","name":"timeZone","kind":"method","signature":"public TruffleContext.Builder timeZone(ZoneId zone)","summary":"Sets the default time zone to be used for this context.","details":"If not set, or explicitly set to null then the time zone of the outer context will be used.","params":[{"name":"zone","type":"ZoneId"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.arguments(String, String[])","href":"com/oracle/truffle/api/TruffleContext.Builder.html#arguments(java.lang.String,java.lang.String[])","name":"arguments","kind":"method","signature":"public TruffleContext.Builder arguments(String language, String[] args)","summary":"Sets the guest language application arguments for a language context.","details":"Application arguments are typically made available to guest language implementations. Passing no arguments to a language is equivalent to providing an empty arguments array.","params":[{"name":"language","type":"String","doc":"the language id of the primary language."},{"name":"args","type":"String[]","doc":"an array of arguments passed to the guest language program."}],"returns":{"type":"TruffleContext.Builder"},"throws":[{"type":"IllegalArgumentException","doc":"if an invalid language id was specified."}]}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.options(Map)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#options(java.util.Map)","name":"options","kind":"method","signature":"public TruffleContext.Builder options(Map<String, String> options)","summary":"Sets multiple options using a map.","details":"See option(String, String) for details.","params":[{"name":"options","type":"Map<String, String>"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.onCancelled(Runnable)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#onCancelled(java.lang.Runnable)","name":"onCancelled","kind":"method","signature":"public TruffleContext.Builder onCancelled(Runnable r)","summary":"Specifies a Runnable that will be executed when the new context is cancelled and the cancel exception is about to reach the outer context, or when some operation on the new context is attempted while the context is already cancelled.","details":"However, the runnable will only be executed if the outer context is not cancelled. The purpose of the runnable is to allow throwing a custom guest exception before the cancel exception reaches the outer context, so that the outer context can properly handle the exception. In case the runnable does not throw any exception, an internal error is thrown (should not be caught).","params":[{"name":"r","type":"Runnable"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.onExited(Consumer)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#onExited(java.util.function.Consumer)","name":"onExited","kind":"method","signature":"public TruffleContext.Builder onExited(Consumer<Integer> r)","summary":"Specifies a Consumer that will be executed when the new context is hard-exited and the exit exception is about to reach the outer context, or when some operation on the new context is attempted while the context is already hard-exited.","details":"However, the consumer will only be executed if the outer context is not hard-exited. The purpose of the consumer is to allow throwing a custom guest exception before the exit exception reaches the outer context, so that the outer context can properly handle the exception. In case the consumer does not throw any exception, an internal error is thrown (should not be caught). The single input argument to the Consumer is the exit code.","params":[{"name":"r","type":"Consumer<Integer>"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.onClosed(Runnable)","href":"com/oracle/truffle/api/TruffleContext.Builder.html#onClosed(java.lang.Runnable)","name":"onClosed","kind":"method","signature":"public TruffleContext.Builder onClosed(Runnable r)","summary":"Specifies a Runnable that will be executed when some operation on the new context attempted while the context is already closed.","details":"However, the runnable will only be executed if the outer context is not closed. The purpose of the runnable is to allow throwing a custom guest exception before the close exception reaches the outer context, so that the outer context can properly handle the exception. In case the runnable does not throw any exception, an internal error is thrown (should not be caught).","params":[{"name":"r","type":"Runnable"}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleContext.Builder.build()","href":"com/oracle/truffle/api/TruffleContext.Builder.html#build()","name":"build","kind":"method","signature":"public TruffleContext build()","summary":"Builds the new context instance.","returns":{"type":"TruffleContext"}}
{"symbol":"com.oracle.truffle.api.TruffleFile","href":"com/oracle/truffle/api/TruffleFile.html","name":"TruffleFile","kind":"class","signature":"public final class TruffleFile extends TruffleFileLegacy","summary":"An abstract representation of a file used by Truffle languages."}
{"symbol":"com.oracle.truffle.api.TruffleFile.LAST_MODIFIED_TIME","href":"com/oracle/truffle/api/TruffleFile.html#LAST_MODIFIED_TIME","name":"LAST_MODIFIED_TIME","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<FileTime> LAST_MODIFIED_TIME","summary":"The file's last modified time.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.LAST_ACCESS_TIME","href":"com/oracle/truffle/api/TruffleFile.html#LAST_ACCESS_TIME","name":"LAST_ACCESS_TIME","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<FileTime> LAST_ACCESS_TIME","summary":"The file's last access time.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.CREATION_TIME","href":"com/oracle/truffle/api/TruffleFile.html#CREATION_TIME","name":"CREATION_TIME","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<FileTime> CREATION_TIME","summary":"The file's creation time.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.IS_REGULAR_FILE","href":"com/oracle/truffle/api/TruffleFile.html#IS_REGULAR_FILE","name":"IS_REGULAR_FILE","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Boolean> IS_REGULAR_FILE","summary":"Represents the file a regular file.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.IS_DIRECTORY","href":"com/oracle/truffle/api/TruffleFile.html#IS_DIRECTORY","name":"IS_DIRECTORY","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Boolean> IS_DIRECTORY","summary":"Represents the file a directory.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.IS_SYMBOLIC_LINK","href":"com/oracle/truffle/api/TruffleFile.html#IS_SYMBOLIC_LINK","name":"IS_SYMBOLIC_LINK","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Boolean> IS_SYMBOLIC_LINK","summary":"Represents the file a symbolic link.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.IS_OTHER","href":"com/oracle/truffle/api/TruffleFile.html#IS_OTHER","name":"IS_OTHER","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Boolean> IS_OTHER","summary":"Represents the file a special file (device, named pipe).","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.SIZE","href":"com/oracle/truffle/api/TruffleFile.html#SIZE","name":"SIZE","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Long> SIZE","summary":"The file's size in bytes.","details":"Supported by all filesystems."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_OWNER","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_OWNER","name":"UNIX_OWNER","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<UserPrincipal> UNIX_OWNER","summary":"The owner of the file.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_GROUP","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_GROUP","name":"UNIX_GROUP","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<GroupPrincipal> UNIX_GROUP","summary":"The group owner of the file.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_PERMISSIONS","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_PERMISSIONS","name":"UNIX_PERMISSIONS","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Set<PosixFilePermission>> UNIX_PERMISSIONS","summary":"The file's Posix permissions.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_MODE","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_MODE","name":"UNIX_MODE","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Integer> UNIX_MODE","summary":"The file's mode containing the protection and file type bits.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_INODE","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_INODE","name":"UNIX_INODE","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Long> UNIX_INODE","summary":"The file's inode number.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_DEV","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_DEV","name":"UNIX_DEV","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Long> UNIX_DEV","summary":"The id of a device containing the file.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_RDEV","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_RDEV","name":"UNIX_RDEV","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Long> UNIX_RDEV","summary":"The id of a device represented by the file.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_NLINK","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_NLINK","name":"UNIX_NLINK","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Integer> UNIX_NLINK","summary":"The number of hard links.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_UID","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_UID","name":"UNIX_UID","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Integer> UNIX_UID","summary":"The user id of file owner.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_GID","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_GID","name":"UNIX_GID","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<Integer> UNIX_GID","summary":"The group id of file owner.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.UNIX_CTIME","href":"com/oracle/truffle/api/TruffleFile.html#UNIX_CTIME","name":"UNIX_CTIME","kind":"field","signature":"public static final TruffleFile.AttributeDescriptor<FileTime> UNIX_CTIME","summary":"The file's last status change time.","details":"Supported only by UNIX native filesystem."}
{"symbol":"com.oracle.truffle.api.TruffleFile.exists(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#exists(java.nio.file.LinkOption...)","name":"exists","kind":"method","signature":"public boolean exists(LinkOption... options)","summary":"Tests existence of a file.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"boolean","doc":"true if the file exists"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isReadable()","href":"com/oracle/truffle/api/TruffleFile.html#isReadable()","name":"isReadable","kind":"method","signature":"public boolean isReadable()","summary":"Tests if a file is readable.","details":"Checks if the file exists and this Java virtual machine has enough privileges to read the file.","returns":{"type":"boolean","doc":"true if the file exists and is readable"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isWritable()","href":"com/oracle/truffle/api/TruffleFile.html#isWritable()","name":"isWritable","kind":"method","signature":"public boolean isWritable()","summary":"Tests if a file is writable.","details":"Checks if the file exists and this Java virtual machine has enough privileges to write to the file.","returns":{"type":"boolean","doc":"true if the file exists and is writable"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isExecutable()","href":"com/oracle/truffle/api/TruffleFile.html#isExecutable()","name":"isExecutable","kind":"method","signature":"public boolean isExecutable()","summary":"Tests if a file is executable.","details":"Checks if the file exists and this Java virtual machine has enough privileges to execute the file.","returns":{"type":"boolean","doc":"true if the file exists and is executable"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isDirectory(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#isDirectory(java.nio.file.LinkOption...)","name":"isDirectory","kind":"method","signature":"public boolean isDirectory(LinkOption... options)","summary":"Tests if a file is a directory.","details":"Checks if the file exists and is a directory.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled, by default the symbolic links are followed."}],"returns":{"type":"boolean","doc":"true if the file exists and is a directory"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isRegularFile(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#isRegularFile(java.nio.file.LinkOption...)","name":"isRegularFile","kind":"method","signature":"public boolean isRegularFile(LinkOption... options)","summary":"Tests if a file is a regular file.","details":"Checks if the file exists and is a regular file.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled, by default the symbolic links are followed."}],"returns":{"type":"boolean","doc":"true if the file exists and is a regular file"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isSymbolicLink()","href":"com/oracle/truffle/api/TruffleFile.html#isSymbolicLink()","name":"isSymbolicLink","kind":"method","signature":"public boolean isSymbolicLink()","summary":"Tests if a file is a symbolic link.","details":"Checks if the file exists and is a symbolic link.","returns":{"type":"boolean","doc":"true if the file exists and is a symbolic link"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isAbsolute()","href":"com/oracle/truffle/api/TruffleFile.html#isAbsolute()","name":"isAbsolute","kind":"method","signature":"public boolean isAbsolute()","summary":"Tests if this TruffleFile's path is absolute.","returns":{"type":"boolean","doc":"true if the file path is absolute"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.getName()","href":"com/oracle/truffle/api/TruffleFile.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Returns the name of this TruffleFile.","returns":{"type":"String","doc":"the name of file or directory denoted by this TruffleFile, or null if the file is a root directory"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.getPath()","href":"com/oracle/truffle/api/TruffleFile.html#getPath()","name":"getPath","kind":"method","signature":"public String getPath()","summary":"Returns the string representation of this TruffleFile.","returns":{"type":"String","doc":"the path of this TruffleFile"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.toUri()","href":"com/oracle/truffle/api/TruffleFile.html#toUri()","name":"toUri","kind":"method","signature":"public URI toUri()","summary":"Returns the absolute URI representation of this TruffleFile.","returns":{"type":"URI","doc":"the absolute URI representing the TruffleFile"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied a resolution of an absolute path"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.toRelativeUri()","href":"com/oracle/truffle/api/TruffleFile.html#toRelativeUri()","name":"toRelativeUri","kind":"method","signature":"public URI toRelativeUri()","summary":"Returns a relative URI representation of non absolute TruffleFile.","details":"If this TruffleFile is relative it returns a relative URI. For an absolute TruffleFile it returns an absolute URI.","returns":{"type":"URI","doc":"the URI representing the TruffleFile"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.getAbsoluteFile()","href":"com/oracle/truffle/api/TruffleFile.html#getAbsoluteFile()","name":"getAbsoluteFile","kind":"method","signature":"public TruffleFile getAbsoluteFile()","summary":"Resolves this TruffleFile to absolute TruffleFile.","details":"If this TruffleFile is already absolute this method returns this TruffleFile without any resolution.","returns":{"type":"TruffleFile","doc":"the absolute TruffleFile"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied a resolution of an absolute path"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getCanonicalFile(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getCanonicalFile(java.nio.file.LinkOption...)","name":"getCanonicalFile","kind":"method","signature":"public TruffleFile getCanonicalFile(LinkOption... options) throws IOException","summary":"Returns a TruffleFile representing the real (canonical) path of an existing file.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"TruffleFile","doc":"a TruffleFile representing the absolute canonical path"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getParent()","href":"com/oracle/truffle/api/TruffleFile.html#getParent()","name":"getParent","kind":"method","signature":"public TruffleFile getParent()","summary":"Returns a parent TruffleFile or null when the file does not have a parent.","returns":{"type":"TruffleFile","doc":"the parent TruffleFile"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.resolve(String)","href":"com/oracle/truffle/api/TruffleFile.html#resolve(java.lang.String)","name":"resolve","kind":"method","signature":"public TruffleFile resolve(String name)","summary":"Resolves given string path representation against this TruffleFile.","params":[{"name":"name","type":"String","doc":"the path to resolve"}],"returns":{"type":"TruffleFile","doc":"the resolved TruffleFile"},"throws":[{"type":"InvalidPathException","doc":"if the path string contains non valid characters"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.resolveSibling(String)","href":"com/oracle/truffle/api/TruffleFile.html#resolveSibling(java.lang.String)","name":"resolveSibling","kind":"method","signature":"public TruffleFile resolveSibling(String name)","summary":"Resolves given string path representation against the parent of this TruffleFile.","params":[{"name":"name","type":"String","doc":"the path to resolve"}],"returns":{"type":"TruffleFile","doc":"the resolved TruffleFile"},"throws":[{"type":"InvalidPathException","doc":"if the path string contains non valid characters"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.size(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#size(java.nio.file.LinkOption...)","name":"size","kind":"method","signature":"public long size(LinkOption... options) throws IOException","summary":"Returns the size of a file.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"long","doc":"the file size in bytes"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getLastModifiedTime(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getLastModifiedTime(java.nio.file.LinkOption...)","name":"getLastModifiedTime","kind":"method","signature":"public FileTime getLastModifiedTime(LinkOption... options) throws IOException","summary":"Returns the last modified time.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"FileTime","doc":"the FileTime representing the time this TruffleFile was last modified"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.setLastModifiedTime(FileTime, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#setLastModifiedTime(java.nio.file.attribute.FileTime,java.nio.file.LinkOption...)","name":"setLastModifiedTime","kind":"method","signature":"public void setLastModifiedTime(FileTime time, LinkOption... options) throws IOException","summary":"Sets the file's last modified time.","params":[{"name":"time","type":"FileTime","doc":"the new value of the last modified time"},{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getLastAccessTime(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getLastAccessTime(java.nio.file.LinkOption...)","name":"getLastAccessTime","kind":"method","signature":"public FileTime getLastAccessTime(LinkOption... options) throws IOException","summary":"Returns the last access time.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"FileTime","doc":"the FileTime representing the time this TruffleFile was last accessed"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.setLastAccessTime(FileTime, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#setLastAccessTime(java.nio.file.attribute.FileTime,java.nio.file.LinkOption...)","name":"setLastAccessTime","kind":"method","signature":"public void setLastAccessTime(FileTime time, LinkOption... options) throws IOException","summary":"Sets the file's last access time.","params":[{"name":"time","type":"FileTime","doc":"the new value of the last access time"},{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getCreationTime(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getCreationTime(java.nio.file.LinkOption...)","name":"getCreationTime","kind":"method","signature":"public FileTime getCreationTime(LinkOption... options) throws IOException","summary":"Returns the creation time.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"FileTime","doc":"the FileTime representing the time this TruffleFile was created"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.setCreationTime(FileTime, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#setCreationTime(java.nio.file.attribute.FileTime,java.nio.file.LinkOption...)","name":"setCreationTime","kind":"method","signature":"public void setCreationTime(FileTime time, LinkOption... options) throws IOException","summary":"Sets the file's creation time.","params":[{"name":"time","type":"FileTime","doc":"the new value of the creation time"},{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.list()","href":"com/oracle/truffle/api/TruffleFile.html#list()","name":"list","kind":"method","signature":"public Collection<TruffleFile> list() throws IOException","summary":"Returns a collection of TruffleFiles in the directory denoted by this TruffleFile.","returns":{"type":"Collection<TruffleFile>","doc":"a collection of TruffleFiles located in the directory denoted by this TruffleFile"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newByteChannel(Set, FileAttribute...)","href":"com/oracle/truffle/api/TruffleFile.html#newByteChannel(java.util.Set,java.nio.file.attribute.FileAttribute...)","name":"newByteChannel","kind":"method","signature":"public FileChannel newByteChannel(Set<? extends OpenOption> options, FileAttribute<?>... attributes) throws IOException","summary":"Opens or creates a file returning a FileChannel to access the file content.","details":"In most cases, the returned channel should be closed using a try-with-resources construct. When the channel must remain open for the lifetime of a context, it should be registered for automatic close on context disposal. The returned channel supports file locking when locking is supported by the underlying file system. On JDK 22 and later, it also supports mapping file regions when memory mapping is supported by the underlying file system.","params":[{"name":"options","type":"Set<? extends OpenOption>","doc":"the options specifying how the file should be opened"},{"name":"attributes","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the new file"}],"returns":{"type":"FileChannel","doc":"the created FileChannel"},"throws":[{"type":"FileAlreadyExistsException","doc":"if StandardOpenOption.CREATE_NEW option is set and a file already exists on given path"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the attributes contain an attribute which cannot be set atomically"},{"type":"IllegalArgumentException","doc":"in case of invalid options combination"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newInputStream(OpenOption...)","href":"com/oracle/truffle/api/TruffleFile.html#newInputStream(java.nio.file.OpenOption...)","name":"newInputStream","kind":"method","signature":"public InputStream newInputStream(OpenOption... options) throws IOException","summary":"Opens a file for reading returning an InputStream to access the file content.","details":"In most cases, the returned InputStream should be closed using try-with-resources construct. When the stream must keep being opened for the lifetime of a context it should be registered for automatic close on context dispose.","params":[{"name":"options","type":"OpenOption...","doc":"the options specifying how the file should be opened"}],"returns":{"type":"InputStream","doc":"the created InputStream"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"IllegalArgumentException","doc":"in case of invalid options combination"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newBufferedReader(Charset)","href":"com/oracle/truffle/api/TruffleFile.html#newBufferedReader(java.nio.charset.Charset)","name":"newBufferedReader","kind":"method","signature":"public BufferedReader newBufferedReader(Charset charset) throws IOException","summary":"Opens a file for reading returning a BufferedReader to access the file content.","details":"In most cases, the returned BufferedReader should be closed using try-with-resources construct. When the reader must keep being opened for the lifetime of a context it should be registered for automatic close on context dispose.","params":[{"name":"charset","type":"Charset","doc":"the file encoding"}],"returns":{"type":"BufferedReader","doc":"the created BufferedReader"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newBufferedReader()","href":"com/oracle/truffle/api/TruffleFile.html#newBufferedReader()","name":"newBufferedReader","kind":"method","signature":"public BufferedReader newBufferedReader() throws IOException","summary":"Opens a file for reading returning a BufferedReader to access the file content.","details":"See newBufferedReader(Charset).","returns":{"type":"BufferedReader","doc":"the created BufferedReader"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.readAllBytes()","href":"com/oracle/truffle/api/TruffleFile.html#readAllBytes()","name":"readAllBytes","kind":"method","signature":"public byte[] readAllBytes() throws IOException","summary":"Reads a file content as bytes.","returns":{"type":"byte[]","doc":"the created byte[]"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"OutOfMemoryError","doc":"if an array of a file size cannot be allocated"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newOutputStream(OpenOption...)","href":"com/oracle/truffle/api/TruffleFile.html#newOutputStream(java.nio.file.OpenOption...)","name":"newOutputStream","kind":"method","signature":"public OutputStream newOutputStream(OpenOption... options) throws IOException","summary":"Opens a file for writing returning an OutputStream.","details":"In most cases, the returned OutputStream should be closed using try-with-resources construct. When the stream must keep being opened for the lifetime of a context it should be registered for automatic close on context dispose.","params":[{"name":"options","type":"OpenOption...","doc":"the options specifying how the file should be opened"}],"returns":{"type":"OutputStream","doc":"the created OutputStream"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"IllegalArgumentException","doc":"in case of invalid options combination"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newBufferedWriter(Charset, OpenOption...)","href":"com/oracle/truffle/api/TruffleFile.html#newBufferedWriter(java.nio.charset.Charset,java.nio.file.OpenOption...)","name":"newBufferedWriter","kind":"method","signature":"public BufferedWriter newBufferedWriter(Charset charset, OpenOption... options) throws IOException","summary":"Opens a file for writing returning an BufferedWriter.","details":"In most cases, the returned BufferedWriter should be closed using try-with-resources construct. When the writer must keep being opened for the lifetime of a context it should be registered for automatic close on context dispose.","params":[{"name":"charset","type":"Charset","doc":"the file encoding"},{"name":"options","type":"OpenOption...","doc":"the options specifying how the file should be opened"}],"returns":{"type":"BufferedWriter","doc":"the created BufferedWriter"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"IllegalArgumentException","doc":"in case of invalid options combination"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newBufferedWriter(OpenOption...)","href":"com/oracle/truffle/api/TruffleFile.html#newBufferedWriter(java.nio.file.OpenOption...)","name":"newBufferedWriter","kind":"method","signature":"public BufferedWriter newBufferedWriter(OpenOption... options) throws IOException","summary":"Opens a file for writing returning an BufferedWriter.","details":"See newBufferedWriter(Charset, OpenOption...).","params":[{"name":"options","type":"OpenOption...","doc":"the options specifying how the file should be opened"}],"returns":{"type":"BufferedWriter","doc":"the created BufferedWriter"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"IllegalArgumentException","doc":"in case of invalid options combination"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.createFile(FileAttribute...)","href":"com/oracle/truffle/api/TruffleFile.html#createFile(java.nio.file.attribute.FileAttribute...)","name":"createFile","kind":"method","signature":"public void createFile(FileAttribute<?>... attributes) throws IOException","summary":"Creates a new empty file.","params":[{"name":"attributes","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the new file"}],"throws":[{"type":"FileAlreadyExistsException","doc":"if the file already exists on given path"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the attributes contain an attribute which cannot be set atomically"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.createDirectory(FileAttribute...)","href":"com/oracle/truffle/api/TruffleFile.html#createDirectory(java.nio.file.attribute.FileAttribute...)","name":"createDirectory","kind":"method","signature":"public void createDirectory(FileAttribute<?>... attributes) throws IOException","summary":"Creates a new directory.","params":[{"name":"attributes","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the new file"}],"throws":[{"type":"FileAlreadyExistsException","doc":"if the file or directory already exists on given path"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the attributes contain an attribute which cannot be set atomically"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.createDirectories(FileAttribute...)","href":"com/oracle/truffle/api/TruffleFile.html#createDirectories(java.nio.file.attribute.FileAttribute...)","name":"createDirectories","kind":"method","signature":"public void createDirectories(FileAttribute<?>... attributes) throws IOException","summary":"Creates a directory and all nonexistent parent directories.","details":"Unlike the createDirectory the FileAlreadyExistsException is not thrown if the directory already exists.","params":[{"name":"attributes","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the new file"}],"throws":[{"type":"FileAlreadyExistsException","doc":"if a file (not a directory) already exists on given path"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the attributes contain an attribute which cannot be set atomically"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.delete()","href":"com/oracle/truffle/api/TruffleFile.html#delete()","name":"delete","kind":"method","signature":"public void delete() throws IOException","summary":"Deletes the file.","details":"If the TruffleFile denotes a directory, the directory must be empty before deleting. If the TruffleFile denotes a symbolic link the symbolic link itself is deleted not its target.","throws":[{"type":"NoSuchFileException","doc":"if the file does not exist"},{"type":"DirectoryNotEmptyException","doc":"if the TruffleFile denotes a non empty directory"},{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.move(TruffleFile, CopyOption...)","href":"com/oracle/truffle/api/TruffleFile.html#move(com.oracle.truffle.api.TruffleFile,java.nio.file.CopyOption...)","name":"move","kind":"method","signature":"public void move(TruffleFile target, CopyOption... options) throws IOException","summary":"Moves or renames the file.","params":[{"name":"target","type":"TruffleFile","doc":"the path of a target file"},{"name":"options","type":"CopyOption...","doc":"the options specifying how the move should be performed, see StandardCopyOption"}],"throws":[{"type":"UnsupportedOperationException","doc":"if options contains unsupported option"},{"type":"FileAlreadyExistsException","doc":"if the target path already exists and the options don't contain StandardCopyOption.REPLACE_EXISTING option"},{"type":"DirectoryNotEmptyException","doc":"if the options contain StandardCopyOption.REPLACE_EXISTING but the target is a non empty directory"},{"type":"AtomicMoveNotSupportedException","doc":"if the options contain StandardCopyOption.ATOMIC_MOVE but file cannot be moved atomically"},{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getPosixPermissions(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getPosixPermissions(java.nio.file.LinkOption...)","name":"getPosixPermissions","kind":"method","signature":"public Set<PosixFilePermission> getPosixPermissions(LinkOption... linkOptions) throws IOException","summary":"Returns the file's Posix permissions.","params":[{"name":"linkOptions","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"Set<PosixFilePermission>","doc":"the file's Posix permissions"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"when the Posix permissions are not supported by filesystem"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.setPosixPermissions(Set, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#setPosixPermissions(java.util.Set,java.nio.file.LinkOption...)","name":"setPosixPermissions","kind":"method","signature":"public void setPosixPermissions(Set<? extends PosixFilePermission> permissions, LinkOption... linkOptions) throws IOException","summary":"Sets the file's Posix permissions.","params":[{"name":"permissions","type":"Set<? extends PosixFilePermission>","doc":"the Posix permissions to set"},{"name":"linkOptions","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"when the Posix permissions are not supported by filesystem"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.toString()","href":"com/oracle/truffle/api/TruffleFile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.hashCode()","href":"com/oracle/truffle/api/TruffleFile.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.equals(Object)","href":"com/oracle/truffle/api/TruffleFile.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object other)","params":[{"name":"other","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.normalize()","href":"com/oracle/truffle/api/TruffleFile.html#normalize()","name":"normalize","kind":"method","signature":"public TruffleFile normalize()","summary":"Returns a TruffleFile with removed redundant name elements in it's path.","returns":{"type":"TruffleFile","doc":"the normalized TruffleFile"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.relativize(TruffleFile)","href":"com/oracle/truffle/api/TruffleFile.html#relativize(com.oracle.truffle.api.TruffleFile)","name":"relativize","kind":"method","signature":"public TruffleFile relativize(TruffleFile other)","summary":"Creates a TruffleFile with a relative path between this TruffleFile and a given TruffleFile.","details":"Relativization is the inverse of resolution. Relativization constructs a TruffleFile with relative path that when resolved against this TruffleFile yields a TruffleFile locating the same file as given TruffleFile. A relative path cannot be constructed if only one of the TruffleFiles is absolute.","params":[{"name":"other","type":"TruffleFile","doc":"the TruffleFile to relativize against this TruffleFile"}],"returns":{"type":"TruffleFile","doc":"the TruffleFile with relative path between this and other TruffleFiles"},"throws":[{"type":"IllegalArgumentException","doc":"when other cannot be relativized against this TruffleFile"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.startsWith(String)","href":"com/oracle/truffle/api/TruffleFile.html#startsWith(java.lang.String)","name":"startsWith","kind":"method","signature":"public boolean startsWith(String other)","summary":"Tests if this TruffleFile path starts with the given path.","details":"The path foo/bar starts with foo and foo/bar but does not start with f.","params":[{"name":"other","type":"String","doc":"the path"}],"returns":{"type":"boolean","doc":"true if this TruffleFile path starts with given path"},"throws":[{"type":"IllegalArgumentException","doc":"if the path cannot be parsed."}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.startsWith(TruffleFile)","href":"com/oracle/truffle/api/TruffleFile.html#startsWith(com.oracle.truffle.api.TruffleFile)","name":"startsWith","kind":"method","signature":"public boolean startsWith(TruffleFile other)","summary":"Tests if this TruffleFile path starts with the given TruffleFile path.","details":"The path foo/bar starts with foo and foo/bar but does not start with f.","params":[{"name":"other","type":"TruffleFile","doc":"the TruffleFile"}],"returns":{"type":"boolean","doc":"true if this TruffleFile path starts with given TruffleFile path"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.endsWith(String)","href":"com/oracle/truffle/api/TruffleFile.html#endsWith(java.lang.String)","name":"endsWith","kind":"method","signature":"public boolean endsWith(String other)","summary":"Tests if this TruffleFile path ends with the given path.","details":"The path foo/bar ends with bar and foo/bar but does not end with r.","params":[{"name":"other","type":"String","doc":"the path"}],"returns":{"type":"boolean","doc":"true if this TruffleFile path ends with given path"},"throws":[{"type":"IllegalArgumentException","doc":"if the path cannot be parsed."}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.endsWith(TruffleFile)","href":"com/oracle/truffle/api/TruffleFile.html#endsWith(com.oracle.truffle.api.TruffleFile)","name":"endsWith","kind":"method","signature":"public boolean endsWith(TruffleFile other)","summary":"Tests if this TruffleFile path ends with the given TruffleFile path.","details":"The path foo/bar ends with bar and foo/bar but does not end with r.","params":[{"name":"other","type":"TruffleFile","doc":"the TruffleFile"}],"returns":{"type":"boolean","doc":"true if this TruffleFile path ends with given TruffleFile path"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.createLink(TruffleFile)","href":"com/oracle/truffle/api/TruffleFile.html#createLink(com.oracle.truffle.api.TruffleFile)","name":"createLink","kind":"method","signature":"public void createLink(TruffleFile target) throws IOException","summary":"Creates a new link to an existing target (optional operation).","params":[{"name":"target","type":"TruffleFile","doc":"the existing file to link"}],"throws":[{"type":"FileAlreadyExistsException","doc":"if the file or directory already exists on given path"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the FileSystem implementation does not support links"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.createSymbolicLink(TruffleFile, FileAttribute...)","href":"com/oracle/truffle/api/TruffleFile.html#createSymbolicLink(com.oracle.truffle.api.TruffleFile,java.nio.file.attribute.FileAttribute...)","name":"createSymbolicLink","kind":"method","signature":"public void createSymbolicLink(TruffleFile target, FileAttribute<?>... attrs) throws IOException","summary":"Creates a symbolic link to a target (optional operation).","params":[{"name":"target","type":"TruffleFile","doc":"the target of the symbolic link"},{"name":"attrs","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the symbolic link"}],"throws":[{"type":"FileAlreadyExistsException","doc":"if the file or directory already exists on given path"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the FileSystem implementation does not support symbolic links or the attributes contain an attribute which cannot be set atomically"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.readSymbolicLink()","href":"com/oracle/truffle/api/TruffleFile.html#readSymbolicLink()","name":"readSymbolicLink","kind":"method","signature":"public TruffleFile readSymbolicLink() throws IOException","summary":"Reads the target of a symbolic link.","returns":{"type":"TruffleFile","doc":"the TruffleFile representing the target of the symbolic link"},"throws":[{"type":"NotLinkException","doc":"if the TruffleFile is not a symbolic link"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the FileSystem implementation does not support symbolic links"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getOwner(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getOwner(java.nio.file.LinkOption...)","name":"getOwner","kind":"method","signature":"public UserPrincipal getOwner(LinkOption... options) throws IOException","summary":"Returns the owner of the file.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"UserPrincipal","doc":"the file owner"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the FileSystem implementation does not support owner attribute"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getGroup(LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getGroup(java.nio.file.LinkOption...)","name":"getGroup","kind":"method","signature":"public GroupPrincipal getGroup(LinkOption... options) throws IOException","summary":"Returns the group owner of the file.","params":[{"name":"options","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"GroupPrincipal","doc":"the file owner"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"if the FileSystem implementation does not support group owner attribute"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.newDirectoryStream()","href":"com/oracle/truffle/api/TruffleFile.html#newDirectoryStream()","name":"newDirectoryStream","kind":"method","signature":"public DirectoryStream<TruffleFile> newDirectoryStream() throws IOException","summary":"Opens a directory, returning a DirectoryStream to iterate over all entries in the directory.","detailsOmitted":true,"returns":{"type":"DirectoryStream<TruffleFile>","doc":"a new opened DirectoryStream object"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.visit(FileVisitor, int, FileVisitOption...)","href":"com/oracle/truffle/api/TruffleFile.html#visit(java.nio.file.FileVisitor,int,java.nio.file.FileVisitOption...)","name":"visit","kind":"method","signature":"public void visit(FileVisitor<TruffleFile> visitor, int maxDepth, FileVisitOption... options) throws IOException","summary":"Visits this TruffleFile file tree.","detailsOmitted":true,"params":[{"name":"visitor","type":"FileVisitor<TruffleFile>","doc":"the FileVisitor to invoke for each file"},{"name":"maxDepth","type":"int","doc":"the maximum number of directory levels to visit, MAX_VALUE may be used to indicate that all levels should be visited."},{"name":"options","type":"FileVisitOption...","doc":"the options configuring the file tree traversal"}],"throws":[{"type":"IllegalArgumentException","doc":"if the maxDepth parameter is negative"},{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.copy(TruffleFile, CopyOption...)","href":"com/oracle/truffle/api/TruffleFile.html#copy(com.oracle.truffle.api.TruffleFile,java.nio.file.CopyOption...)","name":"copy","kind":"method","signature":"public void copy(TruffleFile target, CopyOption... options) throws IOException","summary":"Copies the file.","details":"When the file is a directory the copy creates an empty directory in the target location, the directory entries are not copied. This method can be used with the visit method to copy the whole sub-tree.","params":[{"name":"target","type":"TruffleFile","doc":"the path of a target file"},{"name":"options","type":"CopyOption...","doc":"the options specifying how the copy should be performed, see StandardCopyOption"}],"throws":[{"type":"UnsupportedOperationException","doc":"if options contains unsupported option"},{"type":"FileAlreadyExistsException","doc":"if the target path already exists and the options don't contain StandardCopyOption.REPLACE_EXISTING option"},{"type":"DirectoryNotEmptyException","doc":"if the options contain StandardCopyOption.REPLACE_EXISTING but the target is a non empty directory"},{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.detectMimeType()","href":"com/oracle/truffle/api/TruffleFile.html#detectMimeType()","name":"detectMimeType","kind":"method","signature":"public String detectMimeType()","summary":"Detects the file MIME type.","returns":{"type":"String","doc":"the MIME type or null if the MIME type is not recognized"},"throws":[{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.isSameFile(TruffleFile, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#isSameFile(com.oracle.truffle.api.TruffleFile,java.nio.file.LinkOption...)","name":"isSameFile","kind":"method","signature":"public boolean isSameFile(TruffleFile other, LinkOption... options) throws IOException","summary":"Tests if this and the given TruffleFile refer to the same physical file.","detailsOmitted":true,"params":[{"name":"other","type":"TruffleFile","doc":"the other TruffleFile"},{"name":"options","type":"LinkOption..."}],"returns":{"type":"boolean","doc":"true if this and the given TruffleFile refer to the same physical file"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getAttribute(TruffleFile.AttributeDescriptor, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getAttribute(com.oracle.truffle.api.TruffleFile.AttributeDescriptor,java.nio.file.LinkOption...)","name":"getAttribute","kind":"method","signature":"public <T> T getAttribute(TruffleFile.AttributeDescriptor<T> attribute, LinkOption... linkOptions) throws IOException","summary":"Reads a single file's attribute.","params":[{"name":"attribute","type":"TruffleFile.AttributeDescriptor<T>","doc":"the attribute to read"},{"name":"linkOptions","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"T","doc":"the attribute value"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"when the filesystem does not support required attribute."},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.setAttribute(TruffleFile.AttributeDescriptor, T, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#setAttribute(com.oracle.truffle.api.TruffleFile.AttributeDescriptor,T,java.nio.file.LinkOption...)","name":"setAttribute","kind":"method","signature":"public <T> void setAttribute(TruffleFile.AttributeDescriptor<T> attribute, T value, LinkOption... linkOptions) throws IOException","summary":"Sets a single file's attribute.","params":[{"name":"attribute","type":"TruffleFile.AttributeDescriptor<T>","doc":"the attribute to set"},{"name":"value","type":"T","doc":"the attribute value"},{"name":"linkOptions","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"when the filesystem does not support given attribute"},{"type":"IllegalArgumentException","doc":"when the attribute value has an inappropriate value"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getAttributes(Collection, LinkOption...)","href":"com/oracle/truffle/api/TruffleFile.html#getAttributes(java.util.Collection,java.nio.file.LinkOption...)","name":"getAttributes","kind":"method","signature":"public TruffleFile.Attributes getAttributes(Collection<? extends TruffleFile.AttributeDescriptor<?>> attributes, LinkOption... linkOptions) throws IOException","summary":"Reads file's attributes as a bulk operation.","params":[{"name":"attributes","type":"Collection<? extends TruffleFile.AttributeDescriptor<?>>","doc":"the attributes to read"},{"name":"linkOptions","type":"LinkOption...","doc":"the options determining how the symbolic links should be handled"}],"returns":{"type":"TruffleFile.Attributes","doc":"the attributes view"},"throws":[{"type":"IllegalArgumentException","doc":"when no attributes are given"},{"type":"IOException","doc":"in case of IO error"},{"type":"UnsupportedOperationException","doc":"when the filesystem does not support some of the required attributes."},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.getFileStoreInfo()","href":"com/oracle/truffle/api/TruffleFile.html#getFileStoreInfo()","name":"getFileStoreInfo","kind":"method","signature":"public TruffleFile.FileStoreInfo getFileStoreInfo()","summary":"Returns information about the file store that contains this file.","details":"The returned FileStoreInfo object provides access to disk-related metadata such as total size, usable space, and unallocated space.","returns":{"type":"TruffleFile.FileStoreInfo"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.AttributeDescriptor","href":"com/oracle/truffle/api/TruffleFile.AttributeDescriptor.html","name":"TruffleFile.AttributeDescriptor","kind":"class","signature":"public static final class TruffleFile.AttributeDescriptor<T>","summary":"Represents a file's attribute.","details":"Not all attributes are supported by all filesystems. When the filesystem does not support the attribute the attribute read fails with UnsupportedOperationException. Attributes can be read one by one by the getAttribute method or as a bulk read operation by getAttributes method. When more attributes are needed the bulk read provides better performance."}
{"symbol":"com.oracle.truffle.api.TruffleFile.AttributeDescriptor.toString()","href":"com/oracle/truffle/api/TruffleFile.AttributeDescriptor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.TruffleFile.Attributes","href":"com/oracle/truffle/api/TruffleFile.Attributes.html","name":"TruffleFile.Attributes","kind":"class","signature":"public static final class TruffleFile.Attributes","summary":"A view over file's attributes values obtained by getAttributes."}
{"symbol":"com.oracle.truffle.api.TruffleFile.Attributes.get(TruffleFile.AttributeDescriptor)","href":"com/oracle/truffle/api/TruffleFile.Attributes.html#get(com.oracle.truffle.api.TruffleFile.AttributeDescriptor)","name":"get","kind":"method","signature":"public <T> T get(TruffleFile.AttributeDescriptor<T> descriptor)","summary":"Returns the attribute value.","params":[{"name":"descriptor","type":"TruffleFile.AttributeDescriptor<T>","doc":"the attribute to obtain value for"}],"returns":{"type":"T","doc":"the attribute value, may return null if the filesystem doesn't support the attribute."},"throws":[{"type":"IllegalArgumentException","doc":"if the view was not created for the given attribute"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileStoreInfo","href":"com/oracle/truffle/api/TruffleFile.FileStoreInfo.html","name":"TruffleFile.FileStoreInfo","kind":"class","signature":"public final class TruffleFile.FileStoreInfo","summary":"Provides information about the file store.","details":"This class offers access to storage-related metrics, such as the total size of the file store, unallocated space, and the usable space available to the current Java virtual machine."}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileStoreInfo.getTotalSpace()","href":"com/oracle/truffle/api/TruffleFile.FileStoreInfo.html#getTotalSpace()","name":"getTotalSpace","kind":"method","signature":"public long getTotalSpace() throws IOException","summary":"Returns the size, in bytes, of the file store.","details":"If the file store's size exceeds Long.MAX_VALUE, Long.MAX_VALUE is returned.","returns":{"type":"long","doc":"the size of the file store in bytes"},"throws":[{"type":"UnsupportedOperationException","doc":"if the file system does not support retrieving file store information"},{"type":"IOException","doc":"if an I/O error occurs while accessing the file store"},{"type":"SecurityException","doc":"if the FileSystem implementation denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileStoreInfo.getUnallocatedSpace()","href":"com/oracle/truffle/api/TruffleFile.FileStoreInfo.html#getUnallocatedSpace()","name":"getUnallocatedSpace","kind":"method","signature":"public long getUnallocatedSpace() throws IOException","summary":"Returns the number of unallocated bytes in the file store.","details":"The returned value represents the raw free space on the storage device, regardless of access permissions or user quotas. If the number of unallocated bytes exceeds Long.MAX_VALUE, Long.MAX_VALUE is returned. Note that the value may be imprecise, as it can change at any time due to external I/O operations, including those performed outside this virtual machine.","returns":{"type":"long","doc":"the number of unallocated bytes"},"throws":[{"type":"UnsupportedOperationException","doc":"if the file system does not support retrieving file store information"},{"type":"IOException","doc":"if an I/O error occurs while accessing the file store"},{"type":"SecurityException","doc":"if the FileSystem implementation denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileStoreInfo.getUsableSpace()","href":"com/oracle/truffle/api/TruffleFile.FileStoreInfo.html#getUsableSpace()","name":"getUsableSpace","kind":"method","signature":"public long getUsableSpace() throws IOException","summary":"Returns the number of bytes available to this Java virtual machine on the file store.","details":"Unlike getUnallocatedSpace(), this method accounts for operating system-level restrictions, user quotas, and file system permissions, and therefore may return a smaller value. If the available space exceeds Long.MAX_VALUE, Long.MAX_VALUE is returned. Note that the returned value may be imprecise, as it can change at any time due to external I/O activity, including operations performed outside this virtual machine.","returns":{"type":"long","doc":"the number of usable bytes available to this Java virtual machine"},"throws":[{"type":"UnsupportedOperationException","doc":"if the file system does not support retrieving file store information"},{"type":"IOException","doc":"if an I/O error occurs while accessing the file store"},{"type":"SecurityException","doc":"if the FileSystem implementation denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileStoreInfo.getBlockSize()","href":"com/oracle/truffle/api/TruffleFile.FileStoreInfo.html#getBlockSize()","name":"getBlockSize","kind":"method","signature":"public long getBlockSize() throws IOException","summary":"Returns the number of bytes per block in the file store.","returns":{"type":"long","doc":"the block size"},"throws":[{"type":"UnsupportedOperationException","doc":"if the file system does not support retrieving file store information"},{"type":"IOException","doc":"if an I/O error occurs while accessing the file store"},{"type":"SecurityException","doc":"if the FileSystem implementation denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileStoreInfo.isReadOnly()","href":"com/oracle/truffle/api/TruffleFile.FileStoreInfo.html#isReadOnly()","name":"isReadOnly","kind":"method","signature":"public boolean isReadOnly() throws IOException","summary":"Determines whether the file store is read-only.","details":"Note that even if the file store is not read-only, individual write operations may still be denied due to restrictions imposed by the FileSystem implementation, operating system level policies, user quotas, or file system permissions.","returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if the file system does not support retrieving file store information"},{"type":"IOException","doc":"if an I/O error occurs while accessing the file store"},{"type":"SecurityException","doc":"if the FileSystem implementation denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileTypeDetector","href":"com/oracle/truffle/api/TruffleFile.FileTypeDetector.html","name":"TruffleFile.FileTypeDetector","kind":"interface","signature":"public interface TruffleFile.FileTypeDetector","summary":"A detector for finding file's MIME type and encoding.","details":"The means by which the detector determines the MIME is highly implementation specific. A simple implementation might detect the MIME type using file extension. In other cases, the content of file needs to be examined to guess its file type. The implementations are registered using TruffleLanguage registration."}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileTypeDetector.findMimeType(TruffleFile)","href":"com/oracle/truffle/api/TruffleFile.FileTypeDetector.html#findMimeType(com.oracle.truffle.api.TruffleFile)","name":"findMimeType","kind":"method","signature":"String findMimeType(TruffleFile file) throws IOException","summary":"Finds a MIME type for given TruffleFile.","params":[{"name":"file","type":"TruffleFile","doc":"the file to find a MIME type for"}],"returns":{"type":"String","doc":"the MIME type or null if the MIME type is not recognized"},"throws":[{"type":"IOException","doc":"of an I/O error occurs"},{"type":"SecurityException","doc":"if the implementation requires an access the file and the FileSystem denies the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleFile.FileTypeDetector.findEncoding(TruffleFile)","href":"com/oracle/truffle/api/TruffleFile.FileTypeDetector.html#findEncoding(com.oracle.truffle.api.TruffleFile)","name":"findEncoding","kind":"method","signature":"Charset findEncoding(TruffleFile file) throws IOException","summary":"For a file containing an encoding information returns the encoding.","params":[{"name":"file","type":"TruffleFile","doc":"the file to find an encoding for. It's guaranteed that the file has a MIME type supported by the language registering this FileTypeDetector."}],"returns":{"type":"Charset","doc":"the file encoding or null if the file does not provide encoding"},"throws":[{"type":"IOException","doc":"of an I/O error occurs"},{"type":"SecurityException","doc":"if the FileSystem denies the file access"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage","href":"com/oracle/truffle/api/TruffleLanguage.html","name":"TruffleLanguage","kind":"class","signature":"public abstract class TruffleLanguage<C>","summary":"A Truffle language implementation contains all the services a language should provide to make it composable with other languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage()","href":"com/oracle/truffle/api/TruffleLanguage.html#%3Cinit%3E()","name":"TruffleLanguage","kind":"constructor","signature":"protected TruffleLanguage()","summary":"Constructor to be called by subclasses.","details":"Language should not create any RootNodes in its constructor. The RootNodes created in the language constructor are not associated with a Context and they don't respect Context's engine options. The needed RootNodes can be created in the createContext(Env)."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.locals","href":"com/oracle/truffle/api/TruffleLanguage.html#locals","name":"locals","kind":"field","signature":"protected final TruffleLanguage.ContextLocalProvider<C> locals","summary":"Provider for creating context local and context thread local references."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.areOptionsCompatible(OptionValues, OptionValues)","href":"com/oracle/truffle/api/TruffleLanguage.html#areOptionsCompatible(org.graalvm.options.OptionValues,org.graalvm.options.OptionValues)","name":"areOptionsCompatible","kind":"method","signature":"protected boolean areOptionsCompatible(OptionValues firstOptions, OptionValues newOptions)","summary":"Returns true if the combination of two sets of options allow to share or reuse the same language instance, else false.","detailsOmitted":true,"params":[{"name":"firstOptions","type":"OptionValues","doc":"the options used to create the first context, never null"},{"name":"newOptions","type":"OptionValues","doc":"the options that will be used for the new context, never null"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.createContext(TruffleLanguage.Env)","href":"com/oracle/truffle/api/TruffleLanguage.html#createContext(com.oracle.truffle.api.TruffleLanguage.Env)","name":"createContext","kind":"method","signature":"protected abstract C createContext(TruffleLanguage.Env env)","summary":"Creates internal representation of the executing context suitable for given environment.","detailsOmitted":true,"params":[{"name":"env","type":"TruffleLanguage.Env","doc":"the environment the language is supposed to operate in"}],"returns":{"type":"C","doc":"internal data of the language in given environment or null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.initializeContext(C)","href":"com/oracle/truffle/api/TruffleLanguage.html#initializeContext(C)","name":"initializeContext","kind":"method","signature":"protected void initializeContext(C context) throws Exception","summary":"Perform any complex initialization.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context created by createContext(com.oracle.truffle.api.TruffleLanguage.Env)"}],"throws":[{"type":"Exception","doc":"if something goes wrong"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.finalizeContext(C)","href":"com/oracle/truffle/api/TruffleLanguage.html#finalizeContext(C)","name":"finalizeContext","kind":"method","signature":"protected void finalizeContext(C context)","summary":"Performs language context finalization actions that are necessary before language contexts are disposed.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context created by createContext(com.oracle.truffle.api.TruffleLanguage.Env)"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.exitContext(C, TruffleLanguage.ExitMode, int)","href":"com/oracle/truffle/api/TruffleLanguage.html#exitContext(C,com.oracle.truffle.api.TruffleLanguage.ExitMode,int)","name":"exitContext","kind":"method","signature":"protected void exitContext(C context, TruffleLanguage.ExitMode exitMode, int exitCode)","summary":"Performs language exit event actions that are necessary before language contexts are finalized.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"language context."},{"name":"exitMode","type":"TruffleLanguage.ExitMode","doc":"mode of exit."},{"name":"exitCode","type":"int","doc":"exit code that was specified for exit."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.initializeMultipleContexts()","href":"com/oracle/truffle/api/TruffleLanguage.html#initializeMultipleContexts()","name":"initializeMultipleContexts","kind":"method","signature":"protected void initializeMultipleContexts()","summary":"Initializes this language instance for use with multiple contexts.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.disposeContext(C)","href":"com/oracle/truffle/api/TruffleLanguage.html#disposeContext(C)","name":"disposeContext","kind":"method","signature":"protected void disposeContext(C context)","summary":"Disposes the context created by createContext(com.oracle.truffle.api.TruffleLanguage.Env).","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context created by createContext(com.oracle.truffle.api.TruffleLanguage.Env)"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.parse(TruffleLanguage.ParsingRequest)","href":"com/oracle/truffle/api/TruffleLanguage.html#parse(com.oracle.truffle.api.TruffleLanguage.ParsingRequest)","name":"parse","kind":"method","signature":"protected CallTarget parse(TruffleLanguage.ParsingRequest request) throws Exception","summary":"Parses the provided source and generates its appropriate AST representation.","detailsOmitted":true,"params":[{"name":"request","type":"TruffleLanguage.ParsingRequest","doc":"request for parsing"}],"returns":{"type":"CallTarget","doc":"a call target to invoke which also keeps in memory the Node tree representing just parsed code"},"throws":[{"type":"Exception","doc":"exception can be thrown when parsing goes wrong. Here-in thrown exception is propagated to the user who called one of eval methods of org.graalvm.polyglot.Context"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.parse(TruffleLanguage.InlineParsingRequest)","href":"com/oracle/truffle/api/TruffleLanguage.html#parse(com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest)","name":"parse","kind":"method","signature":"protected ExecutableNode parse(TruffleLanguage.InlineParsingRequest request) throws Exception","summary":"Parses the provided source snippet at the provided location and generates its appropriate AST representation.","details":"The parsing should execute no user code, it should only create the Node tree to represent the source. The parsing should be performed in a context (specified by InlineParsingRequest.getLocation()). The result should be an AST fragment with method ExecutableNode.execute(com.oracle.truffle.api.frame.VirtualFrame) that accepts frames valid at the provided location. When not implemented, null is returned by default.","params":[{"name":"request","type":"TruffleLanguage.InlineParsingRequest","doc":"request for parsing"}],"returns":{"type":"ExecutableNode","doc":"a fragment to invoke which also keeps in memory the Node tree representing just parsed code, or null when inline parsing of code snippets is not implemented"},"throws":[{"type":"Exception","doc":"exception can be thrown when parsing goes wrong."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.getOptionDescriptors()","href":"com/oracle/truffle/api/TruffleLanguage.html#getOptionDescriptors()","name":"getOptionDescriptors","kind":"method","signature":"protected OptionDescriptors getOptionDescriptors()","summary":"Returns a set of option descriptors that are supported by this language.","details":"Option values are accessible using the environment when the context is created. To construct option descriptors from a list then OptionDescriptors.create(List) can be used. Languages must always return the same option descriptors independent of the language instance or side-effects.","returns":{"type":"OptionDescriptors"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.getSourceOptionDescriptors()","href":"com/oracle/truffle/api/TruffleLanguage.html#getSourceOptionDescriptors()","name":"getSourceOptionDescriptors","kind":"method","signature":"protected OptionDescriptors getSourceOptionDescriptors()","summary":"Returns a set of source option descriptors that are supported by this language.","details":"Option values are accessible using the environment or using a parsing request when the source is parsed. Languages must always return the same option descriptors independent of the language instance or side-effects.","returns":{"type":"OptionDescriptors"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.patchContext(C, TruffleLanguage.Env)","href":"com/oracle/truffle/api/TruffleLanguage.html#patchContext(C,com.oracle.truffle.api.TruffleLanguage.Env)","name":"patchContext","kind":"method","signature":"protected boolean patchContext(C context, TruffleLanguage.Env newEnv)","summary":"Notifies the language with pre-initialized context about Env change.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context created by createContext(com.oracle.truffle.api.TruffleLanguage.Env) during pre-initialization"},{"name":"newEnv","type":"TruffleLanguage.Env","doc":"the new environment replacing the environment used in pre-initialization phase"}],"returns":{"type":"boolean","doc":"true in case of successful environment update. When the context cannot be updated to a new environment return false to create a new context. By default it returns false to prevent an usage of pre-initialized context by a language which is not aware of context pre-initialization."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.isThreadAccessAllowed(Thread, boolean)","href":"com/oracle/truffle/api/TruffleLanguage.html#isThreadAccessAllowed(java.lang.Thread,boolean)","name":"isThreadAccessAllowed","kind":"method","signature":"protected boolean isThreadAccessAllowed(Thread thread, boolean singleThreaded)","summary":"Returns true if code of this language is allowed to be executed on this thread.","detailsOmitted":true,"params":[{"name":"thread","type":"Thread","doc":"the thread that accesses the context for the first time."},{"name":"singleThreaded","type":"boolean","doc":"true if the access is considered single-threaded, false if more than one thread is active at the same time."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.initializeMultiThreading(C)","href":"com/oracle/truffle/api/TruffleLanguage.html#initializeMultiThreading(C)","name":"initializeMultiThreading","kind":"method","signature":"protected void initializeMultiThreading(C context)","summary":"Invoked before the context is accessed from multiple threads at the same time.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context that should be prepared for multi-threading."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.initializeThread(C, Thread)","href":"com/oracle/truffle/api/TruffleLanguage.html#initializeThread(C,java.lang.Thread)","name":"initializeThread","kind":"method","signature":"protected void initializeThread(C context, Thread thread)","summary":"Invoked before a context is accessed from a new thread.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context that is entered"},{"name":"thread","type":"Thread","doc":"the thread that accesses the context for the first time."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.finalizeThread(C, Thread)","href":"com/oracle/truffle/api/TruffleLanguage.html#finalizeThread(C,java.lang.Thread)","name":"finalizeThread","kind":"method","signature":"protected void finalizeThread(C context, Thread thread)","summary":"The behavior of this notification is different for polyglot threads and embedder threads.","detailsOmitted":true,"params":[{"name":"context","type":"C"},{"name":"thread","type":"Thread"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.disposeThread(C, Thread)","href":"com/oracle/truffle/api/TruffleLanguage.html#disposeThread(C,java.lang.Thread)","name":"disposeThread","kind":"method","signature":"protected void disposeThread(C context, Thread thread)","summary":"Invoked the last time code will be executed for this thread and context.","details":"This allows the language to perform cleanup actions for each thread and context. Threads might be disposed before after or while a context is disposed. The current thread may differ from the disposed thread. Disposal of threads is only guaranteed for threads that were created by guest languages, so called polyglot threads. Other threads, created by the embedder, may be collected by the garbage collector before they can be disposed and may therefore not be disposed.","params":[{"name":"context","type":"C"},{"name":"thread","type":"Thread"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.getScope(C)","href":"com/oracle/truffle/api/TruffleLanguage.html#getScope(C)","name":"getScope","kind":"method","signature":"protected Object getScope(C context)","summary":"Get a top scope of the language, if any.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the context to find the language top scope in"}],"returns":{"type":"Object","doc":"the scope object or null if the language does not support such concept"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.isVisible(C, Object)","href":"com/oracle/truffle/api/TruffleLanguage.html#isVisible(C,java.lang.Object)","name":"isVisible","kind":"method","signature":"protected boolean isVisible(C context, Object value)","summary":"Decides whether the result of evaluating an interactive source should be printed to stdout.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the execution context for doing the conversion"},{"name":"value","type":"Object","doc":"the value to check. Either primitive type or com.oracle.truffle.api.interop.TruffleObject"}],"returns":{"type":"boolean","doc":"true if the language implements an interactive response to evaluation of interactive sources."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.getLanguageView(C, Object)","href":"com/oracle/truffle/api/TruffleLanguage.html#getLanguageView(C,java.lang.Object)","name":"getLanguageView","kind":"method","signature":"protected Object getLanguageView(C context, Object value)","summary":"Wraps the value to provide language-specific information for primitive and foreign values.","detailsOmitted":true,"params":[{"name":"context","type":"C","doc":"the current context."},{"name":"value","type":"Object","doc":"the value"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.createContextLocal(TruffleLanguage.ContextLocalFactory)","href":"com/oracle/truffle/api/TruffleLanguage.html#createContextLocal(com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory)","name":"createContextLocal","kind":"method","signature":"protected final <T> ContextLocal<T> createContextLocal(TruffleLanguage.ContextLocalFactory<C, T> factory)","summary":"Creates a new context local reference for this Truffle language.","details":"Starting with JDK 21, using this method leads to a this-escape warning. Use TruffleLanguage.ContextLocalProvider.createContextLocal(TruffleLanguage.ContextLocalFactory) instead.","deprecated":{"doc":"in 23.1, use TruffleLanguage.ContextLocalProvider.createContextLocal(TruffleLanguage.ContextLocalFactory) instead"},"params":[{"name":"factory","type":"TruffleLanguage.ContextLocalFactory<C, T>"}],"returns":{"type":"ContextLocal<T>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory)","href":"com/oracle/truffle/api/TruffleLanguage.html#createContextThreadLocal(com.oracle.truffle.api.TruffleLanguage.ContextThreadLocalFactory)","name":"createContextThreadLocal","kind":"method","signature":"protected final <T> ContextThreadLocal<T> createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T> factory)","summary":"Creates a new context thread local reference for this Truffle language.","details":"Starting with JDK 21, using this method leads to a this-escape warning. Use TruffleLanguage.ContextLocalProvider.createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory) instead.","deprecated":{"doc":"in 23.1, use TruffleLanguage.ContextLocalProvider.createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory) instead"},"params":[{"name":"factory","type":"TruffleLanguage.ContextThreadLocalFactory<C, T>"}],"returns":{"type":"ContextThreadLocal<T>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.getLanguageHome()","href":"com/oracle/truffle/api/TruffleLanguage.html#getLanguageHome()","name":"getLanguageHome","kind":"method","signature":"protected final String getLanguageHome()","summary":"Returns the home location for this language or null if the language home is not set.","details":"Languages consumed from the Maven repository typically don't have a language home. For legacy graalvm or standalone builds the language home corresponds to the directory in which the Jar file is located, if run from a Jar file. For an AOT compiled binary, this corresponds to the location of the language files in the default GraalVM distribution layout.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.getAsynchronousStackDepth()","href":"com/oracle/truffle/api/TruffleLanguage.html#getAsynchronousStackDepth()","name":"getAsynchronousStackDepth","kind":"method","signature":"protected final int getAsynchronousStackDepth()","summary":"Get the depth of asynchronous stack.","details":"When zero, the language should not sacrifice performance to be able to provide asynchronous stack. When the depth is non-zero, the language should provide asynchronous stack up to that depth. The language may provide more asynchronous frames than this depth if it's of no performance penalty, or if requested by other (e.g. language-specific) options. The returned depth may change at any time. Override RootNode.findAsynchronousFrames(Frame) to provide the asynchronous stack frames.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory","href":"com/oracle/truffle/api/TruffleLanguage.ContextLocalFactory.html","name":"TruffleLanguage.ContextLocalFactory","kind":"interface","signature":"protected interface TruffleLanguage.ContextLocalFactory<C, T>","summary":"Context local factory for Truffle languages.","details":"Creates a new value per context."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory.create(C)","href":"com/oracle/truffle/api/TruffleLanguage.ContextLocalFactory.html#create(C)","name":"create","kind":"method","signature":"T create(C context)","summary":"Returns a new value for a context local of a language.","details":"The returned value must not be null and must return a stable and exact type per registered language. A thread local must always return the same class, even for multiple instances of the same TruffleLanguage. If this method throws an com.oracle.truffle.api.exception.AbstractTruffleException the exception interop messages may be executed without a context being entered.","params":[{"name":"context","type":"C"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider","href":"com/oracle/truffle/api/TruffleLanguage.ContextLocalProvider.html","name":"TruffleLanguage.ContextLocalProvider","kind":"class","signature":"protected static final class TruffleLanguage.ContextLocalProvider<C>","summary":"Provider for creating context local and context thread local references."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider.createContextLocal(TruffleLanguage.ContextLocalFactory)","href":"com/oracle/truffle/api/TruffleLanguage.ContextLocalProvider.html#createContextLocal(com.oracle.truffle.api.TruffleLanguage.ContextLocalFactory)","name":"createContextLocal","kind":"method","signature":"public <T> ContextLocal<T> createContextLocal(TruffleLanguage.ContextLocalFactory<C, T> factory)","summary":"Creates a new context local reference for this Truffle language.","detailsOmitted":true,"params":[{"name":"factory","type":"TruffleLanguage.ContextLocalFactory<C, T>"}],"returns":{"type":"ContextLocal<T>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextLocalProvider.createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory)","href":"com/oracle/truffle/api/TruffleLanguage.ContextLocalProvider.html#createContextThreadLocal(com.oracle.truffle.api.TruffleLanguage.ContextThreadLocalFactory)","name":"createContextThreadLocal","kind":"method","signature":"public <T> ContextThreadLocal<T> createContextThreadLocal(TruffleLanguage.ContextThreadLocalFactory<C, T> factory)","summary":"Creates a new context thread local reference for this Truffle language.","detailsOmitted":true,"params":[{"name":"factory","type":"TruffleLanguage.ContextThreadLocalFactory<C, T>"}],"returns":{"type":"ContextThreadLocal<T>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextPolicy","href":"com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html","name":"TruffleLanguage.ContextPolicy","kind":"enum","signature":"public enum TruffleLanguage.ContextPolicy","summary":"Defines the supported policy for reusing languages per context.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextPolicy.values()","href":"com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html#values()","name":"values","kind":"method","signature":"public static TruffleLanguage.ContextPolicy[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TruffleLanguage.ContextPolicy[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextPolicy.valueOf(String)","href":"com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TruffleLanguage.ContextPolicy valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TruffleLanguage.ContextPolicy","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextPolicy.EXCLUSIVE","href":"com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html#EXCLUSIVE","name":"EXCLUSIVE","kind":"enumConstant","signature":"EXCLUSIVE","summary":"Use one exclusive TruffleLanguage instance per language context instance.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextPolicy.REUSE","href":"com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html#REUSE","name":"REUSE","kind":"enumConstant","signature":"REUSE","summary":"Use a single TruffleLanguage instance per context instance, but allow the reuse of a language instance when a context was disposed.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextPolicy.SHARED","href":"com/oracle/truffle/api/TruffleLanguage.ContextPolicy.html#SHARED","name":"SHARED","kind":"enumConstant","signature":"SHARED","summary":"Use one TruffleLanguage instance for many language context instances.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextReference","href":"com/oracle/truffle/api/TruffleLanguage.ContextReference.html","name":"TruffleLanguage.ContextReference","kind":"class","signature":"public abstract static class TruffleLanguage.ContextReference<C>","summary":"Represents a reference to the current context.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextReference()","href":"com/oracle/truffle/api/TruffleLanguage.ContextReference.html#%3Cinit%3E()","name":"ContextReference","kind":"constructor","signature":"protected ContextReference()","summary":"Constructors for subclasses."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextReference.get(Node)","href":"com/oracle/truffle/api/TruffleLanguage.ContextReference.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public abstract C get(Node node)","summary":"Returns the current language context associated with the current thread.","detailsOmitted":true,"params":[{"name":"node","type":"Node"}],"returns":{"type":"C"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextReference.create(Class)","href":"com/oracle/truffle/api/TruffleLanguage.ContextReference.html#create(java.lang.Class)","name":"create","kind":"method","signature":"public static <T extends TruffleLanguage<C>, C> TruffleLanguage.ContextReference<C> create(Class<T> languageClass)","summary":"Creates a new instance of a context reference for an registered language.","details":"Throws IllegalArgumentException if the provided language class is not registered. Guaranteed to always return the same context reference for a given language class. See ContextReference for a usage example.","params":[{"name":"languageClass","type":"Class<T>"}],"returns":{"type":"TruffleLanguage.ContextReference<C>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextThreadLocalFactory","href":"com/oracle/truffle/api/TruffleLanguage.ContextThreadLocalFactory.html","name":"TruffleLanguage.ContextThreadLocalFactory","kind":"interface","signature":"protected interface TruffleLanguage.ContextThreadLocalFactory<C, T>","summary":"Context thread local factory for Truffle languages.","details":"Creates a new value per context and thread."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ContextThreadLocalFactory.create(C, Thread)","href":"com/oracle/truffle/api/TruffleLanguage.ContextThreadLocalFactory.html#create(C,java.lang.Thread)","name":"create","kind":"method","signature":"T create(C context, Thread thread)","summary":"Returns a new value for a context thread local for a language context and thread.","details":"The returned value must not be null and must return a stable and exact type per TruffleLanguage subclass. A thread local must always return the same class, even for multiple instances of the same TruffleLanguage. If this method throws an com.oracle.truffle.api.exception.AbstractTruffleException the exception interop messages may be executed without a context being entered.","params":[{"name":"context","type":"C"},{"name":"thread","type":"Thread"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env","href":"com/oracle/truffle/api/TruffleLanguage.Env.html","name":"TruffleLanguage.Env","kind":"class","signature":"public static final class TruffleLanguage.Env","summary":"Represents execution environment of the TruffleLanguage.","details":"Each active TruffleLanguage receives instance of the environment before any code is executed upon it. The environment has knowledge of all active languages and can exchange symbols between them."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getOptions()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getOptions()","name":"getOptions","kind":"method","signature":"public OptionValues getOptions()","summary":"Returns option values for the options described in TruffleLanguage.getOptionDescriptors().","details":"The returned options are never null.","returns":{"type":"OptionValues"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getApplicationArguments()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getApplicationArguments()","name":"getApplicationArguments","kind":"method","signature":"public String[] getApplicationArguments()","summary":"Returns the application arguments that were provided for this context.","details":"The arguments array and its elements are never null. It is up to the language implementation whether and how they are accessible within the guest language scripts.","returns":{"type":"String[]"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isCreateThreadAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isCreateThreadAllowed()","name":"isCreateThreadAllowed","kind":"method","signature":"public boolean isCreateThreadAllowed()","summary":"Returns true if the creation of new threads is allowed in the current environment.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createThread(Runnable)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createThread(java.lang.Runnable)","name":"createThread","kind":"method","signature":"public Thread createThread(Runnable runnable)","summary":"Creates a new thread that has access to the current language context.","details":"See createThread(Runnable, TruffleContext, ThreadGroup, long) for a detailed description of the parameters. The group is null and stackSize set to 0.","deprecated":{"doc":"Use newTruffleThreadBuilder(Runnable) instead."},"params":[{"name":"runnable","type":"Runnable"}],"returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createThread(Runnable, TruffleContext)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createThread(java.lang.Runnable,com.oracle.truffle.api.TruffleContext)","name":"createThread","kind":"method","signature":"public Thread createThread(Runnable runnable, TruffleContext context)","summary":"Creates a new thread that has access to the given context.","details":"See createThread(Runnable, TruffleContext, ThreadGroup, long) for a detailed description of the parameters. The group is null and stackSize set to 0.","deprecated":{"doc":"Use newTruffleThreadBuilder(Runnable) instead."},"params":[{"name":"runnable","type":"Runnable"},{"name":"context","type":"TruffleContext"}],"returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createThread(Runnable, TruffleContext, ThreadGroup)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createThread(java.lang.Runnable,com.oracle.truffle.api.TruffleContext,java.lang.ThreadGroup)","name":"createThread","kind":"method","signature":"public Thread createThread(Runnable runnable, TruffleContext context, ThreadGroup group)","summary":"Creates a new thread that has access to the given context.","details":"See createThread(Runnable, TruffleContext, ThreadGroup, long) for a detailed description of the parameters. The stackSize set to 0.","deprecated":{"doc":"Use newTruffleThreadBuilder(Runnable) instead."},"params":[{"name":"runnable","type":"Runnable"},{"name":"context","type":"TruffleContext"},{"name":"group","type":"ThreadGroup"}],"returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createThread(Runnable, TruffleContext, ThreadGroup, long)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createThread(java.lang.Runnable,com.oracle.truffle.api.TruffleContext,java.lang.ThreadGroup,long)","name":"createThread","kind":"method","signature":"public Thread createThread(Runnable runnable, TruffleContext context, ThreadGroup group, long stackSize)","summary":"Creates a new thread that has access to the given context.","detailsOmitted":true,"deprecated":{"doc":"Use newTruffleThreadBuilder(Runnable) instead."},"params":[{"name":"runnable","type":"Runnable","doc":"the runnable to run on this thread."},{"name":"context","type":"TruffleContext","doc":"the context to enter and leave when the thread is started."},{"name":"group","type":"ThreadGroup","doc":"the thread group, passed on to the underlying Thread."},{"name":"stackSize","type":"long","doc":"the desired stack size for the new thread, or zero if this parameter is to be ignored."}],"returns":{"type":"Thread"},"throws":[{"type":"IllegalStateException","doc":"if thread creation is not allowed."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.newTruffleThreadBuilder(Runnable)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#newTruffleThreadBuilder(java.lang.Runnable)","name":"newTruffleThreadBuilder","kind":"method","signature":"public TruffleThreadBuilder newTruffleThreadBuilder(Runnable runnable)","summary":"Creates a builder for threads that have access to the given context.","params":[{"name":"runnable","type":"Runnable","doc":"the runnable to run on the threads created by the builder."}],"returns":{"type":"TruffleThreadBuilder","doc":"the builder for threads that have access to the given context."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createSystemThread(Runnable)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createSystemThread(java.lang.Runnable)","name":"createSystemThread","kind":"method","signature":"public Thread createSystemThread(Runnable runnable)","summary":"Creates a new thread designed to process language internal tasks in the background.","details":"See createSystemThread(Runnable, ThreadGroup) for a detailed description of the parameters.","params":[{"name":"runnable","type":"Runnable"}],"returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createSystemThread(Runnable, ThreadGroup)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createSystemThread(java.lang.Runnable,java.lang.ThreadGroup)","name":"createSystemThread","kind":"method","signature":"public Thread createSystemThread(Runnable runnable, ThreadGroup threadGroup)","summary":"Creates a new thread designed to process language internal tasks in the background.","detailsOmitted":true,"params":[{"name":"runnable","type":"Runnable","doc":"the runnable to run on this thread."},{"name":"threadGroup","type":"ThreadGroup","doc":"the thread group, passed on to the underlying Thread."}],"returns":{"type":"Thread"},"throws":[{"type":"IllegalStateException","doc":"if the context is already closed."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.newInnerContextBuilder(String...)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#newInnerContextBuilder(java.lang.String...)","name":"newInnerContextBuilder","kind":"method","signature":"public TruffleContext.Builder newInnerContextBuilder(String... permittedLanguages)","summary":"Returns a new context builder useful to create inner context instances.","details":"By default the inner context inherits none of the access privileges. To inherit access set TruffleContext.Builder.inheritAllAccess(boolean) to true. No language context will be initialized by default in the inner context. In order to initialize the creator context use TruffleContext.Builder.initializeCreatorContext(boolean), initialize the language after context creation using TruffleContext.initializePublic(Node, String) or evaluate a source using TruffleContext.evalPublic(Node, Source).","params":[{"name":"permittedLanguages","type":"String...","doc":"ids of languages permitted in the context. If no languages are provided, then all languages permitted to the outer context will be permitted. Languages are validated when the context is built. An IllegalArgumentException will be thrown if an unknown or a language denied by the engine was used."}],"returns":{"type":"TruffleContext.Builder"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getPolyglotBindings()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getPolyglotBindings()","name":"getPolyglotBindings","kind":"method","signature":"public Object getPolyglotBindings()","summary":"Returns a TruffleObject that represents the polyglot bindings.","details":"The polyglot bindings consists of a set of symbols that have been exported explicitly by the languages or the embedder. This set of symbols allows for data exchange between polyglot languages. The polyglot bindings is separate from language bindings. The symbols can by read using string identifiers, a list of symbols may be requested with the keys message. Existing identifiers are removable, modifiable, readable and any new identifiers are insertable.","returns":{"type":"Object"},"throws":[{"type":"SecurityException","doc":"if polyglot access is not enabled"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.importSymbol(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#importSymbol(java.lang.String)","name":"importSymbol","kind":"method","signature":"public Object importSymbol(String symbolName)","summary":"Explicitly imports a symbol from the polyglot bindings.","details":"The behavior of this method is equivalent to sending a READ message to the polyglot bindings object. Reading a symbol that does not exist will return null. The returned symbol value can either be a TruffleObject (e.g. a native object from the other language) to support interoperability between languages, String or one of the Java primitive wrappers ( Integer, Double, Byte, Boolean, etc.). Polyglot symbols can only be imported if the polyglot bindings access is allowed.","params":[{"name":"symbolName","type":"String","doc":"the name of the symbol to search for"}],"returns":{"type":"Object","doc":"object representing the symbol or null if it does not exist"},"throws":[{"type":"SecurityException","doc":"if importing polyglot symbols is not allowed"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.exportSymbol(String, Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#exportSymbol(java.lang.String,java.lang.Object)","name":"exportSymbol","kind":"method","signature":"public void exportSymbol(String symbolName, Object value)","summary":"Explicitly exports a symbol to the polyglot bindings object.","details":"The behavior of this method is equivalent to sending a WRITE message to the polyglot bindings object. Exporting a symbol with a null value will remove the symbol from the polyglot object. The exported symbol value can either be a TruffleObject (e.g. a native object from the other language) to support interoperability between languages, String or one of the Java primitive wrappers ( Integer, Double, Byte, Boolean, etc.). Polyglot symbols can only be export if the polyglot bindings access is allowed.","params":[{"name":"symbolName","type":"String","doc":"the name with which the symbol should be exported into the polyglot scope"},{"name":"value","type":"Object","doc":"the value to export for"}],"throws":[{"type":"SecurityException","doc":"if exporting polyglot symbols is not allowed"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isHostLookupAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isHostLookupAllowed()","name":"isHostLookupAllowed","kind":"method","signature":"public boolean isHostLookupAllowed()","summary":"Returns true if host access is generally allowed.","details":"If this method returns false then lookupHostSymbol(String) will always fail. Host lookup is generally disallowed if the embedder provided a null host class filter.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.addToHostClassPath(TruffleFile)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#addToHostClassPath(com.oracle.truffle.api.TruffleFile)","name":"addToHostClassPath","kind":"method","signature":"public void addToHostClassPath(TruffleFile entry)","summary":"Adds an entry to the Java host class loader.","details":"All classes looked up with lookupHostSymbol(String) will lookup classes with this new entry. If the entry was already added then calling this method again for the same entry has no effect. Given entry must not be null. Note that classes added by this method are in the unnamed module.","params":[{"name":"entry","type":"TruffleFile"}],"throws":[{"type":"SecurityException","doc":"if the file is not readable."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.lookupHostSymbol(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#lookupHostSymbol(java.lang.String)","name":"lookupHostSymbol","kind":"method","signature":"public Object lookupHostSymbol(String symbolName)","summary":"Looks up a Java class in the top-most scope the host environment.","details":"Throws an error if no symbol was found or the symbol was not accessible. Symbols might not be accessible if a host class filter prevents access. The returned object is always a TruffleObject that represents the class symbol.","params":[{"name":"symbolName","type":"String","doc":"the qualified class name in the host language."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isHostObject(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isHostObject(java.lang.Object)","name":"isHostObject","kind":"method","signature":"public boolean isHostObject(Object value)","summary":"Returns true if the argument is Java host language object wrapped using Truffle interop.","deprecated":{"since":"25.1","doc":"Use isHostObject."},"params":[{"name":"value","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.asHostObject(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#asHostObject(java.lang.Object)","name":"asHostObject","kind":"method","signature":"public Object asHostObject(Object value)","summary":"Returns the java host representation of a Truffle guest object if it represents a Java host language object.","details":"Throws ClassCastException if the provided argument is not a host object.","deprecated":{"since":"25.1","doc":"Use asHostObject."},"params":[{"name":"value","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.asGuestValue(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#asGuestValue(java.lang.Object)","name":"asGuestValue","kind":"method","signature":"public Object asGuestValue(Object hostObject)","summary":"Converts an existing Java host object to a guest language value.","detailsOmitted":true,"params":[{"name":"hostObject","type":"Object","doc":"the host object to convert"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.asBoxedGuestValue(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#asBoxedGuestValue(java.lang.Object)","name":"asBoxedGuestValue","kind":"method","signature":"public Object asBoxedGuestValue(Object guestObject)","summary":"Wraps primitive interop values in a TruffleObject exposing their methods as members.","details":"By default, primitive host values are not wrapped in TruffleObjects to expose their members. This method is intended for compatibility with existing Java interop APIs that expect such behavior. This method boxes the following primitive interop values: Boolean, Byte, Short, Integer, Long, Float, Double , Character, String. If the provided value is already boxed then the current value will be returned. If the provided value is not an interop value then an IllegalArgumentException will be thrown.","params":[{"name":"guestObject","type":"Object","doc":"the primitive guest value to box"}],"returns":{"type":"Object"},"throws":[{"type":"IllegalArgumentException","doc":"if value is an invalid interop value."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isHostFunction(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isHostFunction(java.lang.Object)","name":"isHostFunction","kind":"method","signature":"public boolean isHostFunction(Object value)","summary":"Returns true if the argument is a Java host language function wrapped using Truffle interop.","deprecated":{"since":"25.1","doc":"Use interopLibrary.isHostObject(obj) && interopLibrary.isExecutable(obj) && !interopLibrary.hasMembers(obj)"},"params":[{"name":"value","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.findMetaObject(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#findMetaObject(java.lang.Object)","name":"findMetaObject","kind":"method","signature":"public Object findMetaObject(Object value)","summary":"Find a metaobject of a value, if any.","details":"The metaobject represents a description of the object, reveals it's kind and it's features. Some information that a metaobject might define includes the base object's type, interface, class, methods, attributes, etc. When no metaobject is known, returns null. The metaobject is an interop value. An interop value can be either a TruffleObject (e.g. a native object from the other language) to support interoperability between languages or a String.","params":[{"name":"value","type":"Object","doc":"the value to find the meta object for."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isHostException(Throwable)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isHostException(java.lang.Throwable)","name":"isHostException","kind":"method","signature":"public boolean isHostException(Throwable exception)","summary":"Tests whether an exception is a host exception thrown by a Java Interop method invocation.","details":"Host exceptions may be thrown by interoperability messages. The host exception may be unwrapped using asHostException(Throwable).","deprecated":{"since":"25.1","doc":"Use interopLibrary.isHostObject(obj) && interopLibrary.isException(obj)."},"params":[{"name":"exception","type":"Throwable","doc":"the Throwable to test"}],"returns":{"type":"boolean","doc":"true if the exception is a host exception, false otherwise"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.asHostException(Throwable)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#asHostException(java.lang.Throwable)","name":"asHostException","kind":"method","signature":"public Throwable asHostException(Throwable exception)","summary":"Unwraps a host exception thrown by a Java method invocation.","details":"Host exceptions may be thrown by interoperability messages. The host exception may be unwrapped using asHostException(Throwable).","deprecated":{"since":"25.1","doc":"Use asHostObject."},"params":[{"name":"exception","type":"Throwable","doc":"the host exception to unwrap"}],"returns":{"type":"Throwable","doc":"the original Java exception"},"throws":[{"type":"IllegalArgumentException","doc":"if the exception is not a host exception"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isHostSymbol(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isHostSymbol(java.lang.Object)","name":"isHostSymbol","kind":"method","signature":"public boolean isHostSymbol(Object guestObject)","summary":"Returns true if the argument is a host symbol, representing the constructor and static members of a Java class, as obtained by e.g.","details":"lookupHostSymbol.","deprecated":{"since":"25.1","doc":"Use interopLibrary.isHostObject(obj) && interopLibrary.isScope(obj)."},"params":[{"name":"guestObject","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.asHostSymbol(Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#asHostSymbol(java.lang.Class)","name":"asHostSymbol","kind":"method","signature":"public Object asHostSymbol(Class<?> symbolClass)","summary":"Converts a Java class to a host symbol as if by lookupHostSymbol(symbolClass.getName()) but without an actual lookup.","details":"Must not be used with Truffle or guest language classes.","params":[{"name":"symbolClass","type":"Class<?>"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isInnerContextOptionsAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isInnerContextOptionsAllowed()","name":"isInnerContextOptionsAllowed","kind":"method","signature":"public boolean isInnerContextOptionsAllowed()","summary":"Returns true if context options are allowed to be modified for inner contexts, or false if not.","details":"This method only indicates whether the embedder granted wildcard all access for new privileges using org.graalvm.polyglot.Context.Builder.allowInnerContextOptions(boolean). This method is useful to find out whether it is possible to specify options for inner contexts using TruffleContext.Builder.option(String, String), as options can only be specified with all access enabled.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isFileIOAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isFileIOAllowed()","name":"isFileIOAllowed","kind":"method","signature":"public boolean isFileIOAllowed()","summary":"Returns true if access to files is allowed, else false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isSocketIOAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isSocketIOAllowed()","name":"isSocketIOAllowed","kind":"method","signature":"public boolean isSocketIOAllowed()","summary":"Returns true if access to network sockets is allowed, else false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isNativeAccessAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isNativeAccessAllowed()","name":"isNativeAccessAllowed","kind":"method","signature":"public boolean isNativeAccessAllowed()","summary":"Returns true if access to native code is generally allowed.","details":"If this method returns false then loading native libraries with the Truffle NFI will fail.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isPolyglotEvalAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isPolyglotEvalAllowed()","name":"isPolyglotEvalAllowed","kind":"method","signature":"public boolean isPolyglotEvalAllowed()","deprecated":{"doc":"in 24.1 use isPolyglotEvalAllowed(null) instead. Note that language implementations should now check whether polyglot eval is allowed also for individual languages, as access could be denied only for an individual language."},"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isPolyglotEvalAllowed(LanguageInfo)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isPolyglotEvalAllowed(com.oracle.truffle.api.nodes.LanguageInfo)","name":"isPolyglotEvalAllowed","kind":"method","signature":"public boolean isPolyglotEvalAllowed(LanguageInfo targetLanguage)","summary":"Returns true if the current language is allowed to evaluate guest application provided code of the given language, else false.","detailsOmitted":true,"params":[{"name":"targetLanguage","type":"LanguageInfo"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isPolyglotBindingsAccessAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isPolyglotBindingsAccessAllowed()","name":"isPolyglotBindingsAccessAllowed","kind":"method","signature":"public boolean isPolyglotBindingsAccessAllowed()","summary":"Returns true if polyglot bindings access is allowed, else false .","details":"Guest languages should hide or disable all polyglot bindings builtins if this flag is set to false. If polyglot bindings access is disabled then getPolyglotBindings(), importSymbol(String) or exportSymbol(String, Object) fails with a SecurityException.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isMimeTypeSupported(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isMimeTypeSupported(java.lang.String)","name":"isMimeTypeSupported","kind":"method","signature":"public boolean isMimeTypeSupported(String mimeType)","summary":"Allows it to be determined if this org.graalvm.polyglot.Context can execute code written in a language with a given MIME type.","params":[{"name":"mimeType","type":"String"}],"returns":{"type":"boolean","doc":"a boolean that indicates if the MIME type is supported"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.parseInternal(Source, String...)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#parseInternal(com.oracle.truffle.api.source.Source,java.lang.String...)","name":"parseInternal","kind":"method","signature":"public CallTarget parseInternal(Source source, String... argumentNames)","summary":"Parses the source of a public or internal language and returns the parse result as CallTarget.","detailsOmitted":true,"params":[{"name":"source","type":"Source","doc":"the source to evaluate"},{"name":"argumentNames","type":"String...","doc":"the names of CallTarget.call(java.lang.Object...) arguments that can be referenced from the source"}],"returns":{"type":"CallTarget","doc":"the call target representing the parsed result"},"throws":[{"type":"IllegalStateException","doc":"if polyglot context associated with this environment is not entered, or if the language is neither a public language nor an internal language."},{"type":"IllegalArgumentException","doc":"if the language is not allowed to evaluate code by the current language"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.parsePublic(Source, String...)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#parsePublic(com.oracle.truffle.api.source.Source,java.lang.String...)","name":"parsePublic","kind":"method","signature":"public CallTarget parsePublic(Source source, String... argumentNames)","summary":"Parses the source of a public language and returns the parse result as CallTarget .","detailsOmitted":true,"params":[{"name":"source","type":"Source","doc":"the source to evaluate"},{"name":"argumentNames","type":"String...","doc":"the names of CallTarget.call(java.lang.Object...) arguments that can be referenced from the source"}],"returns":{"type":"CallTarget","doc":"the call target representing the parsed result"},"throws":[{"type":"IllegalStateException","doc":"if polyglot context associated with this environment is not entered, or if the language is not a public language"},{"type":"IllegalArgumentException","doc":"if the language is not allowed to evaluate code by the current language"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.in()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#in()","name":"in","kind":"method","signature":"public InputStream in()","summary":"Input stream provided by org.graalvm.polyglot.Context.Builder.in(InputStream) this language is being executed in.","returns":{"type":"InputStream","doc":"reader, never null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.out()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#out()","name":"out","kind":"method","signature":"public OutputStream out()","summary":"Standard output writer provided by org.graalvm.polyglot.Context.Builder.out(OutputStream) this language is being executed in.","returns":{"type":"OutputStream","doc":"writer, never null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.err()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#err()","name":"err","kind":"method","signature":"public OutputStream err()","summary":"Standard error writer provided by org.graalvm.polyglot.Context.Builder.err(OutputStream) this language is being executed in.","returns":{"type":"OutputStream","doc":"writer, never null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.lookup(Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#lookup(java.lang.Class)","name":"lookup","kind":"method","signature":"public <T> T lookup(Class<T> type)","summary":"Looks additional service up.","details":"An environment for a particular language may also be associated with additional services. One can request implementations of such services by calling this method with the type identifying the requested service and its API. Services that can be obtained via this method include com.oracle.truffle.api.instrumentation.Instrumenter and others.","params":[{"name":"type","type":"Class<T>","doc":"class of requested service"}],"returns":{"type":"T","doc":"instance of T or null if there is no such service available"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.lookup(InstrumentInfo, Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#lookup(com.oracle.truffle.api.InstrumentInfo,java.lang.Class)","name":"lookup","kind":"method","signature":"public <S> S lookup(InstrumentInfo instrument, Class<S> type)","summary":"Returns an additional service provided by this instrument, specified by type.","details":"If an instrument is not enabled, it will be enabled automatically by requesting a supported service. If the instrument does not provide a service for a given type it will not be enabled automatically.","params":[{"name":"instrument","type":"InstrumentInfo","doc":"identification of the instrument to query"},{"name":"type","type":"Class<S>","doc":"the class of the requested type"}],"returns":{"type":"S","doc":"the registered service or null if none is found"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.lookup(LanguageInfo, Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#lookup(com.oracle.truffle.api.nodes.LanguageInfo,java.lang.Class)","name":"lookup","kind":"method","signature":"public <S> S lookup(LanguageInfo language, Class<S> type)","summary":"Returns an additional service provided by the given language, specified by type.","details":"For services registered by Registration.services() the service lookup will ensure that the language is loaded and services are registered. The provided langauge and type must not be null.","params":[{"name":"language","type":"LanguageInfo","doc":"the language to query"},{"name":"type","type":"Class<S>","doc":"the class of the requested type"}],"returns":{"type":"S","doc":"the registered service or null if none is found"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.initializeLanguage(LanguageInfo)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#initializeLanguage(com.oracle.truffle.api.nodes.LanguageInfo)","name":"initializeLanguage","kind":"method","signature":"public boolean initializeLanguage(LanguageInfo targetLanguage)","summary":"Ensures that the target language is initialized.","details":"This method firstly verifies that the target language is accessible from this language. If not the SecurityException is thrown. Then the target language initialization is performed if not already done.","params":[{"name":"targetLanguage","type":"LanguageInfo","doc":"the language to initialize"}],"returns":{"type":"boolean"},"throws":[{"type":"SecurityException","doc":"if an access to targetLanguage is not permitted"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getInternalLanguages()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getInternalLanguages()","name":"getInternalLanguages","kind":"method","signature":"public Map<String, LanguageInfo> getInternalLanguages()","summary":"Returns all languages that are installed and internally accessible in the environment.","details":"Using the language instance additional services can be looked up. parseInternal(Source, String...) is allowed for all languages returned by this method. This list of languages should not be exposed to guest language programs, as it lists internal languages.","returns":{"type":"Map<String, LanguageInfo>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getHostLanguage()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getHostLanguage()","name":"getHostLanguage","kind":"method","signature":"public LanguageInfo getHostLanguage()","summary":"Retrieves the host language used in this environment.","details":"The returned language can be used to obtain the host language top scope object using getScopeInternal(LanguageInfo) method.","returns":{"type":"LanguageInfo"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getPublicLanguages()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getPublicLanguages()","name":"getPublicLanguages","kind":"method","signature":"public Map<String, LanguageInfo> getPublicLanguages()","summary":"Returns all languages that are installed and publicly accessible in the environment.","details":"Using the language instance additional services can be looked up. parsePublic(Source, String...) is allowed for all languages returned by this method. This list of languages may be exposed ot the guest language program.","returns":{"type":"Map<String, LanguageInfo>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getLanguageInfo(Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getLanguageInfo(java.lang.Class)","name":"getLanguageInfo","kind":"method","signature":"public LanguageInfo getLanguageInfo(Class<? extends TruffleLanguage<?>> languageClass)","summary":"Returns the language info for a given language class if available.","details":"The class may be obtained with InteropLibrary.getLanguage(Object). Throws an IllegalArgumentException if the provided language is not registered.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the language class to convert"}],"returns":{"type":"LanguageInfo","doc":"the associated language info"},"throws":[{"type":"IllegalArgumentException","doc":"if the language class is not valid."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getInstruments()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getInstruments()","name":"getInstruments","kind":"method","signature":"public Map<String, InstrumentInfo> getInstruments()","summary":"Returns a map instrument-id to instrument instance of all instruments that are installed in the environment.","details":"Using the instrument instance additional services can be looked up .","returns":{"type":"Map<String, InstrumentInfo>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getTimeZone()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getTimeZone()","name":"getTimeZone","kind":"method","signature":"public ZoneId getTimeZone()","summary":"Returns the default time zone of this environment.","details":"If the time-zone was not explicitly set by the embedder, UTC is returned with SandboxPolicy.CONSTRAINED or stricter sandbox policies, and the system default time-zone is returned otherwise.","returns":{"type":"ZoneId"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getConfig()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getConfig()","name":"getConfig","kind":"method","signature":"public Map<String, Object> getConfig()","summary":"Configuration arguments passed from an outer language context to an inner language context.","details":"Inner language contexts can be created using newInnerContextBuilder(String...).","returns":{"type":"Map<String, Object>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getContext()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getContext()","name":"getContext","kind":"method","signature":"public TruffleContext getContext()","summary":"Returns the polyglot context associated with this environment.","returns":{"type":"TruffleContext","doc":"the polyglot context"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isPreInitialization()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isPreInitialization()","name":"isPreInitialization","kind":"method","signature":"public boolean isPreInitialization()","summary":"Returns true if this org.graalvm.polyglot.Context is being pre-initialized.","details":"For a given environment, the return value of this method never changes.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getPublicTruffleFile(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getPublicTruffleFile(java.lang.String)","name":"getPublicTruffleFile","kind":"method","signature":"public TruffleFile getPublicTruffleFile(String path)","summary":"Returns a TruffleFile for given path.","details":"The returned TruffleFile access depends on the file system used by the context and can vary from all access in case of allowed IO to no access in case of denied IO. When IO is not enabled by the Context the TruffleFile operations throw SecurityException. The getPublicTruffleFile method should be used to access user files or to implement language IO builtins.","params":[{"name":"path","type":"String","doc":"the absolute or relative path to create TruffleFile for"}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when the FileSystem supports only URI"},{"type":"IllegalArgumentException","doc":"if the path string cannot be converted to a Path"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getPublicTruffleFile(URI)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getPublicTruffleFile(java.net.URI)","name":"getPublicTruffleFile","kind":"method","signature":"public TruffleFile getPublicTruffleFile(URI uri)","summary":"Returns a TruffleFile for given path.","details":"See getPublicTruffleFile(String) for detailed information.","params":[{"name":"uri","type":"URI","doc":"the URI to create TruffleFile for"}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when URI scheme is not supported"},{"type":"IllegalArgumentException","doc":"if preconditions on the uri do not hold."},{"type":"FileSystemNotFoundException","doc":"is the file system, identified by the uri, does not exist and cannot be created automatically"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getInternalTruffleFile(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getInternalTruffleFile(java.lang.String)","name":"getInternalTruffleFile","kind":"method","signature":"public TruffleFile getInternalTruffleFile(String path)","summary":"Returns a TruffleFile for the given path.","detailsOmitted":true,"params":[{"name":"path","type":"String","doc":"the absolute or relative path to create TruffleFile for"}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when the FileSystem supports only URI"},{"type":"IllegalArgumentException","doc":"if the path string cannot be converted to a Path"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getInternalTruffleFile(URI)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getInternalTruffleFile(java.net.URI)","name":"getInternalTruffleFile","kind":"method","signature":"public TruffleFile getInternalTruffleFile(URI uri)","summary":"Returns TruffleFile for given URI.","details":"See getInternalTruffleFile(String) for detailed information.","params":[{"name":"uri","type":"URI","doc":"the URI to create TruffleFile for"}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when URI scheme is not supported"},{"type":"IllegalArgumentException","doc":"if preconditions on the uri do not hold."},{"type":"FileSystemNotFoundException","doc":"is the file system, identified by the uri, does not exist and cannot be created automatically"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getTruffleFileInternal(String, Predicate)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getTruffleFileInternal(java.lang.String,java.util.function.Predicate)","name":"getTruffleFileInternal","kind":"method","signature":"public TruffleFile getTruffleFileInternal(String path, Predicate<TruffleFile> filter)","summary":"Returns a TruffleFile for the given path.","detailsOmitted":true,"params":[{"name":"path","type":"String","doc":"the absolute or relative path to create TruffleFile for"},{"name":"filter","type":"Predicate<TruffleFile>","doc":"to enable read access to TruffleFile. Multiple invocations of filter.test(file) must consistently return true or consistently return false for a given path."}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when the FileSystem supports only URI"},{"type":"IllegalArgumentException","doc":"if the path string cannot be converted to a Path"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getTruffleFileInternal(URI, Predicate)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getTruffleFileInternal(java.net.URI,java.util.function.Predicate)","name":"getTruffleFileInternal","kind":"method","signature":"public TruffleFile getTruffleFileInternal(URI uri, Predicate<TruffleFile> filter)","summary":"Returns a TruffleFile for given URI.","details":"See getTruffleFileInternal(String, Predicate) for detailed information.","params":[{"name":"uri","type":"URI","doc":"the URI to create TruffleFile for"},{"name":"filter","type":"Predicate<TruffleFile>","doc":"to enable read access to TruffleFile. Multiple invocations of filter.test(file) must consistently return true or consistently return false for a given path."}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when the FileSystem supports only URI"},{"type":"IllegalArgumentException","doc":"if preconditions on the uri do not hold."},{"type":"FileSystemNotFoundException","doc":"is the file system, identified by the uri, does not exist and cannot be created automatically"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getCurrentWorkingDirectory()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getCurrentWorkingDirectory()","name":"getCurrentWorkingDirectory","kind":"method","signature":"public TruffleFile getCurrentWorkingDirectory()","summary":"Gets the current working directory.","details":"The current working directory is used to resolve non absolute paths in TruffleFile methods.","returns":{"type":"TruffleFile","doc":"the current working directory"},"throws":[{"type":"SecurityException","doc":"if the filesystem denies reading of the current working directory"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.setCurrentWorkingDirectory(TruffleFile)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#setCurrentWorkingDirectory(com.oracle.truffle.api.TruffleFile)","name":"setCurrentWorkingDirectory","kind":"method","signature":"public void setCurrentWorkingDirectory(TruffleFile currentWorkingDirectory)","summary":"Sets the current working directory.","details":"The current working directory is used to resolve non absolute paths in TruffleFile methods.","params":[{"name":"currentWorkingDirectory","type":"TruffleFile","doc":"the new current working directory"}],"throws":[{"type":"UnsupportedOperationException","doc":"if setting of the current working directory is not supported"},{"type":"IllegalArgumentException","doc":"if the currentWorkingDirectory is not a valid current working directory"},{"type":"SecurityException","doc":"if currentWorkingDirectory is not readable"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getFileNameSeparator()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getFileNameSeparator()","name":"getFileNameSeparator","kind":"method","signature":"public String getFileNameSeparator()","summary":"Returns the name separator used to separate names in TruffleFile's path string.","returns":{"type":"String","doc":"the name separator"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getPathSeparator()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getPathSeparator()","name":"getPathSeparator","kind":"method","signature":"public String getPathSeparator()","summary":"Returns the path separator used to separate filenames in a path list.","details":"On UNIX the path separator is ':'. On Windows it's ';'.","returns":{"type":"String","doc":"the path separator"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.registerService(Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#registerService(java.lang.Object)","name":"registerService","kind":"method","signature":"public void registerService(Object service)","summary":"Registers additional services provided by the language.","details":"The registered services are made available to users via lookup(com.oracle.truffle.api.nodes.LanguageInfo, java.lang.Class) query method. For each service interface enumerated in language registration the language has to register a single service implementation. This method can be called only during the execution of the createContext method, then the services are collected and cannot be changed anymore.","params":[{"name":"service","type":"Object","doc":"a service to be returned from associated lookup method"}],"throws":[{"type":"IllegalStateException","doc":"if the method is called outside of createContext(com.oracle.truffle.api.TruffleLanguage.Env) method"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.isCreateProcessAllowed()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#isCreateProcessAllowed()","name":"isCreateProcessAllowed","kind":"method","signature":"public boolean isCreateProcessAllowed()","summary":"Returns true if the creation of a sub-process is allowed in the current environment.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.newProcessBuilder(String...)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#newProcessBuilder(java.lang.String...)","name":"newProcessBuilder","kind":"method","signature":"public TruffleProcessBuilder newProcessBuilder(String... command)","summary":"Creates a new process builder with the specified operating program and arguments.","params":[{"name":"command","type":"String...","doc":"the executable and its arguments"}],"returns":{"type":"TruffleProcessBuilder"},"throws":[{"type":"SecurityException","doc":"when process creation is not allowed"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getEnvironment()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getEnvironment()","name":"getEnvironment","kind":"method","signature":"public Map<String, String> getEnvironment()","summary":"Returns an unmodifiable map of the process environment.","details":"When the Context is configured with EnvironmentAccess.INHERIT it returns the System.getenv() and the environment variables configured on the Context. For the EnvironmentAccess.NONE only the environment variables configured on the Context are returned.","returns":{"type":"Map<String, String>","doc":"the process environment as a map of variable names to values"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createTempFile(TruffleFile, String, String, FileAttribute...)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createTempFile(com.oracle.truffle.api.TruffleFile,java.lang.String,java.lang.String,java.nio.file.attribute.FileAttribute...)","name":"createTempFile","kind":"method","signature":"public TruffleFile createTempFile(TruffleFile dir, String prefix, String suffix, FileAttribute<?>... attrs) throws IOException","summary":"Creates a new empty file in the specified or default temporary directory, using the given prefix and suffix to generate its name.","details":"This method provides only part of a temporary file facility. To arrange for a file created by this method to be deleted automatically the resulting file must be opened using the DELETE_ON_CLOSE option. In this case the file is deleted when the appropriate close method is invoked. Alternatively, a shutdown hook may be used to delete the file automatically.","params":[{"name":"dir","type":"TruffleFile","doc":"the directory in which the file should be created or null for a default temporary directory"},{"name":"prefix","type":"String","doc":"the prefix to generate the file's name or null"},{"name":"suffix","type":"String","doc":"the suffix to generate the file's name or null in which case \".tmp\" is used"},{"name":"attrs","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the file"}],"returns":{"type":"TruffleFile","doc":"the TruffleFile representing the newly created file that did not exist before this method was invoked"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"IllegalArgumentException","doc":"if the prefix or suffix cannot be used to generate a valid file name"},{"type":"UnsupportedOperationException","doc":"if the attributes contain an attribute which cannot be set atomically or FileSystem does not support default temporary directory"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createTempDirectory(TruffleFile, String, FileAttribute...)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createTempDirectory(com.oracle.truffle.api.TruffleFile,java.lang.String,java.nio.file.attribute.FileAttribute...)","name":"createTempDirectory","kind":"method","signature":"public TruffleFile createTempDirectory(TruffleFile dir, String prefix, FileAttribute<?>... attrs) throws IOException","summary":"Creates a new directory in the specified or default temporary directory, using the given prefix to generate its name.","details":"This method provides only part of a temporary file facility. A shutdown hook may be used to delete the directory automatically.","params":[{"name":"dir","type":"TruffleFile","doc":"the directory in which the directory should be created or null for a default temporary directory"},{"name":"prefix","type":"String","doc":"the prefix to generate the directory's name or null"},{"name":"attrs","type":"FileAttribute<?>...","doc":"the optional attributes to set atomically when creating the directory"}],"returns":{"type":"TruffleFile","doc":"the TruffleFile representing the newly created directory that did not exist before this method was invoked"},"throws":[{"type":"IOException","doc":"in case of IO error"},{"type":"IllegalArgumentException","doc":"if the prefix cannot be used to generate a valid file name"},{"type":"UnsupportedOperationException","doc":"if the attributes contain an attribute which cannot be set atomically or FileSystem does not support default temporary directory"},{"type":"SecurityException","doc":"if the FileSystem denied the operation"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createHostAdapter(Object[])","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createHostAdapter(java.lang.Object[])","name":"createHostAdapter","kind":"method","signature":"public Object createHostAdapter(Object[] types)","summary":"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.","detailsOmitted":true,"params":[{"name":"types","type":"Object[]","doc":"the types to extend. Must be non-null and contain at least one extensible superclass or interface, and at most one superclass. All types must be public, accessible, and allow implementation."}],"returns":{"type":"Object","doc":"a host class that can be instantiated to create instances of a host class that extends all the provided host types. The host class may be cached."},"throws":[{"type":"IllegalArgumentException","doc":"if the types are not extensible or more than one superclass is given."},{"type":"SecurityException","doc":"if host access does not allow creating adapter classes for these types."},{"type":"UnsupportedOperationException","doc":"if creating adapter classes is not supported on this runtime at all, which is currently the case for native images."},{"type":"NullPointerException","doc":"if types is null"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.createHostAdapterWithClassOverrides(Object[], Object)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#createHostAdapterWithClassOverrides(java.lang.Object[],java.lang.Object)","name":"createHostAdapterWithClassOverrides","kind":"method","signature":"public Object createHostAdapterWithClassOverrides(Object[] types, Object classOverrides)","summary":"Like createHostAdapter(Object[]) 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.","details":"Returns a host class that can be instantiated to create instances of the provided host types, (non-final) methods of which delegate to the guest object provided as classOverrides. Allows creating host adapter class hierarchies, i.e., the returned class can be used as a superclass of other host adapter classes. Note that classes created with method cannot be cached. Therefore, this feature should be used sparingly. See createHostAdapter(Object[]) for more details.","params":[{"name":"types","type":"Object[]","doc":"the types to extend. Must be non-null and contain at least one extensible superclass or interface, and at most one superclass. All types must be public, accessible, and allow implementation."},{"name":"classOverrides","type":"Object","doc":"a guest object with class-level overrides. If not null, the object is bound to the class, not to any instance. Consequently, the generated constructors are changed to not take an object; all instances will share the same overrides object. Note that since a new class has to be generated for every overrides object instance and cannot be shared, use of this feature is discouraged; it is provided only for compatibility reasons."}],"returns":{"type":"Object","doc":"a host class symbol that can be instantiated to create instances of a host class that extends all the provided host types."},"throws":[{"type":"IllegalArgumentException","doc":"if the types are not extensible or more than one superclass is given."},{"type":"SecurityException","doc":"if host access does not allow creating adapter classes for these types."},{"type":"UnsupportedOperationException","doc":"if creating adapter classes is not supported on this runtime at all, which is currently the case for native images."},{"type":"NullPointerException","doc":"if either types or classOverrides is null."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getInternalResource(Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getInternalResource(java.lang.Class)","name":"getInternalResource","kind":"method","signature":"public TruffleFile getInternalResource(Class<? extends InternalResource> resource) throws IOException","summary":"Returns the TruffleFile representing the target directory of an internal resource.","detailsOmitted":true,"params":[{"name":"resource","type":"Class<? extends InternalResource>","doc":"the resource class to load"}],"returns":{"type":"TruffleFile"},"throws":[{"type":"IllegalArgumentException","doc":"if resource is not associated with this language"},{"type":"IOException","doc":"in case of IO error"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getInternalResource(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getInternalResource(java.lang.String)","name":"getInternalResource","kind":"method","signature":"public TruffleFile getInternalResource(String resourceId) throws IOException","summary":"Returns the TruffleFile representing the target directory of an internal resource.","details":"Unlike the getInternalResource(Class), this method can be used for optional resources whose classes may not exist at runtime. In this case the optional resource must be unpacked at build time, see Engine.copyResources(Path, String...). If the resource with the specified resourceId is not associated to this language, the function returns null.","params":[{"name":"resourceId","type":"String","doc":"unique id of the resource to be loaded"}],"returns":{"type":"TruffleFile","doc":"internal resource directory or null if resource with the resourceId is not associated with this language"},"throws":[{"type":"IOException","doc":"in case of IO error"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getLogger(String)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getLogger(java.lang.String)","name":"getLogger","kind":"method","signature":"public TruffleLogger getLogger(String loggerName)","summary":"Find or create a context-bound logger.","detailsOmitted":true,"params":[{"name":"loggerName","type":"String","doc":"the name of a TruffleLogger, if a loggerName is null or empty a root logger for language or instrument is returned"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getLogger(Class)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getLogger(java.lang.Class)","name":"getLogger","kind":"method","signature":"public TruffleLogger getLogger(Class<?> forClass)","summary":"Find or create a context-bound logger.","detailsOmitted":true,"params":[{"name":"forClass","type":"Class<?>","doc":"the Class to create a logger for"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.submitThreadLocal(Thread[], ThreadLocalAction)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#submitThreadLocal(java.lang.Thread[],com.oracle.truffle.api.ThreadLocalAction)","name":"submitThreadLocal","kind":"method","signature":"public Future<Void> submitThreadLocal(Thread[] threads, ThreadLocalAction action)","summary":"Submits a thread local action to be performed at the next guest language safepoint on a provided set of threads, once for each thread.","detailsOmitted":true,"params":[{"name":"threads","type":"Thread[]","doc":"the threads to execute the action on. null for all threads"},{"name":"action","type":"ThreadLocalAction","doc":"the action to perform on that thread."}],"returns":{"type":"Future<Void>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.registerOnDispose(Closeable)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#registerOnDispose(java.io.Closeable)","name":"registerOnDispose","kind":"method","signature":"public void registerOnDispose(Closeable closeable)","summary":"Registers Closeable for automatic close on context dispose.","detailsOmitted":true,"params":[{"name":"closeable","type":"Closeable","doc":"to be closed on context dispose."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getSandboxPolicy()","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getSandboxPolicy()","name":"getSandboxPolicy","kind":"method","signature":"public SandboxPolicy getSandboxPolicy()","summary":"Returns the context's SandboxPolicy.","details":"A language can use the returned sandbox policy to make language-specific verifications that the sandbox requirements are met. These verifications should be made as early as possible in the TruffleLanguage.createContext(Env) method.","returns":{"type":"SandboxPolicy"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getScopePublic(LanguageInfo)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getScopePublic(com.oracle.truffle.api.nodes.LanguageInfo)","name":"getScopePublic","kind":"method","signature":"public Object getScopePublic(LanguageInfo language) throws IllegalArgumentException","summary":"Returns the scope object of a non-null public language.","detailsOmitted":true,"params":[{"name":"language","type":"LanguageInfo"}],"returns":{"type":"Object","doc":"the scope, or null if the requested language does not support such a concept"},"throws":[{"type":"IllegalStateException","doc":"if polyglot context associated with this environment is not entered"},{"type":"SecurityException","doc":"if polyglot scope access is not enabled for this language."},{"type":"IllegalArgumentException"}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Env.getScopeInternal(LanguageInfo)","href":"com/oracle/truffle/api/TruffleLanguage.Env.html#getScopeInternal(com.oracle.truffle.api.nodes.LanguageInfo)","name":"getScopeInternal","kind":"method","signature":"public Object getScopeInternal(LanguageInfo language)","summary":"Returns the scope object of a non-null internal language.","detailsOmitted":true,"params":[{"name":"language","type":"LanguageInfo"}],"returns":{"type":"Object","doc":"the scope, or null if the requested language does not support such a concept"},"throws":[{"type":"IllegalStateException","doc":"if polyglot context associated with this environment is not entered"},{"type":"SecurityException","doc":"if polyglot scope access is not enabled for this language."}]}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ExitMode","href":"com/oracle/truffle/api/TruffleLanguage.ExitMode.html","name":"TruffleLanguage.ExitMode","kind":"enum","signature":"public enum TruffleLanguage.ExitMode","summary":"Mode of exit operation."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ExitMode.values()","href":"com/oracle/truffle/api/TruffleLanguage.ExitMode.html#values()","name":"values","kind":"method","signature":"public static TruffleLanguage.ExitMode[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TruffleLanguage.ExitMode[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ExitMode.valueOf(String)","href":"com/oracle/truffle/api/TruffleLanguage.ExitMode.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TruffleLanguage.ExitMode valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TruffleLanguage.ExitMode","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ExitMode.NATURAL","href":"com/oracle/truffle/api/TruffleLanguage.ExitMode.html#NATURAL","name":"NATURAL","kind":"enumConstant","signature":"NATURAL","summary":"Natural exit that occurs during normal context close."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ExitMode.HARD","href":"com/oracle/truffle/api/TruffleLanguage.ExitMode.html#HARD","name":"HARD","kind":"enumConstant","signature":"HARD","summary":"Hard exit triggered by TruffleContext.closeExited(Node, int)."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest","href":"com/oracle/truffle/api/TruffleLanguage.InlineParsingRequest.html","name":"TruffleLanguage.InlineParsingRequest","kind":"class","signature":"public static final class TruffleLanguage.InlineParsingRequest","summary":"Request for inline parsing.","details":"Contains information of what to parse and in which context."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest.getSource()","href":"com/oracle/truffle/api/TruffleLanguage.InlineParsingRequest.html#getSource()","name":"getSource","kind":"method","signature":"public Source getSource()","summary":"The source code to parse.","returns":{"type":"Source","doc":"the source code, never null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest.getOptionValues()","href":"com/oracle/truffle/api/TruffleLanguage.InlineParsingRequest.html#getOptionValues()","name":"getOptionValues","kind":"method","signature":"public OptionValues getOptionValues()","summary":"Returns the source option values associated with the parsing request's source and language.","details":"This method should be preferred over Source.getOptions(TruffleLanguage) when accessing the source options of a source when possible, to avoid parsing the options twice. In order to allow users of the language to specify source options they must be declared by implementing TruffleLanguage.getSourceOptionDescriptors().","returns":{"type":"OptionValues"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest.getLocation()","href":"com/oracle/truffle/api/TruffleLanguage.InlineParsingRequest.html#getLocation()","name":"getLocation","kind":"method","signature":"public Node getLocation()","summary":"Specifies the code location for parsing.","details":"The location is specified as an instance of a Node in the AST. The node can be com.oracle.truffle.api.instrumentation.EventContext.getInstrumentedNode(), for example.","returns":{"type":"Node","doc":"a Node defining AST context for the parsing, it's never null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.InlineParsingRequest.getFrame()","href":"com/oracle/truffle/api/TruffleLanguage.InlineParsingRequest.html#getFrame()","name":"getFrame","kind":"method","signature":"public MaterializedFrame getFrame()","summary":"Specifies the execution context for parsing.","details":"If the parsing request is used for evaluation during halted execution, for example as in com.oracle.truffle.api.debug.DebugStackFrame.eval(String) method, this method provides access to current frame with local variables, etc.","returns":{"type":"MaterializedFrame","doc":"a MaterializedFrame exposing the current execution state or null if there is none"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.LanguageReference","href":"com/oracle/truffle/api/TruffleLanguage.LanguageReference.html","name":"TruffleLanguage.LanguageReference","kind":"class","signature":"public abstract static class TruffleLanguage.LanguageReference<L extends TruffleLanguage>","summary":"Represents a reference to the current language instance.","details":"The current language is a thread local value that potentially changes when polyglot context is entered or left. Language references are created using create(Class) and are intended to be stored in static final fields and accessed at runtime using LanguageReference.get(Node) with the current Node, if available, as parameter. Example intended usage: See ContextReference for a full usage example."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.LanguageReference()","href":"com/oracle/truffle/api/TruffleLanguage.LanguageReference.html#%3Cinit%3E()","name":"LanguageReference","kind":"constructor","signature":"protected LanguageReference()","summary":"Constructors for subclasses."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.LanguageReference.get(Node)","href":"com/oracle/truffle/api/TruffleLanguage.LanguageReference.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public abstract L get(Node node)","summary":"Returns the current language instance associated with the current thread.","detailsOmitted":true,"params":[{"name":"node","type":"Node"}],"returns":{"type":"L"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.LanguageReference.create(Class)","href":"com/oracle/truffle/api/TruffleLanguage.LanguageReference.html#create(java.lang.Class)","name":"create","kind":"method","signature":"public static <T extends TruffleLanguage<?>> TruffleLanguage.LanguageReference<T> create(Class<T> languageClass)","summary":"Creates a new instance of a langauge reference for an registered language.","details":"Throws IllegalArgumentException if the provided language class is not registered. Guaranteed to always return the same context reference for a given language class. See LanguageReference for a usage example.","params":[{"name":"languageClass","type":"Class<T>"}],"returns":{"type":"TruffleLanguage.LanguageReference<T>"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ParsingRequest","href":"com/oracle/truffle/api/TruffleLanguage.ParsingRequest.html","name":"TruffleLanguage.ParsingRequest","kind":"class","signature":"public static final class TruffleLanguage.ParsingRequest","summary":"Request for parsing.","details":"Contains information of what to parse and in which context."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ParsingRequest.getSource()","href":"com/oracle/truffle/api/TruffleLanguage.ParsingRequest.html#getSource()","name":"getSource","kind":"method","signature":"public Source getSource()","summary":"The source code to parse.","returns":{"type":"Source","doc":"the source code, never null"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ParsingRequest.getOptionValues()","href":"com/oracle/truffle/api/TruffleLanguage.ParsingRequest.html#getOptionValues()","name":"getOptionValues","kind":"method","signature":"public OptionValues getOptionValues()","summary":"Returns the source option values associated with the parsing request's source and language.","details":"This method should be preferred over Source.getOptions(TruffleLanguage) when accessing the source options of a source when possible, to avoid parsing the options twice. In order to allow users of the language to specify source options they must be declared by implementing TruffleLanguage.getSourceOptionDescriptors().","returns":{"type":"OptionValues"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.ParsingRequest.getArgumentNames()","href":"com/oracle/truffle/api/TruffleLanguage.ParsingRequest.html#getArgumentNames()","name":"getArgumentNames","kind":"method","signature":"public List<String> getArgumentNames()","summary":"Argument names.","detailsOmitted":true,"returns":{"type":"List<String>","doc":"symbolic names for parameters of CallTarget.call(java.lang.Object...)"}}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html","name":"TruffleLanguage.Registration","kind":"annotation","signature":"public @interface TruffleLanguage.Registration","summary":"The annotation to use to register your language to the Polyglot API.","details":"By annotating your implementation of TruffleLanguage by this annotation the language can be discovered on the class path."}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.id()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#id()","name":"id","kind":"annotationElement","signature":"String id() default \"\"","summary":"Unique id of your language.","details":"This id will be exposed to users via the getter. It is used as group identifier for options of the language.","returns":{"type":"String","doc":"identifier of your language"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.name()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"Unique name of your language.","details":"This name will be exposed to users via the org.graalvm.polyglot.Language.getName() getter.","returns":{"type":"String","doc":"identifier of your language"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.implementationName()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#implementationName()","name":"implementationName","kind":"annotationElement","signature":"String implementationName() default \"\"","summary":"Unique name of your language implementation.","returns":{"type":"String","doc":"the implementation name of your language"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.version()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#version()","name":"version","kind":"annotationElement","signature":"String version() default \"inherit\"","summary":"Unique string identifying the language version.","details":"This name will be exposed to users via the org.graalvm.polyglot.Language.getVersion() getter. It inherits from org.graalvm.polyglot.Engine.getVersion() by default.","returns":{"type":"String","doc":"version of your language"},"defaultValue":"\"inherit\""}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.defaultMimeType()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#defaultMimeType()","name":"defaultMimeType","kind":"annotationElement","signature":"String defaultMimeType() default \"\"","summary":"Returns the default MIME type of this language.","details":"The default MIME type allows embedders and other language or instruments to find out how content is interpreted if no MIME type was specified. The default MIME type must be specified in the list of supported character or byte based MIME types. The default MIME type is mandatory if more than one supported MIME type was specified. If no default MIME type and no supported MIME types were specified then all sources for this language will be interpreted as character based sources.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.characterMimeTypes()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#characterMimeTypes()","name":"characterMimeTypes","kind":"annotationElement","signature":"String[] characterMimeTypes() default {}","summary":"List of MIME types supported by this language which sources should be interpreted as character based sources.","details":"Languages may use MIME types to differentiate supported source kinds. If a MIME type is declared as supported then the language needs to be able to parse sources of this kind. If only one supported MIME type was specified by a language then it will be used as default MIME type. If no supported character and byte based MIME types are specified then all sources will be interpreted as character based.","returns":{"type":"String[]","doc":"array of MIME types assigned to your language files"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.byteMimeTypes()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#byteMimeTypes()","name":"byteMimeTypes","kind":"annotationElement","signature":"String[] byteMimeTypes() default {}","summary":"List of MIME types supported by this language which sources should be interpreted as byte based sources.","details":"Languages may use MIME types to differentiate supported source kinds. If a MIME type is declared as supported, then the language needs to be able to parse sources of this kind. If only one supported MIME type was specified by a language then it will be used as default MIME type. If no supported character and byte based MIME types are specified then all sources will be interpreted as character based.","returns":{"type":"String[]","doc":"array of MIME types assigned to your language files"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.interactive()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#interactive()","name":"interactive","kind":"annotationElement","signature":"boolean interactive() default true","summary":"Specifies if the language is suitable for interactive evaluation of sources.","details":"Interactive languages should be displayed in interactive environments and presented to the user. The default value of this attribute is true assuming majority of the languages is interactive. Change the value to false to opt-out and turn your language into non-interactive one.","returns":{"type":"boolean","doc":"true if the language should be presented to end-user in an interactive environment"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.internal()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#internal()","name":"internal","kind":"annotationElement","signature":"boolean internal() default false","summary":"Returns true if this language is intended for internal use only.","details":"Internal languages cannot be used in the host environment directly, they can only be used from other languages or from instruments.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.dependentLanguages()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#dependentLanguages()","name":"dependentLanguages","kind":"annotationElement","signature":"String[] dependentLanguages() default {}","summary":"Specifies a list of languages that this language depends on.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.contextPolicy()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#contextPolicy()","name":"contextPolicy","kind":"annotationElement","signature":"TruffleLanguage.ContextPolicy contextPolicy() default EXCLUSIVE","summary":"Defines the supported policy for reusing languages per context.","detailsOmitted":true,"returns":{"type":"TruffleLanguage.ContextPolicy"},"defaultValue":"EXCLUSIVE"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.services()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#services()","name":"services","kind":"annotationElement","signature":"Class<?>[] services() default {}","summary":"Declarative list of classes this language is known to provide.","details":"The language is supposed to override its createContext method and instantiate and register all here in defined services. Languages automatically get created but not yet initialized when their registered service is requested.","returns":{"type":"Class<?>[]","doc":"list of service types that this language can provide"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.fileTypeDetectors()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#fileTypeDetectors()","name":"fileTypeDetectors","kind":"annotationElement","signature":"Class<? extends TruffleFile.FileTypeDetector>[] fileTypeDetectors() default {}","summary":"Declarative list of TruffleFile.FileTypeDetector classes provided by this language.","details":"The language has to support all MIME types recognized by the registered file type detectors.","returns":{"type":"Class<? extends TruffleFile.FileTypeDetector>[]","doc":"list of file type detectors"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.needsAllEncodings()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#needsAllEncodings()","name":"needsAllEncodings","kind":"annotationElement","signature":"boolean needsAllEncodings() default false","summary":"Returns true if the language uses TruffleStrings with encodings not present in the following list.","details":"UTF-8 UTF-16 UTF-32 ISO-8859-1 US-ASCII BYTES","deprecated":{"since":"24.1","doc":"To enable all TruffleString encodings, it is sufficient to add the org.graalvm.shadowed.jcodings module to the language's module-info requires and ensure it is on the module path when languages are loaded. If the module can be found, and at least one languages requires it, all encodings are automatically enabled. When languages are loaded from the class path (i.e. as an unnamed module), having jcodings on the class path is enough to enable it."},"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.website()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#website()","name":"website","kind":"annotationElement","signature":"String website() default \"\"","summary":"A link to a website with more information about the language.","details":"Will be shown in the help text of GraalVM launchers. The link can contain the following substitutions: ${graalvm-version} the current GraalVM version. Optionally, a format string can be provided for the version using ${graalvm-version:format}. See Version.format. ${graalvm-website-version} the current GraalVM version in a format suitable for links to the GraalVM reference manual. The exact format may change without notice.","returns":{"type":"String","doc":"URL for language website."},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.sandbox()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#sandbox()","name":"sandbox","kind":"annotationElement","signature":"SandboxPolicy sandbox() default TRUSTED","summary":"Specifies the most strict sandbox policy in which the language can be used.","details":"The language can be used in a context with the specified sandbox policy or a weaker one. For example, if a language specifies ISOLATED policy, it can be used in a context configured with sandbox policy TRUSTED, CONSTRAINED or ISOLATED. But it cannot be used in a context configured with the UNTRUSTED sandbox policy.","returns":{"type":"SandboxPolicy"},"defaultValue":"TRUSTED"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.internalResources()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#internalResources()","name":"internalResources","kind":"annotationElement","signature":"Class<? extends InternalResource>[] internalResources() default {}","summary":"Declarative list of InternalResource classes that is associated with this language.","details":"Use the internalResources attribute solely for registering required internal resources. Optional internal resources should provide the associated language identifier using the Id.componentId() method. To unpack all resources of a language embedders may use Engine.copyResources(Path, String...).","returns":{"type":"Class<? extends InternalResource>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLanguage.Registration.optionalResources()","href":"com/oracle/truffle/api/TruffleLanguage.Registration.html#optionalResources()","name":"optionalResources","kind":"annotationElement","signature":"String[] optionalResources() default {}","summary":"A declarative list of optional InternalResource identifiers associated with this language.","details":"It is recommended to register all optional resource identifiers here. Specifying the resource identifier allows the language use the resource even if its implementation was omitted at runtime. To use the resource when its implementation was omitted the polyglot.engine.resourcePath.languageId system property must be specified and point to a path with the resources. This allows to omit the resource implementation class in standalone distributions.","returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.TruffleLogger","href":"com/oracle/truffle/api/TruffleLogger.html","name":"TruffleLogger","kind":"class","signature":"public final class TruffleLogger","summary":"Support for logging in Truffle languages and instruments.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleLogger.getLogger(String)","href":"com/oracle/truffle/api/TruffleLogger.html#getLogger(java.lang.String)","name":"getLogger","kind":"method","signature":"public static TruffleLogger getLogger(String id)","summary":"Find or create a root logger for a given language or instrument.","details":"If the root logger for given language or instrument already exists it's returned, otherwise a new root logger is created.","params":[{"name":"id","type":"String","doc":"the unique id of language or instrument"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"},"throws":[{"type":"NullPointerException","doc":"if id is null"},{"type":"IllegalArgumentException","doc":"if id is not a valid language or instrument id."}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.getLogger(String, Class)","href":"com/oracle/truffle/api/TruffleLogger.html#getLogger(java.lang.String,java.lang.Class)","name":"getLogger","kind":"method","signature":"public static TruffleLogger getLogger(String id, Class<?> forClass)","summary":"Find or create a logger for a given language or instrument class.","details":"If a logger for the class already exists it's returned, otherwise a new logger is created.","params":[{"name":"id","type":"String","doc":"the unique id of language or instrument"},{"name":"forClass","type":"Class<?>","doc":"the Class to create a logger for"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"},"throws":[{"type":"NullPointerException","doc":"if id or forClass is null"},{"type":"IllegalArgumentException","doc":"if id is not a valid language or instrument id."}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.getLogger(String, String)","href":"com/oracle/truffle/api/TruffleLogger.html#getLogger(java.lang.String,java.lang.String)","name":"getLogger","kind":"method","signature":"public static TruffleLogger getLogger(String id, String loggerName)","summary":"Find or create a logger for a given language or instrument.","details":"If a logger with given name already exists it's returned, otherwise a new logger is created.","params":[{"name":"id","type":"String","doc":"the unique id of language or instrument"},{"name":"loggerName","type":"String","doc":"the name of a TruffleLogger, if a loggerName is null or empty a root logger for language or instrument is returned"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"},"throws":[{"type":"NullPointerException","doc":"if id is null"},{"type":"IllegalArgumentException","doc":"if id is not a valid language or instrument id."}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.config(String)","href":"com/oracle/truffle/api/TruffleLogger.html#config(java.lang.String)","name":"config","kind":"method","signature":"public void config(String message)","summary":"Logs a message with config level.","details":"If the logger is enabled for the config level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.config(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#config(java.util.function.Supplier)","name":"config","kind":"method","signature":"public void config(Supplier<String> messageSupplier)","summary":"Logs a message with config level.","details":"The message is constructed only when the logger is enabled for the config level. If the logger is enabled for the config level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.entering(String, String)","href":"com/oracle/truffle/api/TruffleLogger.html#entering(java.lang.String,java.lang.String)","name":"entering","kind":"method","signature":"public void entering(String sourceClass, String sourceMethod)","summary":"Logs entry into method.","details":"This method can be used to log entry into a method. A LogRecord with message \"ENTRY\" and the given sourceMethod and sourceClass is logged with finer level.","params":[{"name":"sourceClass","type":"String","doc":"the entered class"},{"name":"sourceMethod","type":"String","doc":"the entered method"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.entering(String, String, Object)","href":"com/oracle/truffle/api/TruffleLogger.html#entering(java.lang.String,java.lang.String,java.lang.Object)","name":"entering","kind":"method","signature":"public void entering(String sourceClass, String sourceMethod, Object parameter)","summary":"Logs entry into method with single parameter.","details":"This method can be used to log entry into a method. A LogRecord with message \"ENTRY\", the given sourceMethod and sourceClass and given parameter is logged with finer level.","params":[{"name":"sourceClass","type":"String","doc":"the entered class"},{"name":"sourceMethod","type":"String","doc":"the entered method"},{"name":"parameter","type":"Object","doc":"the method parameter"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.entering(String, String, Object[])","href":"com/oracle/truffle/api/TruffleLogger.html#entering(java.lang.String,java.lang.String,java.lang.Object[])","name":"entering","kind":"method","signature":"public void entering(String sourceClass, String sourceMethod, Object[] parameters)","summary":"Logs entry into method with multiple parameters.","details":"This method can be used to log entry into a method. A LogRecord with message \"ENTRY\", the given sourceMethod and sourceClass and given parameters is logged with finer level.","params":[{"name":"sourceClass","type":"String","doc":"the entered class"},{"name":"sourceMethod","type":"String","doc":"the entered method"},{"name":"parameters","type":"Object[]","doc":"the method parameters"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.exiting(String, String)","href":"com/oracle/truffle/api/TruffleLogger.html#exiting(java.lang.String,java.lang.String)","name":"exiting","kind":"method","signature":"public void exiting(String sourceClass, String sourceMethod)","summary":"Logs a return from method.","details":"This method can be used to log return from a method. A LogRecord with message \"RETURN\" and the given sourceMethod and sourceClass is logged with finer level.","params":[{"name":"sourceClass","type":"String","doc":"the exiting class"},{"name":"sourceMethod","type":"String","doc":"the exiting method"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.exiting(String, String, Object)","href":"com/oracle/truffle/api/TruffleLogger.html#exiting(java.lang.String,java.lang.String,java.lang.Object)","name":"exiting","kind":"method","signature":"public void exiting(String sourceClass, String sourceMethod, Object result)","summary":"Logs a return from method with result.","details":"This method can be used to log return from a method. A LogRecord with message \"RETURN\", the given sourceMethod and sourceClass and method result is logged with finer level.","params":[{"name":"sourceClass","type":"String","doc":"the exiting class"},{"name":"sourceMethod","type":"String","doc":"the exiting method"},{"name":"result","type":"Object","doc":"the return value"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.fine(String)","href":"com/oracle/truffle/api/TruffleLogger.html#fine(java.lang.String)","name":"fine","kind":"method","signature":"public void fine(String message)","summary":"Logs a message with fine level.","details":"If the logger is enabled for the fine level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.fine(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#fine(java.util.function.Supplier)","name":"fine","kind":"method","signature":"public void fine(Supplier<String> messageSupplier)","summary":"Logs a message with fine level.","details":"The message is constructed only when the logger is enabled for the fine level. If the logger is enabled for the fine level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.finer(String)","href":"com/oracle/truffle/api/TruffleLogger.html#finer(java.lang.String)","name":"finer","kind":"method","signature":"public void finer(String message)","summary":"Logs a message with finer level.","details":"If the logger is enabled for the finer level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.finer(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#finer(java.util.function.Supplier)","name":"finer","kind":"method","signature":"public void finer(Supplier<String> messageSupplier)","summary":"Logs a message with finer level.","details":"The message is constructed only when the logger is enabled for the finer level. If the logger is enabled for the finer level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.finest(String)","href":"com/oracle/truffle/api/TruffleLogger.html#finest(java.lang.String)","name":"finest","kind":"method","signature":"public void finest(String message)","summary":"Logs a message with finest level.","details":"If the logger is enabled for the finest level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.finest(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#finest(java.util.function.Supplier)","name":"finest","kind":"method","signature":"public void finest(Supplier<String> messageSupplier)","summary":"Logs a message with finest level.","details":"The message is constructed only when the logger is enabled for the finest level. If the logger is enabled for the finest level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.info(String)","href":"com/oracle/truffle/api/TruffleLogger.html#info(java.lang.String)","name":"info","kind":"method","signature":"public void info(String message)","summary":"Logs a message with info level.","details":"If the logger is enabled for the info level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.info(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#info(java.util.function.Supplier)","name":"info","kind":"method","signature":"public void info(Supplier<String> messageSupplier)","summary":"Logs a message with info level.","details":"The message is constructed only when the logger is enabled for the info level. If the logger is enabled for the info level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.severe(String)","href":"com/oracle/truffle/api/TruffleLogger.html#severe(java.lang.String)","name":"severe","kind":"method","signature":"public void severe(String message)","summary":"Logs a message with severe level.","details":"If the logger is enabled for the severe level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.severe(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#severe(java.util.function.Supplier)","name":"severe","kind":"method","signature":"public void severe(Supplier<String> messageSupplier)","summary":"Logs a message with severe level.","details":"The message is constructed only when the logger is enabled for the severe level. If the logger is enabled for the severe level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.throwing(String, String, T)","href":"com/oracle/truffle/api/TruffleLogger.html#throwing(java.lang.String,java.lang.String,T)","name":"throwing","kind":"method","signature":"public <T extends Throwable> T throwing(String sourceClass, String sourceMethod, T thrown)","summary":"Logs throwing an exception.","details":"This method can be used to log exception thrown from a method. A LogRecord with message \"THROW\",the given sourceMethod and sourceClass and thrown is logged with finer level.","params":[{"name":"sourceClass","type":"String","doc":"the class throwing an exception"},{"name":"sourceMethod","type":"String","doc":"the method throwing an exception"},{"name":"thrown","type":"T","doc":"the thrown exception"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.TruffleLogger.warning(String)","href":"com/oracle/truffle/api/TruffleLogger.html#warning(java.lang.String)","name":"warning","kind":"method","signature":"public void warning(String message)","summary":"Logs a message with warning level.","details":"If the logger is enabled for the warning level the message is sent to the Handler registered in the current Context.","params":[{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.warning(Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#warning(java.util.function.Supplier)","name":"warning","kind":"method","signature":"public void warning(Supplier<String> messageSupplier)","summary":"Logs a message with warning level.","details":"The message is constructed only when the logger is enabled for the warning level. If the logger is enabled for the warning level the message is sent to the Handler registered in the current Context.","params":[{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.log(Level, String)","href":"com/oracle/truffle/api/TruffleLogger.html#log(java.util.logging.Level,java.lang.String)","name":"log","kind":"method","signature":"public void log(Level level, String message)","summary":"Logs a message.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.log(Level, Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#log(java.util.logging.Level,java.util.function.Supplier)","name":"log","kind":"method","signature":"public void log(Level level, Supplier<String> messageSupplier)","summary":"Logs a message.","details":"The message is constructed only when the logger is enabled for the given level. If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.log(Level, String, Object)","href":"com/oracle/truffle/api/TruffleLogger.html#log(java.util.logging.Level,java.lang.String,java.lang.Object)","name":"log","kind":"method","signature":"public void log(Level level, String message, Object parameter)","summary":"Logs a message with single parameter.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"message","type":"String","doc":"the message to log"},{"name":"parameter","type":"Object","doc":"the log message parameter"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.log(Level, String, Object[])","href":"com/oracle/truffle/api/TruffleLogger.html#log(java.util.logging.Level,java.lang.String,java.lang.Object[])","name":"log","kind":"method","signature":"public void log(Level level, String message, Object[] parameters)","summary":"Logs a message with multiple parameters.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"message","type":"String","doc":"the message to log"},{"name":"parameters","type":"Object[]","doc":"the log message parameters"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.log(Level, String, Throwable)","href":"com/oracle/truffle/api/TruffleLogger.html#log(java.util.logging.Level,java.lang.String,java.lang.Throwable)","name":"log","kind":"method","signature":"public void log(Level level, String message, Throwable thrown)","summary":"Logs a message with an exception.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"message","type":"String","doc":"the message to log"},{"name":"thrown","type":"Throwable","doc":"the exception to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.log(Level, Throwable, Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#log(java.util.logging.Level,java.lang.Throwable,java.util.function.Supplier)","name":"log","kind":"method","signature":"public void log(Level level, Throwable thrown, Supplier<String> messageSupplier)","summary":"Logs a message with an exception.","details":"The message is constructed only when the logger is enabled for the given level. If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"thrown","type":"Throwable","doc":"the exception to log"},{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.logp(Level, String, String, String)","href":"com/oracle/truffle/api/TruffleLogger.html#logp(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.String)","name":"logp","kind":"method","signature":"public void logp(Level level, String sourceClass, String sourceMethod, String message)","summary":"Logs a message, specifying source class and source method.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"sourceClass","type":"String","doc":"the class issued the logging request"},{"name":"sourceMethod","type":"String","doc":"the method issued the logging request"},{"name":"message","type":"String","doc":"the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.logp(Level, String, String, Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#logp(java.util.logging.Level,java.lang.String,java.lang.String,java.util.function.Supplier)","name":"logp","kind":"method","signature":"public void logp(Level level, String sourceClass, String sourceMethod, Supplier<String> messageSupplier)","summary":"Logs a message, specifying source class and source method.","details":"The message is constructed only when the logger is enabled for the given level. If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"sourceClass","type":"String","doc":"the class issued the logging request"},{"name":"sourceMethod","type":"String","doc":"the method issued the logging request"},{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.logp(Level, String, String, String, Object)","href":"com/oracle/truffle/api/TruffleLogger.html#logp(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.String,java.lang.Object)","name":"logp","kind":"method","signature":"public void logp(Level level, String sourceClass, String sourceMethod, String message, Object parameter)","summary":"Logs a message with single parameter, specifying source class and source method.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"sourceClass","type":"String","doc":"the class issued the logging request"},{"name":"sourceMethod","type":"String","doc":"the method issued the logging request"},{"name":"message","type":"String","doc":"the message to log"},{"name":"parameter","type":"Object","doc":"the log message parameter"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.logp(Level, String, String, String, Object[])","href":"com/oracle/truffle/api/TruffleLogger.html#logp(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.String,java.lang.Object[])","name":"logp","kind":"method","signature":"public void logp(Level level, String sourceClass, String sourceMethod, String message, Object[] parameters)","summary":"Log a message with multiple parameters, specifying source class and source method.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"sourceClass","type":"String","doc":"the class issued the logging request"},{"name":"sourceMethod","type":"String","doc":"the method issued the logging request"},{"name":"message","type":"String","doc":"the message to log"},{"name":"parameters","type":"Object[]","doc":"the log message parameters"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.logp(Level, String, String, String, Throwable)","href":"com/oracle/truffle/api/TruffleLogger.html#logp(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.String,java.lang.Throwable)","name":"logp","kind":"method","signature":"public void logp(Level level, String sourceClass, String sourceMethod, String message, Throwable thrown)","summary":"Logs a message with an exception, specifying source class and source method.","details":"If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"sourceClass","type":"String","doc":"the class issued the logging request"},{"name":"sourceMethod","type":"String","doc":"the method issued the logging request"},{"name":"message","type":"String","doc":"the message to log"},{"name":"thrown","type":"Throwable","doc":"the exception to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.logp(Level, String, String, Throwable, Supplier)","href":"com/oracle/truffle/api/TruffleLogger.html#logp(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.Throwable,java.util.function.Supplier)","name":"logp","kind":"method","signature":"public void logp(Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> messageSupplier)","summary":"Logs a message with an exception, specifying source class and source method.","details":"The message is constructed only when the logger is enabled for the given level. If the logger is enabled for the given level the message is sent to the Handler registered in the current Context.","params":[{"name":"level","type":"Level","doc":"the required Level"},{"name":"sourceClass","type":"String","doc":"the class issued the logging request"},{"name":"sourceMethod","type":"String","doc":"the method issued the logging request"},{"name":"thrown","type":"Throwable","doc":"the exception to log"},{"name":"messageSupplier","type":"Supplier<String>","doc":"the Supplier called to produce the message to log"}]}
{"symbol":"com.oracle.truffle.api.TruffleLogger.getName()","href":"com/oracle/truffle/api/TruffleLogger.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Returns the name of the logger.","returns":{"type":"String","doc":"the logger name"}}
{"symbol":"com.oracle.truffle.api.TruffleLogger.getParent()","href":"com/oracle/truffle/api/TruffleLogger.html#getParent()","name":"getParent","kind":"method","signature":"public TruffleLogger getParent()","summary":"Returns the parent TruffleLogger.","returns":{"type":"TruffleLogger","doc":"the parent TruffleLogger or null when the TruffleLogger has no parent."}}
{"symbol":"com.oracle.truffle.api.TruffleLogger.isLoggable(Level)","href":"com/oracle/truffle/api/TruffleLogger.html#isLoggable(java.util.logging.Level)","name":"isLoggable","kind":"method","signature":"public boolean isLoggable(Level level)","summary":"Checks if a message of the given level would be logged by this logger.","params":[{"name":"level","type":"Level","doc":"the required logging level"}],"returns":{"type":"boolean","doc":"true if message is loggable by this logger"}}
{"symbol":"com.oracle.truffle.api.TruffleOptionDescriptors","href":"com/oracle/truffle/api/TruffleOptionDescriptors.html","name":"TruffleOptionDescriptors","kind":"interface","signature":"public interface TruffleOptionDescriptors extends OptionDescriptors","summary":"An OptionDescriptors enhanced to provide a sandbox policy for options."}
{"symbol":"com.oracle.truffle.api.TruffleOptionDescriptors.getSandboxPolicy(String)","href":"com/oracle/truffle/api/TruffleOptionDescriptors.html#getSandboxPolicy(java.lang.String)","name":"getSandboxPolicy","kind":"method","signature":"SandboxPolicy getSandboxPolicy(String key)","summary":"Returns a SandboxPolicy for an option key.","params":[{"name":"key","type":"String"}],"returns":{"type":"SandboxPolicy"}}
{"symbol":"com.oracle.truffle.api.TruffleOptions","href":"com/oracle/truffle/api/TruffleOptions.html","name":"TruffleOptions","kind":"class","signature":"public final class TruffleOptions","summary":"Class containing general Truffle options."}
{"symbol":"com.oracle.truffle.api.TruffleOptions.TraceRewrites","href":"com/oracle/truffle/api/TruffleOptions.html#TraceRewrites","name":"TraceRewrites","kind":"field","signature":"public static final boolean TraceRewrites","summary":"Enables/disables the rewriting of traces in the Truffle runtime to stdout.","details":"Can be set with -Dtruffle.TraceRewrites=true."}
{"symbol":"com.oracle.truffle.api.TruffleOptions.DetailedRewriteReasons","href":"com/oracle/truffle/api/TruffleOptions.html#DetailedRewriteReasons","name":"DetailedRewriteReasons","kind":"field","signature":"public static final boolean DetailedRewriteReasons","summary":"Enables the generation of detailed rewrite reasons.","details":"Enabling this may introduce some overhead for rewriting nodes. Can be set with -Dtruffle.DetailedRewriteReasons=true."}
{"symbol":"com.oracle.truffle.api.TruffleOptions.DetailedAssertions","href":"com/oracle/truffle/api/TruffleOptions.html#DetailedAssertions","name":"DetailedAssertions","kind":"field","signature":"public static final boolean DetailedAssertions","summary":"Enables expensive assertions in Truffle and guest language implementations.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleOptions.TraceRewritesFilterClass","href":"com/oracle/truffle/api/TruffleOptions.html#TraceRewritesFilterClass","name":"TraceRewritesFilterClass","kind":"field","signature":"public static final String TraceRewritesFilterClass","summary":"Filters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.","details":"Can be set with -Dtruffle.TraceRewritesFilterClass=name."}
{"symbol":"com.oracle.truffle.api.TruffleOptions.TraceRewritesFilterFromCost","href":"com/oracle/truffle/api/TruffleOptions.html#TraceRewritesFilterFromCost","name":"TraceRewritesFilterFromCost","kind":"field","signature":"public static final NodeCost TraceRewritesFilterFromCost","deprecated":{"doc":"in 24.1 without replacement"}}
{"symbol":"com.oracle.truffle.api.TruffleOptions.TraceRewritesFilterToCost","href":"com/oracle/truffle/api/TruffleOptions.html#TraceRewritesFilterToCost","name":"TraceRewritesFilterToCost","kind":"field","signature":"public static final NodeCost TraceRewritesFilterToCost","deprecated":{"doc":"in 24.1 without replacement"}}
{"symbol":"com.oracle.truffle.api.TruffleOptions.AOT","href":"com/oracle/truffle/api/TruffleOptions.html#AOT","name":"AOT","kind":"field","signature":"public static final boolean AOT","summary":"Forces ahead-of-time initialization."}
{"symbol":"com.oracle.truffle.api.TruffleRuntime","href":"com/oracle/truffle/api/TruffleRuntime.html","name":"TruffleRuntime","kind":"interface","signature":"public interface TruffleRuntime","summary":"Interface representing a Truffle runtime object.","details":"The runtime is responsible for creating call targets and performing optimizations for them."}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.getName()","href":"com/oracle/truffle/api/TruffleRuntime.html#getName()","name":"getName","kind":"method","signature":"String getName()","summary":"Name describing this runtime implementation for debugging purposes.","returns":{"type":"String","doc":"the name as a String"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createDirectCallNode(CallTarget)","href":"com/oracle/truffle/api/TruffleRuntime.html#createDirectCallNode(com.oracle.truffle.api.CallTarget)","name":"createDirectCallNode","kind":"method","signature":"default DirectCallNode createDirectCallNode(CallTarget target)","summary":"Creates a new runtime specific version of DirectCallNode.","params":[{"name":"target","type":"CallTarget","doc":"the direct CallTarget to call"}],"returns":{"type":"DirectCallNode","doc":"the new call node"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createLoopNode(RepeatingNode)","href":"com/oracle/truffle/api/TruffleRuntime.html#createLoopNode(com.oracle.truffle.api.nodes.RepeatingNode)","name":"createLoopNode","kind":"method","signature":"LoopNode createLoopNode(RepeatingNode body)","summary":"Creates a new loop node with an implementation provided by a Truffle runtime implementation.","details":"Using Truffle loop nodes allows the runtime to do additional optimizations such as on stack replacement for loops.","params":[{"name":"body","type":"RepeatingNode"}],"returns":{"type":"LoopNode"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createIndirectCallNode()","href":"com/oracle/truffle/api/TruffleRuntime.html#createIndirectCallNode()","name":"createIndirectCallNode","kind":"method","signature":"default IndirectCallNode createIndirectCallNode()","summary":"Creates a new runtime specific version of IndirectCallNode.","returns":{"type":"IndirectCallNode","doc":"the new call node"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createAssumption()","href":"com/oracle/truffle/api/TruffleRuntime.html#createAssumption()","name":"createAssumption","kind":"method","signature":"Assumption createAssumption()","summary":"Creates a new assumption object that can be checked and invalidated.","returns":{"type":"Assumption","doc":"the newly created assumption object"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createAssumption(String)","href":"com/oracle/truffle/api/TruffleRuntime.html#createAssumption(java.lang.String)","name":"createAssumption","kind":"method","signature":"Assumption createAssumption(String name)","summary":"Creates a new assumption object with a given name that can be checked and invalidated.","params":[{"name":"name","type":"String","doc":"the name for the new assumption"}],"returns":{"type":"Assumption","doc":"the newly created assumption object"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createVirtualFrame(Object[], FrameDescriptor)","href":"com/oracle/truffle/api/TruffleRuntime.html#createVirtualFrame(java.lang.Object[],com.oracle.truffle.api.frame.FrameDescriptor)","name":"createVirtualFrame","kind":"method","signature":"VirtualFrame createVirtualFrame(Object[] arguments, FrameDescriptor frameDescriptor)","summary":"Creates a new virtual frame object that can be used to store values and is potentially optimizable by the runtime.","params":[{"name":"arguments","type":"Object[]"},{"name":"frameDescriptor","type":"FrameDescriptor"}],"returns":{"type":"VirtualFrame","doc":"the newly created virtual frame object"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createMaterializedFrame(Object[])","href":"com/oracle/truffle/api/TruffleRuntime.html#createMaterializedFrame(java.lang.Object[])","name":"createMaterializedFrame","kind":"method","signature":"MaterializedFrame createMaterializedFrame(Object[] arguments)","summary":"Creates a new materialized frame object that can be used to store values.","params":[{"name":"arguments","type":"Object[]"}],"returns":{"type":"MaterializedFrame","doc":"the newly created materialized frame object"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.createMaterializedFrame(Object[], FrameDescriptor)","href":"com/oracle/truffle/api/TruffleRuntime.html#createMaterializedFrame(java.lang.Object[],com.oracle.truffle.api.frame.FrameDescriptor)","name":"createMaterializedFrame","kind":"method","signature":"MaterializedFrame createMaterializedFrame(Object[] arguments, FrameDescriptor frameDescriptor)","summary":"Creates a new materialized frame object with the given frame descriptor that can be used to store values.","params":[{"name":"arguments","type":"Object[]"},{"name":"frameDescriptor","type":"FrameDescriptor","doc":"the frame descriptor describing this frame's values"}],"returns":{"type":"MaterializedFrame","doc":"the newly created materialized frame object"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.iterateFrames(FrameInstanceVisitor)","href":"com/oracle/truffle/api/TruffleRuntime.html#iterateFrames(com.oracle.truffle.api.frame.FrameInstanceVisitor)","name":"iterateFrames","kind":"method","signature":"default <T> T iterateFrames(FrameInstanceVisitor<T> visitor)","summary":"Accesses the current stack, i.e., the contents of the Frames and the associated CallTargets.","detailsOmitted":true,"params":[{"name":"visitor","type":"FrameInstanceVisitor<T>","doc":"the visitor that is called for every matching frame."}],"returns":{"type":"T","doc":"the last result returned by the visitor (which is non-null to indicate that iteration should stop), or null if the whole stack was iterated."}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.iterateFrames(FrameInstanceVisitor, int)","href":"com/oracle/truffle/api/TruffleRuntime.html#iterateFrames(com.oracle.truffle.api.frame.FrameInstanceVisitor,int)","name":"iterateFrames","kind":"method","signature":"default <T> T iterateFrames(FrameInstanceVisitor<T> visitor, int skipFrames)","summary":"Accesses the current stack, i.e., the contents of the Frames and the associated CallTargets.","detailsOmitted":true,"params":[{"name":"visitor","type":"FrameInstanceVisitor<T>","doc":"the visitor that is called for every matching frame."},{"name":"skipFrames","type":"int","doc":"number of frames to skip before invoking the visitor"}],"returns":{"type":"T","doc":"the last result returned by the visitor (which is non-null to indicate that iteration should stop), or null if the whole stack was iterated."}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.getCapability(Class)","href":"com/oracle/truffle/api/TruffleRuntime.html#getCapability(java.lang.Class)","name":"getCapability","kind":"method","signature":"<T> T getCapability(Class<T> capability)","summary":"Requests a capability from the runtime.","params":[{"name":"capability","type":"Class<T>","doc":"the type of the interface representing the capability"}],"returns":{"type":"T","doc":"an implementation of the capability or null if the runtime does not offer it"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.notifyTransferToInterpreter()","href":"com/oracle/truffle/api/TruffleRuntime.html#notifyTransferToInterpreter()","name":"notifyTransferToInterpreter","kind":"method","signature":"void notifyTransferToInterpreter()","summary":"Internal API method.","details":"Do not use."}
{"symbol":"com.oracle.truffle.api.TruffleRuntime.isProfilingEnabled()","href":"com/oracle/truffle/api/TruffleRuntime.html#isProfilingEnabled()","name":"isProfilingEnabled","kind":"method","signature":"boolean isProfilingEnabled()","summary":"Whether or not the TruffleRuntime implementation can or wants to use gathered profiling information Truffle compilation.","details":"If this method returns false then all profiles in the com.oracle.truffle.api.utilities package are returning void implementations. If it returns true then all implementations gather profilinig information.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntimeAccess","href":"com/oracle/truffle/api/TruffleRuntimeAccess.html","name":"TruffleRuntimeAccess","kind":"interface","signature":"public interface TruffleRuntimeAccess","summary":"A service that provides access to a TruffleRuntime implementation."}
{"symbol":"com.oracle.truffle.api.TruffleRuntimeAccess.getRuntime()","href":"com/oracle/truffle/api/TruffleRuntimeAccess.html#getRuntime()","name":"getRuntime","kind":"method","signature":"TruffleRuntime getRuntime()","summary":"Gets the TruffleRuntime implementation available via this access object.","returns":{"type":"TruffleRuntime"}}
{"symbol":"com.oracle.truffle.api.TruffleRuntimeAccess.getPriority()","href":"com/oracle/truffle/api/TruffleRuntimeAccess.html#getPriority()","name":"getPriority","kind":"method","signature":"default int getPriority()","summary":"Allows disambiguation if more than one TruffleRuntime implementation is available.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint","href":"com/oracle/truffle/api/TruffleSafepoint.html","name":"TruffleSafepoint","kind":"class","signature":"public abstract class TruffleSafepoint","summary":"Truffle safepoints allow interrupting the guest language execution to execute thread-local actions submitted by a language or tool.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint(Accessor.EngineSupport)","href":"com/oracle/truffle/api/TruffleSafepoint.html#%3Cinit%3E(com.oracle.truffle.api.impl.Accessor.EngineSupport)","name":"TruffleSafepoint","kind":"constructor","signature":"protected TruffleSafepoint(Accessor.EngineSupport support)","summary":"Do not extend this class.","details":"This class is intended to be implemented by a Truffle runtime implementation.","params":[{"name":"support","type":"Accessor.EngineSupport"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.poll(Node)","href":"com/oracle/truffle/api/TruffleSafepoint.html#poll(com.oracle.truffle.api.nodes.Node)","name":"poll","kind":"method","signature":"public static void poll(Node location)","summary":"Polls a safepoint at the provided location.","detailsOmitted":true,"params":[{"name":"location","type":"Node","doc":"the location of the poll. May be null, but it is recommended to always pass a location node, if available."}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.pollHere(Node)","href":"com/oracle/truffle/api/TruffleSafepoint.html#pollHere(com.oracle.truffle.api.nodes.Node)","name":"pollHere","kind":"method","signature":"public static void pollHere(Node location)","summary":"Similar to poll(Node) but with exact location.","details":"A poll with relaxed location is significantly more efficient than a poll with precise location as the compiler is able to move and combine the poll requests during compilation. This method is safe to be used on compiled code paths. Usage example: TruffleSafepoint safepoint = TruffleSafepoint.getCurrent(); boolean prev = safepoint.setAllowSideEffects(false); try { // criticial section } finally { safepoint.setAllowSideEffects(prev); TruffleSafepoint.pollHere(this); }","params":[{"name":"location","type":"Node","doc":"the location of the poll. Must not be null."}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setBlockedWithException(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible, T, Runnable, Consumer)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setBlockedWithException(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.TruffleSafepoint.Interrupter,com.oracle.truffle.api.TruffleSafepoint.Interruptible,T,java.lang.Runnable,java.util.function.Consumer)","name":"setBlockedWithException","kind":"method","signature":"public <T> void setBlockedWithException(Node location, TruffleSafepoint.Interrupter interrupter, TruffleSafepoint.Interruptible<T> interruptible, T object, Runnable beforeInterrupt, Consumer<Throwable> afterInterrupt)","summary":"Transitions the current thread into a blocked state and calls an interruptible functional method.","detailsOmitted":true,"deprecated":{"doc":"Use setBlocked(Node, Interrupter, Interruptible, Object, Runnable, Consumer)"},"params":[{"name":"location","type":"Node"},{"name":"interrupter","type":"TruffleSafepoint.Interrupter"},{"name":"interruptible","type":"TruffleSafepoint.Interruptible<T>"},{"name":"object","type":"T"},{"name":"beforeInterrupt","type":"Runnable"},{"name":"afterInterrupt","type":"Consumer<Throwable>"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setBlockedFunction(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.InterruptibleFunction, T, Runnable, Consumer)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setBlockedFunction(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.TruffleSafepoint.Interrupter,com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction,T,java.lang.Runnable,java.util.function.Consumer)","name":"setBlockedFunction","kind":"method","signature":"public abstract <T, R> R setBlockedFunction(Node location, TruffleSafepoint.Interrupter interrupter, TruffleSafepoint.InterruptibleFunction<T, R> interruptible, T object, Runnable beforeInterrupt, Consumer<Throwable> afterInterrupt)","summary":"Transitions the current thread into a blocked state and calls an interruptible functional method.","detailsOmitted":true,"params":[{"name":"location","type":"Node"},{"name":"interrupter","type":"TruffleSafepoint.Interrupter"},{"name":"interruptible","type":"TruffleSafepoint.InterruptibleFunction<T, R>"},{"name":"object","type":"T"},{"name":"beforeInterrupt","type":"Runnable"},{"name":"afterInterrupt","type":"Consumer<Throwable>"}],"returns":{"type":"R"}}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setBlocked(Node, TruffleSafepoint.Interrupter, TruffleSafepoint.Interruptible, T, Runnable, Consumer)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setBlocked(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.TruffleSafepoint.Interrupter,com.oracle.truffle.api.TruffleSafepoint.Interruptible,T,java.lang.Runnable,java.util.function.Consumer)","name":"setBlocked","kind":"method","signature":"public abstract <T> void setBlocked(Node location, TruffleSafepoint.Interrupter interrupter, TruffleSafepoint.Interruptible<T> interruptible, T object, Runnable beforeInterrupt, Consumer<Throwable> afterInterrupt)","summary":"The same as setBlockedFunction(Node, Interrupter, InterruptibleFunction, Object, Runnable, Consumer).","details":"The only difference is that the interruptible functional method does not return anything.","params":[{"name":"location","type":"Node"},{"name":"interrupter","type":"TruffleSafepoint.Interrupter"},{"name":"interruptible","type":"TruffleSafepoint.Interruptible<T>"},{"name":"object","type":"T"},{"name":"beforeInterrupt","type":"Runnable"},{"name":"afterInterrupt","type":"Consumer<Throwable>"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setBlockedThreadInterruptible(Node, TruffleSafepoint.Interruptible, T)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setBlockedThreadInterruptible(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.TruffleSafepoint.Interruptible,T)","name":"setBlockedThreadInterruptible","kind":"method","signature":"public static <T> void setBlockedThreadInterruptible(Node location, TruffleSafepoint.Interruptible<T> interruptible, T object)","summary":"Short-cut method to allow setting the blocked status for methods that throw InterruptedException and support interrupting using Thread.interrupt().","params":[{"name":"location","type":"Node","doc":"the location with which the safepoint should be polled."},{"name":"interruptible","type":"TruffleSafepoint.Interruptible<T>","doc":"the thread interruptable method to use for locking the object"},{"name":"object","type":"T","doc":"the instance to use the interruptable method with."}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setBlockedThreadInterruptibleFunction(Node, TruffleSafepoint.InterruptibleFunction, T)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setBlockedThreadInterruptibleFunction(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction,T)","name":"setBlockedThreadInterruptibleFunction","kind":"method","signature":"public static <T, R> R setBlockedThreadInterruptibleFunction(Node location, TruffleSafepoint.InterruptibleFunction<T, R> interruptible, T object)","summary":"Short-cut method to allow setting the blocked status for methods that throw InterruptedException and support interrupting using Thread.interrupt().","params":[{"name":"location","type":"Node","doc":"the location with which the safepoint should be polled."},{"name":"interruptible","type":"TruffleSafepoint.InterruptibleFunction<T, R>","doc":"the thread interruptable method to use for locking the object"},{"name":"object","type":"T","doc":"the instance to use the interruptable method with."}],"returns":{"type":"R"}}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setAllowActions(boolean)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setAllowActions(boolean)","name":"setAllowActions","kind":"method","signature":"public abstract boolean setAllowActions(boolean enabled) throws IllegalStateException","summary":"Allows to temporarily delay all thread local actions on the current thread.","detailsOmitted":true,"params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"boolean"},"throws":[{"type":"IllegalStateException","doc":"if allow actions can currently not be set, for example outside the scope of a context finalization."}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.setAllowSideEffects(boolean)","href":"com/oracle/truffle/api/TruffleSafepoint.html#setAllowSideEffects(boolean)","name":"setAllowSideEffects","kind":"method","signature":"public abstract boolean setAllowSideEffects(boolean enabled)","summary":"Allows to temporarily delay side-effecting thread local actions on the current thread.","detailsOmitted":true,"params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.hasPendingSideEffectingActions()","href":"com/oracle/truffle/api/TruffleSafepoint.html#hasPendingSideEffectingActions()","name":"hasPendingSideEffectingActions","kind":"method","signature":"public abstract boolean hasPendingSideEffectingActions()","summary":"Returns whether there is any pending side-effecting thread local action on this thread, due to being in a critical section using setAllowSideEffects(boolean).","details":"When side-effecting actions are allowed, this method always returns false. This is useful if the language exposes a way to know if there are any pending side-effecting thread local action due to using setAllowSideEffects(boolean).","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.getCurrent()","href":"com/oracle/truffle/api/TruffleSafepoint.html#getCurrent()","name":"getCurrent","kind":"method","signature":"public static TruffleSafepoint getCurrent()","summary":"Returns the current safepoint configuration for the current thread.","details":"This method is useful to access configuration methods like setBlocked(Node, Interrupter, Interruptible, Object, Runnable, Consumer) or setAllowSideEffects(boolean). Important: The result of this method must not be stored or used on a different thread than the current thread.","returns":{"type":"TruffleSafepoint"},"throws":[{"type":"IllegalStateException","doc":"if the current thread is not entered with a polyglot context."}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptible","href":"com/oracle/truffle/api/TruffleSafepoint.CompiledInterruptible.html","name":"TruffleSafepoint.CompiledInterruptible","kind":"interface","signature":"public interface TruffleSafepoint.CompiledInterruptible<T> extends TruffleSafepoint.Interruptible<T>","summary":"Just like Interruptible but allows partial evaluation."}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptible.apply(T)","href":"com/oracle/truffle/api/TruffleSafepoint.CompiledInterruptible.html#apply(T)","name":"apply","kind":"method","signature":"void apply(T arg) throws InterruptedException","summary":"Runs the interruptable method for a given object.","params":[{"name":"arg","type":"T"}],"throws":[{"type":"InterruptedException"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptibleFunction","href":"com/oracle/truffle/api/TruffleSafepoint.CompiledInterruptibleFunction.html","name":"TruffleSafepoint.CompiledInterruptibleFunction","kind":"interface","signature":"public interface TruffleSafepoint.CompiledInterruptibleFunction<T, R> extends TruffleSafepoint.InterruptibleFunction<T, R>","summary":"Just like InterruptibleFunction but allows partial evaluation."}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.CompiledInterruptibleFunction.apply(T)","href":"com/oracle/truffle/api/TruffleSafepoint.CompiledInterruptibleFunction.html#apply(T)","name":"apply","kind":"method","signature":"R apply(T arg) throws InterruptedException","summary":"Runs the interruptible method for a given object.","params":[{"name":"arg","type":"T"}],"returns":{"type":"R"},"throws":[{"type":"InterruptedException"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.Interrupter","href":"com/oracle/truffle/api/TruffleSafepoint.Interrupter.html","name":"TruffleSafepoint.Interrupter","kind":"interface","signature":"public interface TruffleSafepoint.Interrupter","summary":"An interrupter allows a foreign thread to interrupt the execution on a separate thread.","details":"Used to allow the Truffle safepoint mechanism to interrupt a blocked thread and schedule a safepoint."}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.Interrupter.interrupt(Thread)","href":"com/oracle/truffle/api/TruffleSafepoint.Interrupter.html#interrupt(java.lang.Thread)","name":"interrupt","kind":"method","signature":"void interrupt(Thread thread)","summary":"Sets the interrupted state on a foreign thread.","details":"Internal locks are held while this method is invoked, therefore this method must not block or run complex or guest language code that could cause deadlocks.","params":[{"name":"thread","type":"Thread","doc":"the thread to interrupt"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.Interrupter.resetInterrupted()","href":"com/oracle/truffle/api/TruffleSafepoint.Interrupter.html#resetInterrupted()","name":"resetInterrupted","kind":"method","signature":"void resetInterrupted()","summary":"Resets the interrupted state when executing on a thread after the thread was interrupted.","details":"If a thread was interrupted it is guaranteed to be reset at least once, but might be reset multiple times. Internal locks are held while this method is invoked, therefore this method must not block or run complex or guest language code that could cause deadlocks."}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.Interrupter.THREAD_INTERRUPT","href":"com/oracle/truffle/api/TruffleSafepoint.Interrupter.html#THREAD_INTERRUPT","name":"THREAD_INTERRUPT","kind":"field","signature":"TruffleSafepoint.Interrupter THREAD_INTERRUPT","summary":"A thread interrupter implementation that uses Thread.interrupt() and Thread.interrupted() to clear the thread state.","details":"THREAD_INTERRUPT = new Interrupter() { @Override public void interrupt(Thread t) { t.interrupt(); } @Override public void interrupted() { Thread.interrupted(); } };"}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.Interruptible","href":"com/oracle/truffle/api/TruffleSafepoint.Interruptible.html","name":"TruffleSafepoint.Interruptible","kind":"interface","signature":"public interface TruffleSafepoint.Interruptible<T>","summary":"Function interface that represent interruptable Java methods.","details":"Examples are Lock::lockInterruptibly or Semaphore::acquire. If used directly implies a boundary. Use CompiledInterruptible if you need partial evaluation for this functional interface."}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.Interruptible.apply(T)","href":"com/oracle/truffle/api/TruffleSafepoint.Interruptible.html#apply(T)","name":"apply","kind":"method","signature":"void apply(T arg) throws InterruptedException","summary":"Runs the interruptable method for a given object.","params":[{"name":"arg","type":"T"}],"throws":[{"type":"InterruptedException"}]}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction","href":"com/oracle/truffle/api/TruffleSafepoint.InterruptibleFunction.html","name":"TruffleSafepoint.InterruptibleFunction","kind":"interface","signature":"public interface TruffleSafepoint.InterruptibleFunction<T, R>","summary":"Function interface that represent interruptable Java methods.","details":"Examples are Lock::lockInterruptibly or Semaphore::acquire. If used directly implies a boundary. Use CompiledInterruptibleFunction if you need partial evaluation for this functional interface."}
{"symbol":"com.oracle.truffle.api.TruffleSafepoint.InterruptibleFunction.apply(T)","href":"com/oracle/truffle/api/TruffleSafepoint.InterruptibleFunction.html#apply(T)","name":"apply","kind":"method","signature":"R apply(T arg) throws InterruptedException","summary":"Runs the interruptible method for a given object.","params":[{"name":"arg","type":"T"}],"returns":{"type":"R"},"throws":[{"type":"InterruptedException"}]}
{"symbol":"com.oracle.truffle.api.TruffleStackTrace","href":"com/oracle/truffle/api/TruffleStackTrace.html","name":"TruffleStackTrace","kind":"class","signature":"public final class TruffleStackTrace extends Exception","summary":"Represents a guest language stack trace.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.TruffleStackTrace.fillInStackTrace()","href":"com/oracle/truffle/api/TruffleStackTrace.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public Throwable fillInStackTrace()","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTrace.toString()","href":"com/oracle/truffle/api/TruffleStackTrace.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTrace.getStackTrace(Throwable)","href":"com/oracle/truffle/api/TruffleStackTrace.html#getStackTrace(java.lang.Throwable)","name":"getStackTrace","kind":"method","signature":"public static List<TruffleStackTraceElement> getStackTrace(Throwable throwable)","summary":"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.","details":"This method fills in the stacktrace by calling fillIn(Throwable), so it is not necessary to call fillIn(Throwable) before. The returned list is not modifiable. The number of stack trace elements that are filled in can be customized by the stackTraceElementLimit parameter of the AbstractTruffleException constructor.","params":[{"name":"throwable","type":"Throwable","doc":"the Throwable instance to look for guest language frames"}],"returns":{"type":"List<TruffleStackTraceElement>"},"throws":[{"type":"NullPointerException","doc":"if the Throwable is null"}]}
{"symbol":"com.oracle.truffle.api.TruffleStackTrace.getAsynchronousStackTrace(CallTarget, Frame)","href":"com/oracle/truffle/api/TruffleStackTrace.html#getAsynchronousStackTrace(com.oracle.truffle.api.CallTarget,com.oracle.truffle.api.frame.Frame)","name":"getAsynchronousStackTrace","kind":"method","signature":"public static List<TruffleStackTraceElement> getAsynchronousStackTrace(CallTarget target, Frame frame)","summary":"Returns asynchronous guest language stack frames that led to the execution of given CallTarget on the given Frame.","details":"Returns null if no asynchronous stack is known. Call this with a context entered only. Languages might not provide asynchronous stack frames by default for performance reasons. Instruments might need to instruct languages to provide the asynchronous stacks.","params":[{"name":"target","type":"CallTarget"},{"name":"frame","type":"Frame"}],"returns":{"type":"List<TruffleStackTraceElement>","doc":"a list of asynchronous frames, or null."}}
{"symbol":"com.oracle.truffle.api.TruffleStackTrace.fillIn(Throwable)","href":"com/oracle/truffle/api/TruffleStackTrace.html#fillIn(java.lang.Throwable)","name":"fillIn","kind":"method","signature":"public static TruffleStackTrace fillIn(Throwable throwable)","summary":"Fills in the guest language stack frames from the current frames on the stack.","details":"If the stack was already filled before then this method has no effect. The number stack trace elements that are filled in can be customized by the stackTraceElementLimit parameter of the AbstractTruffleException constructor. The implementation attaches a lightweight exception object as a suppressed exception to internal and host (but not guest) exceptions.","params":[{"name":"throwable","type":"Throwable","doc":"the Throwable to fill"}],"returns":{"type":"TruffleStackTrace"},"throws":[{"type":"NullPointerException","doc":"if the Throwable is null"}]}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement","href":"com/oracle/truffle/api/TruffleStackTraceElement.html","name":"TruffleStackTraceElement","kind":"class","signature":"public final class TruffleStackTraceElement","summary":"Represents a guest stack trace element."}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.create(Node, RootCallTarget, Frame)","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#create(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.RootCallTarget,com.oracle.truffle.api.frame.Frame)","name":"create","kind":"method","signature":"public static TruffleStackTraceElement create(Node location, RootCallTarget target, Frame frame)","summary":"Create a new stack trace element.","params":[{"name":"location","type":"Node","doc":"See getLocation()"},{"name":"target","type":"RootCallTarget","doc":"See getTarget()"},{"name":"frame","type":"Frame","doc":"See getFrame()"}],"returns":{"type":"TruffleStackTraceElement"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.create(Node, RootCallTarget, Frame, int)","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#create(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.RootCallTarget,com.oracle.truffle.api.frame.Frame,int)","name":"create","kind":"method","signature":"public static TruffleStackTraceElement create(Node location, RootCallTarget target, Frame frame, int bytecodeIndex)","summary":"Create a new stack trace element.","params":[{"name":"location","type":"Node","doc":"See getLocation()"},{"name":"target","type":"RootCallTarget","doc":"See getTarget()"},{"name":"frame","type":"Frame","doc":"See getFrame()"},{"name":"bytecodeIndex","type":"int","doc":"See getBytecodeIndex()"}],"returns":{"type":"TruffleStackTraceElement"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.getLocation()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#getLocation()","name":"getLocation","kind":"method","signature":"public Node getLocation()","summary":"Returns a node representing the callsite on the stack.","details":"Returns null if no detailed callsite information is available. This is the case when CallTarget.call(Object...) is used or for the top-of-the-stack element or if the exception is an internal exception or the com.oracle.truffle.api.exception.AbstractTruffleException.getLocation() returned null. See FrameInstance.getCallNode() for the relation between callsite and CallTarget.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.getInstrumentableLocation()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#getInstrumentableLocation()","name":"getInstrumentableLocation","kind":"method","signature":"public Node getInstrumentableLocation()","summary":"Returns an instrumentable call node from a frame instance.","detailsOmitted":true,"returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.getTarget()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#getTarget()","name":"getTarget","kind":"method","signature":"public RootCallTarget getTarget()","summary":"Returns the call target on the stack.","details":"Never returns null. See FrameInstance.getCallNode() for the relation between callsite and CallTarget.","returns":{"type":"RootCallTarget"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.getFrame()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#getFrame()","name":"getFrame","kind":"method","signature":"public Frame getFrame()","summary":"Returns the read-only frame.","details":"Returns null if the initial RootNode that filled in the stack trace did not request frames to be captured by overriding RootNode.isCaptureFramesForTrace(Node). Bytecode DSL note: This method should not be used with Bytecode DSL interpreters. See com.oracle.truffle.api.bytecode.GenerateBytecode.captureFramesForTrace and com.oracle.truffle.api.bytecode.BytecodeFrame for more information.","returns":{"type":"Frame"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.hasBytecodeIndex()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#hasBytecodeIndex()","name":"hasBytecodeIndex","kind":"method","signature":"public boolean hasBytecodeIndex()","summary":"Returns true if the stack trace element contains a valid bytecode index, else false.","details":"If this method returns false then getBytecodeIndex() will return a negative int value.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.getBytecodeIndex()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#getBytecodeIndex()","name":"getBytecodeIndex","kind":"method","signature":"public int getBytecodeIndex()","summary":"Returns the bytecode index at the time when this frame was created.","details":"If no bytecode index was captured then a negative int value is returned. When the stack trace element is captured RootNode.findBytecodeIndex is invoked to resolve the byte code index returned by this method.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.getGuestObject()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#getGuestObject()","name":"getGuestObject","kind":"method","signature":"public Object getGuestObject()","summary":"Returns an interop object representing this TruffleStackTraceElement supporting the hasExecutableName and potentially hasDeclaringMetaObject and hasSourceLocation messages.","details":"This method must only be called on an interpreter thread with a valid entered. The current entered context can be accessed through the language or instrument environment.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.TruffleStackTraceElement.toString()","href":"com/oracle/truffle/api/TruffleStackTraceElement.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder","href":"com/oracle/truffle/api/TruffleThreadBuilder.html","name":"TruffleThreadBuilder","kind":"class","signature":"public final class TruffleThreadBuilder","summary":"A builder for threads that have access to the appropriate TruffleContext.","details":"The context is either the one that corresponds to the language environment that was used to create the builder, or the one specified by TruffleThreadBuilder.context(TruffleContext). The method TruffleLanguage.Env.newTruffleThreadBuilder(Runnable) is the only way to create the builder. Threads without an associated context should be created by TruffleLanguage.Env.createSystemThread(Runnable)."}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.context(TruffleContext)","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#context(com.oracle.truffle.api.TruffleContext)","name":"context","kind":"method","signature":"public TruffleThreadBuilder context(TruffleContext innerContext)","summary":"Specifies TruffleContext for the threads created by the builder.","details":"It has to be an inner context created by TruffleLanguage.Env.newInnerContextBuilder(String...).build(). If not specified, the context associated with the language environment that created this builder is used (TruffleLanguage.Env.getContext()). Threads without an associated context should be created by TruffleLanguage.Env.createSystemThread(Runnable).","params":[{"name":"innerContext","type":"TruffleContext","doc":"TruffleContext for the threads created by this builder."}],"returns":{"type":"TruffleThreadBuilder"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.threadGroup(ThreadGroup)","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#threadGroup(java.lang.ThreadGroup)","name":"threadGroup","kind":"method","signature":"public TruffleThreadBuilder threadGroup(ThreadGroup g)","summary":"Specifies thread group for the threads created by this builder.","params":[{"name":"g","type":"ThreadGroup","doc":"thread group for the threads created by this builder."}],"returns":{"type":"TruffleThreadBuilder"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.stackSize(long)","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#stackSize(long)","name":"stackSize","kind":"method","signature":"public TruffleThreadBuilder stackSize(long size)","summary":"Specifies stack size for the threads created by this builder.","details":"The default is 0 which means that the parameter is ignored.","params":[{"name":"size","type":"long","doc":"stack size for the threads created by this builder."}],"returns":{"type":"TruffleThreadBuilder"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.beforeEnter(Runnable)","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#beforeEnter(java.lang.Runnable)","name":"beforeEnter","kind":"method","signature":"public TruffleThreadBuilder beforeEnter(Runnable r)","summary":"Specifies before enter notification for the threads created by this builder.","details":"The notification runnable is invoked on the thread when the threads starts before the context is entered on the thread. The default value for the notification runnable is null which means that no notification is executed. If the notification runnable throws an exception, it is propagated up and can be handled by an uncaught exception handler","params":[{"name":"r","type":"Runnable","doc":"before enter notification runnable for the threads created by this builder."}],"returns":{"type":"TruffleThreadBuilder"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.afterLeave(Runnable)","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#afterLeave(java.lang.Runnable)","name":"afterLeave","kind":"method","signature":"public TruffleThreadBuilder afterLeave(Runnable r)","summary":"Specifies after leave notification for the threads created by this builder.","details":"The notification runnable is invoked on the thread after the thread leaves the context for the last time, i.e. the thread is about to finish. The default value for the notification runnable is null which means that no notification is executed. If the notification runnable throws an exception, it is propagated up and can be handled by an uncaught exception handler","params":[{"name":"r","type":"Runnable","doc":"after leave notification runnable for the threads created by this builder."}],"returns":{"type":"TruffleThreadBuilder"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.virtual(boolean)","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#virtual(boolean)","name":"virtual","kind":"method","signature":"public TruffleThreadBuilder virtual(boolean v)","summary":"Specifies whether to create a virtual thread (Thread#ofVirtual()) or a regular platform thread (the default) for the threads created by this builder.","params":[{"name":"v","type":"boolean","doc":"whether to create a virtual thread."}],"returns":{"type":"TruffleThreadBuilder"}}
{"symbol":"com.oracle.truffle.api.TruffleThreadBuilder.build()","href":"com/oracle/truffle/api/TruffleThreadBuilder.html#build()","name":"build","kind":"method","signature":"public Thread build()","summary":"Creates a new thread based on the parameters specified by this builder.","detailsOmitted":true,"returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeBuilder","href":"com/oracle/truffle/api/bytecode/BytecodeBuilder.html","name":"BytecodeBuilder","kind":"class","signature":"public abstract class BytecodeBuilder","summary":"Parent class for a bytecode builder generated by the Bytecode DSL.","details":"A parser uses a BytecodeBuilder instance to generate and validate bytecode for each root node. Since each BytecodeRootNode defines its own set of operations, each BytecodeBuilder has its own set of builder methods. Thus, this class is an opaque definition with no declared methods. Parser code should reference the builder class directly (e.g., MyBytecodeRootNodeGen.Builder)."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeBuilder(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeBuilder.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeBuilder","kind":"constructor","signature":"protected BytecodeBuilder(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html","name":"BytecodeConfig","kind":"class","signature":"public final class BytecodeConfig","summary":"The configuration to use while generating bytecode.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.DEFAULT","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html#DEFAULT","name":"DEFAULT","kind":"field","signature":"public static final BytecodeConfig DEFAULT","summary":"Do not materialize any source or instrumentation information."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.WITH_SOURCE","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html#WITH_SOURCE","name":"WITH_SOURCE","kind":"field","signature":"public static final BytecodeConfig WITH_SOURCE","summary":"Materialize source information."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.WITH_SOURCE_CONTENT","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html#WITH_SOURCE_CONTENT","name":"WITH_SOURCE_CONTENT","kind":"field","signature":"public static final BytecodeConfig WITH_SOURCE_CONTENT","summary":"Materialize source information and load content.","details":"If the interpreter does not declare a source content supplier, this config is equivalent to WITH_SOURCE."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.COMPLETE","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html#COMPLETE","name":"COMPLETE","kind":"field","signature":"public static final BytecodeConfig COMPLETE","summary":"Materialize all information."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.newBuilder(BytecodeConfigEncoder)","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html#newBuilder(com.oracle.truffle.api.bytecode.BytecodeConfigEncoder)","name":"newBuilder","kind":"method","signature":"public static BytecodeConfig.Builder newBuilder(BytecodeConfigEncoder encoder)","summary":"Produces a new Builder that can be used to programmatically build a BytecodeConfig.","details":"Note this method is not intended to be used directly. Use the generated method, for example MyBytecodeRootNodeGen.newConfigBuilder() instead.","params":[{"name":"encoder","type":"BytecodeConfigEncoder"}],"returns":{"type":"BytecodeConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.matches(BytecodeConfig)","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.html#matches(com.oracle.truffle.api.bytecode.BytecodeConfig)","name":"matches","kind":"method","signature":"public boolean matches(BytecodeConfig other)","summary":"Returns whether this configuration matches other.","detailsOmitted":true,"params":[{"name":"other","type":"BytecodeConfig"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.Builder","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.Builder.html","name":"BytecodeConfig.Builder","kind":"class","signature":"public static final class BytecodeConfig.Builder","summary":"Builder to generate a BytecodeConfig programmatically."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.Builder.addSource()","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.Builder.html#addSource()","name":"addSource","kind":"method","signature":"public BytecodeConfig.Builder addSource()","summary":"Sets whether to materialize sources.","returns":{"type":"BytecodeConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.Builder.addSourceContent()","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.Builder.html#addSourceContent()","name":"addSourceContent","kind":"method","signature":"public BytecodeConfig.Builder addSourceContent()","summary":"Sets whether to materialize sources and their content.","details":"This method has no effect unless a source content supplier is provided.","returns":{"type":"BytecodeConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.Builder.addTag(Class)","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.Builder.html#addTag(java.lang.Class)","name":"addTag","kind":"method","signature":"public BytecodeConfig.Builder addTag(Class<? extends Tag> tag)","summary":"Sets a specific set of tags to be materialized.","params":[{"name":"tag","type":"Class<? extends Tag>"}],"returns":{"type":"BytecodeConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.Builder.addInstrumentation(Class)","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.Builder.html#addInstrumentation(java.lang.Class)","name":"addInstrumentation","kind":"method","signature":"public BytecodeConfig.Builder addInstrumentation(Class<?> instrumentation)","summary":"Sets a specific set of instrumentations to be materialized.","params":[{"name":"instrumentation","type":"Class<?>"}],"returns":{"type":"BytecodeConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfig.Builder.build()","href":"com/oracle/truffle/api/bytecode/BytecodeConfig.Builder.html#build()","name":"build","kind":"method","signature":"public BytecodeConfig build()","summary":"Builds the config.","returns":{"type":"BytecodeConfig"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html","name":"BytecodeConfigEncoder","kind":"class","signature":"public abstract class BytecodeConfigEncoder","summary":"Abstract class implemented by generated code to encode BytecodeConfig data.","details":"Do not use directly."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeConfigEncoder","kind":"constructor","signature":"protected BytecodeConfigEncoder(Object token)","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder.encodeInstrumentation(Class)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#encodeInstrumentation(java.lang.Class)","name":"encodeInstrumentation","kind":"method","signature":"protected abstract long encodeInstrumentation(Class<?> instrumentations) throws IllegalArgumentException","params":[{"name":"instrumentations","type":"Class<?>"}],"returns":{"type":"long"},"throws":[{"type":"IllegalArgumentException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder.encodeTag(Class)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#encodeTag(java.lang.Class)","name":"encodeTag","kind":"method","signature":"protected abstract long encodeTag(Class<?> tag) throws IllegalArgumentException","params":[{"name":"tag","type":"Class<?>"}],"returns":{"type":"long"},"throws":[{"type":"IllegalArgumentException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder.getEncoding(BytecodeConfig)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#getEncoding(com.oracle.truffle.api.bytecode.BytecodeConfig)","name":"getEncoding","kind":"method","signature":"protected static long getEncoding(BytecodeConfig config)","params":[{"name":"config","type":"BytecodeConfig"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder.getEncoder(BytecodeConfig)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#getEncoder(com.oracle.truffle.api.bytecode.BytecodeConfig)","name":"getEncoder","kind":"method","signature":"protected static BytecodeConfigEncoder getEncoder(BytecodeConfig config)","params":[{"name":"config","type":"BytecodeConfig"}],"returns":{"type":"BytecodeConfigEncoder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder.normalizeEncoding(long)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#normalizeEncoding(long)","name":"normalizeEncoding","kind":"method","signature":"protected long normalizeEncoding(long encoding)","summary":"Normalizes configuration bits for this interpreter.","details":"The default implementation leaves the encoding unchanged.","params":[{"name":"encoding","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeConfigEncoder.decode(BytecodeConfigEncoder, long)","href":"com/oracle/truffle/api/bytecode/BytecodeConfigEncoder.html#decode(com.oracle.truffle.api.bytecode.BytecodeConfigEncoder,long)","name":"decode","kind":"method","signature":"protected static BytecodeConfig decode(BytecodeConfigEncoder encoder, long encoding)","summary":"Decodes a configuration from its encoding.","params":[{"name":"encoder","type":"BytecodeConfigEncoder"},{"name":"encoding","type":"long"}],"returns":{"type":"BytecodeConfig"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html","name":"BytecodeDSLAccess","kind":"class","signature":"public abstract sealed class BytecodeDSLAccess permits BytecodeDSLCheckedAccess, BytecodeDSLUncheckedAccess","summary":"Accessor class used by generated code for low-level access to frames, bytecode arrays, and other bytecode classes.","details":"Do not use directly."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.lookup(Object, boolean)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#lookup(java.lang.Object,boolean)","name":"lookup","kind":"method","signature":"public static final BytecodeDSLAccess lookup(Object token, boolean allowUnsafe)","summary":"Obtains an accessor.","details":"Used by generated code; do not use directly.","params":[{"name":"token","type":"Object"},{"name":"allowUnsafe","type":"boolean"}],"returns":{"type":"BytecodeDSLAccess"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getByteArraySupport()","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getByteArraySupport()","name":"getByteArraySupport","kind":"method","signature":"public abstract ByteArraySupport getByteArraySupport()","summary":"Returns a ByteArraySupport to use for byte array accesses.","returns":{"type":"ByteArraySupport"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getFrameExtensions()","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getFrameExtensions()","name":"getFrameExtensions","kind":"method","signature":"public abstract FrameExtensions getFrameExtensions()","summary":"Returns a FrameExtensions to use for frame accesses.","returns":{"type":"FrameExtensions"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.readInt(int[], int)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#readInt(int[],int)","name":"readInt","kind":"method","signature":"public abstract int readInt(int[] arr, int index)","summary":"Reads from an int array.","params":[{"name":"arr","type":"int[]"},{"name":"index","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.writeInt(int[], int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#writeInt(int[],int,int)","name":"writeInt","kind":"method","signature":"public abstract void writeInt(int[] arr, int index, int value)","summary":"Writes to an int array.","params":[{"name":"arr","type":"int[]"},{"name":"index","type":"int"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.readObject(T[], int)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#readObject(T[],int)","name":"readObject","kind":"method","signature":"public abstract <T> T readObject(T[] arr, int index)","summary":"Reads from an Object array.","params":[{"name":"arr","type":"T[]"},{"name":"index","type":"int"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.writeObject(T[], int, T)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#writeObject(T[],int,T)","name":"writeObject","kind":"method","signature":"public abstract <T> void writeObject(T[] arr, int index, T value)","summary":"Writes to an Object array.","params":[{"name":"arr","type":"T[]"},{"name":"index","type":"int"},{"name":"value","type":"T"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.uncheckedCast(Object, Class)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#uncheckedCast(java.lang.Object,java.lang.Class)","name":"uncheckedCast","kind":"method","signature":"public abstract <T> T uncheckedCast(Object arr, Class<T> clazz)","summary":"Casts a value to the given class.","details":"Also assumes non-null. If used in the form uncheckedCast(this.field, ...) and the field is a final field, then the field will get transformed into an immutable field read.","params":[{"name":"arr","type":"Object"},{"name":"clazz","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getSerializationKey(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getSerializationKey(java.lang.Object)","name":"getSerializationKey","kind":"method","signature":"public final Object getSerializationKey(Object object)","summary":"Returns a key for deduplicating serialized constants.","details":"Float and Double NaN values are replaced with wrappers that preserve NaN bit patterns.","params":[{"name":"object","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getLocalOffset(LocalAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getLocalOffset(com.oracle.truffle.api.bytecode.LocalAccessor)","name":"getLocalOffset","kind":"method","signature":"public final int getLocalOffset(LocalAccessor accessor)","summary":"Returns the local offset of a local accessor.","params":[{"name":"accessor","type":"LocalAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getLocalIndex(LocalAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getLocalIndex(com.oracle.truffle.api.bytecode.LocalAccessor)","name":"getLocalIndex","kind":"method","signature":"public final int getLocalIndex(LocalAccessor accessor)","summary":"Returns the local index of a local accessor.","params":[{"name":"accessor","type":"LocalAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getStartOffset(LocalRangeAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getStartOffset(com.oracle.truffle.api.bytecode.LocalRangeAccessor)","name":"getStartOffset","kind":"method","signature":"public final int getStartOffset(LocalRangeAccessor accessor)","summary":"Returns the starting local offset of a local range accessor.","params":[{"name":"accessor","type":"LocalRangeAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getStartIndex(LocalRangeAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getStartIndex(com.oracle.truffle.api.bytecode.LocalRangeAccessor)","name":"getStartIndex","kind":"method","signature":"public final int getStartIndex(LocalRangeAccessor accessor)","summary":"Returns the starting local index of a local range accessor.","params":[{"name":"accessor","type":"LocalRangeAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getRootIndex(MaterializedLocalAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getRootIndex(com.oracle.truffle.api.bytecode.MaterializedLocalAccessor)","name":"getRootIndex","kind":"method","signature":"public final int getRootIndex(MaterializedLocalAccessor accessor)","summary":"Returns the index of the root declaring the local of a materialized local accessor.","params":[{"name":"accessor","type":"MaterializedLocalAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getLocalOffset(MaterializedLocalAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getLocalOffset(com.oracle.truffle.api.bytecode.MaterializedLocalAccessor)","name":"getLocalOffset","kind":"method","signature":"public final int getLocalOffset(MaterializedLocalAccessor accessor)","summary":"Returns the local offset of a materialized local accessor.","params":[{"name":"accessor","type":"MaterializedLocalAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getLocalIndex(MaterializedLocalAccessor)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getLocalIndex(com.oracle.truffle.api.bytecode.MaterializedLocalAccessor)","name":"getLocalIndex","kind":"method","signature":"public final int getLocalIndex(MaterializedLocalAccessor accessor)","summary":"Returns the local index of a materialized local accessor.","params":[{"name":"accessor","type":"MaterializedLocalAccessor"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getLocalAccessorConstant(int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getLocalAccessorConstant(int,int)","name":"getLocalAccessorConstant","kind":"method","signature":"public final LocalAccessor getLocalAccessorConstant(int offset, int index)","summary":"Obtains a LocalAccessor from its local offset and index.","params":[{"name":"offset","type":"int"},{"name":"index","type":"int"}],"returns":{"type":"LocalAccessor"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getLocalRangeAccessorConstant(int, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getLocalRangeAccessorConstant(int,int,int)","name":"getLocalRangeAccessorConstant","kind":"method","signature":"public final LocalRangeAccessor getLocalRangeAccessorConstant(int startOffset, int startIndex, int length)","summary":"Obtains a LocalRangeAccessor from its starting local offset, index, and length.","params":[{"name":"startOffset","type":"int"},{"name":"startIndex","type":"int"},{"name":"length","type":"int"}],"returns":{"type":"LocalRangeAccessor"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDSLAccess.getMaterializedLocalAccessorConstant(int, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeDSLAccess.html#getMaterializedLocalAccessorConstant(int,int,int)","name":"getMaterializedLocalAccessorConstant","kind":"method","signature":"public final MaterializedLocalAccessor getMaterializedLocalAccessorConstant(int rootIndex, int offset, int index)","summary":"Obtains a MaterializedLocalAccessor from its root index, local offset, and local index.","params":[{"name":"rootIndex","type":"int"},{"name":"offset","type":"int"},{"name":"index","type":"int"}],"returns":{"type":"MaterializedLocalAccessor"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html","name":"BytecodeDescriptor","kind":"class","signature":"public abstract class BytecodeDescriptor<R extends RootNode & BytecodeRootNode, L extends TruffleLanguage<?>, B extends BytecodeBuilder>","summary":"Describes the bytecode interpreter generated for a specific BytecodeRootNode class and provides the management API for that interpreter.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeDescriptor","kind":"constructor","signature":"protected BytecodeDescriptor(Object token)","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.getSpecificationClass()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#getSpecificationClass()","name":"getSpecificationClass","kind":"method","signature":"public abstract Class<R> getSpecificationClass()","summary":"Returns the specification class for this descriptor.","details":"This is the user defined RootNode subclass that was annotated to generate this bytecode interpreter.","returns":{"type":"Class<R>","doc":"the specification class, never null."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.getGeneratedClass()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#getGeneratedClass()","name":"getGeneratedClass","kind":"method","signature":"public abstract Class<? extends R> getGeneratedClass()","summary":"Returns the generated root node class that implements the bytecode interpreter.","details":"This is the concrete RootNode subclass created by the bytecode generator.","returns":{"type":"Class<? extends R>","doc":"the generated root node class, never null"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.getLanguageClass()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#getLanguageClass()","name":"getLanguageClass","kind":"method","signature":"public abstract Class<L> getLanguageClass()","summary":"Returns the TruffleLanguage class that this descriptor is associated with, never null.","returns":{"type":"Class<L>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.getInstructionDescriptor(int)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#getInstructionDescriptor(int)","name":"getInstructionDescriptor","kind":"method","signature":"public abstract InstructionDescriptor getInstructionDescriptor(int operationCode)","summary":"Returns the InstructionDescriptor for the given operation code, or null if the code is not defined by this interpreter.","params":[{"name":"operationCode","type":"int","doc":"the numeric operation code of the instruction"}],"returns":{"type":"InstructionDescriptor"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.getInstructionDescriptors()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#getInstructionDescriptors()","name":"getInstructionDescriptors","kind":"method","signature":"public abstract List<InstructionDescriptor> getInstructionDescriptors()","summary":"Returns an immutable list of all instruction descriptors known to this interpreter.","details":"The list describes every instruction kind that can be executed by nodes generated from this interpreter.","returns":{"type":"List<InstructionDescriptor>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.cast(RootNode)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#cast(com.oracle.truffle.api.nodes.RootNode)","name":"cast","kind":"method","signature":"public abstract R cast(RootNode rootNode)","summary":"Casts a RootNode to the specification root node type R.","details":"This also handles ContinuationRootNode if yield is enabled. Returns null if the given root is not compatible with this descriptor.","params":[{"name":"rootNode","type":"RootNode","doc":"a root node, must not be null"}],"returns":{"type":"R"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.cast(CallTarget)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#cast(com.oracle.truffle.api.CallTarget)","name":"cast","kind":"method","signature":"public final R cast(CallTarget target)","summary":"Casts a CallTarget to the specification root node type R.","details":"Returns null if the given root is not compatible with this descriptor.","params":[{"name":"target","type":"CallTarget","doc":"a call target, must not be null"}],"returns":{"type":"R"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.newConfigBuilder()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#newConfigBuilder()","name":"newConfigBuilder","kind":"method","signature":"public abstract BytecodeConfig.Builder newConfigBuilder()","summary":"Creates a new BytecodeConfig.Builder initialized with defaults that are valid for this descriptor.","returns":{"type":"BytecodeConfig.Builder","doc":"a new mutable configuration builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.create(L, BytecodeConfig, BytecodeParser)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#create(L,com.oracle.truffle.api.bytecode.BytecodeConfig,com.oracle.truffle.api.bytecode.BytecodeParser)","name":"create","kind":"method","signature":"public abstract BytecodeRootNodes<R> create(L language, BytecodeConfig config, BytecodeParser<B> parser)","summary":"Creates one or more bytecode root nodes.","details":"This is the entrypoint for creating new R instances. The parser is invoked to emit builder calls on a BytecodeBuilder which is then materialized into executable bytecode. The returned BytecodeRootNodes contains the created root nodes, for example entry points and helper nodes.","params":[{"name":"language","type":"L","doc":"the language instance"},{"name":"config","type":"BytecodeConfig","doc":"the bytecode configuration, for example whether to include source information"},{"name":"parser","type":"BytecodeParser<B>","doc":"the parser that drives the BytecodeBuilder"}],"returns":{"type":"BytecodeRootNodes<R>","doc":"the created bytecode root nodes"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.serialize(DataOutput, BytecodeSerializer, BytecodeParser)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#serialize(java.io.DataOutput,com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer,com.oracle.truffle.api.bytecode.BytecodeParser)","name":"serialize","kind":"method","signature":"public void serialize(DataOutput buffer, BytecodeSerializer callback, BytecodeParser<B> parser) throws IOException","summary":"Serializes builder bytecode for the nodes parsed by parser.","deprecated":{"since":"25.7","doc":"Use serializeBuilderBytecode."},"params":[{"name":"buffer","type":"DataOutput"},{"name":"callback","type":"BytecodeSerializer"},{"name":"parser","type":"BytecodeParser<B>"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.serializeBuilderBytecode(DataOutput, BytecodeSerializer, BytecodeParser)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#serializeBuilderBytecode(java.io.DataOutput,com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer,com.oracle.truffle.api.bytecode.BytecodeParser)","name":"serializeBuilderBytecode","kind":"method","signature":"public void serializeBuilderBytecode(DataOutput buffer, BytecodeSerializer callback, BytecodeParser<B> parser) throws IOException","summary":"Serializes the bytecode nodes parsed by the parser as a sequence of builder calls.","details":"All metadata (e.g., source information) is serialized, so the nodes can be deserialized with any configuration or reparsed later when more metadata is requested. This method does not validate the builder calls performed by parser. Validation happens when the builder calls are replayed during deserialization. Unlike BytecodeRootNodes.serializeBuilderBytecode, this method cannot serialize field values set outside the parser, since it does not have access to existing root node instances.","params":[{"name":"buffer","type":"DataOutput","doc":"the buffer to write the builder payload to."},{"name":"callback","type":"BytecodeSerializer","doc":"the language-specific serializer for constants in the bytecode."},{"name":"parser","type":"BytecodeParser<B>","doc":"the parser."}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.serializeExecutionBytecode(L, DataOutput, BytecodeConfig, BytecodeSerializer, BytecodeParser)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#serializeExecutionBytecode(L,java.io.DataOutput,com.oracle.truffle.api.bytecode.BytecodeConfig,com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer,com.oracle.truffle.api.bytecode.BytecodeParser)","name":"serializeExecutionBytecode","kind":"method","signature":"public void serializeExecutionBytecode(L language, DataOutput buffer, BytecodeConfig config, BytecodeSerializer callback, BytecodeParser<B> parser) throws IOException","summary":"Serializes execution bytecode and its metadata for the requested config.","detailsOmitted":true,"params":[{"name":"language","type":"L","doc":"the language instance used to construct the temporary representation."},{"name":"buffer","type":"DataOutput","doc":"the buffer to write the execution bytecode payload to."},{"name":"config","type":"BytecodeConfig","doc":"the target configuration for execution bytecode."},{"name":"callback","type":"BytecodeSerializer","doc":"the language-specific serializer for constants in the bytecode."},{"name":"parser","type":"BytecodeParser<B>","doc":"the parser."}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.deserialize(L, BytecodeConfig, Supplier, BytecodeDeserializer)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#deserialize(L,com.oracle.truffle.api.bytecode.BytecodeConfig,java.util.function.Supplier,com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer)","name":"deserialize","kind":"method","signature":"public BytecodeRootNodes<R> deserialize(L language, BytecodeConfig config, Supplier<DataInput> builderBytecodeInput, BytecodeDeserializer callback) throws IOException","summary":"Deserializes bytecode nodes by replaying serialized builder calls.","deprecated":{"since":"25.7","doc":"Use deserializeBuilderBytecode."},"params":[{"name":"language","type":"L"},{"name":"config","type":"BytecodeConfig"},{"name":"builderBytecodeInput","type":"Supplier<DataInput>"},{"name":"callback","type":"BytecodeDeserializer"}],"returns":{"type":"BytecodeRootNodes<R>"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.deserializeBuilderBytecode(L, BytecodeConfig, Supplier, BytecodeDeserializer)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#deserializeBuilderBytecode(L,com.oracle.truffle.api.bytecode.BytecodeConfig,java.util.function.Supplier,com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer)","name":"deserializeBuilderBytecode","kind":"method","signature":"public BytecodeRootNodes<R> deserializeBuilderBytecode(L language, BytecodeConfig config, Supplier<DataInput> builderBytecodeInput, BytecodeDeserializer callback) throws IOException","summary":"Deserializes bytecode nodes by replaying serialized builder calls.","params":[{"name":"language","type":"L","doc":"the language instance."},{"name":"config","type":"BytecodeConfig","doc":"the requested bytecode configuration, including optional metadata."},{"name":"builderBytecodeInput","type":"Supplier<DataInput>","doc":"a function that supplies the builder bytecode payload. It must produce a new DataInput on each invocation to support reparsing."},{"name":"callback","type":"BytecodeDeserializer","doc":"the language-specific deserializer for constants in the bytecode."}],"returns":{"type":"BytecodeRootNodes<R>"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.deserializeExecutionBytecode(L, BytecodeConfig, Supplier, Function, BytecodeDeserializer)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#deserializeExecutionBytecode(L,com.oracle.truffle.api.bytecode.BytecodeConfig,java.util.function.Supplier,java.util.function.Function,com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer)","name":"deserializeExecutionBytecode","kind":"method","signature":"public BytecodeRootNodes<R> deserializeExecutionBytecode(L language, BytecodeConfig config, Supplier<DataInput> builderBytecodeInput, Function<BytecodeConfig, DataInput> executionBytecodeInput, BytecodeDeserializer callback) throws IOException","summary":"Deserializes bytecode nodes from a builder payload and an optional execution bytecode payload.","detailsOmitted":true,"params":[{"name":"language","type":"L","doc":"the language instance."},{"name":"config","type":"BytecodeConfig","doc":"the requested bytecode configuration, including optional metadata (e.g., source information)."},{"name":"builderBytecodeInput","type":"Supplier<DataInput>","doc":"a function that supplies the builder payload. This supplier is always required and must produce a new DataInput, since the bytes may be processed multiple times for reparsing."},{"name":"executionBytecodeInput","type":"Function<BytecodeConfig, DataInput>","doc":"a function that supplies execution bytecode for the effective configuration, returning null if no matching payload is available. The function itself may also be null if the builder payload should be used. It is invoked at most once and is not retained for subsequent reparses."},{"name":"callback","type":"BytecodeDeserializer","doc":"The language-specific deserializer for constants in the bytecode. This callback must perform the inverse of the callback that was used to serialize each payload."}],"returns":{"type":"BytecodeRootNodes<R>"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.addInstructionTracer(L, InstructionTracer)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#addInstructionTracer(L,com.oracle.truffle.api.bytecode.InstructionTracer)","name":"addInstructionTracer","kind":"method","signature":"public void addInstructionTracer(L language, InstructionTracer tracer)","summary":"Registers an InstructionTracer for all bytecode root nodes created from this descriptor in the given language.","detailsOmitted":true,"params":[{"name":"language","type":"L","doc":"the language instance whose bytecode roots should start reporting"},{"name":"tracer","type":"InstructionTracer","doc":"the tracer to install"}],"throws":[{"type":"IllegalArgumentException","doc":"if tracer is exclusive to a different BytecodeDescriptor"},{"type":"UnsupportedOperationException","doc":"if instruction tracing is not enabled for this descriptor"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.removeInstructionTracer(L, InstructionTracer)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#removeInstructionTracer(L,com.oracle.truffle.api.bytecode.InstructionTracer)","name":"removeInstructionTracer","kind":"method","signature":"public void removeInstructionTracer(L language, InstructionTracer tracer)","summary":"Unregisters a previously installed InstructionTracer for the given language.","detailsOmitted":true,"params":[{"name":"language","type":"L","doc":"the language instance whose bytecode roots should stop reporting"},{"name":"tracer","type":"InstructionTracer","doc":"the tracer to remove"}],"throws":[{"type":"IllegalArgumentException","doc":"if tracer is exclusive to a different BytecodeDescriptor"},{"type":"UnsupportedOperationException","doc":"if instruction tracing is not enabled for this descriptor"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.update(L, BytecodeConfig)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#update(L,com.oracle.truffle.api.bytecode.BytecodeConfig)","name":"update","kind":"method","signature":"public void update(L language, BytecodeConfig config)","summary":"Updates the bytecode configuration for all bytecode root nodes that were created by this descriptor for the given language instance.","details":"This can be used to enable features such as source information or instrumentation globally. Options are applied cumulatively and cannot be reverted for that language instance.","params":[{"name":"language","type":"L","doc":"the language instance"},{"name":"config","type":"BytecodeConfig","doc":"the configuration to apply"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.toString()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a short string representation for debugging.","returns":{"type":"String","doc":"a concise descriptor string"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.dump()","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#dump()","name":"dump","kind":"method","signature":"public String dump()","summary":"Returns a human readable dump of this bytecode descriptor.","details":"The dump includes the instruction set, statistics such as encoded size, and formatted instruction listings. This is intended for diagnostics and test assertions, not for programmatic parsing.","returns":{"type":"String","doc":"a multi line string describing the bytecode descriptor"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.onTransition(TruffleLanguage, R, BytecodeTransition)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#onTransition(com.oracle.truffle.api.TruffleLanguage,R,com.oracle.truffle.api.bytecode.BytecodeTransition)","name":"onTransition","kind":"method","signature":"protected final void onTransition(TruffleLanguage<?> language, R rootNode, BytecodeTransition transition)","summary":"Internal method called by generated code to notify the engine of a transition.","details":"This method unconditionally routes the transition to the engine-level logger and cannot be overridden by bytecode interpreter implementations.","params":[{"name":"language","type":"TruffleLanguage<?>"},{"name":"rootNode","type":"R"},{"name":"transition","type":"BytecodeTransition"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.onPrepareForLoad(TruffleLanguage, R)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#onPrepareForLoad(com.oracle.truffle.api.TruffleLanguage,R)","name":"onPrepareForLoad","kind":"method","signature":"protected final void onPrepareForLoad(TruffleLanguage<?> language, R rootNode)","summary":"Internal method called by generated code on root node load.","params":[{"name":"language","type":"TruffleLanguage<?>"},{"name":"rootNode","type":"R"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeDescriptor.withGlobalConfig(TruffleLanguage, long)","href":"com/oracle/truffle/api/bytecode/BytecodeDescriptor.html#withGlobalConfig(com.oracle.truffle.api.TruffleLanguage,long)","name":"withGlobalConfig","kind":"method","signature":"protected final long withGlobalConfig(TruffleLanguage<?> language, long config)","summary":"Internal method called by generated code whenever the a BytecodeConfig is used.","params":[{"name":"language","type":"TruffleLanguage<?>"},{"name":"config","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeEncodingException","href":"com/oracle/truffle/api/bytecode/BytecodeEncodingException.html","name":"BytecodeEncodingException","kind":"class","signature":"public final class BytecodeEncodingException extends RuntimeException","summary":"Class representing an exception thrown by a BytecodeBuilder when the program cannot be encoded, for example, when the bytecode exceeds the maximum addressable bytecode size."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeEncodingException.create(String)","href":"com/oracle/truffle/api/bytecode/BytecodeEncodingException.html#create(java.lang.String)","name":"create","kind":"method","signature":"public static BytecodeEncodingException create(String reason)","summary":"Creates a bytecode encoding exception with a reason string.","params":[{"name":"reason","type":"String"}],"returns":{"type":"BytecodeEncodingException"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html","name":"BytecodeFrame","kind":"class","signature":"public final class BytecodeFrame","summary":"Represents a captured Bytecode DSL frame, including the location metadata needed to access the data in the frame.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.copy()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#copy()","name":"copy","kind":"method","signature":"public BytecodeFrame copy()","summary":"Returns a copy of this frame.","details":"This method can be used to snapshot the current state of a bytecode frame, in case it may be modified or become invalid in the future.","returns":{"type":"BytecodeFrame","doc":"a copy of this frame that is always valid and will not observe updates"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getLocation()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getLocation()","name":"getLocation","kind":"method","signature":"public BytecodeLocation getLocation()","summary":"Returns the bytecode location associated with the captured frame.","details":"This location is only valid until the bytecode interpreter resumes execution.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getBytecodeNode()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getBytecodeNode()","name":"getBytecodeNode","kind":"method","signature":"public BytecodeNode getBytecodeNode()","summary":"Returns the bytecode node associated with the captured frame.","returns":{"type":"BytecodeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getBytecodeIndex()","name":"getBytecodeIndex","kind":"method","signature":"public int getBytecodeIndex()","summary":"Returns the bytecode index associated with the captured frame.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getLocalCount()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getLocalCount()","name":"getLocalCount","kind":"method","signature":"public int getLocalCount()","summary":"Returns the number of live locals in the captured frame.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getLocalValue(int)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getLocalValue(int)","name":"getLocalValue","kind":"method","signature":"public Object getLocalValue(int localOffset)","summary":"Returns the value of the local at the given offset.","details":"The offset should be in the range [0, getLocalCount()).","params":[{"name":"localOffset","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.setLocalValue(int, Object)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#setLocalValue(int,java.lang.Object)","name":"setLocalValue","kind":"method","signature":"public void setLocalValue(int localOffset, Object value)","summary":"Updates the value of the local at the given offset.","details":"The offset should be in the range [0, getLocalCount()). This method will throw an AssertionError if the captured frame does not support writes.","params":[{"name":"localOffset","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getLocalNames()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getLocalNames()","name":"getLocalNames","kind":"method","signature":"public Object[] getLocalNames()","summary":"Returns the names associated with the live locals, if provided.","returns":{"type":"Object[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getArgumentCount()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getArgumentCount()","name":"getArgumentCount","kind":"method","signature":"public int getArgumentCount()","summary":"Returns the number of arguments in the captured frame.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getArgument(int)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getArgument(int)","name":"getArgument","kind":"method","signature":"public Object getArgument(int argumentIndex)","summary":"Returns the value of the argument at the given index.","details":"The offset should be between 0 and getArgumentCount().","params":[{"name":"argumentIndex","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.setArgument(int, Object)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#setArgument(int,java.lang.Object)","name":"setArgument","kind":"method","signature":"public void setArgument(int argumentIndex, Object value)","summary":"Updates the value of the local at the given offset.","details":"The offset should be between 0 and getArgumentCount().","params":[{"name":"argumentIndex","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getFrameDescriptorInfo()","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getFrameDescriptorInfo()","name":"getFrameDescriptorInfo","kind":"method","signature":"public Object getFrameDescriptorInfo()","summary":"Returns the info object associated with the frame's descriptor.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.get(FrameInstance, FrameInstance.FrameAccess)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#get(com.oracle.truffle.api.frame.FrameInstance,com.oracle.truffle.api.frame.FrameInstance.FrameAccess)","name":"get","kind":"method","signature":"public static BytecodeFrame get(FrameInstance frameInstance, FrameInstance.FrameAccess access)","summary":"Creates a bytecode frame from the given frame instance.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"},{"name":"access","type":"FrameInstance.FrameAccess","doc":"the access mode to use when capturing the frame"}],"returns":{"type":"BytecodeFrame","doc":"a bytecode frame, or null if the frame instance is missing location info."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getNonVirtual(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getNonVirtual(com.oracle.truffle.api.frame.FrameInstance)","name":"getNonVirtual","kind":"method","signature":"public static BytecodeFrame getNonVirtual(FrameInstance frameInstance)","summary":"Attempts to create a bytecode frame from the given frame instance.","details":"Returns null if the corresponding frame is virtual. The frame can be read from, written to, and escaped. This method can be used to probe for a frame that can safely escape without forcing materialization. For example, if a language needs to capture local variables from a stack frame, it's often more efficient to use an existing non-virtual frame rather than create a copy of all variables.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"BytecodeFrame","doc":"a bytecode frame or null if the frame is virtual or if the frame instance is missing location info."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.get(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#get(com.oracle.truffle.api.TruffleStackTraceElement)","name":"get","kind":"method","signature":"public static BytecodeFrame get(TruffleStackTraceElement element)","summary":"Creates a bytecode frame from the given stack trace element.","details":"This method will return null unless the interpreter specifies GenerateBytecode.captureFramesForTrace, which indicates whether frames should be captured.","params":[{"name":"element","type":"TruffleStackTraceElement","doc":"the stack trace element"}],"returns":{"type":"BytecodeFrame","doc":"a bytecode frame, or null if the frame was not captured or the stack trace element is missing location information."},"throws":[{"type":"IllegalArgumentException","doc":"if the element has an invalid bytecode index."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getNonVirtual(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getNonVirtual(com.oracle.truffle.api.TruffleStackTraceElement)","name":"getNonVirtual","kind":"method","signature":"public static BytecodeFrame getNonVirtual(TruffleStackTraceElement element)","summary":"Attempts to create a bytecode frame from the given stack trace element.","details":"Returns null if the corresponding frame is virtual. The frame can be read from, written to, and escaped. This method can be used to probe for a frame that can safely escape without forcing materialization. For example, if a language needs to capture local variables from a stack frame, it's often more efficient to use an existing non-virtual frame rather than create a copy of all variables.","params":[{"name":"element","type":"TruffleStackTraceElement","doc":"the stack trace element"}],"returns":{"type":"BytecodeFrame","doc":"a bytecode frame or null if the frame is virtual/unavailable or if the frame instance is missing location info."},"throws":[{"type":"IllegalArgumentException","doc":"if the element has an invalid bytecode index."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.getTop(FrameInstance.FrameAccess, Node, int)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#getTop(com.oracle.truffle.api.frame.FrameInstance.FrameAccess,com.oracle.truffle.api.nodes.Node,int)","name":"getTop","kind":"method","signature":"public static BytecodeFrame getTop(FrameInstance.FrameAccess access, Node topLocation, int topBytecodeIndex)","summary":"Returns the current top stack activation as a bytecode frame.","details":"The top frame's location is derived using topLocation and topBytecodeIndex. If topBytecodeIndex is -1, the bytecode index is resolved from topLocation and the resolved top Frame.","params":[{"name":"access","type":"FrameInstance.FrameAccess","doc":"the access mode used when resolving the top frame"},{"name":"topLocation","type":"Node","doc":"a node in the current top bytecode activation"},{"name":"topBytecodeIndex","type":"int","doc":"the bytecode index of the current top bytecode activation, or -1 to resolve it from topLocation and the resolved frame"}],"returns":{"type":"BytecodeFrame","doc":"the current top bytecode frame"},"throws":[{"type":"IllegalArgumentException","doc":"if topLocation and topBytecodeIndex do not identify a valid location for the top frame, or if the top frame is not a bytecode frame."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeFrame.iterateBytecodeFrames(Function, FrameInstance.FrameAccess, Node, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeFrame.html#iterateBytecodeFrames(java.util.function.Function,com.oracle.truffle.api.frame.FrameInstance.FrameAccess,com.oracle.truffle.api.nodes.Node,int,int)","name":"iterateBytecodeFrames","kind":"method","signature":"public static <T> T iterateBytecodeFrames(Function<BytecodeFrame, T> visitor, FrameInstance.FrameAccess access, Node topLocation, int topBytecodeIndex, int skipBytecodeFrames)","summary":"Iterates the current stack as bytecode frames, starting with the current top activation.","detailsOmitted":true,"params":[{"name":"visitor","type":"Function<BytecodeFrame, T>","doc":"the visitor applied to each bytecode frame"},{"name":"access","type":"FrameInstance.FrameAccess","doc":"the access mode used when resolving frames from runtime stack frames"},{"name":"topLocation","type":"Node","doc":"a node in the current top bytecode activation; ignored if skipBytecodeFrames > 0"},{"name":"topBytecodeIndex","type":"int","doc":"the bytecode index of the current top bytecode activation, or -1 to resolve it from topLocation and the resolved frame; ignored if skipBytecodeFrames > 0"},{"name":"skipBytecodeFrames","type":"int","doc":"the number of bytecode frames to skip before invoking the visitor"}],"returns":{"type":"T","doc":"the first non-null value returned by visitor, or null if no visited frame produces one"},"throws":[{"type":"IllegalArgumentException","doc":"if the top frame is not skipped and topLocation and topBytecodeIndex do not identify a valid location for the top frame, or if the top frame is not a bytecode frame."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html","name":"BytecodeIndexMode","kind":"enum","signature":"public enum BytecodeIndexMode","summary":"Configures how a generated bytecode interpreter makes its current bytecode index available for stack walking and frame introspection."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode.values()","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html#values()","name":"values","kind":"method","signature":"public static BytecodeIndexMode[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"BytecodeIndexMode[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode.valueOf(String)","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static BytecodeIndexMode valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"BytecodeIndexMode","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode.FRAME","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html#FRAME","name":"FRAME","kind":"enumConstant","signature":"FRAME","summary":"Stores the current bytecode index automatically in the frame in all interpreter tiers.","details":"The stored index can also be read or updated manually using BytecodeNode.getBytecodeIndex and BytecodeNode.setBytecodeIndex. A manual value persists until the next automatic update. Implicit stack-frame lookup still requires a non-null location node."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode.CACHED_NODE","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html#CACHED_NODE","name":"CACHED_NODE","kind":"enumConstant","signature":"CACHED_NODE","summary":"Derives the bytecode index from the current operation node in the cached interpreter and stores it automatically in the frame in the uncached interpreter.","details":"This is the default mode. The frame slot is an implementation detail and cannot be accessed using BytecodeNode.getBytecodeIndex or BytecodeNode.setBytecodeIndex."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode.MANUAL","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html#MANUAL","name":"MANUAL","kind":"enumConstant","signature":"MANUAL","summary":"Reserves a frame slot that is updated manually using BytecodeNode.setBytecodeIndex or explicitly for operations using Operation.storeBytecodeIndex() or StoreBytecodeIndex.","details":"Automatic operation storage is disabled by default. The stored index can be read using BytecodeNode.getBytecodeIndex and is used for implicit stack-frame lookup even when no location node is available. The slot is not initialized on a fresh invocation. Once stored, the index is preserved across tier transitions and translated when the bytecode layout changes during execution. Resuming a continuation always replaces the stored value with the resume bytecode index, even if the value was unset or cleared."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeIndexMode.NONE","href":"com/oracle/truffle/api/bytecode/BytecodeIndexMode.html#NONE","name":"NONE","kind":"enumConstant","signature":"NONE","summary":"Does not reserve a frame slot or perform implicit bytecode index lookup.","details":"Bytecode indices must be passed explicitly to calls, exceptions, and other APIs that require them."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLabel","href":"com/oracle/truffle/api/bytecode/BytecodeLabel.html","name":"BytecodeLabel","kind":"class","signature":"public abstract class BytecodeLabel","summary":"Abstract definition of a label.","details":"Labels can be used to implement forward branches (for backward branches, use a While operation). The language parser can allocate labels using the builder's createLabel method, and subsequently emit it using emitLabel. Labels are specified as parameters to branch operations."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLabel(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeLabel.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeLabel","kind":"constructor","signature":"public BytecodeLabel(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocal","href":"com/oracle/truffle/api/bytecode/BytecodeLocal.html","name":"BytecodeLocal","kind":"class","signature":"public abstract class BytecodeLocal","summary":"Abstract definition of a local variable in the interpreter.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocal(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeLocal.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeLocal","kind":"constructor","signature":"public BytecodeLocal(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocal.getLocalOffset()","href":"com/oracle/truffle/api/bytecode/BytecodeLocal.html#getLocalOffset()","name":"getLocalOffset","kind":"method","signature":"public abstract int getLocalOffset()","summary":"Returns the local offset to use when accessing local values with a local accessor like BytecodeNode.getLocalValue(int, Frame, int).","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocal.getLocalIndex()","href":"com/oracle/truffle/api/bytecode/BytecodeLocal.html#getLocalIndex()","name":"getLocalIndex","kind":"method","signature":"public abstract int getLocalIndex()","summary":"Returns the index when accessing into the locals table with BytecodeNode.getLocals().","details":"The local index is guaranteed to be equal to getLocalOffset() if block scoping is set to false. Otherwise, the local index is distinct from the local offset and should not be used in places an offset is expected.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html","name":"BytecodeLocation","kind":"class","signature":"public final class BytecodeLocation","summary":"A materialized bytecode location.","details":"The current bytecode location can be bound using @Bind BytecodeLocation location in operations. In order to avoid the overhead of the BytecodeLocation allocation, e.g. for exceptional cases, it is possible to create the bytecode location lazily from two fields: @Bind BytecodeNode bytecode and @Bind(\"$bytecodeIndex\") int bci. This avoids the eager allocation of the bytecode location. To create a bytecode location when it is needed the BytecodeLocation.get(Node, int) method can be used."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getBytecodeIndex()","name":"getBytecodeIndex","kind":"method","signature":"public int getBytecodeIndex()","summary":"Returns the bytecode index.","details":"This index is not stable and should only be used for debugging purposes. The bytecode index is only meaningful when coupled with a particular bytecode node.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getBytecodeNode()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getBytecodeNode()","name":"getBytecodeNode","kind":"method","signature":"public BytecodeNode getBytecodeNode()","summary":"Returns the BytecodeNode associated with this location.","details":"The bytecode index is only valid for the returned node.","returns":{"type":"BytecodeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.hashCode()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.equals(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.toString()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.dump()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#dump()","name":"dump","kind":"method","signature":"public String dump()","summary":"Dumps the bytecode debug information, highlighting this location in the result.","returns":{"type":"String","doc":"dump string"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.update()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#update()","name":"update","kind":"method","signature":"public BytecodeLocation update()","summary":"Updates this location to the newest bytecode node of the parent bytecode root node, translating the bytecode index to the new bytecode node in the process.","details":"It is useful to update the location if source information or instrumentations were materialized in the meantime. Note that the bytecode index may be different in the updated location.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.ensureSourceInformation()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#ensureSourceInformation()","name":"ensureSourceInformation","kind":"method","signature":"public BytecodeLocation ensureSourceInformation()","summary":"Ensures source information is available.","details":"If the current location already has source information, it is returned; otherwise, returns an updated location that has source information. This may be an expensive operation if the source information was not yet materialized.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.ensureSourceInformationWithContent()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#ensureSourceInformationWithContent()","name":"ensureSourceInformationWithContent","kind":"method","signature":"public BytecodeLocation ensureSourceInformationWithContent()","summary":"Ensures source information with content is available.","details":"If the current location already has source information with content, it is returned; otherwise, returns an updated location that has source information with content. This may be an expensive operation if the source information with content was not yet materialized If the interpreter does not declare a source content supplier, this method is equivalent to ensureSourceInformation.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getSourceLocation()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getSourceLocation()","name":"getSourceLocation","kind":"method","signature":"public SourceSection getSourceLocation()","summary":"Computes the most concrete source location of this bytecode location.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getSourceLocations()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getSourceLocations()","name":"getSourceLocations","kind":"method","signature":"public SourceSection[] getSourceLocations()","summary":"Computes all source locations of this bytecode location.","details":"Returns an empty array if no source locations are available. The list is ordered from most to least concrete.","returns":{"type":"SourceSection[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getInstruction()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getInstruction()","name":"getInstruction","kind":"method","signature":"public Instruction getInstruction()","summary":"Returns the bytecode instruction at this location, which provides additional debug information for debugging and tracing.","returns":{"type":"Instruction"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getExceptionHandlers()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getExceptionHandlers()","name":"getExceptionHandlers","kind":"method","signature":"public List<ExceptionHandler> getExceptionHandlers()","summary":"Returns all exception handlers that span over this bytecode location.","details":"Returns an empty list if no exception handlers span over this location.","returns":{"type":"List<ExceptionHandler>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.getSourceInformation()","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#getSourceInformation()","name":"getSourceInformation","kind":"method","signature":"public List<SourceInformation> getSourceInformation()","summary":"Returns all source informations available at this location.","returns":{"type":"List<SourceInformation>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.get(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#get(com.oracle.truffle.api.frame.FrameInstance)","name":"get","kind":"method","signature":"public static BytecodeLocation get(FrameInstance frameInstance)","summary":"Gets the bytecode location for a given FrameInstance.","details":"Frame instances are invalid as soon as the execution of a frame is continued. A bytecode location can be used to materialize an execution location in a bytecode interpreter, which can be used after the FrameInstance is no longer valid.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"BytecodeLocation","doc":"the corresponding bytecode location or null if no location can be found."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.get(Node, int)","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#get(com.oracle.truffle.api.nodes.Node,int)","name":"get","kind":"method","signature":"public static BytecodeLocation get(Node location, int bci)","summary":"Creates a BytecodeLocation associated with the given node and bci.","params":[{"name":"location","type":"Node","doc":"a node in the interpreter (can be bound using @Bind BytecodeNode bytecode)"},{"name":"bci","type":"int","doc":"a bytecode index (can be bound using @Bind(\"$bytecodeIndex\") int bci)"}],"returns":{"type":"BytecodeLocation","doc":"the BytecodeLocation or null if location is not adopted by a BytecodeNode."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeLocation.get(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeLocation.html#get(com.oracle.truffle.api.TruffleStackTraceElement)","name":"get","kind":"method","signature":"public static BytecodeLocation get(TruffleStackTraceElement element)","summary":"Creates a BytecodeLocation associated with a TruffleStackTraceElement.","params":[{"name":"element","type":"TruffleStackTraceElement"}],"returns":{"type":"BytecodeLocation","doc":"the BytecodeLocation or null if no bytecode interpreter can be found in the stack trace element."},"throws":[{"type":"IllegalArgumentException","doc":"if the element has an invalid bytecode index."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html","name":"BytecodeNode","kind":"class","signature":"public abstract class BytecodeNode extends Node","summary":"Represents the current bytecode for a Bytecode DSL root node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeNode","kind":"constructor","signature":"protected BytecodeNode(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getBytecodeLocation(Frame, Node)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getBytecodeLocation(com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.nodes.Node)","name":"getBytecodeLocation","kind":"method","signature":"public final BytecodeLocation getBytecodeLocation(Frame frame, Node location)","summary":"Returns the current bytecode location using the current frame and location.","params":[{"name":"frame","type":"Frame","doc":"the current frame"},{"name":"location","type":"Node","doc":"the current location"}],"returns":{"type":"BytecodeLocation","doc":"the bytecode location, or null if the frame and node do not originate from a Bytecode DSL root node."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getBytecodeLocation(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getBytecodeLocation(com.oracle.truffle.api.frame.FrameInstance)","name":"getBytecodeLocation","kind":"method","signature":"public final BytecodeLocation getBytecodeLocation(FrameInstance frameInstance)","summary":"Gets the bytecode location associated with a particular FrameInstance obtained from a stack walk.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"BytecodeLocation","doc":"the bytecode location, or null if the frame belongs to another bytecode node or its BCI is unavailable"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getBytecodeLocation(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getBytecodeLocation(int)","name":"getBytecodeLocation","kind":"method","signature":"public final BytecodeLocation getBytecodeLocation(int bytecodeIndex)","summary":"Gets the bytecode location associated with a bytecode index.","details":"The result is only valid if the bytecode index was obtained from this bytecode node by binding $bytecodeIndex or calling getBytecodeIndex.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation."}],"returns":{"type":"BytecodeLocation"},"throws":[{"type":"IllegalArgumentException","doc":"if an invalid bytecode index was passed. This check is performed only if assertions (-ea) are enabled for performance reasons."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getBytecodeIndex(Frame)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getBytecodeIndex(com.oracle.truffle.api.frame.Frame)","name":"getBytecodeIndex","kind":"method","signature":"public int getBytecodeIndex(Frame frame)","summary":"Returns the BCI stored in the frame.","details":"Supported when GenerateBytecode.bytecodeIndexMode() is BytecodeIndexMode.FRAME or BytecodeIndexMode.MANUAL. In MANUAL mode, the value before the first store is unspecified.","params":[{"name":"frame","type":"Frame","doc":"the current frame"}],"returns":{"type":"int","doc":"the stored BCI, or -1 if explicitly cleared"},"throws":[{"type":"UnsupportedOperationException","doc":"if the configured bytecode index mode does not support frame access"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setBytecodeIndex(Frame, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setBytecodeIndex(com.oracle.truffle.api.frame.Frame,int)","name":"setBytecodeIndex","kind":"method","signature":"public void setBytecodeIndex(Frame frame, int bytecodeIndex)","summary":"Stores a bytecode index in the frame.","details":"This method is supported when GenerateBytecode.bytecodeIndexMode() is BytecodeIndexMode.FRAME or BytecodeIndexMode.MANUAL. In BytecodeIndexMode.FRAME mode, a subsequent automatic update may replace the manually stored value. In BytecodeIndexMode.MANUAL mode, resuming a continuation replaces the stored value with the resume bytecode index. Use at foreign-call boundaries; ordinary operations should bind $bytecodeIndex and pass it explicitly.","params":[{"name":"frame","type":"Frame","doc":"the current frame"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index to store, or -1 to clear the manual value"}],"throws":[{"type":"UnsupportedOperationException","doc":"if the configured bytecode index mode does not support frame access"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setBytecodeIndex(Node, Frame, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setBytecodeIndex(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.Frame,int)","name":"setBytecodeIndex","kind":"method","signature":"public static void setBytecodeIndex(Node location, Frame frame, int bytecodeIndex)","summary":"Looks up the current bytecode node from location and stores a bytecode index.","details":"Prefer setBytecodeIndex(Frame, int) when the bytecode node is already available, for example through @Bind BytecodeNode bytecodeNode. Cached execution must provide a location, typically this. During uncached execution, null or non-adoptable locations use the current encapsulating node, which contains the bytecode node. BytecodeNode.setBytecodeIndex(this, frame, bytecodeIndex);","params":[{"name":"location","type":"Node","doc":"the current node location, which must be a partial evaluation constant, or null for uncached execution"},{"name":"frame","type":"Frame","doc":"the frame belonging to the resolved bytecode node"},{"name":"bytecodeIndex","type":"int","doc":"the index to store, or -1 to clear it"}],"throws":[{"type":"NullPointerException","doc":"if no bytecode node can be resolved"},{"type":"UnsupportedOperationException","doc":"if the bytecode index mode does not support frame access"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceLocation(Frame, Node)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceLocation(com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.nodes.Node)","name":"getSourceLocation","kind":"method","signature":"public final SourceSection getSourceLocation(Frame frame, Node location)","summary":"Gets the most concrete source location associated with a particular location.","details":"Returns null if the node was not parsed with sources or if there is no associated source section for the given location.","params":[{"name":"frame","type":"Frame","doc":"the current frame"},{"name":"location","type":"Node","doc":"the current location"}],"returns":{"type":"SourceSection","doc":"a source section corresponding to the location. Returns null if the location is invalid or source sections are not available."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceLocations(Frame, Node)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceLocations(com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.nodes.Node)","name":"getSourceLocations","kind":"method","signature":"public final SourceSection[] getSourceLocations(Frame frame, Node location)","summary":"Gets all source locations associated with a particular location.","details":"More concrete source sections appear earlier in the array. Returns null if the node was not parsed with sources or if there is no associated source section for the given location. If source sections have not yet been materialized, then null is returned. Source sections may be materialized by calling ensureSourceInformation().","params":[{"name":"frame","type":"Frame","doc":"the current frame"},{"name":"location","type":"Node","doc":"the current location"}],"returns":{"type":"SourceSection[]","doc":"an array of source sections corresponding to the location. Returns null if the location is invalid or source sections are not available."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceLocation(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceLocation(int)","name":"getSourceLocation","kind":"method","signature":"public abstract SourceSection getSourceLocation(int bytecodeIndex)","summary":"Finds the most concrete source location associated with the given bytecode index.","details":"The method returns null if no source section could be found. If source sections have not yet been materialized, then null is returned. Source sections can be materialized by calling ensureSourceInformation().","params":[{"name":"bytecodeIndex","type":"int","doc":"the bytecode index, used to determine liveness of source sections. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation."}],"returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceLocations(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceLocations(int)","name":"getSourceLocations","kind":"method","signature":"public abstract SourceSection[] getSourceLocations(int bytecodeIndex)","summary":"Finds all source locations associated with the given bytecode index.","details":"More concrete source sections appear earlier in the array. Typically, a given section will contain the previous source section, but there is no guarantee that this the case. If source sections have not yet been materialized, then null is returned. Source sections can be materialized by calling ensureSourceInformation().","params":[{"name":"bytecodeIndex","type":"int","doc":"the bytecode index, used to determine liveness of source sections. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation."}],"returns":{"type":"SourceSection[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceLocation(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceLocation(com.oracle.truffle.api.frame.FrameInstance)","name":"getSourceLocation","kind":"method","signature":"public final SourceSection getSourceLocation(FrameInstance frameInstance)","summary":"Gets the source location associated with a particular frameInstance.","details":"If source sections have not yet been materialized, then null is returned. Source sections can be materialized by calling ensureSourceInformation().","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"SourceSection","doc":"the source location, or null if the frame instance does not originate from this bytecode node or a location could not be found"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceLocations(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceLocations(com.oracle.truffle.api.frame.FrameInstance)","name":"getSourceLocations","kind":"method","signature":"public final SourceSection[] getSourceLocations(FrameInstance frameInstance)","summary":"Gets all source locations associated with a particular frameInstance.","details":"If source sections have not yet been materialized, then null is returned. Source sections can be materialized by calling ensureSourceInformation().","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"SourceSection[]","doc":"the source locations, or null if the frame instance does not originate from this bytecode node or locations could not be found"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getBytecodeRootNode()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getBytecodeRootNode()","name":"getBytecodeRootNode","kind":"method","signature":"public final BytecodeRootNode getBytecodeRootNode()","summary":"Returns the BytecodeRootNode to which this node belongs.","returns":{"type":"BytecodeRootNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getInstruction(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getInstruction(int)","name":"getInstruction","kind":"method","signature":"public final Instruction getInstruction(int bytecodeIndex)","summary":"Gets the instruction associated with the given bytecode index.","details":"The result is only valid if bytecodeIndex was obtained from this bytecode node by binding $bytecodeIndex or calling getBytecodeIndex. Compatibility note: The result of this method is subject to change without notice between Truffle versions. This introspection API is therefore intended to be used for debugging and tracing purposes only. Do not rely on instructions for your language semantics.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation."}],"returns":{"type":"Instruction"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getInstructions()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getInstructions()","name":"getInstructions","kind":"method","signature":"public final Iterable<Instruction> getInstructions()","summary":"Returns the current set of instructions as an Iterable.","details":"Compatibility note: The result of this method is subject to change without notice between Truffle versions. This introspection API is therefore intended to be used for debugging and tracing purposes only. Do not rely on instructions for your language semantics. Footprint note: the backing iterable implementation consumes a fixed amount of memory. It allocates the underlying instructions when it is iterated.","returns":{"type":"Iterable<Instruction>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getInstructionsAsList()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getInstructionsAsList()","name":"getInstructionsAsList","kind":"method","signature":"public final List<Instruction> getInstructionsAsList()","summary":"Returns the current set of instructions as a List with random access.","details":"Compatibility note: The result of this method is subject to change without notice between Truffle versions. This introspection API is therefore intended to be used for debugging and tracing purposes only. Do not rely on instructions for your language semantics. Footprint note: this method eagerly materializes an entire list, unlike getInstructions(), which allocates its elements on demand. Prefer to use getInstructions() for simple iteration use cases.","returns":{"type":"List<Instruction>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceInformation()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceInformation()","name":"getSourceInformation","kind":"method","signature":"public abstract List<SourceInformation> getSourceInformation()","summary":"Produces a list of SourceInformation for a bytecode node.","details":"If no source information is available, returns null. Footprint note: the backing list implementation consumes a fixed amount of memory. It allocates the underlying SourceInformation elements when it is accessed.","returns":{"type":"List<SourceInformation>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getSourceInformationTree()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getSourceInformationTree()","name":"getSourceInformationTree","kind":"method","signature":"public abstract SourceInformationTree getSourceInformationTree()","summary":"Produces a SourceInformationTree for this node.","detailsOmitted":true,"returns":{"type":"SourceInformationTree"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.ensureSourceInformation()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#ensureSourceInformation()","name":"ensureSourceInformation","kind":"method","signature":"public final BytecodeNode ensureSourceInformation()","summary":"Ensures that sources are materialized for this node and returns an updated bytecode node if it changed during materialization.","returns":{"type":"BytecodeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.hasSourceInformation()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#hasSourceInformation()","name":"hasSourceInformation","kind":"method","signature":"public abstract boolean hasSourceInformation()","summary":"Returns true if source information was materialized for this bytecode node, otherwise false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.ensureSourceInformationWithContent()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#ensureSourceInformationWithContent()","name":"ensureSourceInformationWithContent","kind":"method","signature":"public BytecodeNode ensureSourceInformationWithContent()","summary":"Ensures that sources are materialized for this node (see ensureSourceInformation()) and that content is loaded.","details":"This method has no effect unless the interpreter declares a source content supplier.","returns":{"type":"BytecodeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.hasSourceInformationWithContent()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#hasSourceInformationWithContent()","name":"hasSourceInformationWithContent","kind":"method","signature":"public abstract boolean hasSourceInformationWithContent()","summary":"Returns true if source content was loaded for this bytecode node.","details":"If the interpreter does not declare a source content supplier, this method is equivalent to hasSourceInformation.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getExceptionHandlers()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getExceptionHandlers()","name":"getExceptionHandlers","kind":"method","signature":"public abstract List<ExceptionHandler> getExceptionHandlers()","summary":"Returns all of the exception handlers associated with this node.","returns":{"type":"List<ExceptionHandler>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getTagTree()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getTagTree()","name":"getTagTree","kind":"method","signature":"public abstract TagTree getTagTree()","summary":"Returns the TagTree for this node.","details":"The tree only contains tag operations for the tags that were enabled during parsing; if no tags were enabled, returns null.","returns":{"type":"TagTree"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.createMaterializedFrame(int, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#createMaterializedFrame(int,com.oracle.truffle.api.frame.MaterializedFrame)","name":"createMaterializedFrame","kind":"method","signature":"public final BytecodeFrame createMaterializedFrame(int bytecodeIndex, MaterializedFrame frame)","summary":"Returns a BytecodeFrame capturing the materialized interpreter state.","details":"Note that materialized frames may become invalid once the interpreter resumes; see the BytecodeFrame javadoc for more info. Prefer to capture the frame using this method (rather than createCopiedFrame) when capturing the frame is a frequent operation or when future updates to the frame should be observable.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index"},{"name":"frame","type":"MaterializedFrame","doc":"the current materialized frame"}],"returns":{"type":"BytecodeFrame","doc":"the captured bytecode frame"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.createCopiedFrame(int, Frame)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#createCopiedFrame(int,com.oracle.truffle.api.frame.Frame)","name":"createCopiedFrame","kind":"method","signature":"public final BytecodeFrame createCopiedFrame(int bytecodeIndex, Frame frame)","summary":"Returns a BytecodeFrame capturing a copy of the interpreter state.","details":"The copy is always valid, but will not observe subsequent changes to the frame. Prefer to capture the frame using this method (rather than createMaterializedFrame) when capturing the frame is an infrequent operation or when the frame does not need to observe future updates.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index"},{"name":"frame","type":"Frame","doc":"the current frame"}],"returns":{"type":"BytecodeFrame","doc":"the captured bytecode frame"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.INVALID","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#INVALID","name":"INVALID","kind":"field","signature":"public static final Object INVALID","summary":"Represents an illegal frame slot returned by getLocalValue(int, Frame, int).","details":"Pass this marker to setLocalValue(int, Frame, int, Object) to mark a slot illegal without changing its type profile. The marker is reserved for this API representation and should not be used as a guest value."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValues(int, Frame)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValues(int,com.oracle.truffle.api.frame.Frame)","name":"getLocalValues","kind":"method","signature":"public final Object[] getLocalValues(int bytecodeIndex, Frame frame)","summary":"Returns a new array containing the current value of each local in the frame.","detailsOmitted":true,"params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the given frame. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant. If the bytecode index is inconsistent with the state of the frame passed then the result of this method is unspecified."},{"name":"frame","type":"Frame","doc":"the frame to read locals from"}],"returns":{"type":"Object[]","doc":"an array of local values, using the representation described by getLocalValue(int, Frame, int)"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValue(int, Frame, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValue(int,com.oracle.truffle.api.frame.Frame,int)","name":"getLocalValue","kind":"method","signature":"public abstract Object getLocalValue(int bytecodeIndex, Frame frame, int localOffset)","summary":"Returns the current value of the local at offset localOffset in the frame.","details":"This method should be used for uncommon scenarios, like when a node needs to read a local directly from the frame. Prefer reading locals directly in the bytecode (via LoadLocal operations or LocalAccessor) when possible. This accessor does not respect the GenerateBytecode.illegalLocalException() attribute; an illegal frame slot is returned as INVALID.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the given frame. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant. If the bytecode index is inconsistent with the state of the frame passed then the result of this method is unspecified."},{"name":"frame","type":"Frame","doc":"the frame to read locals from"},{"name":"localOffset","type":"int","doc":"the offset of the local. The offset should be in the range [0, getLocalCount(bytecodeIndex)) (and may come from BytecodeLocal.getLocalOffset() or LocalVariable.getLocalOffset()). The value must be a partial evaluation constant."}],"returns":{"type":"Object","doc":"the current local value or INVALID for an illegal frame slot."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalNames(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalNames(int)","name":"getLocalNames","kind":"method","signature":"public final Object[] getLocalNames(int bytecodeIndex)","summary":"Returns a new array containing the slot name of locals, as provided during bytecode building.","details":"If a local is not allocated using a createLocal overload that takes a name, its name will be null. The order of the local names corresponds to the order in which the locals were created using one of the createLocal() overloads. It is up to the language to track the creation order.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index, used to determine liveness of locals. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant."}],"returns":{"type":"Object[]","doc":"an array of local names"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalName(int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalName(int,int)","name":"getLocalName","kind":"method","signature":"public abstract Object getLocalName(int bytecodeIndex, int localOffset)","summary":"Returns the name of the local at the given localOffset, as provided during bytecode building.","details":"If a local is not allocated using a createLocal overload that takes a name, its name will be null.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index, used to determine liveness of locals. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant."},{"name":"localOffset","type":"int","doc":"the offset of the local. The offset should be in the range [0, getLocalCount(bytecodeIndex)) (and may come from BytecodeLocal.getLocalOffset() or LocalVariable.getLocalOffset()). The value must be a partial evaluation constant."}],"returns":{"type":"Object","doc":"the local name as a partial evaluation constant"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalInfos(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalInfos(int)","name":"getLocalInfos","kind":"method","signature":"public final Object[] getLocalInfos(int bytecodeIndex)","summary":"Returns a new array containing the infos of locals, as provided during bytecode building.","details":"If a local is not allocated using a createLocal overload that takes an info, its info will be null. The order of the local infos corresponds to the order in which the locals were created using one of the createLocal() overloads. It is up to the language to track the creation order.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index, used to determine liveness of locals. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant."}],"returns":{"type":"Object[]","doc":"an array of local names"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalInfo(int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalInfo(int,int)","name":"getLocalInfo","kind":"method","signature":"public abstract Object getLocalInfo(int bytecodeIndex, int localOffset)","summary":"Returns the info of a local, as provided during bytecode building.","details":"If a local is not allocated using a createLocal overload that takes an info, its info will be null.","params":[{"name":"bytecodeIndex","type":"int","doc":"bytecodeIndex the current bytecode index, used to determine liveness of locals. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant."},{"name":"localOffset","type":"int","doc":"the offset of the local. The offset should be in the range [0, getLocalCount(bytecodeIndex)) (and may come from BytecodeLocal.getLocalOffset() or LocalVariable.getLocalOffset()). The value must be a partial evaluation constant."}],"returns":{"type":"Object","doc":"the local info as a partial evaluation constant"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValues(int, Frame, Object[])","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValues(int,com.oracle.truffle.api.frame.Frame,java.lang.Object[])","name":"setLocalValues","kind":"method","signature":"public final void setLocalValues(int bytecodeIndex, Frame frame, Object[] values)","summary":"Updates the values of the live locals in the frame.","details":"This method should be used for uncommon scenarios, like setting locals in the prolog/epilog or from another root node. Prefer setting locals directly in the bytecode (via StoreLocal operations or LocalRangeAccessor) when possible.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the given frame. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant. If the bytecode index is inconsistent with the state of the frame passed then the result of this method is unspecified."},{"name":"frame","type":"Frame","doc":"the frame to store the local values into"},{"name":"values","type":"Object[]","doc":"the values to store into the frame. The length of this array should match the number of live locals."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.copyLocalValues(int, Frame, Frame)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#copyLocalValues(int,com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.frame.Frame)","name":"copyLocalValues","kind":"method","signature":"public final void copyLocalValues(int bytecodeIndex, Frame source, Frame destination)","summary":"Copies the values of the live locals from the source frame to the destination frame.","details":"The frames must have the same descriptor as this bytecode node.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the given frames. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant. If the bytecode index is inconsistent with the state of the frames passed then the result of this method is unspecified."},{"name":"source","type":"Frame","doc":"the frame to copy locals from"},{"name":"destination","type":"Frame","doc":"the frame to copy locals into"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.copyLocalValues(int, Frame, Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#copyLocalValues(int,com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.frame.Frame,int,int)","name":"copyLocalValues","kind":"method","signature":"public final void copyLocalValues(int bytecodeIndex, Frame source, Frame destination, int localOffset, int localCount)","summary":"Copies a range of locals from the source frame to the destination frame.","detailsOmitted":true,"params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the given frames. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant. If the bytecode index is inconsistent with the state of the frame passed then the result of this method is unspecified."},{"name":"source","type":"Frame","doc":"the frame to copy locals from"},{"name":"destination","type":"Frame","doc":"the frame to copy locals into"},{"name":"localOffset","type":"int","doc":"the offset of the first local to be copied. The offset should be in the range [0, getLocalCount(bytecodeIndex)) (and may come from BytecodeLocal.getLocalOffset() or LocalVariable.getLocalOffset()). The value must be a partial evaluation constant."},{"name":"localCount","type":"int","doc":"the number of locals to copy. The value must be a partial evaluation constant."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValue(int, Frame, int, Object)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValue(int,com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setLocalValue","kind":"method","signature":"public abstract void setLocalValue(int bytecodeIndex, Frame frame, int localOffset, Object value)","summary":"Updates the current value of the local at index localOffset in the frame.","detailsOmitted":true,"params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the given frame. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant. If the bytecode index is inconsistent with the state of the frame passed then the result of this method is unspecified."},{"name":"frame","type":"Frame","doc":"the frame to store the local value into"},{"name":"localOffset","type":"int","doc":"the offset of the local. The offset should be in the range [0, getLocalCount(bytecodeIndex)) (and may come from BytecodeLocal.getLocalOffset() or LocalVariable.getLocalOffset()). The value must be a partial evaluation constant."},{"name":"value","type":"Object","doc":"the value to store into the local"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternal(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternal(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternal","kind":"method","signature":"protected abstract Object getLocalValueInternal(Frame frame, int localOffset, int localIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternalBoolean(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternalBoolean(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternalBoolean","kind":"method","signature":"protected boolean getLocalValueInternalBoolean(Frame frame, int localOffset, int localIndex) throws UnexpectedResultException","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternalByte(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternalByte(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternalByte","kind":"method","signature":"protected byte getLocalValueInternalByte(Frame frame, int localOffset, int localIndex) throws UnexpectedResultException","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternalInt(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternalInt(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternalInt","kind":"method","signature":"protected int getLocalValueInternalInt(Frame frame, int localOffset, int localIndex) throws UnexpectedResultException","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternalLong(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternalLong(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternalLong","kind":"method","signature":"protected long getLocalValueInternalLong(Frame frame, int localOffset, int localIndex) throws UnexpectedResultException","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternalFloat(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternalFloat(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternalFloat","kind":"method","signature":"protected float getLocalValueInternalFloat(Frame frame, int localOffset, int localIndex) throws UnexpectedResultException","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValueInternalDouble(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValueInternalDouble(com.oracle.truffle.api.frame.Frame,int,int)","name":"getLocalValueInternalDouble","kind":"method","signature":"protected double getLocalValueInternalDouble(Frame frame, int localOffset, int localIndex) throws UnexpectedResultException","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternal(Frame, int, int, Object)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternal(com.oracle.truffle.api.frame.Frame,int,int,java.lang.Object)","name":"setLocalValueInternal","kind":"method","signature":"protected abstract void setLocalValueInternal(Frame frame, int localOffset, int localIndex, Object value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternalBoolean(Frame, int, int, boolean)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternalBoolean(com.oracle.truffle.api.frame.Frame,int,int,boolean)","name":"setLocalValueInternalBoolean","kind":"method","signature":"protected void setLocalValueInternalBoolean(Frame frame, int localOffset, int localIndex, boolean value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternalByte(Frame, int, int, byte)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternalByte(com.oracle.truffle.api.frame.Frame,int,int,byte)","name":"setLocalValueInternalByte","kind":"method","signature":"protected void setLocalValueInternalByte(Frame frame, int localOffset, int localIndex, byte value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternalInt(Frame, int, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternalInt(com.oracle.truffle.api.frame.Frame,int,int,int)","name":"setLocalValueInternalInt","kind":"method","signature":"protected void setLocalValueInternalInt(Frame frame, int localOffset, int localIndex, int value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternalLong(Frame, int, int, long)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternalLong(com.oracle.truffle.api.frame.Frame,int,int,long)","name":"setLocalValueInternalLong","kind":"method","signature":"protected void setLocalValueInternalLong(Frame frame, int localOffset, int localIndex, long value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternalFloat(Frame, int, int, float)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternalFloat(com.oracle.truffle.api.frame.Frame,int,int,float)","name":"setLocalValueInternalFloat","kind":"method","signature":"protected void setLocalValueInternalFloat(Frame frame, int localOffset, int localIndex, float value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValueInternalDouble(Frame, int, int, double)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValueInternalDouble(com.oracle.truffle.api.frame.Frame,int,int,double)","name":"setLocalValueInternalDouble","kind":"method","signature":"protected void setLocalValueInternalDouble(Frame frame, int localOffset, int localIndex, double value)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.clearLocalValueInternal(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#clearLocalValueInternal(com.oracle.truffle.api.frame.Frame,int,int)","name":"clearLocalValueInternal","kind":"method","signature":"protected abstract void clearLocalValueInternal(Frame frame, int localOffset, int localIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.isLocalClearedInternal(Frame, int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#isLocalClearedInternal(com.oracle.truffle.api.frame.Frame,int,int)","name":"isLocalClearedInternal","kind":"method","signature":"protected abstract boolean isLocalClearedInternal(Frame frame, int localOffset, int localIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalNameInternal(int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalNameInternal(int,int)","name":"getLocalNameInternal","kind":"method","signature":"protected abstract Object getLocalNameInternal(int localOffset, int localIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalInfoInternal(int, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalInfoInternal(int,int)","name":"getLocalInfoInternal","kind":"method","signature":"protected abstract Object getLocalInfoInternal(int localOffset, int localIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"localOffset","type":"int"},{"name":"localIndex","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalCount(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalCount(int)","name":"getLocalCount","kind":"method","signature":"public abstract int getLocalCount(int bytecodeIndex)","summary":"Returns the number of live locals at the given bytecodeIndex.","params":[{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index, used to determine liveness of locals. A valid bytecode index can be obtained by calling BytecodeLocation.getBytecodeIndex() or using @Bind(\"$bytecodeIndex\") annotation. The value must be a partial evaluation constant."}],"returns":{"type":"int","doc":"the number of live locals as a partial evaluation constant."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocals()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocals()","name":"getLocals","kind":"method","signature":"public abstract List<LocalVariable> getLocals()","summary":"Returns a list of all of the local variables with liveness info.","returns":{"type":"List<LocalVariable>","doc":"a list of locals"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setUncachedThreshold(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setUncachedThreshold(int)","name":"setUncachedThreshold","kind":"method","signature":"public abstract void setUncachedThreshold(int threshold)","summary":"Sets the number of invocations/resumptions or backward branches for which this interpreter executes uncached before transitioning to cached on the next such event.","details":"See GenerateBytecode.defaultUncachedThreshold for information about the default threshold and the meaning of different threshold values. This method should be called before executing the root node. It will not have any effect on an uncached interpreter that is currently executing, an interpreter that is already cached, or an interpreter that does not enable uncached.","params":[{"name":"threshold","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getTier()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getTier()","name":"getTier","kind":"method","signature":"public abstract BytecodeTier getTier()","summary":"Returns the tier of this bytecode node.","returns":{"type":"BytecodeTier"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.dump()","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#dump()","name":"dump","kind":"method","signature":"public final String dump()","summary":"Convert this bytecode node to a string representation for debugging purposes.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.dump(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#dump(int)","name":"dump","kind":"method","signature":"public final String dump(int bytecodeIndex)","summary":"Convert this bytecode node to a string representation for debugging purposes.","details":"Highlights the location at the given bytecode index.","params":[{"name":"bytecodeIndex","type":"int","doc":"an optional location to highlight in the dump."}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.dump(BytecodeLocation)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#dump(com.oracle.truffle.api.bytecode.BytecodeLocation)","name":"dump","kind":"method","signature":"public final String dump(BytecodeLocation highlightedLocation)","summary":"Convert this bytecode node to a string representation for debugging purposes.","details":"Highlights the given bytecode location.","params":[{"name":"highlightedLocation","type":"BytecodeLocation","doc":"an optional location to highlight in the dump."}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.findInstruction(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#findInstruction(int)","name":"findInstruction","kind":"method","signature":"protected abstract Instruction findInstruction(int bytecodeIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"bytecodeIndex","type":"int"}],"returns":{"type":"Instruction"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.findBytecodeIndex(Frame, Node)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#findBytecodeIndex(com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.nodes.Node)","name":"findBytecodeIndex","kind":"method","signature":"protected abstract int findBytecodeIndex(Frame frame, Node operationNode)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frame","type":"Frame"},{"name":"operationNode","type":"Node"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.findBytecodeIndex(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#findBytecodeIndex(com.oracle.truffle.api.frame.FrameInstance)","name":"findBytecodeIndex","kind":"method","signature":"protected abstract int findBytecodeIndex(FrameInstance frameInstance)","summary":"Internal method to be implemented by generated code.","params":[{"name":"frameInstance","type":"FrameInstance"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.translateBytecodeIndex(BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#translateBytecodeIndex(com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"translateBytecodeIndex","kind":"method","signature":"protected abstract int translateBytecodeIndex(BytecodeNode newNode, int bytecodeIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"newNode","type":"BytecodeNode"},{"name":"bytecodeIndex","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.validateBytecodeIndex(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#validateBytecodeIndex(int)","name":"validateBytecodeIndex","kind":"method","signature":"protected abstract boolean validateBytecodeIndex(int bytecodeIndex)","summary":"Internal method to be implemented by generated code.","params":[{"name":"bytecodeIndex","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.findLocation(int)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#findLocation(int)","name":"findLocation","kind":"method","signature":"protected final BytecodeLocation findLocation(int bytecodeIndex)","summary":"Internal method called by generated code.","params":[{"name":"bytecodeIndex","type":"int"}],"returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.createTransition(BytecodeNode, int, BytecodeNode, int, boolean)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#createTransition(com.oracle.truffle.api.bytecode.BytecodeNode,int,com.oracle.truffle.api.bytecode.BytecodeNode,int,boolean)","name":"createTransition","kind":"method","signature":"protected abstract BytecodeTransition createTransition(BytecodeNode oldBytecodeNode, int oldBytecodeIndex, BytecodeNode newBytecodeNode, int newBytecodeIndex, boolean wasCompiled)","summary":"Internal method to be implemented by generated code.","params":[{"name":"oldBytecodeNode","type":"BytecodeNode"},{"name":"oldBytecodeIndex","type":"int"},{"name":"newBytecodeNode","type":"BytecodeNode"},{"name":"newBytecodeIndex","type":"int"},{"name":"wasCompiled","type":"boolean"}],"returns":{"type":"BytecodeTransition"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.createDefaultStackTraceElement(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#createDefaultStackTraceElement(com.oracle.truffle.api.TruffleStackTraceElement)","name":"createDefaultStackTraceElement","kind":"method","signature":"protected static final Object createDefaultStackTraceElement(TruffleStackTraceElement e)","summary":"Internal method called by generated code.","params":[{"name":"e","type":"TruffleStackTraceElement"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalValues(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalValues(com.oracle.truffle.api.frame.FrameInstance)","name":"getLocalValues","kind":"method","signature":"public static Object[] getLocalValues(FrameInstance frameInstance)","summary":"Returns a new array containing the current value of each live local in the frameInstance.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"Object[]","doc":"a new array of local values, or null if the frame instance does not correspond to a BytecodeRootNode or its bytecode index cannot be determined"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.getLocalNames(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#getLocalNames(com.oracle.truffle.api.frame.FrameInstance)","name":"getLocalNames","kind":"method","signature":"public static Object[] getLocalNames(FrameInstance frameInstance)","summary":"Returns a new array containing the names of the live locals in the frameInstance.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"Object[]","doc":"a new array of names, or null if the frame instance does not correspond to a BytecodeRootNode or its bytecode index cannot be determined"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.setLocalValues(FrameInstance, Object[])","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#setLocalValues(com.oracle.truffle.api.frame.FrameInstance,java.lang.Object[])","name":"setLocalValues","kind":"method","signature":"public static boolean setLocalValues(FrameInstance frameInstance, Object[] values)","summary":"Sets the current values of the live locals in the frameInstance.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"},{"name":"values","type":"Object[]"}],"returns":{"type":"boolean","doc":"whether the locals could be set; false if the frame instance does not correspond to a BytecodeRootNode or its bytecode index cannot be determined"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.resolveFrameImpl(FrameInstance, FrameInstance.FrameAccess)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#resolveFrameImpl(com.oracle.truffle.api.frame.FrameInstance,com.oracle.truffle.api.frame.FrameInstance.FrameAccess)","name":"resolveFrameImpl","kind":"method","signature":"protected abstract Frame resolveFrameImpl(FrameInstance frameInstance, FrameInstance.FrameAccess access)","summary":"Internal method to be overridden by generated code.","params":[{"name":"frameInstance","type":"FrameInstance"},{"name":"access","type":"FrameInstance.FrameAccess"}],"returns":{"type":"Frame"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.resolveFrameImpl(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#resolveFrameImpl(com.oracle.truffle.api.TruffleStackTraceElement)","name":"resolveFrameImpl","kind":"method","signature":"protected Frame resolveFrameImpl(TruffleStackTraceElement element)","summary":"Internal method to be overridden by generated code.","details":"By default, frames are unavailable in stack trace elements unless GenerateBytecode.captureFramesForTrace() is set.","params":[{"name":"element","type":"TruffleStackTraceElement"}],"returns":{"type":"Frame"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.resolveNonVirtualFrameImpl(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#resolveNonVirtualFrameImpl(com.oracle.truffle.api.TruffleStackTraceElement)","name":"resolveNonVirtualFrameImpl","kind":"method","signature":"protected Frame resolveNonVirtualFrameImpl(TruffleStackTraceElement element)","summary":"Internal method to be overridden by generated code.","details":"By default, frames are unavailable in stack trace elements unless GenerateBytecode.captureFramesForTrace() is set.","params":[{"name":"element","type":"TruffleStackTraceElement"}],"returns":{"type":"Frame"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.get(FrameInstance)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#get(com.oracle.truffle.api.frame.FrameInstance)","name":"get","kind":"method","signature":"public static BytecodeNode get(FrameInstance frameInstance)","summary":"Gets the bytecode node for a given FrameInstance.","details":"Frame instances are invalid as soon as the execution of a frame is continued. A bytecode node can be used to materialize a BytecodeLocation, which can be used after the FrameInstance is no longer valid.","params":[{"name":"frameInstance","type":"FrameInstance","doc":"the frame instance"}],"returns":{"type":"BytecodeNode","doc":"the corresponding bytecode node or null if no node can be found."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.get(Node)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public static BytecodeNode get(Node node)","summary":"Gets the bytecode location for a given Node, if it can be found in the parent chain.","params":[{"name":"node","type":"Node","doc":"the node, which must be a partial evaluation constant."}],"returns":{"type":"BytecodeNode","doc":"the corresponding bytecode location or null if no location can be found."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeNode.get(TruffleStackTraceElement)","href":"com/oracle/truffle/api/bytecode/BytecodeNode.html#get(com.oracle.truffle.api.TruffleStackTraceElement)","name":"get","kind":"method","signature":"public static BytecodeNode get(TruffleStackTraceElement element)","summary":"Gets the bytecode location for a given TruffleStackTraceElement, if it can be found using the stack trace location.","params":[{"name":"element","type":"TruffleStackTraceElement","doc":"the stack trace element"}],"returns":{"type":"BytecodeNode","doc":"the corresponding bytecode location or null if no location can be found."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeParser","href":"com/oracle/truffle/api/bytecode/BytecodeParser.html","name":"BytecodeParser","kind":"interface","signature":"public interface BytecodeParser<T extends BytecodeBuilder>","summary":"Functional interface containing a method to parse one or more nodes using a BytecodeBuilder.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeParser.parse(T)","href":"com/oracle/truffle/api/bytecode/BytecodeParser.html#parse(T)","name":"parse","kind":"method","signature":"void parse(T builder)","summary":"The parse method.","details":"Should be idempotent and free of side-effects.","params":[{"name":"builder","type":"T"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html","name":"BytecodeRootNode","kind":"interface","signature":"public interface BytecodeRootNode","summary":"Base interface to be implemented by the bytecode root node of a Bytecode DSL interpreter.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.execute(VirtualFrame)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#execute(com.oracle.truffle.api.frame.VirtualFrame)","name":"execute","kind":"method","signature":"Object execute(VirtualFrame frame)","summary":"Entrypoint to the root node.","details":"This method will be generated by the Bytecode DSL. Do not override.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame used for execution"}],"returns":{"type":"Object","doc":"the value returned by the root node"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.interceptIncomingValue(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#interceptIncomingValue(java.lang.Object)","name":"interceptIncomingValue","kind":"method","signature":"default Object interceptIncomingValue(Object value)","summary":"Optional hook invoked to convert a value received from tag instrumentation before it resumes guest-language execution.","details":"Instruments can introduce values by returning a non-null value from an unwind callback such as ExecutionEventNode.onUnwind(VirtualFrame, Object) or ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object). Such values are interop values and may need to be converted to a representation supported by the guest language.","params":[{"name":"value","type":"Object","doc":"the interop value received from tag instrumentation"}],"returns":{"type":"Object","doc":"the value to resume execution with"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.interceptOutgoingValue(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#interceptOutgoingValue(java.lang.Object)","name":"interceptOutgoingValue","kind":"method","signature":"default Object interceptOutgoingValue(Object value)","summary":"Optional hook invoked to convert every guest-language value before it is exposed to tag instrumentation.","detailsOmitted":true,"params":[{"name":"value","type":"Object","doc":"the guest-language value being exposed to tag instrumentation"}],"returns":{"type":"Object","doc":"the interop value to report to tag instrumentation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.getInstrumentationNodeObject(TagTreeNode)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#getInstrumentationNodeObject(com.oracle.truffle.api.bytecode.TagTreeNode)","name":"getInstrumentationNodeObject","kind":"method","signature":"default Object getInstrumentationNodeObject(TagTreeNode node)","summary":"Supplies the node object for a tagged bytecode region.","detailsOmitted":true,"params":[{"name":"node","type":"TagTreeNode","doc":"the tagged region belonging to this root"}],"returns":{"type":"Object","doc":"an interop node object, or null if no properties are available"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.interceptControlFlowException(ControlFlowException, VirtualFrame, BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#interceptControlFlowException(com.oracle.truffle.api.nodes.ControlFlowException,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"interceptControlFlowException","kind":"method","signature":"default Object interceptControlFlowException(ControlFlowException ex, VirtualFrame frame, BytecodeNode bytecodeNode, int bytecodeIndex) throws Throwable","summary":"Optional hook invoked when a ControlFlowException is thrown during execution.","detailsOmitted":true,"params":[{"name":"ex","type":"ControlFlowException","doc":"the control flow exception"},{"name":"frame","type":"VirtualFrame","doc":"the frame at the point the exception was thrown"},{"name":"bytecodeNode","type":"BytecodeNode","doc":"the bytecode node executing when the exception was thrown"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index of the instruction that caused the exception"}],"returns":{"type":"Object"},"throws":[{"type":"Throwable"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.interceptInternalException(Throwable, VirtualFrame, BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#interceptInternalException(java.lang.Throwable,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"interceptInternalException","kind":"method","signature":"default Throwable interceptInternalException(Throwable t, VirtualFrame frame, BytecodeNode bytecodeNode, int bytecodeIndex)","summary":"Optional hook invoked when an internal exception (i.e., anything other than AbstractTruffleException or ControlFlowException) is thrown during execution.","detailsOmitted":true,"params":[{"name":"t","type":"Throwable","doc":"the internal exception"},{"name":"frame","type":"VirtualFrame","doc":"the frame at the point the exception was thrown"},{"name":"bytecodeNode","type":"BytecodeNode","doc":"the bytecode node executing when the exception was thrown"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index of the instruction that caused the exception"}],"returns":{"type":"Throwable","doc":"an equivalent guest-language exception or an exception to be rethrown"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.interceptTruffleException(AbstractTruffleException, VirtualFrame, BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#interceptTruffleException(com.oracle.truffle.api.exception.AbstractTruffleException,com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"interceptTruffleException","kind":"method","signature":"default AbstractTruffleException interceptTruffleException(AbstractTruffleException ex, VirtualFrame frame, BytecodeNode bytecodeNode, int bytecodeIndex)","summary":"Optional hook invoked when an AbstractTruffleException is thrown during execution.","details":"This hook is not invoked for exceptions configured by GenerateBytecode.unwindExceptions(). It can be used to preprocess other exceptions or replace them with another exception before they are handled.","params":[{"name":"ex","type":"AbstractTruffleException","doc":"the Truffle exception"},{"name":"frame","type":"VirtualFrame","doc":"the frame at the point the exception was thrown"},{"name":"bytecodeNode","type":"BytecodeNode","doc":"the bytecode node executing when the exception was thrown"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index of the instruction that caused the exception"}],"returns":{"type":"AbstractTruffleException","doc":"the Truffle exception to be handled by guest code"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.traceTransition(BytecodeTransition, Frame)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#traceTransition(com.oracle.truffle.api.bytecode.BytecodeTransition,com.oracle.truffle.api.frame.Frame)","name":"traceTransition","kind":"method","signature":"default void traceTransition(BytecodeTransition transition, Frame frame)","summary":"Optional hook invoked when executing bytecode transitions from one bytecode node to another.","detailsOmitted":true,"params":[{"name":"transition","type":"BytecodeTransition","doc":"describes the transition that occurred"},{"name":"frame","type":"Frame","doc":"the current execution frame"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.getBytecodeNode()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#getBytecodeNode()","name":"getBytecodeNode","kind":"method","signature":"default BytecodeNode getBytecodeNode()","summary":"Returns the current bytecode node.","details":"Note that the bytecode may change at any point in time. This method will be generated by the Bytecode DSL. Do not override.","returns":{"type":"BytecodeNode","doc":"the current bytecode node"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.getRootNodes()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#getRootNodes()","name":"getRootNodes","kind":"method","signature":"default BytecodeRootNodes<?> getRootNodes()","summary":"Returns the BytecodeRootNodes instance associated with this root node.","details":"This method will be generated by the Bytecode DSL. Do not override.","returns":{"type":"BytecodeRootNodes<?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.getStartLocation()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#getStartLocation()","name":"getStartLocation","kind":"method","signature":"default BytecodeLocation getStartLocation()","summary":"Returns the location associated with the start of this root node.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.getSource()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#getSource()","name":"getSource","kind":"method","signature":"default Source getSource()","summary":"Returns the source for this root node.","details":"If no source information is available, returns null. This method will be generated by the Bytecode DSL. Do not override.","returns":{"type":"Source"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.ensureSourceSection()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#ensureSourceSection()","name":"ensureSourceSection","kind":"method","signature":"default SourceSection ensureSourceSection()","summary":"Returns the source section for this root node and materializes source information if it was not yet materialized.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.ensureSourceSectionWithContent()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#ensureSourceSectionWithContent()","name":"ensureSourceSectionWithContent","kind":"method","signature":"default SourceSection ensureSourceSectionWithContent()","summary":"Returns the source section for this root node and materializes source information with content if it was not yet materialized.","details":"This method can only be used if the interpreter declares a source content supplier.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNode.dump()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNode.html#dump()","name":"dump","kind":"method","signature":"default String dump()","summary":"Helper method to dump the root node's bytecode.","returns":{"type":"String","doc":"a string representation of the bytecode"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html","name":"BytecodeRootNodes","kind":"class","signature":"public abstract class BytecodeRootNodes<T extends RootNode & BytecodeRootNode>","summary":"A BytecodeRootNodes instance encapsulates one or more bytecode root nodes produced from a single parse.","details":"To reduce interpreter footprint, it supports on-demand reparsing to compute source and instrumentation metadata. This class will be overridden by the Bytecode DSL. Do not override manually."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.TOKEN","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#TOKEN","name":"TOKEN","kind":"field","signature":"protected static final Object TOKEN","summary":"A singleton object used to ensure certain Bytecode DSL APIs are only used by generated code."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.nodes","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#nodes","name":"nodes","kind":"field","signature":"protected T[] nodes","summary":"The array of parsed nodes."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes(Object, BytecodeParser)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#%3Cinit%3E(java.lang.Object,com.oracle.truffle.api.bytecode.BytecodeParser)","name":"BytecodeRootNodes","kind":"constructor","signature":"protected BytecodeRootNodes(Object token, BytecodeParser<? extends BytecodeBuilder> parser)","summary":"Default constructor for a BytecodeBuilder.","params":[{"name":"token","type":"Object"},{"name":"parser","type":"BytecodeParser<? extends BytecodeBuilder>"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.getNodes()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#getNodes()","name":"getNodes","kind":"method","signature":"public final List<T> getNodes()","summary":"Returns the list of bytecode root nodes.","details":"The order of the list corresponds to the order of beginRoot(...) calls on the builder.","returns":{"type":"List<T>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.getNode(int)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#getNode(int)","name":"getNode","kind":"method","signature":"public final T getNode(int i)","summary":"Returns the bytecode root node at index i.","details":"The order of the list corresponds to the order of beginRoot(...) calls on the builder.","params":[{"name":"i","type":"int"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.count()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#count()","name":"count","kind":"method","signature":"public final int count()","summary":"Returns the number of root nodes produced from the parse.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.getParser()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#getParser()","name":"getParser","kind":"method","signature":"protected final BytecodeParser<? extends BytecodeBuilder> getParser()","summary":"Returns the parser used to parse the root nodes.","returns":{"type":"BytecodeParser<? extends BytecodeBuilder>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.update(BytecodeConfig)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#update(com.oracle.truffle.api.bytecode.BytecodeConfig)","name":"update","kind":"method","signature":"public final boolean update(BytecodeConfig config)","summary":"Updates the configuration for the given bytecode nodes.","detailsOmitted":true,"params":[{"name":"config","type":"BytecodeConfig"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.updateImpl(BytecodeConfigEncoder, long)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#updateImpl(com.oracle.truffle.api.bytecode.BytecodeConfigEncoder,long)","name":"updateImpl","kind":"method","signature":"protected abstract boolean updateImpl(BytecodeConfigEncoder encoder, long encoding)","summary":"Implementation of reparse.","details":"This method will be generated by the Bytecode DSL. Do not override.","params":[{"name":"encoder","type":"BytecodeConfigEncoder"},{"name":"encoding","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.serialize(DataOutput, BytecodeSerializer)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#serialize(java.io.DataOutput,com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer)","name":"serialize","kind":"method","signature":"public void serialize(DataOutput buffer, BytecodeSerializer callback) throws IOException","summary":"Serializes builder bytecode for these nodes.","deprecated":{"since":"25.7","doc":"Use serializeBuilderBytecode."},"params":[{"name":"buffer","type":"DataOutput"},{"name":"callback","type":"BytecodeSerializer"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.serializeBuilderBytecode(DataOutput, BytecodeSerializer)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#serializeBuilderBytecode(java.io.DataOutput,com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer)","name":"serializeBuilderBytecode","kind":"method","signature":"public void serializeBuilderBytecode(DataOutput buffer, BytecodeSerializer callback) throws IOException","summary":"Serializes the nodes as a sequence of builder calls, including all optional metadata (e.g., source information), so the nodes can be deserialized with any configuration or reparsed later when more metadata is requested.","details":"This method will always fail unless serialization is enabled. Unlike BytecodeDescriptor.serializeBuilderBytecode, this method serializes the nodes using their current field values. This method will be overridden by the Bytecode DSL. Do not override.","params":[{"name":"buffer","type":"DataOutput","doc":"The buffer to write the builder payload to."},{"name":"callback","type":"BytecodeSerializer","doc":"A language-defined method for serializing language constants."}],"throws":[{"type":"IOException","doc":"if an I/O error occurs with the buffer."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.serializeExecutionBytecode(DataOutput, BytecodeConfig, BytecodeSerializer)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#serializeExecutionBytecode(java.io.DataOutput,com.oracle.truffle.api.bytecode.BytecodeConfig,com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer)","name":"serializeExecutionBytecode","kind":"method","signature":"public void serializeExecutionBytecode(DataOutput buffer, BytecodeConfig config, BytecodeSerializer callback) throws IOException","summary":"Serializes execution bytecode and its metadata for the requested config.","detailsOmitted":true,"params":[{"name":"buffer","type":"DataOutput","doc":"The buffer to write the execution bytecode payload to."},{"name":"config","type":"BytecodeConfig","doc":"The target configuration for execution bytecode."},{"name":"callback","type":"BytecodeSerializer","doc":"A language-defined method for serializing language constants."}],"throws":[{"type":"IOException","doc":"if an I/O error occurs with the buffer."}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.ensureSourceInformation()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#ensureSourceInformation()","name":"ensureSourceInformation","kind":"method","signature":"public final boolean ensureSourceInformation()","summary":"Ensures that sources are available, reparsing if necessary.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.ensureSourceInformationWithContent()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#ensureSourceInformationWithContent()","name":"ensureSourceInformationWithContent","kind":"method","signature":"public boolean ensureSourceInformationWithContent()","summary":"Ensures that sources are available (see ensureSourceInformation()) and that content is loaded.","details":"If the interpreter does not declare a source content supplier, this method is equivalent to ensureSourceInformation.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.ensureComplete()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#ensureComplete()","name":"ensureComplete","kind":"method","signature":"public final boolean ensureComplete()","summary":"Ensures that all sources and instrumentation metadata is available, reparsing if necessary.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.addInstructionTracer(InstructionTracer)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#addInstructionTracer(com.oracle.truffle.api.bytecode.InstructionTracer)","name":"addInstructionTracer","kind":"method","signature":"public void addInstructionTracer(InstructionTracer tracer)","summary":"Registers an InstructionTracer for this BytecodeRootNodes instance.","detailsOmitted":true,"params":[{"name":"tracer","type":"InstructionTracer","doc":"the tracer to install"}],"throws":[{"type":"IllegalArgumentException","doc":"if tracer is exclusive to a different BytecodeDescriptor (see InstructionTracer.getExclusiveBytecodeDescriptor())"},{"type":"UnsupportedOperationException","doc":"if instruction tracing is not enabled for this interpreter"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.removeInstructionTracer(InstructionTracer)","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#removeInstructionTracer(com.oracle.truffle.api.bytecode.InstructionTracer)","name":"removeInstructionTracer","kind":"method","signature":"public void removeInstructionTracer(InstructionTracer tracer)","summary":"Unregisters a previously installed InstructionTracer from this BytecodeRootNodes instance.","details":"Note that currently when all instruction tracers were removed, the trace instructions remain in the bytecode. This may be improved in the future. If this bytecode interpreter was generated without instruction tracing support (for example using @GenerateBytecode(enableInstructionTracing = false)), this method throws UnsupportedOperationException.","params":[{"name":"tracer","type":"InstructionTracer","doc":"the tracer to remove"}],"throws":[{"type":"IllegalArgumentException","doc":"if tracer is exclusive to a different BytecodeDescriptor (see InstructionTracer.getExclusiveBytecodeDescriptor())"},{"type":"UnsupportedOperationException","doc":"if instruction tracing is not enabled for this interpreter"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.updateGlobalInstructionTracers(InstructionTracer[])","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#updateGlobalInstructionTracers(com.oracle.truffle.api.bytecode.InstructionTracer[])","name":"updateGlobalInstructionTracers","kind":"method","signature":"protected void updateGlobalInstructionTracers(InstructionTracer[] tracers)","summary":"Internal callback to the generated code to notify when global instruction tracers change.","params":[{"name":"tracers","type":"InstructionTracer[]"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeRootNodes.toString()","href":"com/oracle/truffle/api/bytecode/BytecodeRootNodes.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of a BytecodeRootNodes.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.html","name":"BytecodeSupport","kind":"class","signature":"public final class BytecodeSupport","summary":"Contains code to support Bytecode DSL interpreters.","details":"This code should not be used directly by language implementations."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.CloneReferenceList","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.CloneReferenceList.html","name":"BytecodeSupport.CloneReferenceList","kind":"class","signature":"public static final class BytecodeSupport.CloneReferenceList<T>","summary":"Special list to weakly keep track of clones.","details":"Assumes all operations run under a lock. Do not use directly. We deliberately do not use an memory intensive event queue here, we might leave around a few empty references here and there."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.CloneReferenceList()","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.CloneReferenceList.html#%3Cinit%3E()","name":"CloneReferenceList","kind":"constructor","signature":"public CloneReferenceList()","summary":"Creates a new CloneReferenceList instance."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.CloneReferenceList.add(T)","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.CloneReferenceList.html#add(T)","name":"add","kind":"method","signature":"public void add(T reference)","summary":"Adds a new reference to the list.","details":"Note references cannot be removed.","params":[{"name":"reference","type":"T"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.CloneReferenceList.forEach(Consumer)","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.CloneReferenceList.html#forEach(java.util.function.Consumer)","name":"forEach","kind":"method","signature":"public void forEach(Consumer<T> forEach)","summary":"Walks all references contained in the list.","params":[{"name":"forEach","type":"Consumer<T>"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html","name":"BytecodeSupport.ConstantsBuffer","kind":"class","signature":"public static final class BytecodeSupport.ConstantsBuffer","summary":"Specialized reusable and allocation-free buffer for constants.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer()","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html#%3Cinit%3E()","name":"ConstantsBuffer","kind":"constructor","signature":"public ConstantsBuffer()"}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer.add(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html#add(java.lang.Object)","name":"add","kind":"method","signature":"public int add(Object c)","summary":"Inserts constant (non-null) and returns its pool index.","details":"If an equal constant is already present, its existing index is returned. Float and Double constants compare by raw bits rather than Object.equals(Object).","params":[{"name":"c","type":"Object"}],"returns":{"type":"int"},"throws":[{"type":"NullPointerException","doc":"if constant is null"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer.addNull()","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html#addNull()","name":"addNull","kind":"method","signature":"public int addNull()","summary":"Inserts a constant without value and returns its index.","details":"The added null values are intended to be later patched after materialization. The client must ensure that the reserved null slots do not contain duplicates already contained in the materialized constants array.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer.materialize()","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html#materialize()","name":"materialize","kind":"method","signature":"public Object[] materialize()","summary":"Copies the internal constants[] array and returns it.","details":"All auxiliary data structures are reset so that the buffer is ready for the next use. Note that this implementation deliberately does not clear all references contained in the buffer. If all references should be cleared, then clear() should be called after materialization.","returns":{"type":"Object[]","doc":"a freshly allocated array of exactly size() elements, never null."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer.create()","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html#create()","name":"create","kind":"method","signature":"public Object[] create()","returns":{"type":"Object[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeSupport.ConstantsBuffer.clear()","href":"com/oracle/truffle/api/bytecode/BytecodeSupport.ConstantsBuffer.html#clear()","name":"clear","kind":"method","signature":"public void clear()","summary":"Clears all object references held in this buffer.","details":"If the pool had grown beyond 512 constants its internal arrays are replaced by new arrays of that bounded size; otherwise the existing arrays are reused. The buffer must be materialised before it can be cleared.","throws":[{"type":"IllegalStateException","doc":"if materialize() has not been called since the last insertion"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTier","href":"com/oracle/truffle/api/bytecode/BytecodeTier.html","name":"BytecodeTier","kind":"enum","signature":"public enum BytecodeTier","summary":"Represents the tier of a given BytecodeNode."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTier.values()","href":"com/oracle/truffle/api/bytecode/BytecodeTier.html#values()","name":"values","kind":"method","signature":"public static BytecodeTier[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"BytecodeTier[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTier.valueOf(String)","href":"com/oracle/truffle/api/bytecode/BytecodeTier.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static BytecodeTier valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"BytecodeTier","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTier.UNCACHED","href":"com/oracle/truffle/api/bytecode/BytecodeTier.html#UNCACHED","name":"UNCACHED","kind":"enumConstant","signature":"UNCACHED","summary":"The uncached bytecode tier does not collect profiling feedback.","details":"This means that the node was either never executed or the uncached threshold did not yet reach zero."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTier.CACHED","href":"com/oracle/truffle/api/bytecode/BytecodeTier.html#CACHED","name":"CACHED","kind":"enumConstant","signature":"CACHED","summary":"The cached bytecode tier does collect profiling feedback.","details":"This means that the bytecode interpreter is already collecting profiling information."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html","name":"BytecodeTransition","kind":"class","signature":"public abstract class BytecodeTransition","summary":"Encapsulates information about a transition of the bytecode interpreter from one bytecode node to another.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition(Object)","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#%3Cinit%3E(java.lang.Object)","name":"BytecodeTransition","kind":"constructor","signature":"protected BytecodeTransition(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.isBytecodeUpdate()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#isBytecodeUpdate()","name":"isBytecodeUpdate","kind":"method","signature":"public abstract boolean isBytecodeUpdate()","summary":"Returns true if bytecode metadata or instructions changed for this transition, e.g.","details":"due to a tier change, instrumentation update, or tag update.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.isTransferToInterpreter()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#isTransferToInterpreter()","name":"isTransferToInterpreter","kind":"method","signature":"public abstract boolean isTransferToInterpreter()","summary":"Returns true if this transition was triggered by a deoptimization from compiled code.","details":"A deoptimization in an inlined Bytecode DSL root may not create a separate transition for that inlined root. In such cases, the transition may instead be reported for the enclosing compilation root.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.getAddedTags()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#getAddedTags()","name":"getAddedTags","kind":"method","signature":"public abstract Set<Class<?>> getAddedTags()","summary":"Returns tags that were newly added by this transition.","details":"This set is typically non-empty only for isBytecodeUpdate() transitions.","returns":{"type":"Set<Class<?>>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.getAddedInstrumentations()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#getAddedInstrumentations()","name":"getAddedInstrumentations","kind":"method","signature":"public abstract Set<Class<?>> getAddedInstrumentations()","summary":"Returns instrumentations that were newly added by this transition.","details":"This set is typically non-empty only for isBytecodeUpdate() transitions.","returns":{"type":"Set<Class<?>>"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.getOldLocation()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#getOldLocation()","name":"getOldLocation","kind":"method","signature":"public abstract BytecodeLocation getOldLocation()","summary":"Returns the bytecode location before the transition.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.getNewLocation()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#getNewLocation()","name":"getNewLocation","kind":"method","signature":"public abstract BytecodeLocation getNewLocation()","summary":"Returns the bytecode location after the transition.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeTransition.toString()","href":"com/oracle/truffle/api/bytecode/BytecodeTransition.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeVersion","href":"com/oracle/truffle/api/bytecode/BytecodeVersion.html","name":"BytecodeVersion","kind":"enum","signature":"public enum BytecodeVersion","summary":"Bytecode DSL behaviour versions selectable through GenerateBytecode.version().","details":"Versions distinguish breaking behaviour changes that require migration of language implementations. They do not identify Truffle releases or version internal implementation details, optimizations, or performance changes."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeVersion.values()","href":"com/oracle/truffle/api/bytecode/BytecodeVersion.html#values()","name":"values","kind":"method","signature":"public static BytecodeVersion[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"BytecodeVersion[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeVersion.valueOf(String)","href":"com/oracle/truffle/api/bytecode/BytecodeVersion.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static BytecodeVersion valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"BytecodeVersion","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeVersion.V1","href":"com/oracle/truffle/api/bytecode/BytecodeVersion.html#V1","name":"V1","kind":"enumConstant","signature":"V1","summary":"Original Bytecode DSL behaviour on initial release.","details":"Support will be removed in release 25.8."}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeVersion.V2","href":"com/oracle/truffle/api/bytecode/BytecodeVersion.html#V2","name":"V2","kind":"enumConstant","signature":"V2","summary":"Distinguishes illegal locals from valid null values in the BytecodeNode local APIs.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.BytecodeVersion.LATEST","href":"com/oracle/truffle/api/bytecode/BytecodeVersion.html#LATEST","name":"LATEST","kind":"enumConstant","signature":"LATEST","summary":"The newest supported Bytecode DSL behaviour version.","details":"Using this constant explicitly opts into breaking behaviour changes when recompiling against a newer Truffle release. This constant should not be used in production language implementations; select an explicit version instead."}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand","href":"com/oracle/truffle/api/bytecode/ConstantOperand.html","name":"ConstantOperand","kind":"annotation","signature":"public @interface ConstantOperand","summary":"Defines a constant operand for an operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.type()","href":"com/oracle/truffle/api/bytecode/ConstantOperand.html#type()","name":"type","kind":"annotationElement","signature":"Class<?> type()","summary":"The type of the constant operand.","details":"All specializations must declare a parameter with this exact type.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.name()","href":"com/oracle/truffle/api/bytecode/ConstantOperand.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"Optional name for the constant operand.","details":"When this field is not provided, the Bytecode DSL will infer a name from the specializations' parameters.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.javadoc()","href":"com/oracle/truffle/api/bytecode/ConstantOperand.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the constant operand.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.specifyAtEnd()","href":"com/oracle/truffle/api/bytecode/ConstantOperand.html#specifyAtEnd()","name":"specifyAtEnd","kind":"annotationElement","signature":"boolean specifyAtEnd() default false","summary":"By default, when an operation has dynamic operands, the constant operands appear before them in signatures and must be supplied to the operation's begin method of the BytecodeBuilder.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.dimensions()","href":"com/oracle/truffle/api/bytecode/ConstantOperand.html#dimensions()","name":"dimensions","kind":"annotationElement","signature":"int dimensions() default 0","summary":"Specifies the number of array dimensions to be marked as compilation final.","details":"See com.oracle.truffle.api.CompilerDirectives.CompilationFinal.dimensions. The Bytecode DSL currently only supports a value of 0; that is, array elements are not compilation-final.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.Repeat","href":"com/oracle/truffle/api/bytecode/ConstantOperand.Repeat.html","name":"ConstantOperand.Repeat","kind":"annotation","signature":"public @interface ConstantOperand.Repeat","summary":"Repeat annotation for ConstantOperand."}
{"symbol":"com.oracle.truffle.api.bytecode.ConstantOperand.Repeat.value()","href":"com/oracle/truffle/api/bytecode/ConstantOperand.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"ConstantOperand[] value()","summary":"Repeat value for ConstantOperand.","returns":{"type":"ConstantOperand[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html","name":"ContinuationResult","kind":"class","signature":"public final class ContinuationResult implements TruffleObject","summary":"Representation of a continuation closure, consisting of a resumable RootNode, the interpreter state, and a yielded result.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult(ContinuationRootNode, MaterializedFrame, Object)","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#%3Cinit%3E(com.oracle.truffle.api.bytecode.ContinuationRootNode,com.oracle.truffle.api.frame.MaterializedFrame,java.lang.Object)","name":"ContinuationResult","kind":"constructor","signature":"public ContinuationResult(ContinuationRootNode rootNode, MaterializedFrame frame, Object result)","summary":"Creates a continuation.","details":"The generated interpreter will use this constructor. Continuations should not be created directly by user code.","params":[{"name":"rootNode","type":"ContinuationRootNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"result","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.create(ContinuationRootNode, MaterializedFrame, Object)","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#create(com.oracle.truffle.api.bytecode.ContinuationRootNode,com.oracle.truffle.api.frame.MaterializedFrame,java.lang.Object)","name":"create","kind":"method","signature":"public static ContinuationResult create(ContinuationRootNode rootNode, MaterializedFrame frame, Object result)","summary":"Public API for creating a continuation result.","details":"This method is mainly useful when using custom yield operations since the built-in yield creates continuation results automatically.","params":[{"name":"rootNode","type":"ContinuationRootNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"result","type":"Object"}],"returns":{"type":"ContinuationResult"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.continueWith(Object)","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#continueWith(java.lang.Object)","name":"continueWith","kind":"method","signature":"public Object continueWith(Object value)","summary":"Resumes the continuation.","details":"This method should generally not be used on compiled code paths. Each yield produces a unique ContinuationResult, so the receiver object cannot be easily cached, which means partial evaluation will be unable to resolve the call target. Instead, it is recommended to cache the continuation call target and call it directly.","params":[{"name":"value","type":"Object","doc":"the value produced by the yield operation in the resumed execution."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.getContinuationRootNode()","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#getContinuationRootNode()","name":"getContinuationRootNode","kind":"method","signature":"public ContinuationRootNode getContinuationRootNode()","summary":"Returns the root node that resumes execution.","details":"Note that the continuation root node has a specific calling convention. See getContinuationCallTarget for more details, or invoke the root node directly using continueWith.","returns":{"type":"ContinuationRootNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.getContinuationCallTarget()","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#getContinuationCallTarget()","name":"getContinuationCallTarget","kind":"method","signature":"public RootCallTarget getContinuationCallTarget()","summary":"Returns the call target for the continuation root node.","details":"The call target can be invoked to resume the continuation. It is recommended to register this call target in an inline cache and call it directly. The call target takes two parameters: the materialized interpreter frame and an Object value to resume execution with. The value becomes the value produced by the yield operation in the resumed execution.","returns":{"type":"RootCallTarget"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.getFrame()","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#getFrame()","name":"getFrame","kind":"method","signature":"public MaterializedFrame getFrame()","summary":"Returns the state of the interpreter at the point that it was suspended.","returns":{"type":"MaterializedFrame"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.getResult()","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#getResult()","name":"getResult","kind":"method","signature":"public Object getResult()","summary":"Returns the value yielded by the yield operation.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.getBytecodeLocation()","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#getBytecodeLocation()","name":"getBytecodeLocation","kind":"method","signature":"public BytecodeLocation getBytecodeLocation()","summary":"Returns the location at which the continuation was created.","details":"This location can have a different BytecodeNode from the source root node if the source bytecode was updated (explicitly or implicitly).","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationResult.toString()","href":"com/oracle/truffle/api/bytecode/ContinuationResult.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of a ContinuationResult.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationRootNode","href":"com/oracle/truffle/api/bytecode/ContinuationRootNode.html","name":"ContinuationRootNode","kind":"class","signature":"public abstract class ContinuationRootNode extends RootNode","summary":"Abstract class representing the root node for a continuation.","details":"These root nodes have a precise calling convention; see ContinuationResult.getContinuationCallTarget(). If a bytecode interpreter supports continuations, the Bytecode DSL will generate a concrete implementation of this interface. It should not be subclassed manually."}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationRootNode(Object, TruffleLanguage, FrameDescriptor)","href":"com/oracle/truffle/api/bytecode/ContinuationRootNode.html#%3Cinit%3E(java.lang.Object,com.oracle.truffle.api.TruffleLanguage,com.oracle.truffle.api.frame.FrameDescriptor)","name":"ContinuationRootNode","kind":"constructor","signature":"protected ContinuationRootNode(Object token, TruffleLanguage<?> language, FrameDescriptor frameDescriptor)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"},{"name":"language","type":"TruffleLanguage<?>"},{"name":"frameDescriptor","type":"FrameDescriptor"}]}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationRootNode.getSourceRootNode()","href":"com/oracle/truffle/api/bytecode/ContinuationRootNode.html#getSourceRootNode()","name":"getSourceRootNode","kind":"method","signature":"public abstract BytecodeRootNode getSourceRootNode()","summary":"Returns the original root node from which this continuation was created.","returns":{"type":"BytecodeRootNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationRootNode.getLocation()","href":"com/oracle/truffle/api/bytecode/ContinuationRootNode.html#getLocation()","name":"getLocation","kind":"method","signature":"public abstract BytecodeLocation getLocation()","summary":"Returns the BytecodeLocation associated with this continuation.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.ContinuationRootNode.findFrame(Frame)","href":"com/oracle/truffle/api/bytecode/ContinuationRootNode.html#findFrame(com.oracle.truffle.api.frame.Frame)","name":"findFrame","kind":"method","signature":"protected abstract Frame findFrame(Frame frame)","summary":"Internal method implemented by the generated code.","details":"Do not use.","params":[{"name":"frame","type":"Frame"}],"returns":{"type":"Frame"}}
{"symbol":"com.oracle.truffle.api.bytecode.EpilogExceptional","href":"com/oracle/truffle/api/bytecode/EpilogExceptional.html","name":"EpilogExceptional","kind":"annotation","signature":"public @interface EpilogExceptional","summary":"Defines an exceptional epilog operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.EpilogExceptional.storeBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/EpilogExceptional.html#storeBytecodeIndex()","name":"storeBytecodeIndex","kind":"annotationElement","signature":"boolean storeBytecodeIndex() default true","summary":"Whether to store the BCI before executing this operation.","details":"See Operation.storeBytecodeIndex() for mode-dependent defaults. When false, StoreBytecodeIndex enables storage for individual Specialization or Fallback methods.","returns":{"type":"boolean","doc":"whether to enable operation-level BCI storage"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.EpilogReturn","href":"com/oracle/truffle/api/bytecode/EpilogReturn.html","name":"EpilogReturn","kind":"annotation","signature":"public @interface EpilogReturn","summary":"Defines a return epilog operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.EpilogReturn.storeBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/EpilogReturn.html#storeBytecodeIndex()","name":"storeBytecodeIndex","kind":"annotationElement","signature":"boolean storeBytecodeIndex() default true","summary":"Whether to store the BCI before executing this operation.","details":"See Operation.storeBytecodeIndex() for mode-dependent defaults. When false, StoreBytecodeIndex enables storage for individual Specialization or Fallback methods.","returns":{"type":"boolean","doc":"whether to enable operation-level BCI storage"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html","name":"ExceptionHandler","kind":"class","signature":"public abstract class ExceptionHandler","summary":"Introspection class modeling the meta-information of an exception handler in a bytecode interpreter.","details":"An exception handler stores information for bytecode index ranges that determine how an exception should be handled at a particular location. Note: Introspection classes are intended to be used for debugging purposes only. These APIs may change in the future."}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler(Object)","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#%3Cinit%3E(java.lang.Object)","name":"ExceptionHandler","kind":"constructor","signature":"protected ExceptionHandler(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.getKind()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#getKind()","name":"getKind","kind":"method","signature":"public abstract ExceptionHandler.HandlerKind getKind()","summary":"Returns a kind that determines whether the handler is a custom or special exception handler.","returns":{"type":"ExceptionHandler.HandlerKind"}}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.getStartBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#getStartBytecodeIndex()","name":"getStartBytecodeIndex","kind":"method","signature":"public abstract int getStartBytecodeIndex()","summary":"Returns the start bytecode index guarded by this exception handler (inclusive).","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.getEndBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#getEndBytecodeIndex()","name":"getEndBytecodeIndex","kind":"method","signature":"public abstract int getEndBytecodeIndex()","summary":"Returns the end bytecode index guarded by this exception handler (exclusive).","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.getHandlerBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#getHandlerBytecodeIndex()","name":"getHandlerBytecodeIndex","kind":"method","signature":"public int getHandlerBytecodeIndex() throws UnsupportedOperationException","summary":"Returns the bytecode index of the handler code if this exception handler is of kind HandlerKind.CUSTOM.","returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"for handlers not of kind HandlerKind.CUSTOM"}]}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.getTagTree()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#getTagTree()","name":"getTagTree","kind":"method","signature":"public TagTree getTagTree() throws UnsupportedOperationException","summary":"Returns the tag tree of this exception handler if this exception handler is of kind HandlerKind.TAG.","returns":{"type":"TagTree"},"throws":[{"type":"UnsupportedOperationException","doc":"for handlers not of kind HandlerKind.TAG"}]}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.toString()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.HandlerKind","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.HandlerKind.html","name":"ExceptionHandler.HandlerKind","kind":"enum","signature":"public enum ExceptionHandler.HandlerKind","summary":"Represents the kind of the exception handler."}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.HandlerKind.values()","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.HandlerKind.html#values()","name":"values","kind":"method","signature":"public static ExceptionHandler.HandlerKind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"ExceptionHandler.HandlerKind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.HandlerKind.valueOf(String)","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.HandlerKind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static ExceptionHandler.HandlerKind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"ExceptionHandler.HandlerKind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.HandlerKind.CUSTOM","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.HandlerKind.html#CUSTOM","name":"CUSTOM","kind":"enumConstant","signature":"CUSTOM","summary":"Handler directly emitted with the bytecode builder."}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.HandlerKind.TAG","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.HandlerKind.html#TAG","name":"TAG","kind":"enumConstant","signature":"TAG","summary":"A special handler which handles tag instrumentation exceptional behavior.","details":"Only emitted if tag instrumentation is enabled."}
{"symbol":"com.oracle.truffle.api.bytecode.ExceptionHandler.HandlerKind.EPILOG","href":"com/oracle/truffle/api/bytecode/ExceptionHandler.HandlerKind.html#EPILOG","name":"EPILOG","kind":"enumConstant","signature":"EPILOG","summary":"A special handler which handles epilog exceptional behavior.","details":"Only emitted if the language specifies an EpilogExceptional annotated operation."}
{"symbol":"com.oracle.truffle.api.bytecode.ForceQuickening","href":"com/oracle/truffle/api/bytecode/ForceQuickening.html","name":"ForceQuickening","kind":"annotation","signature":"public @interface ForceQuickening","summary":"Forces quickening for an Operation specialization.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.ForceQuickening.value()","href":"com/oracle/truffle/api/bytecode/ForceQuickening.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"The name of the quickening group.","details":"If nonempty, all specializations annotated with the same value will be included in a quickened instruction together. By default, this value is empty, which signifies that a specialization should have its own quickened instruction.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.ForceQuickening.Repeat","href":"com/oracle/truffle/api/bytecode/ForceQuickening.Repeat.html","name":"ForceQuickening.Repeat","kind":"annotation","signature":"public @interface ForceQuickening.Repeat","summary":"Repeat annotation for ForceQuickening."}
{"symbol":"com.oracle.truffle.api.bytecode.ForceQuickening.Repeat.value()","href":"com/oracle/truffle/api/bytecode/ForceQuickening.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"ForceQuickening[] value()","summary":"Repeat value for ForceQuickening.","returns":{"type":"ForceQuickening[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html","name":"GenerateBytecode","kind":"annotation","signature":"public @interface GenerateBytecode","summary":"Generates a bytecode interpreter using the Bytecode DSL.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.languageClass()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#languageClass()","name":"languageClass","kind":"annotationElement","signature":"Class<? extends TruffleLanguage<?>> languageClass()","summary":"The TruffleLanguage class associated with this node.","returns":{"type":"Class<? extends TruffleLanguage<?>>"}}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.version()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#version()","name":"version","kind":"annotationElement","signature":"BytecodeVersion version() default V1","summary":"Selects the Bytecode DSL behaviour version.","detailsOmitted":true,"returns":{"type":"BytecodeVersion"},"defaultValue":"V1"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.unwindExceptions()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#unwindExceptions()","name":"unwindExceptions","kind":"annotationElement","signature":"Class<? extends Throwable>[] unwindExceptions() default {}","summary":"Specifies exception types that unwind the bytecode interpreter through guest finally handlers.","detailsOmitted":true,"returns":{"type":"Class<? extends Throwable>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableUncachedInterpreter()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableUncachedInterpreter()","name":"enableUncachedInterpreter","kind":"annotationElement","signature":"boolean enableUncachedInterpreter() default false","summary":"Whether to generate an uncached interpreter.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.defaultUncachedThreshold()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#defaultUncachedThreshold()","name":"defaultUncachedThreshold","kind":"annotationElement","signature":"String defaultUncachedThreshold() default \"16\"","summary":"Sets the default number of invocations/resumptions or backward branches for which the interpreter executes uncached before transitioning to cached on the next such event.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"16\""}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableSerialization()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableSerialization()","name":"enableSerialization","kind":"annotationElement","signature":"boolean enableSerialization() default false","summary":"Whether the generated interpreter should support serialization and deserialization.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableTagInstrumentation()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableTagInstrumentation()","name":"enableTagInstrumentation","kind":"annotationElement","signature":"boolean enableTagInstrumentation() default false","summary":"Whether the generated interpreter should support Truffle tag instrumentation.","details":"When instrumentation is enabled, the generated builder will define beginTag(...) and endTag(...) methods that can be used to annotate the bytecode with tags. Truffle tag instrumentation also allows you to specify implicit tagging using Operation.tags(). If tag instrumentation is enabled all tagged operations will automatically handle and insert probes from the Truffle instrumentation framework. Only tags that are provided by the specified Truffle language can be used.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableRootTagging()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableRootTagging()","name":"enableRootTagging","kind":"annotationElement","signature":"boolean enableRootTagging() default true","summary":"Enables automatic root tagging if instrumentation is enabled.","details":"Automatic root tagging automatically tags each root with RootTag if the language provides it. Root tagging requires the probe to be notified before the prolog is executed. Implementing this behaviour manually is not trivial and not recommended. It is recommended to use automatic root tagging. For inlining performed by the parser it may be useful to emit custom root tag using the builder methods for inlined methods. This ensures that tools can still work correctly for inlined calls.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableRootBodyTagging()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableRootBodyTagging()","name":"enableRootBodyTagging","kind":"annotationElement","signature":"boolean enableRootBodyTagging() default true","summary":"Enables automatic root body tagging if instrumentation is enabled.","details":"Automatic root body tagging automatically tags each root with RootBodyTag if the language provides it.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.tagTreeNodeLibrary()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#tagTreeNodeLibrary()","name":"tagTreeNodeLibrary","kind":"annotationElement","signature":"Class<?> tagTreeNodeLibrary() default com.oracle.truffle.api.bytecode.TagTreeNodeExports.class","summary":"Allows to customize the NodeLibrary implementation that is used for tag instrumentation.","detailsOmitted":true,"returns":{"type":"Class<?>"},"defaultValue":"com.oracle.truffle.api.bytecode.TagTreeNodeExports.class"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.allowUnsafe()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#allowUnsafe()","name":"allowUnsafe","kind":"annotationElement","signature":"boolean allowUnsafe() default true","summary":"Whether to use unsafe array accesses.","details":"Unsafe accesses are faster, but they do not perform array bounds checks. This means it is possible (though unlikely) for unsafe accesses to cause undefined behaviour. Undefined behaviour may only happen due to a bug in the Bytecode DSL implementation and not language implementation code.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableYield()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableYield()","name":"enableYield","kind":"annotationElement","signature":"boolean enableYield() default false","summary":"Whether the generated interpreter should support coroutines via a built-in yield operation.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableMaterializedLocalAccesses()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableMaterializedLocalAccesses()","name":"enableMaterializedLocalAccesses","kind":"annotationElement","signature":"boolean enableMaterializedLocalAccesses() default false","summary":"Enables materialized local accesses.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableBlockScoping()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableBlockScoping()","name":"enableBlockScoping","kind":"annotationElement","signature":"boolean enableBlockScoping() default true","summary":"Enables block scoping, which limits a local's lifetime to the lifetime of the enclosing Block/Root operation.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableQuickening()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableQuickening()","name":"enableQuickening","kind":"annotationElement","signature":"boolean enableQuickening() default true","summary":"Whether to generate quickened bytecodes for user-provided operations.","details":"Quickened versions of instructions support a subset of the specializations defined by an operation. They can improve interpreted performance by reducing footprint and requiring fewer guards. Quickened versions of operations can be specified using com.oracle.truffle.api.bytecode.ForceQuickening. When an instruction re-specializes itself, the interpreter attempts to automatically replace it with a quickened instruction.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.bytecodeIndexMode()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#bytecodeIndexMode()","name":"bytecodeIndexMode","kind":"annotationElement","signature":"BytecodeIndexMode bytecodeIndexMode() default CACHED_NODE","summary":"Configures how the generated interpreter makes its current bytecode index available for stack walking and frame introspection.","details":"Operations can always bind @Bind(\"$bytecodeIndex\") int bci for explicit propagation.","returns":{"type":"BytecodeIndexMode","doc":"the lookup mode; defaults to BytecodeIndexMode.CACHED_NODE"},"defaultValue":"CACHED_NODE"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.storeBytecodeIndexInFrame()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#storeBytecodeIndexInFrame()","name":"storeBytecodeIndexInFrame","kind":"annotationElement","signature":"boolean storeBytecodeIndexInFrame() default false","summary":"Whether the generated interpreter should automatically store the bytecode index in the frame in all interpreter tiers.","details":"Setting this attribute to true is equivalent to setting bytecodeIndexMode() to BytecodeIndexMode.FRAME. It cannot be combined with a non-default bytecode index mode. Setting it to false does not override bytecodeIndexMode(). For new interpreters, prefer bytecodeIndexMode() with BytecodeIndexMode.FRAME.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.captureFramesForTrace()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#captureFramesForTrace()","name":"captureFramesForTrace","kind":"annotationElement","signature":"boolean captureFramesForTrace() default false","summary":"Whether stack trace elements of the annotated root node should capture frames.","details":"This flag should be used instead of RootNode.isCaptureFramesForTrace(boolean), which the Bytecode DSL prevents you from overriding. When this flag is non-null, you can use BytecodeFrame.get(TruffleStackTraceElement) to access frame data from a stack trace element. The frame only supports read-only access. Bytecode DSL interpreters must not access frames directly using TruffleStackTraceElement.getFrame.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.boxingEliminationTypes()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#boxingEliminationTypes()","name":"boxingEliminationTypes","kind":"annotationElement","signature":"Class<?>[] boxingEliminationTypes() default {}","summary":"Primitive types the interpreter should attempt to avoid boxing up.","details":"Each type should be primitive class literal (e.g., int.class). If boxing elimination types are provided, the cached interpreter will generate instruction variants that load/store primitive values when possible. It will automatically use these instructions in a best-effort manner (falling back on boxed representations when necessary).","returns":{"type":"Class<?>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.inlinePrimitiveConstants()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#inlinePrimitiveConstants()","name":"inlinePrimitiveConstants","kind":"annotationElement","signature":"boolean inlinePrimitiveConstants() default true","summary":"Whether constant operands of primitive type should be encoded directly in the bytecode.","details":"Inlining can reduce the number of memory reads required to access constants. Currently, inlining is only supported for ConstantOperands.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableSpecializationIntrospection()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableSpecializationIntrospection()","name":"enableSpecializationIntrospection","kind":"annotationElement","signature":"boolean enableSpecializationIntrospection() default false","summary":"Whether to generate introspection data for specializations.","details":"The data is accessible using com.oracle.truffle.api.bytecode.Instruction.Argument.getSpecializationInfo().","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.defaultLocalValue()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#defaultLocalValue()","name":"defaultLocalValue","kind":"annotationElement","signature":"String defaultLocalValue() default \"\"","summary":"Specifies the default value produced when attempting to load a cleared local (i.e., a local that has not been written to).","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.illegalLocalException()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#illegalLocalException()","name":"illegalLocalException","kind":"annotationElement","signature":"Class<? extends RuntimeException> illegalLocalException() default com.oracle.truffle.api.frame.FrameSlotTypeException.class","summary":"Specifies the exception to throw when attempting to load a cleared local (i.e., a local that has not been written to).","detailsOmitted":true,"returns":{"type":"Class<? extends RuntimeException>"},"defaultValue":"com.oracle.truffle.api.frame.FrameSlotTypeException.class"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.illegalLocalExceptionFactory()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#illegalLocalExceptionFactory()","name":"illegalLocalExceptionFactory","kind":"annotationElement","signature":"String illegalLocalExceptionFactory() default \"create\"","summary":"Specifies the name of the static factory method used to instantiate illegal local exceptions.","details":"This attribute is only applicable if an illegalLocalException() class is specified.","returns":{"type":"String"},"defaultValue":"\"create\""}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableBytecodeDebugListener()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableBytecodeDebugListener()","name":"enableBytecodeDebugListener","kind":"annotationElement","signature":"boolean enableBytecodeDebugListener() default true","summary":"Whether the BytecodeDebugListener methods should be notified by generated code.","details":"By default the debug bytecode listener is enabled if the root node implements BytecodeDebugListener. If this attribute is set to false then the debug bytecode listener won't be notified. This attribute may be useful to keep a default debug listener implementation permanently in the source code but only enable it temporarily during debug sessions.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.variadicStackLimit()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#variadicStackLimit()","name":"variadicStackLimit","kind":"annotationElement","signature":"String variadicStackLimit() default \"32\"","summary":"Sets the maximum number of stack slots that will be used for parameters annotated with Variadic.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"32\""}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.additionalAssertions()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#additionalAssertions()","name":"additionalAssertions","kind":"annotationElement","signature":"boolean additionalAssertions() default false","summary":"Enables additional assertions, that would be otherwise too costly outside testing.","details":"The additional assertions can also be enabled dynamically at build time by passing -Atruffle.dsl.AdditionalAssertions=true to the Java compiler.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableThreadedSwitch()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableThreadedSwitch()","name":"enableThreadedSwitch","kind":"annotationElement","signature":"boolean enableThreadedSwitch() default true","summary":"Enables the use of the threaded switch for the generated bytecode switch.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableInstructionTracing()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableInstructionTracing()","name":"enableInstructionTracing","kind":"annotationElement","signature":"boolean enableInstructionTracing() default true","summary":"Enables instruction tracing support for the generated bytecode interpreter.","details":"If true, the interpreter is generated with tracing hooks so that InstructionTracers can be attached at run time (via BytecodeRootNodes.addInstructionTracer or BytecodeDescriptor.addInstructionTracer). Attaching a tracer causes all executed instructions to invoke the tracer before execution. If false, no tracing hooks are generated and any attempt to attach a tracer will throw UnsupportedOperationException.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableInstructionRewriting()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableInstructionRewriting()","name":"enableInstructionRewriting","kind":"annotationElement","signature":"boolean enableInstructionRewriting() default true","summary":"Enables instruction rewriting support for the generated bytecode interpreter.","details":"Instruction rewriting is used to implement peephole optimizations (e.g., remove redundant loads) and other bytecode optimizations.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableTailCallHandlers()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableTailCallHandlers()","name":"enableTailCallHandlers","kind":"annotationElement","signature":"boolean enableTailCallHandlers() default false","summary":"Enables tail call handlers for the generated bytecode interpreter.","details":"For more details, see the One Compilation per Bytecode Handler documentation.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.sourceContentSupplier()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#sourceContentSupplier()","name":"sourceContentSupplier","kind":"annotationElement","signature":"String sourceContentSupplier() default \"\"","summary":"Specifies the name of a supplier method used to convert a Source without content into one with content (i.e., one which has characters or bytes).","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecode.enableCompressedSources()","href":"com/oracle/truffle/api/bytecode/GenerateBytecode.html#enableCompressedSources()","name":"enableCompressedSources","kind":"annotationElement","signature":"boolean enableCompressedSources() default true","summary":"Enables compression of source information tables.","details":"Source information can require a large amount of memory, and so this option makes source tables rely on a compressed encoding. This significantly reduces source table footprint, at the cost of making accessing source information less efficient because of the additional decoding step. It is set to `true` as a default, as the assumption is that the language is likely to only access source information infrequently, e.g. to get debugging information.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecodeTestVariants","href":"com/oracle/truffle/api/bytecode/GenerateBytecodeTestVariants.html","name":"GenerateBytecodeTestVariants","kind":"annotation","signature":"public @interface GenerateBytecodeTestVariants","summary":"This annotation should only be used for testing to generate multiple variants of the interpreter with slightly different configurations.","details":"Importantly, all of the variants' Builders share a common superclass, which allows tests to be written once and then executed with multiple configurations. In order for the variants and their Builders to be compatible, the configurations must agree on specific fields. In particular, the GenerateBytecode.languageClass must match, and fields that generate new builder methods (e.g. GenerateBytecode.enableYield()) must agree. These properties are checked by the Bytecode DSL processor."}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecodeTestVariants.value()","href":"com/oracle/truffle/api/bytecode/GenerateBytecodeTestVariants.html#value()","name":"value","kind":"annotationElement","signature":"GenerateBytecodeTestVariants.Variant[] value()","summary":"The variants to generate.","returns":{"type":"GenerateBytecodeTestVariants.Variant[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecodeTestVariants.Variant","href":"com/oracle/truffle/api/bytecode/GenerateBytecodeTestVariants.Variant.html","name":"GenerateBytecodeTestVariants.Variant","kind":"annotation","signature":"public @interface GenerateBytecodeTestVariants.Variant","summary":"The annotation used to declare a variant."}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecodeTestVariants.Variant.suffix()","href":"com/oracle/truffle/api/bytecode/GenerateBytecodeTestVariants.Variant.html#suffix()","name":"suffix","kind":"annotationElement","signature":"String suffix()","summary":"The class name suffix for this variant.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.GenerateBytecodeTestVariants.Variant.configuration()","href":"com/oracle/truffle/api/bytecode/GenerateBytecodeTestVariants.Variant.html#configuration()","name":"configuration","kind":"annotationElement","signature":"GenerateBytecode configuration()","summary":"The configuration for this variant.","returns":{"type":"GenerateBytecode"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction","href":"com/oracle/truffle/api/bytecode/Instruction.html","name":"Instruction","kind":"class","signature":"public abstract class Instruction","summary":"Represents metadata for an instruction in a bytecode node.","details":"Compatibility note: The data contained in instruction classes is subject to change without notice between Truffle versions. This introspection API is therefore intended to be used for debugging and tracing purposes only. Do not rely on instructions for your language semantics. The current instruction can be bound using @Bind Instruction instruction from operations. This class is not intended to be subclassed by clients, only by code generated by the Bytecode DSL."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction(Object)","href":"com/oracle/truffle/api/bytecode/Instruction.html#%3Cinit%3E(java.lang.Object)","name":"Instruction","kind":"constructor","signature":"protected Instruction(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getBytecodeNode()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getBytecodeNode()","name":"getBytecodeNode","kind":"method","signature":"public abstract BytecodeNode getBytecodeNode()","summary":"Returns the bytecode node this instruction belongs to.","returns":{"type":"BytecodeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getBytecodeIndex()","name":"getBytecodeIndex","kind":"method","signature":"public abstract int getBytecodeIndex()","summary":"Returns the bytecode index of this instruction.","details":"A bytecode index is only valid for a given BytecodeNode, it is therefore recommended to use getLocation() instead whenever possible.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getDescriptor()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getDescriptor()","name":"getDescriptor","kind":"method","signature":"public InstructionDescriptor getDescriptor()","summary":"Returns the descriptor object for this instruction.","details":"The descriptor provides static metadata about the instruction executed at this bytecode index, such as its name, operation code, length in bytes, argument layout, and whether it is considered instrumentation.","returns":{"type":"InstructionDescriptor"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getLength()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getLength()","name":"getLength","kind":"method","signature":"public int getLength()","summary":"Returns the length of this instruction in bytes.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getLocation()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getLocation()","name":"getLocation","kind":"method","signature":"public final BytecodeLocation getLocation()","summary":"Converts this instruction pointer into a bytecode location.","details":"It is recommended to use BytecodeLocation to persist a bytecode location instead of using instruction.","returns":{"type":"BytecodeLocation"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getName()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Returns the name of this instruction.","details":"The name of the instruction is purely for human consumption and no structure should be assumed. If two instructions have the same instruction name then they also have the same operation code. The name is fixed for an Instruction object, but the name of an instruction at a particular location can change during execution due to quickening and other optimizations.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getOperationCode()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getOperationCode()","name":"getOperationCode","kind":"method","signature":"public int getOperationCode()","summary":"Returns the operation code of this instruction.","details":"The operation code of the instruction is purely for human consumption and no values should be assumed. If two instructions have the same instruction operation code then they also have the same name. The operation code is fixed for an Instruction object, but the operation code of an instruction at a particular location can change during execution due to quickening and other optimizations.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getArguments()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getArguments()","name":"getArguments","kind":"method","signature":"public abstract List<Instruction.Argument> getArguments()","summary":"Returns an immutable list of immediate arguments for this instructions.","details":"The number and kinds of arguments remain stable during execution, however, the actual values of the arguments (e.g., Argument.asBranchProfile) may change during execution.","returns":{"type":"List<Instruction.Argument>"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.isInstrumentation()","href":"com/oracle/truffle/api/bytecode/Instruction.html#isInstrumentation()","name":"isInstrumentation","kind":"method","signature":"public boolean isInstrumentation()","summary":"Returns true if this instruction represents a bytecode or tag instrumentation instruction, else false.","details":"Instrumentation instructions may get inserted dynamically during execution, e.g., if a tag is materialized or an Instrumentation is configured.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getSourceSection()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public final SourceSection getSourceSection()","summary":"Returns the most concrete source section associated with this instruction.","details":"If no source section is available for this instruction or source sections have not yet been materialized, then null is returned. Source sections may be materialized by calling update with BytecodeConfig.WITH_SOURCE.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getSourceSections()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getSourceSections()","name":"getSourceSections","kind":"method","signature":"public final SourceSection[] getSourceSections()","summary":"Returns all source section associated with this instruction starting with the most concrete source section.","details":"If no source sections are available, then an empty array is returned. If source sections have not yet been materialized, then null is returned. Source sections may be materialized by calling update with BytecodeConfig.WITH_SOURCE.","returns":{"type":"SourceSection[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.getNextBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/Instruction.html#getNextBytecodeIndex()","name":"getNextBytecodeIndex","kind":"method","signature":"public final int getNextBytecodeIndex()","summary":"Returns the bytecode index of the next instruction.","detailsOmitted":true,"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.next()","href":"com/oracle/truffle/api/bytecode/Instruction.html#next()","name":"next","kind":"method","signature":"protected abstract Instruction next()","summary":"Returns the next instruction object.","details":"Implemented by generated code, intended for internal use only.","returns":{"type":"Instruction"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.hashCode()","href":"com/oracle/truffle/api/bytecode/Instruction.html#hashCode()","name":"hashCode","kind":"method","signature":"public final int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.equals(Object)","href":"com/oracle/truffle/api/bytecode/Instruction.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public final boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.toString()","href":"com/oracle/truffle/api/bytecode/Instruction.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html","name":"Instruction.Argument","kind":"class","signature":"public abstract static class Instruction.Argument","summary":"Represents metadata for an argument of an instruction in a bytecode node.","details":"Compatibility note: The data contained in instruction classes is subject to change without notice between Truffle versions. This introspection API is therefore intended to be used for debugging and tracing purposes only. Do not rely on instructions for your language semantics."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument(Object)","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#%3Cinit%3E(java.lang.Object)","name":"Argument","kind":"constructor","signature":"protected Argument(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.getDescriptor()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#getDescriptor()","name":"getDescriptor","kind":"method","signature":"public InstructionDescriptor.ArgumentDescriptor getDescriptor()","summary":"Returns the descriptor object for this argument.","details":"The descriptor provides static metadata about the argument position and interpretation for this instruction, including its Kind, printable name, and encoded width in bytes.","returns":{"type":"InstructionDescriptor.ArgumentDescriptor"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.getKind()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#getKind()","name":"getKind","kind":"method","signature":"public Instruction.Argument.Kind getKind()","summary":"Returns the Kind of this argument.","details":"The kind determines which asX method can be called on a given argument. For example, if the kind is Kind.INTEGER, the asInteger method will return the integer value. All other asX methods (e.g., asBranchProfile) will throw an exception.","returns":{"type":"Instruction.Argument.Kind"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.getName()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Returns a human readable name for this argument.","details":"This could be for example \"localOffset\" for a local variable access instruction. Arguments with the same getKind() may have different names. A name is typically more descriptive than just the kind and should be preferred over the kind for debug output.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asInteger()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asInteger()","name":"asInteger","kind":"method","signature":"public int asInteger() throws UnsupportedOperationException","summary":"Converts this argument to an int value.","details":"This method is only supported if the argument kind is Kind.INTEGER. If called for arguments of other kinds then an UnsupportedOperationException is thrown.","returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asBytecodeIndex()","name":"asBytecodeIndex","kind":"method","signature":"public int asBytecodeIndex()","summary":"Converts this argument to a bytecode index.","details":"This method is only supported if the argument kind is Kind.BYTECODE_INDEX. If called for arguments of other kinds then an UnsupportedOperationException is thrown. If the returned value is >= 0 then the bytecode index can be used to be converted to a BytecodeLocation.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asConstant()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asConstant()","name":"asConstant","kind":"method","signature":"public Object asConstant()","summary":"Converts this argument to a object constant.","details":"This method is only supported if the argument kind is Kind.CONSTANT. If called for arguments of other kinds then an UnsupportedOperationException is thrown.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asCachedNode()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asCachedNode()","name":"asCachedNode","kind":"method","signature":"public Node asCachedNode()","summary":"Converts this argument to a cached node.","details":"This method is only supported if the argument kind is Kind.NODE_PROFILE. If called for arguments of other kinds then an UnsupportedOperationException is thrown. The returned value is never null if the BytecodeTier is BytecodeTier.CACHED.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asTagNode()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asTagNode()","name":"asTagNode","kind":"method","signature":"public TagTreeNode asTagNode()","summary":"Converts this argument to a tag tree node.","details":"This method is only supported if the argument kind is Kind.TAG_NODE. If called for arguments of other kinds then an UnsupportedOperationException is thrown. The returned value is never null.","returns":{"type":"TagTreeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asLocalOffset()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asLocalOffset()","name":"asLocalOffset","kind":"method","signature":"public int asLocalOffset()","summary":"Converts this argument to a local offset.","details":"This method is only supported if the argument kind is Kind.LOCAL_OFFSET. If called for arguments of other kinds then an UnsupportedOperationException is thrown. This index may be used to access locals with the local access methods in BytecodeNode.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asLocalIndex()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asLocalIndex()","name":"asLocalIndex","kind":"method","signature":"public int asLocalIndex()","summary":"Converts this argument to a local index.","details":"This method is only supported if the argument kind is Kind.LOCAL_INDEX. If called for arguments of other kinds then an UnsupportedOperationException is thrown. The local index can be used to index into the list of locals.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.asBranchProfile()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#asBranchProfile()","name":"asBranchProfile","kind":"method","signature":"public Instruction.Argument.BranchProfile asBranchProfile()","summary":"Converts this argument to a branch profile.","details":"This method is only supported if the argument kind is Kind.BRANCH_PROFILE. If called for arguments of other kinds then an UnsupportedOperationException is thrown. The returned value is never null.","returns":{"type":"Instruction.Argument.BranchProfile"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.getSpecializationInfo()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#getSpecializationInfo()","name":"getSpecializationInfo","kind":"method","signature":"public final List<Introspection.SpecializationInfo> getSpecializationInfo()","summary":"Converts this argument to a specialization info.","details":"This method is only supported if the argument kind is Kind.NODE_PROFILE. If called for arguments of other kinds then an UnsupportedOperationException is thrown. The specialization info is only available if GenerateBytecode.enableSpecializationIntrospection() is set to true.","returns":{"type":"List<Introspection.SpecializationInfo>"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.getSpecializationInfoInternal()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#getSpecializationInfoInternal()","name":"getSpecializationInfoInternal","kind":"method","signature":"protected List<Introspection.SpecializationInfo> getSpecializationInfoInternal()","summary":"Allows the generated code to customize the specialization info lookup.","returns":{"type":"List<Introspection.SpecializationInfo>"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.toString()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html","name":"Instruction.Argument.BranchProfile","kind":"record","signature":"public record Instruction.Argument.BranchProfile(int index, int trueCount, int falseCount)","summary":"Represents a branch profile."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile(int, int, int)","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#%3Cinit%3E(int,int,int)","name":"BranchProfile","kind":"constructor","signature":"public BranchProfile(int index, int trueCount, int falseCount)","summary":"Creates a new BranchProfile instance.","params":[{"name":"index","type":"int"},{"name":"trueCount","type":"int"},{"name":"falseCount","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.getFrequency()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#getFrequency()","name":"getFrequency","kind":"method","signature":"public double getFrequency()","summary":"Returns the frequency recorded by this profile.","returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.toString()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.hashCode()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#hashCode()","name":"hashCode","kind":"method","signature":"public final int hashCode()","summary":"Returns a hash code computed from the record components.","returns":{"type":"int","doc":"Returns a hash code computed from the record components."}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.equals(Object)","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public final boolean equals(Object o)","summary":"Returns whether the other object is a record of the same class with equal components.","params":[{"name":"o","type":"Object","doc":"The object to compare with this record."}],"returns":{"type":"boolean","doc":"Returns whether the other object is a record of the same class with equal components."}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.index()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#index()","name":"index","kind":"method","signature":"public int index()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.trueCount()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#trueCount()","name":"trueCount","kind":"method","signature":"public int trueCount()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.BranchProfile.falseCount()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.BranchProfile.html#falseCount()","name":"falseCount","kind":"method","signature":"public int falseCount()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html","name":"Instruction.Argument.Kind","kind":"enum","signature":"public enum Instruction.Argument.Kind","summary":"Represents the kind of an Argument."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.values()","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#values()","name":"values","kind":"method","signature":"public static Instruction.Argument.Kind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"Instruction.Argument.Kind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.valueOf(String)","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static Instruction.Argument.Kind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"Instruction.Argument.Kind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.CONSTANT","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#CONSTANT","name":"CONSTANT","kind":"enumConstant","signature":"CONSTANT","summary":"A constant value.","details":"Typically, constants are used to encode ConstantOperand and LoadConstant builtin operations."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.BYTECODE_INDEX","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#BYTECODE_INDEX","name":"BYTECODE_INDEX","kind":"enumConstant","signature":"BYTECODE_INDEX","summary":"A bytecode index.","details":"Typically, bytecode indices are used to encode branch targets or the locations of child instructions."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.INTEGER","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#INTEGER","name":"INTEGER","kind":"enumConstant","signature":"INTEGER","summary":"An integer value.","details":"Typically, integer arguments are used to encode argument indices and other integer constants."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.LOCAL_OFFSET","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#LOCAL_OFFSET","name":"LOCAL_OFFSET","kind":"enumConstant","signature":"LOCAL_OFFSET","summary":"The logical frame offset of a local variable.","details":"If block scoping is enabled, multiple locals can share an offset; otherwise, a local's offset is the same as its index. Typically, local offset arguments are used to encode local variable metadata in local variable instructions. The local offset does not represent a frame index that can be used to directly access locals from the frame. Instead, use local accessor instructions, LocalAccessor operands, or the helper methods defined by the BytecodeNode."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.LOCAL_INDEX","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#LOCAL_INDEX","name":"LOCAL_INDEX","kind":"enumConstant","signature":"LOCAL_INDEX","summary":"The unique index of a local variable.","details":"Typically, local index arguments are used to encode local variable metadata in local variable instructions."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.NODE_PROFILE","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#NODE_PROFILE","name":"NODE_PROFILE","kind":"enumConstant","signature":"NODE_PROFILE","summary":"A node profile.","details":"Typically, node profile arguments are used to encode cached nodes for user-defined operations."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.BRANCH_PROFILE","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#BRANCH_PROFILE","name":"BRANCH_PROFILE","kind":"enumConstant","signature":"BRANCH_PROFILE","summary":"A branch profile.","details":"Typically, branch profiles are used to profile the outcomes of conditional branch instructions."}
{"symbol":"com.oracle.truffle.api.bytecode.Instruction.Argument.Kind.TAG_NODE","href":"com/oracle/truffle/api/bytecode/Instruction.Argument.Kind.html#TAG_NODE","name":"TAG_NODE","kind":"enumConstant","signature":"TAG_NODE","summary":"A TagTreeNode.","details":"Typically, tag tree nodes are used to represent nodes in the logical tag tree defined by Tag operations."}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html","name":"InstructionDescriptor","kind":"class","signature":"public abstract class InstructionDescriptor","summary":"Descriptor for a concrete bytecode instruction.","details":"Instances describe static properties of an instruction, for example name, length and arguments."}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor(Object)","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#%3Cinit%3E(java.lang.Object)","name":"InstructionDescriptor","kind":"constructor","signature":"protected InstructionDescriptor(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.getLength()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#getLength()","name":"getLength","kind":"method","signature":"public abstract int getLength()","summary":"Returns the encoded size of this instruction in bytes.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.getName()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#getName()","name":"getName","kind":"method","signature":"public abstract String getName()","summary":"Returns a human readable instruction name.","details":"Two descriptors with the same name also have the same operation code.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.getOperationCode()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#getOperationCode()","name":"getOperationCode","kind":"method","signature":"public abstract int getOperationCode()","summary":"Returns the operation code for this instruction.","details":"The value is only intended for debugging or tooling. Two descriptors with the same operation code also have the same name.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.getOperationClass()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#getOperationClass()","name":"getOperationClass","kind":"method","signature":"public Class<?> getOperationClass()","summary":"Returns the class defining the custom operation that produced this instruction.","details":"Quickened instructions return the same class as their unquickened instruction. For an OperationProxy, this is the proxied class, not a generated node class. Returns null if the operation class is unavailable, including for built-in instructions and short-circuit instructions.","returns":{"type":"Class<?>","doc":"the operation class, or null if unavailable"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.getArgumentDescriptors()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#getArgumentDescriptors()","name":"getArgumentDescriptors","kind":"method","signature":"public abstract List<InstructionDescriptor.ArgumentDescriptor> getArgumentDescriptors()","summary":"Returns an immutable list describing the immediate arguments of this instruction.","details":"The list size and the descriptor kinds are stable, the runtime values of the arguments may change.","returns":{"type":"List<InstructionDescriptor.ArgumentDescriptor>"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.isInstrumentation()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#isInstrumentation()","name":"isInstrumentation","kind":"method","signature":"public abstract boolean isInstrumentation()","summary":"Returns true if this instruction represents a bytecode or tag instrumentation instruction, else false.","details":"Instrumentation instructions may get inserted dynamically during execution, e.g., if a tag is materialized or an Instrumentation is configured.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.hashCode()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.equals(Object)","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.toString()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.ArgumentDescriptor","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.ArgumentDescriptor.html","name":"InstructionDescriptor.ArgumentDescriptor","kind":"class","signature":"public abstract static class InstructionDescriptor.ArgumentDescriptor","summary":"Descriptor for a single immediate argument of an instruction.","details":"Captures kind, name and encoded width of the argument."}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.ArgumentDescriptor(Object)","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.ArgumentDescriptor.html#%3Cinit%3E(java.lang.Object)","name":"ArgumentDescriptor","kind":"constructor","signature":"protected ArgumentDescriptor(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.ArgumentDescriptor.getKind()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.ArgumentDescriptor.html#getKind()","name":"getKind","kind":"method","signature":"public abstract Instruction.Argument.Kind getKind()","summary":"Returns the Kind of this argument descriptor.","returns":{"type":"Instruction.Argument.Kind"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.ArgumentDescriptor.getName()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.ArgumentDescriptor.html#getName()","name":"getName","kind":"method","signature":"public abstract String getName()","summary":"Returns a human readable name for this argument.","details":"This could be for example \"localOffset\" for a local variable access instruction. Arguments with the same getKind() may have different names. A name is typically more descriptive than just the kind and should be preferred over the kind for debug output.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.ArgumentDescriptor.getLength()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.ArgumentDescriptor.html#getLength()","name":"getLength","kind":"method","signature":"public abstract int getLength()","summary":"Returns width in bytes.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionDescriptor.ArgumentDescriptor.toString()","href":"com/oracle/truffle/api/bytecode/InstructionDescriptor.ArgumentDescriptor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer","href":"com/oracle/truffle/api/bytecode/InstructionTracer.html","name":"InstructionTracer","kind":"interface","signature":"public interface InstructionTracer","summary":"A low-overhead callback interface to observe instruction execution in Bytecode DSL interpreters.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer.onInstructionEnter(InstructionTracer.InstructionAccess, BytecodeNode, int, Frame)","href":"com/oracle/truffle/api/bytecode/InstructionTracer.html#onInstructionEnter(com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess,com.oracle.truffle.api.bytecode.BytecodeNode,int,com.oracle.truffle.api.frame.Frame)","name":"onInstructionEnter","kind":"method","signature":"void onInstructionEnter(InstructionTracer.InstructionAccess access, BytecodeNode bytecode, int bytecodeIndex, Frame frame)","summary":"Called immediately before executing the instruction at bytecodeIndex of the given bytecode node.","params":[{"name":"access","type":"InstructionTracer.InstructionAccess","doc":"accessor to query information about the current instruction, valid only during this call"},{"name":"bytecode","type":"BytecodeNode","doc":"the BytecodeNode currently being interpreted"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index (BCI) of the instruction to be executed"},{"name":"frame","type":"Frame","doc":"the current frame for the root being interpreted"}]}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer.getExclusiveBytecodeDescriptor()","href":"com/oracle/truffle/api/bytecode/InstructionTracer.html#getExclusiveBytecodeDescriptor()","name":"getExclusiveBytecodeDescriptor","kind":"method","signature":"default BytecodeDescriptor<?, ?, ?> getExclusiveBytecodeDescriptor()","summary":"Returns the BytecodeDescriptor that this tracer is exclusive for, or null if this instruction tracer may be used with any bytecode descriptor.","returns":{"type":"BytecodeDescriptor<?, ?, ?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess","href":"com/oracle/truffle/api/bytecode/InstructionTracer.InstructionAccess.html","name":"InstructionTracer.InstructionAccess","kind":"class","signature":"public abstract class InstructionTracer.InstructionAccess","summary":"Accessor for properties of the instruction about to execute.","details":"Instances of this class are provided by the generated interpreter and are scoped to a single InstructionTracer.onInstructionEnter invocation. They must not be stored, shared across threads, or used after the callback returns."}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess(Object)","href":"com/oracle/truffle/api/bytecode/InstructionTracer.InstructionAccess.html#%3Cinit%3E(java.lang.Object)","name":"InstructionAccess","kind":"constructor","signature":"protected InstructionAccess(Object token)","summary":"Internal constructor for generated code.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess.getTracedInstruction(BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/InstructionTracer.InstructionAccess.html#getTracedInstruction(com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"getTracedInstruction","kind":"method","signature":"public abstract Instruction getTracedInstruction(BytecodeNode bytecode, int bytecodeIndex)","summary":"Materializes the Instruction object for the instruction at the given bytecode index.","params":[{"name":"bytecode","type":"BytecodeNode","doc":"the BytecodeNode currently being interpreted"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index (BCI) of the instruction"}],"returns":{"type":"Instruction","doc":"the materialized Instruction representing the instruction at BCI"}}
{"symbol":"com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess.getTracedOperationCode(BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/InstructionTracer.InstructionAccess.html#getTracedOperationCode(com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"getTracedOperationCode","kind":"method","signature":"public abstract int getTracedOperationCode(BytecodeNode bytecode, int bytecodeIndex)","summary":"Returns the operation code for the instruction at the given bytecode index, without allocating an Instruction object.","details":"The returned value corresponds to Instruction.getOperationCode() for the same instruction.","params":[{"name":"bytecode","type":"BytecodeNode","doc":"the BytecodeNode currently being interpreted"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index (BCI) of the instruction"}],"returns":{"type":"int","doc":"the integer operation code of the instruction at BCI"}}
{"symbol":"com.oracle.truffle.api.bytecode.Instrumentation","href":"com/oracle/truffle/api/bytecode/Instrumentation.html","name":"Instrumentation","kind":"annotation","signature":"public @interface Instrumentation","summary":"Instrumentations are operations that can be dynamically enabled at runtime.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.Instrumentation.forceCached()","href":"com/oracle/truffle/api/bytecode/Instrumentation.html#forceCached()","name":"forceCached","kind":"annotationElement","signature":"boolean forceCached() default false","summary":"Whether executing this operation should force the uncached interpreter (if enabled) to transition to cached.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.Instrumentation.javadoc()","href":"com/oracle/truffle/api/bytecode/Instrumentation.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the instrumentation.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.Instrumentation.storeBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/Instrumentation.html#storeBytecodeIndex()","name":"storeBytecodeIndex","kind":"annotationElement","signature":"boolean storeBytecodeIndex() default true","summary":"Whether to store the BCI before executing this operation.","details":"See Operation.storeBytecodeIndex() for mode-dependent defaults. When false, StoreBytecodeIndex enables storage for individual Specialization or Fallback methods.","returns":{"type":"boolean","doc":"whether to enable operation-level BCI storage"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html","name":"LocalAccessor","kind":"class","signature":"public final class LocalAccessor","summary":"Operation parameter that allows an operation to get, set, and clear the value of a local.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.toString()","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of a LocalAccessor.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getObject(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getObject(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getObject","kind":"method","signature":"public Object getObject(BytecodeNode bytecodeNode, VirtualFrame frame)","summary":"Loads an object from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getBoolean(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getBoolean(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getBoolean","kind":"method","signature":"public boolean getBoolean(BytecodeNode bytecodeNode, VirtualFrame frame) throws UnexpectedResultException","summary":"Loads a boolean from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getByte(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getByte(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getByte","kind":"method","signature":"public byte getByte(BytecodeNode bytecodeNode, VirtualFrame frame) throws UnexpectedResultException","summary":"Loads a byte from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getInt(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getInt(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getInt","kind":"method","signature":"public int getInt(BytecodeNode bytecodeNode, VirtualFrame frame) throws UnexpectedResultException","summary":"Loads an int from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getLong(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getLong(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getLong","kind":"method","signature":"public long getLong(BytecodeNode bytecodeNode, VirtualFrame frame) throws UnexpectedResultException","summary":"Loads a long from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getFloat(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getFloat(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getFloat","kind":"method","signature":"public float getFloat(BytecodeNode bytecodeNode, VirtualFrame frame) throws UnexpectedResultException","summary":"Loads a float from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getDouble(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getDouble(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"getDouble","kind":"method","signature":"public double getDouble(BytecodeNode bytecodeNode, VirtualFrame frame) throws UnexpectedResultException","summary":"Loads a double from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setObject(BytecodeNode, VirtualFrame, Object)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setObject(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"setObject","kind":"method","signature":"public void setObject(BytecodeNode bytecodeNode, VirtualFrame frame, Object value)","summary":"Stores an object into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setBoolean(BytecodeNode, VirtualFrame, boolean)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setBoolean(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,boolean)","name":"setBoolean","kind":"method","signature":"public void setBoolean(BytecodeNode bytecodeNode, VirtualFrame frame, boolean value)","summary":"Stores a short into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setByte(BytecodeNode, VirtualFrame, byte)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setByte(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,byte)","name":"setByte","kind":"method","signature":"public void setByte(BytecodeNode bytecodeNode, VirtualFrame frame, byte value)","summary":"Stores a byte into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setInt(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setInt(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"setInt","kind":"method","signature":"public void setInt(BytecodeNode bytecodeNode, VirtualFrame frame, int value)","summary":"Stores an int into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setLong(BytecodeNode, VirtualFrame, long)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setLong(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,long)","name":"setLong","kind":"method","signature":"public void setLong(BytecodeNode bytecodeNode, VirtualFrame frame, long value)","summary":"Stores a long into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setFloat(BytecodeNode, VirtualFrame, float)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setFloat(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,float)","name":"setFloat","kind":"method","signature":"public void setFloat(BytecodeNode bytecodeNode, VirtualFrame frame, float value)","summary":"Stores a float into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.setDouble(BytecodeNode, VirtualFrame, double)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#setDouble(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,double)","name":"setDouble","kind":"method","signature":"public void setDouble(BytecodeNode bytecodeNode, VirtualFrame frame, double value)","summary":"Stores a double into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.clear(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#clear(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"clear","kind":"method","signature":"public void clear(BytecodeNode bytecodeNode, VirtualFrame frame)","summary":"Clears the local from the frame.","details":"Clearing the slot marks the frame slot as illegal. An exception will be thrown if it is read before being set. Clearing does not insert a default local value, if specified.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.isCleared(BytecodeNode, VirtualFrame)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#isCleared(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame)","name":"isCleared","kind":"method","signature":"public boolean isCleared(BytecodeNode bytecodeNode, VirtualFrame frame)","summary":"Checks whether the local has been cleared (and a new value has not been set).","details":"This method also returns true if a local has not been initialized and no default local value is specified.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getLocalName(BytecodeNode)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getLocalName(com.oracle.truffle.api.bytecode.BytecodeNode)","name":"getLocalName","kind":"method","signature":"public Object getLocalName(BytecodeNode bytecodeNode)","summary":"Returns the name associated with the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.getLocalInfo(BytecodeNode)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#getLocalInfo(com.oracle.truffle.api.bytecode.BytecodeNode)","name":"getLocalInfo","kind":"method","signature":"public Object getLocalInfo(BytecodeNode bytecodeNode)","summary":"Returns the info associated with the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.constantOf(BytecodeLocal)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#constantOf(com.oracle.truffle.api.bytecode.BytecodeLocal)","name":"constantOf","kind":"method","signature":"public static LocalAccessor constantOf(BytecodeLocal local)","summary":"Obtains a LocalAccessor.","details":"This method is invoked by the generated code and should not be called directly.","params":[{"name":"local","type":"BytecodeLocal"}],"returns":{"type":"LocalAccessor"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.equals(Object)","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalAccessor.hashCode()","href":"com/oracle/truffle/api/bytecode/LocalAccessor.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html","name":"LocalRangeAccessor","kind":"class","signature":"public final class LocalRangeAccessor","summary":"Operation parameter that allows an operation to get, set, or clear locals declared in a contiguous range.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getLength()","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getLength()","name":"getLength","kind":"method","signature":"public int getLength()","summary":"Returns the length of the range.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.hashCode()","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.equals(Object)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.toString()","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of a LocalRangeAccessor.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getObject(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getObject(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getObject","kind":"method","signature":"public Object getObject(BytecodeNode bytecodeNode, VirtualFrame frame, int offset)","summary":"Loads an object from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getBoolean(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getBoolean(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getBoolean","kind":"method","signature":"public boolean getBoolean(BytecodeNode bytecodeNode, VirtualFrame frame, int offset) throws UnexpectedResultException","summary":"Loads a boolean from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getByte(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getByte(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getByte","kind":"method","signature":"public byte getByte(BytecodeNode bytecodeNode, VirtualFrame frame, int offset) throws UnexpectedResultException","summary":"Loads a byte from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getInt(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getInt(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getInt","kind":"method","signature":"public int getInt(BytecodeNode bytecodeNode, VirtualFrame frame, int offset) throws UnexpectedResultException","summary":"Loads an int from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getLong(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getLong(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getLong","kind":"method","signature":"public long getLong(BytecodeNode bytecodeNode, VirtualFrame frame, int offset) throws UnexpectedResultException","summary":"Loads a long from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getFloat(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getFloat(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getFloat","kind":"method","signature":"public float getFloat(BytecodeNode bytecodeNode, VirtualFrame frame, int offset) throws UnexpectedResultException","summary":"Loads a float from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getDouble(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getDouble(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"getDouble","kind":"method","signature":"public double getDouble(BytecodeNode bytecodeNode, VirtualFrame frame, int offset) throws UnexpectedResultException","summary":"Loads a double from the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setObject(BytecodeNode, VirtualFrame, int, Object)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setObject(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,java.lang.Object)","name":"setObject","kind":"method","signature":"public void setObject(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, Object value)","summary":"Stores an object into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setBoolean(BytecodeNode, VirtualFrame, int, boolean)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setBoolean(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,boolean)","name":"setBoolean","kind":"method","signature":"public void setBoolean(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, boolean value)","summary":"Stores a boolean into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setByte(BytecodeNode, VirtualFrame, int, byte)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setByte(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,byte)","name":"setByte","kind":"method","signature":"public void setByte(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, byte value)","summary":"Stores a byte into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setInt(BytecodeNode, VirtualFrame, int, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setInt(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,int)","name":"setInt","kind":"method","signature":"public void setInt(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, int value)","summary":"Stores an int into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setLong(BytecodeNode, VirtualFrame, int, long)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setLong(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,long)","name":"setLong","kind":"method","signature":"public void setLong(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, long value)","summary":"Stores a long into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setFloat(BytecodeNode, VirtualFrame, int, float)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setFloat(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,float)","name":"setFloat","kind":"method","signature":"public void setFloat(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, float value)","summary":"Stores a float into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.setDouble(BytecodeNode, VirtualFrame, int, double)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#setDouble(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int,double)","name":"setDouble","kind":"method","signature":"public void setDouble(BytecodeNode bytecodeNode, VirtualFrame frame, int offset, double value)","summary":"Stores a double into the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.clear(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#clear(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"clear","kind":"method","signature":"public void clear(BytecodeNode bytecodeNode, VirtualFrame frame, int offset)","summary":"Clears the local at the given offset into the range.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.isCleared(BytecodeNode, VirtualFrame, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#isCleared(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.VirtualFrame,int)","name":"isCleared","kind":"method","signature":"public boolean isCleared(BytecodeNode bytecodeNode, VirtualFrame frame, int offset)","summary":"Checks whether the local at the given offset into the range has been cleared (and a new value has not been set).","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"VirtualFrame"},{"name":"offset","type":"int","doc":"a partial evaluation constant offset into the range."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getLocalName(BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getLocalName(com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"getLocalName","kind":"method","signature":"public Object getLocalName(BytecodeNode bytecodeNode, int offset)","summary":"Returns the name associated with the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"offset","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.getLocalInfo(BytecodeNode, int)","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#getLocalInfo(com.oracle.truffle.api.bytecode.BytecodeNode,int)","name":"getLocalInfo","kind":"method","signature":"public Object getLocalInfo(BytecodeNode bytecodeNode, int offset)","summary":"Returns the info associated with the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"offset","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalRangeAccessor.constantOf(BytecodeLocal[])","href":"com/oracle/truffle/api/bytecode/LocalRangeAccessor.html#constantOf(com.oracle.truffle.api.bytecode.BytecodeLocal[])","name":"constantOf","kind":"method","signature":"public static LocalRangeAccessor constantOf(BytecodeLocal[] locals)","summary":"Obtains a LocalRangeAccessor.","details":"This method is invoked by the generated code and should not be called directly.","params":[{"name":"locals","type":"BytecodeLocal[]"}],"returns":{"type":"LocalRangeAccessor"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable","href":"com/oracle/truffle/api/bytecode/LocalVariable.html","name":"LocalVariable","kind":"class","signature":"public abstract class LocalVariable","summary":"Introspection class modeling a local variable and its liveness info in a bytecode interpreter.","details":"There can be more than one local variable for a given BytecodeLocal because locals can be live for multiple disjoint bytecode ranges. Note: Introspection classes are intended to be used for debugging purposes only. These APIs may change in the future."}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable(Object)","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#%3Cinit%3E(java.lang.Object)","name":"LocalVariable","kind":"constructor","signature":"protected LocalVariable(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getStartIndex()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getStartIndex()","name":"getStartIndex","kind":"method","signature":"public int getStartIndex()","summary":"Returns the bytecode index at which this local starts being live.","details":"If block scoping is disabled, returns -1.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getEndIndex()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getEndIndex()","name":"getEndIndex","kind":"method","signature":"public int getEndIndex()","summary":"Returns the bytecode index at which this local stops being live.","details":"If block scoping is disabled, returns -1.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getLocalOffset()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getLocalOffset()","name":"getLocalOffset","kind":"method","signature":"public abstract int getLocalOffset()","summary":"Returns the logical frame offset of a local variable.","detailsOmitted":true,"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getLocalIndex()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getLocalIndex()","name":"getLocalIndex","kind":"method","signature":"public abstract int getLocalIndex()","summary":"Returns the local index, a unique identifier for each BytecodeLocal in a root node.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getTypeProfile()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getTypeProfile()","name":"getTypeProfile","kind":"method","signature":"public abstract FrameSlotKind getTypeProfile()","summary":"Returns the type profile that was collected for this local.","details":"Returns null if no profile was yet collected or the interpreter does not collect profiles.","returns":{"type":"FrameSlotKind"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getInfo()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getInfo()","name":"getInfo","kind":"method","signature":"public abstract Object getInfo()","summary":"Returns the info provided for the local, or null if no info was provided.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.getName()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#getName()","name":"getName","kind":"method","signature":"public abstract Object getName()","summary":"Returns the name provided for the local, or null if no name was provided.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.LocalVariable.toString()","href":"com/oracle/truffle/api/bytecode/LocalVariable.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html","name":"MaterializedLocalAccessor","kind":"class","signature":"public final class MaterializedLocalAccessor","summary":"Operation parameter that allows an operation to get, set, and clear the value of a local from a materialized frame of the current root node or an outer root node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.toString()","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of a MaterializedLocalAccessor.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getObject(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getObject(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getObject","kind":"method","signature":"public Object getObject(BytecodeNode bytecodeNode, MaterializedFrame frame)","summary":"Loads an object from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getBoolean(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getBoolean(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getBoolean","kind":"method","signature":"public boolean getBoolean(BytecodeNode bytecodeNode, MaterializedFrame frame) throws UnexpectedResultException","summary":"Loads a boolean from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getByte(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getByte(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getByte","kind":"method","signature":"public byte getByte(BytecodeNode bytecodeNode, MaterializedFrame frame) throws UnexpectedResultException","summary":"Loads a byte from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getInt(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getInt(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getInt","kind":"method","signature":"public int getInt(BytecodeNode bytecodeNode, MaterializedFrame frame) throws UnexpectedResultException","summary":"Loads an int from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getLong(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getLong(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getLong","kind":"method","signature":"public long getLong(BytecodeNode bytecodeNode, MaterializedFrame frame) throws UnexpectedResultException","summary":"Loads a long from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getFloat(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getFloat(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getFloat","kind":"method","signature":"public float getFloat(BytecodeNode bytecodeNode, MaterializedFrame frame) throws UnexpectedResultException","summary":"Loads a float from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getDouble(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getDouble(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"getDouble","kind":"method","signature":"public double getDouble(BytecodeNode bytecodeNode, MaterializedFrame frame) throws UnexpectedResultException","summary":"Loads a double from the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setObject(BytecodeNode, MaterializedFrame, Object)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setObject(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,java.lang.Object)","name":"setObject","kind":"method","signature":"public void setObject(BytecodeNode bytecodeNode, MaterializedFrame frame, Object value)","summary":"Stores an object into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setBoolean(BytecodeNode, MaterializedFrame, boolean)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setBoolean(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,boolean)","name":"setBoolean","kind":"method","signature":"public void setBoolean(BytecodeNode bytecodeNode, MaterializedFrame frame, boolean value)","summary":"Stores a boolean into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setByte(BytecodeNode, MaterializedFrame, byte)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setByte(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,byte)","name":"setByte","kind":"method","signature":"public void setByte(BytecodeNode bytecodeNode, MaterializedFrame frame, byte value)","summary":"Stores a byte into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setInt(BytecodeNode, MaterializedFrame, int)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setInt(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,int)","name":"setInt","kind":"method","signature":"public void setInt(BytecodeNode bytecodeNode, MaterializedFrame frame, int value)","summary":"Stores an int into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setLong(BytecodeNode, MaterializedFrame, long)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setLong(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,long)","name":"setLong","kind":"method","signature":"public void setLong(BytecodeNode bytecodeNode, MaterializedFrame frame, long value)","summary":"Stores a long into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setFloat(BytecodeNode, MaterializedFrame, float)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setFloat(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,float)","name":"setFloat","kind":"method","signature":"public void setFloat(BytecodeNode bytecodeNode, MaterializedFrame frame, float value)","summary":"Stores a float into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.setDouble(BytecodeNode, MaterializedFrame, double)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#setDouble(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame,double)","name":"setDouble","kind":"method","signature":"public void setDouble(BytecodeNode bytecodeNode, MaterializedFrame frame, double value)","summary":"Stores a double into the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.clear(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#clear(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"clear","kind":"method","signature":"public void clear(BytecodeNode bytecodeNode, MaterializedFrame frame)","summary":"Clears the local from the frame.","details":"Clearing the slot marks the frame slot as illegal. An exception will be thrown if it is read before being set. Clearing does not insert a default local value, if specified.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}]}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.isCleared(BytecodeNode, MaterializedFrame)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#isCleared(com.oracle.truffle.api.bytecode.BytecodeNode,com.oracle.truffle.api.frame.MaterializedFrame)","name":"isCleared","kind":"method","signature":"public boolean isCleared(BytecodeNode bytecodeNode, MaterializedFrame frame)","summary":"Checks whether the local has been cleared (and a new value has not been set).","details":"This method also returns true if a local has not been initialized and no default local value is specified.","params":[{"name":"bytecodeNode","type":"BytecodeNode"},{"name":"frame","type":"MaterializedFrame"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getLocalName(BytecodeNode)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getLocalName(com.oracle.truffle.api.bytecode.BytecodeNode)","name":"getLocalName","kind":"method","signature":"public Object getLocalName(BytecodeNode bytecodeNode)","summary":"Returns the name associated with the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.getLocalInfo(BytecodeNode)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#getLocalInfo(com.oracle.truffle.api.bytecode.BytecodeNode)","name":"getLocalInfo","kind":"method","signature":"public Object getLocalInfo(BytecodeNode bytecodeNode)","summary":"Returns the info associated with the local.","params":[{"name":"bytecodeNode","type":"BytecodeNode"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.constantOf(int, BytecodeLocal)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#constantOf(int,com.oracle.truffle.api.bytecode.BytecodeLocal)","name":"constantOf","kind":"method","signature":"public static MaterializedLocalAccessor constantOf(int rootIndex, BytecodeLocal local)","summary":"Obtains a MaterializedLocalAccessor.","details":"This method is invoked by the generated code and should not be called directly.","params":[{"name":"rootIndex","type":"int"},{"name":"local","type":"BytecodeLocal"}],"returns":{"type":"MaterializedLocalAccessor"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.equals(Object)","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.MaterializedLocalAccessor.hashCode()","href":"com/oracle/truffle/api/bytecode/MaterializedLocalAccessor.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.Operation","href":"com/oracle/truffle/api/bytecode/Operation.html","name":"Operation","kind":"annotation","signature":"public @interface Operation","summary":"Declares an operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.Operation.forceCached()","href":"com/oracle/truffle/api/bytecode/Operation.html#forceCached()","name":"forceCached","kind":"annotationElement","signature":"boolean forceCached() default false","summary":"Whether executing this operation should force the uncached interpreter (if enabled) to transition to cached.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.Operation.tags()","href":"com/oracle/truffle/api/bytecode/Operation.html#tags()","name":"tags","kind":"annotationElement","signature":"Class<? extends Tag>[] tags() default {}","summary":"The instrumentation tags that should be implicitly associated with this operation.","returns":{"type":"Class<? extends Tag>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.bytecode.Operation.javadoc()","href":"com/oracle/truffle/api/bytecode/Operation.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the operation.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.Operation.storeBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/Operation.html#storeBytecodeIndex()","name":"storeBytecodeIndex","kind":"annotationElement","signature":"boolean storeBytecodeIndex() default true","summary":"Whether to store the BCI in the frame before executing this operation.","details":"Applies in BytecodeIndexMode.FRAME, BytecodeIndexMode.MANUAL, and uncached BytecodeIndexMode.CACHED_NODE execution. When unspecified, storage is disabled in MANUAL mode and inferred from specialization caches (including bind parameters) in other modes. The DSL warns when an explicit choice is recommended. When false, StoreBytecodeIndex can enable storage for individual Specialization or Fallback methods.","returns":{"type":"boolean","doc":"whether to enable operation-level BCI storage"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy","href":"com/oracle/truffle/api/bytecode/OperationProxy.html","name":"OperationProxy","kind":"annotation","signature":"public @interface OperationProxy","summary":"Defines an operation using an existing com.oracle.truffle.api.nodes.Node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.value()","href":"com/oracle/truffle/api/bytecode/OperationProxy.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","summary":"The com.oracle.truffle.api.nodes.Node class to proxy.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.name()","href":"com/oracle/truffle/api/bytecode/OperationProxy.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"The name to use for the operation.","details":"If no name is specified, the class name (without the \"Node\" suffix, if present) will be used.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.forceCached()","href":"com/oracle/truffle/api/bytecode/OperationProxy.html#forceCached()","name":"forceCached","kind":"annotationElement","signature":"boolean forceCached() default false","summary":"Whether executing this operation should force the uncached interpreter (if enabled) to transition to cached.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.javadoc()","href":"com/oracle/truffle/api/bytecode/OperationProxy.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the operation proxy.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.tags()","href":"com/oracle/truffle/api/bytecode/OperationProxy.html#tags()","name":"tags","kind":"annotationElement","signature":"Class<? extends Tag>[] tags() default {}","summary":"The instrumentation tags that should be implicitly associated with this operation.","returns":{"type":"Class<? extends Tag>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Proxyable","href":"com/oracle/truffle/api/bytecode/OperationProxy.Proxyable.html","name":"OperationProxy.Proxyable","kind":"annotation","signature":"public @interface OperationProxy.Proxyable","summary":"Designates a com.oracle.truffle.api.nodes.Node class as eligible for proxying.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Proxyable.bindFrame()","href":"com/oracle/truffle/api/bytecode/OperationProxy.Proxyable.html#bindFrame()","name":"bindFrame","kind":"annotationElement","signature":"boolean bindFrame() default true","summary":"Whether to recognize an optional leading frame as execution metadata, accessible through @Bind(\"$frame\") or a leading specialization parameter.","details":"When disabled, frame parameters are evaluated arguments.","returns":{"type":"boolean","doc":"whether to bind the frame; defaults to true"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Proxyable.bindBytecodeNode()","href":"com/oracle/truffle/api/bytecode/OperationProxy.Proxyable.html#bindBytecodeNode()","name":"bindBytecodeNode","kind":"annotationElement","signature":"boolean bindBytecodeNode() default false","summary":"Whether each execute method supplies a BytecodeNode metadata parameter for @Bind(\"$bytecodeNode\").","details":"See Proxyable for parameter order.","returns":{"type":"boolean","doc":"whether to bind the bytecode node; defaults to false"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Proxyable.bindBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/OperationProxy.Proxyable.html#bindBytecodeIndex()","name":"bindBytecodeIndex","kind":"annotationElement","signature":"boolean bindBytecodeIndex() default false","summary":"Whether each execute method supplies an int metadata parameter for @Bind(\"$bytecodeIndex\").","details":"See Proxyable for parameter order.","returns":{"type":"boolean","doc":"whether to bind the bytecode index; defaults to false"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Proxyable.allowUncached()","href":"com/oracle/truffle/api/bytecode/OperationProxy.Proxyable.html#allowUncached()","name":"allowUncached","kind":"annotationElement","signature":"boolean allowUncached() default false","summary":"Whether a proxyable node allows use for uncached.","details":"If uncached use is enabled, additional validations are performed to ensure the node supports uncached.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Proxyable.storeBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/OperationProxy.Proxyable.html#storeBytecodeIndex()","name":"storeBytecodeIndex","kind":"annotationElement","signature":"boolean storeBytecodeIndex() default true","summary":"Whether to store the BCI before executing this operation.","details":"See Operation.storeBytecodeIndex() for mode-dependent defaults. When false, StoreBytecodeIndex enables storage for individual Specialization or Fallback methods.","returns":{"type":"boolean","doc":"whether to enable operation-level BCI storage"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Repeat","href":"com/oracle/truffle/api/bytecode/OperationProxy.Repeat.html","name":"OperationProxy.Repeat","kind":"annotation","signature":"public @interface OperationProxy.Repeat","summary":"Repeat annotation for OperationProxy."}
{"symbol":"com.oracle.truffle.api.bytecode.OperationProxy.Repeat.value()","href":"com/oracle/truffle/api/bytecode/OperationProxy.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"OperationProxy[] value()","summary":"Repeat value for OperationProxy.","returns":{"type":"OperationProxy[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.Prolog","href":"com/oracle/truffle/api/bytecode/Prolog.html","name":"Prolog","kind":"annotation","signature":"public @interface Prolog","summary":"Defines a prolog operation that executes before the body of a Root operation.","details":"A prolog operation is defined the same way as an Operation. It has the additional restriction that it must have no dynamic operands and must declare a void return type. It can declare constant operands. The prolog is guarded by exception intercept methods (e.g., BytecodeRootNode.interceptInternalException(Throwable, VirtualFrame, BytecodeNode, int)) as well as the exceptional epilog, if present. When Tag instrumentation is enabled, the prolog will execute after root probes and before root body probes."}
{"symbol":"com.oracle.truffle.api.bytecode.Prolog.storeBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/Prolog.html#storeBytecodeIndex()","name":"storeBytecodeIndex","kind":"annotationElement","signature":"boolean storeBytecodeIndex() default true","summary":"Whether to store the BCI before executing this operation.","details":"See Operation.storeBytecodeIndex() for mode-dependent defaults. When false, StoreBytecodeIndex enables storage for individual Specialization or Fallback methods.","returns":{"type":"boolean","doc":"whether to enable operation-level BCI storage"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.bytecode.Return","href":"com/oracle/truffle/api/bytecode/Return.html","name":"Return","kind":"annotation","signature":"public @interface Return","summary":"Declares a custom return operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.Return.forceCached()","href":"com/oracle/truffle/api/bytecode/Return.html#forceCached()","name":"forceCached","kind":"annotationElement","signature":"boolean forceCached() default false","summary":"Whether executing this operation should force the uncached interpreter (if enabled) to transition to cached.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.Return.tags()","href":"com/oracle/truffle/api/bytecode/Return.html#tags()","name":"tags","kind":"annotationElement","signature":"Class<? extends Tag>[] tags() default {}","summary":"The instrumentation tags that should be implicitly associated with this operation.","returns":{"type":"Class<? extends Tag>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.bytecode.Return.javadoc()","href":"com/oracle/truffle/api/bytecode/Return.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the operation.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.Return.resultOperandIndex()","href":"com/oracle/truffle/api/bytecode/Return.html#resultOperandIndex()","name":"resultOperandIndex","kind":"annotationElement","signature":"int resultOperandIndex() default 0","summary":"Index of the dynamic operand that represents the logical \"result\" of the return before the custom return executes.","details":"This result is used by tag instrumentation and EpilogReturn. This field must be specified for custom returns with multiple dynamic operands; it should not be specified for custom returns with no dynamic operands.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.html","name":"ShortCircuitOperation","kind":"annotation","signature":"public @interface ShortCircuitOperation","summary":"Declares a short-circuiting operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.name()","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.html#name()","name":"name","kind":"annotationElement","signature":"String name()","summary":"The name of this operation.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.operator()","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.html#operator()","name":"operator","kind":"annotationElement","signature":"ShortCircuitOperation.Operator operator()","summary":"The short-circuit operator to use for this operation.","detailsOmitted":true,"returns":{"type":"ShortCircuitOperation.Operator"}}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.booleanConverter()","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.html#booleanConverter()","name":"booleanConverter","kind":"annotationElement","signature":"Class<?> booleanConverter() default void.class","summary":"A node or operation class.","detailsOmitted":true,"returns":{"type":"Class<?>"},"defaultValue":"void.class"}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.javadoc()","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the short circuit operation.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html","name":"ShortCircuitOperation.Operator","kind":"enum","signature":"public enum ShortCircuitOperation.Operator","summary":"Defines the behaviour of a ShortCircuitOperation."}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator.values()","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html#values()","name":"values","kind":"method","signature":"public static ShortCircuitOperation.Operator[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"ShortCircuitOperation.Operator[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator.valueOf(String)","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static ShortCircuitOperation.Operator valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"ShortCircuitOperation.Operator","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator.AND_RETURN_VALUE","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html#AND_RETURN_VALUE","name":"AND_RETURN_VALUE","kind":"enumConstant","signature":"AND_RETURN_VALUE","summary":"AND operator that produces the operand value."}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator.AND_RETURN_CONVERTED","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html#AND_RETURN_CONVERTED","name":"AND_RETURN_CONVERTED","kind":"enumConstant","signature":"AND_RETURN_CONVERTED","summary":"AND operator that produces the converted boolean value."}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator.OR_RETURN_VALUE","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html#OR_RETURN_VALUE","name":"OR_RETURN_VALUE","kind":"enumConstant","signature":"OR_RETURN_VALUE","summary":"OR operator that produces the operand value."}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator.OR_RETURN_CONVERTED","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Operator.html#OR_RETURN_CONVERTED","name":"OR_RETURN_CONVERTED","kind":"enumConstant","signature":"OR_RETURN_CONVERTED","summary":"OR operator that produces the converted boolean value."}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Repeat","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Repeat.html","name":"ShortCircuitOperation.Repeat","kind":"annotation","signature":"public @interface ShortCircuitOperation.Repeat","summary":"Repeat annotation for ShortCircuitOperation."}
{"symbol":"com.oracle.truffle.api.bytecode.ShortCircuitOperation.Repeat.value()","href":"com/oracle/truffle/api/bytecode/ShortCircuitOperation.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"ShortCircuitOperation[] value()","summary":"Repeat value for ShortCircuitOperation.","returns":{"type":"ShortCircuitOperation[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformation","href":"com/oracle/truffle/api/bytecode/SourceInformation.html","name":"SourceInformation","kind":"class","signature":"public abstract class SourceInformation","summary":"Introspection class modeling source section information for a range of bytecodes.","details":"Note: Introspection classes are intended to be used for debugging purposes only. These APIs may change in the future."}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformation(Object)","href":"com/oracle/truffle/api/bytecode/SourceInformation.html#%3Cinit%3E(java.lang.Object)","name":"SourceInformation","kind":"constructor","signature":"protected SourceInformation(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformation.getStartBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/SourceInformation.html#getStartBytecodeIndex()","name":"getStartBytecodeIndex","kind":"method","signature":"public abstract int getStartBytecodeIndex()","summary":"Returns the start bytecode index for this source information object (inclusive).","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformation.getEndBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/SourceInformation.html#getEndBytecodeIndex()","name":"getEndBytecodeIndex","kind":"method","signature":"public abstract int getEndBytecodeIndex()","summary":"Returns the end bytecode index for this source information object (exclusive).","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformation.getSourceSection()","href":"com/oracle/truffle/api/bytecode/SourceInformation.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public abstract SourceSection getSourceSection()","summary":"Returns the source section associated with this source information object.","details":"The result is never null, with the possible exception of the root of a SourceInformationTree (see BytecodeNode.getSourceInformationTree).","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformation.toString()","href":"com/oracle/truffle/api/bytecode/SourceInformation.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformationTree","href":"com/oracle/truffle/api/bytecode/SourceInformationTree.html","name":"SourceInformationTree","kind":"class","signature":"public abstract class SourceInformationTree extends SourceInformation","summary":"Introspection class modeling a tree of SourceInformation instances.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformationTree(Object)","href":"com/oracle/truffle/api/bytecode/SourceInformationTree.html#%3Cinit%3E(java.lang.Object)","name":"SourceInformationTree","kind":"constructor","signature":"protected SourceInformationTree(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformationTree.getChildren()","href":"com/oracle/truffle/api/bytecode/SourceInformationTree.html#getChildren()","name":"getChildren","kind":"method","signature":"public abstract List<SourceInformationTree> getChildren()","summary":"Returns a list of child trees, ordered by bytecode range.","returns":{"type":"List<SourceInformationTree>"}}
{"symbol":"com.oracle.truffle.api.bytecode.SourceInformationTree.toString()","href":"com/oracle/truffle/api/bytecode/SourceInformationTree.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.StackValue","href":"com/oracle/truffle/api/bytecode/StackValue.html","name":"StackValue","kind":"class","signature":"public abstract class StackValue","summary":"Abstract definition of a stack value in the interpreter.","details":"Stack values are build-time handles to values on the operand stack. A stack value can be bound using BindStackValue and then accessed using LoadStackValue and StoreStackValue. A stack value is valid while the enclosing custom operation or Block is active."}
{"symbol":"com.oracle.truffle.api.bytecode.StackValue(Object)","href":"com/oracle/truffle/api/bytecode/StackValue.html#%3Cinit%3E(java.lang.Object)","name":"StackValue","kind":"constructor","signature":"public StackValue(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.StoreBytecodeIndex","href":"com/oracle/truffle/api/bytecode/StoreBytecodeIndex.html","name":"StoreBytecodeIndex","kind":"annotation","signature":"public @interface StoreBytecodeIndex","summary":"Stores the BCI in the frame before an annotated Specialization or Fallback executes.","details":"Requires Operation.storeBytecodeIndex() to be false, the default in BytecodeIndexMode.MANUAL mode. Applies in BytecodeIndexMode.FRAME, MANUAL, and uncached BytecodeIndexMode.CACHED_NODE execution."}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree","href":"com/oracle/truffle/api/bytecode/TagTree.html","name":"TagTree","kind":"interface","signature":"public interface TagTree","summary":"Logical tree representation of the Tag operations of a bytecode program."}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.getTreeChildren()","href":"com/oracle/truffle/api/bytecode/TagTree.html#getTreeChildren()","name":"getTreeChildren","kind":"method","signature":"List<TagTree> getTreeChildren()","summary":"Returns the child trees corresponding to Tag operations nested in this node.","returns":{"type":"List<TagTree>"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.getTags()","href":"com/oracle/truffle/api/bytecode/TagTree.html#getTags()","name":"getTags","kind":"method","signature":"List<Class<? extends Tag>> getTags()","summary":"Returns the tags associated with this node.","returns":{"type":"List<Class<? extends Tag>>"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.hasTag(Class)","href":"com/oracle/truffle/api/bytecode/TagTree.html#hasTag(java.lang.Class)","name":"hasTag","kind":"method","signature":"boolean hasTag(Class<? extends Tag> tag)","summary":"Returns whether the given tag is associated with this node.","params":[{"name":"tag","type":"Class<? extends Tag>","doc":"the tag to search for"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.getEnterBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/TagTree.html#getEnterBytecodeIndex()","name":"getEnterBytecodeIndex","kind":"method","signature":"int getEnterBytecodeIndex()","summary":"Returns the bytecode index at which the interpreter enters the tag operation.","details":"The bytecode interpreter will invoke ProbeNode.onEnter at this point in the program.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.getReturnBytecodeIndex()","href":"com/oracle/truffle/api/bytecode/TagTree.html#getReturnBytecodeIndex()","name":"getReturnBytecodeIndex","kind":"method","signature":"int getReturnBytecodeIndex()","summary":"Returns the bytecode index at which the interpreter \"returns\" from the tag operation.","details":"The bytecode interpreter will invoke ProbeNode.onReturnValue with the child operation's result (if any) at this point in the program. Note: the instruction at this index is not necessarily a return, but the value it produces is treated as a return value for the sake of instrumentation. There can also be other return points if the child operation has early exits; this method returns the regular return point.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.getSourceSection()","href":"com/oracle/truffle/api/bytecode/TagTree.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"SourceSection getSourceSection()","summary":"Gets the most concrete source location associated with the tag operation.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTree.getSourceSections()","href":"com/oracle/truffle/api/bytecode/TagTree.html#getSourceSections()","name":"getSourceSections","kind":"method","signature":"SourceSection[] getSourceSections()","summary":"Gets all source locations associated with the tag operation, ordered from most to least concrete.","returns":{"type":"SourceSection[]"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html","name":"TagTreeNode","kind":"class","signature":"public abstract class TagTreeNode extends Node implements TagTree","summary":"Class that implements tag tree NodeLibrary dispatch for tag tree items.","details":"This class is intended to be used when implementing a custom tag tree node library or instrumentation node objects. All implementations of this class are intended to be generated and are not supposed to be implemented manually."}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#%3Cinit%3E(java.lang.Object)","name":"TagTreeNode","kind":"constructor","signature":"protected TagTreeNode(Object token)","summary":"Internal constructor for generated code.","details":"Do not use.","params":[{"name":"token","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode.getLanguage()","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#getLanguage()","name":"getLanguage","kind":"method","signature":"protected abstract Class<? extends TruffleLanguage<?>> getLanguage()","summary":"Allows to access the language instance associated with this node.","deprecated":{"since":"25.1","doc":"Use getLanguageId()."},"returns":{"type":"Class<? extends TruffleLanguage<?>>"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode.getLanguageId()","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#getLanguageId()","name":"getLanguageId","kind":"method","signature":"protected String getLanguageId()","summary":"Returns an id of a language associated with this node.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode.dispatch()","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#dispatch()","name":"dispatch","kind":"method","signature":"protected Class<?> dispatch()","summary":"Returns the currently used NodeLibrary exports for this tag library.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode.getBytecodeNode()","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#getBytecodeNode()","name":"getBytecodeNode","kind":"method","signature":"public BytecodeNode getBytecodeNode()","summary":"Returns the bytecode node associated with this node.","returns":{"type":"BytecodeNode"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode.createDefaultScope(Frame, boolean)","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#createDefaultScope(com.oracle.truffle.api.frame.Frame,boolean)","name":"createDefaultScope","kind":"method","signature":"public final Object createDefaultScope(Frame frame, boolean nodeEnter)","summary":"Creates a default scope implementation based on this tag tree node.","detailsOmitted":true,"params":[{"name":"frame","type":"Frame"},{"name":"nodeEnter","type":"boolean"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNode.toString()","href":"com/oracle/truffle/api/bytecode/TagTreeNode.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","summary":"Converts this node to a textual representation useful for debugging.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.html","name":"TagTreeNodeGen","kind":"class","signature":"public final class TagTreeNodeGen"}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.html","name":"TagTreeNodeGen.DynamicDispatchLibraryExports","kind":"class","signature":"public static class TagTreeNodeGen.DynamicDispatchLibraryExports extends LibraryExport<DynamicDispatchLibrary>"}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.createUncached(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.html#createUncached(java.lang.Object)","name":"createUncached","kind":"method","signature":"protected DynamicDispatchLibrary createUncached(Object receiver)","summary":"Implemented generated by ExportLibrary.","details":"Do not implement manually.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"DynamicDispatchLibrary"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.createCached(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.html#createCached(java.lang.Object)","name":"createCached","kind":"method","signature":"protected DynamicDispatchLibrary createCached(Object receiver)","summary":"Implemented generated by ExportLibrary.","details":"Do not implement manually.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"DynamicDispatchLibrary"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Cached","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.html","name":"TagTreeNodeGen.DynamicDispatchLibraryExports.Cached","kind":"class","signature":"public static class TagTreeNodeGen.DynamicDispatchLibraryExports.Cached extends DynamicDispatchLibrary"}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Cached(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.html#%3Cinit%3E(java.lang.Object)","name":"Cached","kind":"constructor","signature":"protected Cached(Object receiver)","params":[{"name":"receiver","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.cast(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.html#cast(java.lang.Object)","name":"cast","kind":"method","signature":"public Object cast(Object receiver)","summary":"Cast the object receiver type to the dispatched type.","details":"This is not supposed to be implemented by dynamic dispatch implementer but is automatically implemented when implementing dynamic dispatch.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.accepts(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.html#accepts(java.lang.Object)","name":"accepts","kind":"method","signature":"public boolean accepts(Object receiver)","summary":"Returns true if this library instance supports sending messages with the given receiver.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.dispatch(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Cached.html#dispatch(java.lang.Object)","name":"dispatch","kind":"method","signature":"public Class<?> dispatch(Object receiver)","summary":"Returns a class that exports at least one library with an explicit receiver.","details":"Returns null to indicate that the default dispatch of the library should be used.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.html","name":"TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached","kind":"class","signature":"public static class TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached extends DynamicDispatchLibrary implements UnadoptableNode"}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.html#%3Cinit%3E(java.lang.Object)","name":"Uncached","kind":"constructor","signature":"protected Uncached(Object receiver)","params":[{"name":"receiver","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.accepts(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.html#accepts(java.lang.Object)","name":"accepts","kind":"method","signature":"public boolean accepts(Object receiver)","summary":"Returns true if this library instance supports sending messages with the given receiver.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.cast(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.html#cast(java.lang.Object)","name":"cast","kind":"method","signature":"public Object cast(Object receiver)","summary":"Cast the object receiver type to the dispatched type.","details":"This is not supposed to be implemented by dynamic dispatch implementer but is automatically implemented when implementing dynamic dispatch.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.bytecode.TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.dispatch(Object)","href":"com/oracle/truffle/api/bytecode/TagTreeNodeGen.DynamicDispatchLibraryExports.Uncached.html#dispatch(java.lang.Object)","name":"dispatch","kind":"method","signature":"public Class<?> dispatch(Object receiver)","summary":"Returns a class that exports at least one library with an explicit receiver.","details":"Returns null to indicate that the default dispatch of the library should be used.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.bytecode.Variadic","href":"com/oracle/truffle/api/bytecode/Variadic.html","name":"Variadic","kind":"annotation","signature":"public @interface Variadic","summary":"Annotation indicating a parameter that takes zero or more values.","details":"If the final parameter of an operation is annotated with @Variadic, those values will be collected into an Object[] as the last argument. This annotation can also be applied to an Operation class to mark its return type as variadic. Such return values are flattened into the variadic array when used as one or more operands to a Variadic parameter. All specializations of a variadic-return operation must always return a non-null Object[] value."}
{"symbol":"com.oracle.truffle.api.bytecode.Variadic.startOffset()","href":"com/oracle/truffle/api/bytecode/Variadic.html#startOffset()","name":"startOffset","kind":"annotationElement","signature":"int startOffset() default 0","summary":"Specifies the number of values reserved in the variadic object array.","details":"The array is sized accordingly, which can be useful when passing variadic arguments to a call without reallocating the array. @Operation static final class FunctionCall { @Specialization public static Object variadic(CallTarget target, Object function, @Variadic(startOffset = 1) Object[] args, @Cached IndirectCallNode callNode) { args[0] = function; // use index 0 for the function instance return callNode.call(target, args); } }","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.bytecode.Yield","href":"com/oracle/truffle/api/bytecode/Yield.html","name":"Yield","kind":"annotation","signature":"public @interface Yield","summary":"Declares a custom yield operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.Yield.forceCached()","href":"com/oracle/truffle/api/bytecode/Yield.html#forceCached()","name":"forceCached","kind":"annotationElement","signature":"boolean forceCached() default false","summary":"Whether executing this operation should force the uncached interpreter (if enabled) to transition to cached.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.bytecode.Yield.tags()","href":"com/oracle/truffle/api/bytecode/Yield.html#tags()","name":"tags","kind":"annotationElement","signature":"Class<? extends Tag>[] tags() default {}","summary":"The instrumentation tags that should be implicitly associated with this operation.","returns":{"type":"Class<? extends Tag>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.bytecode.Yield.javadoc()","href":"com/oracle/truffle/api/bytecode/Yield.html#javadoc()","name":"javadoc","kind":"annotationElement","signature":"String javadoc() default \"\"","summary":"Optional documentation for the instrumentation.","details":"This documentation is included in the javadoc for the generated interpreter.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.bytecode.Yield.resultOperandIndex()","href":"com/oracle/truffle/api/bytecode/Yield.html#resultOperandIndex()","name":"resultOperandIndex","kind":"annotationElement","signature":"int resultOperandIndex() default 0","summary":"Index of the dynamic operand that represents the logical \"result\" of the yield before the custom yield executes.","details":"This result is used by tag instrumentation. This field must be specified for custom yields with multiple dynamic operands; it should not be specified for custom yields with no dynamic operands.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html","name":"BytecodeDebugListener","kind":"interface","signature":"public interface BytecodeDebugListener","summary":"Base interface for a bytecode root node to get additional debug event that are normally not available.","details":"Useful for testing and debugging. Warning: Do not deploy with implementing this listener in production. It causes severe performance degradation. The debug listener can also be explicitly disabled by setting GenerateBytecode.enableBytecodeDebugListener() to false ."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.beforeRootExecute(Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#beforeRootExecute(com.oracle.truffle.api.bytecode.Instruction)","name":"beforeRootExecute","kind":"method","signature":"default void beforeRootExecute(Instruction enterInstruction)","summary":"Invoked before a root is executed.","details":"This has a very significant performance cost. Only override this method temporarily for debugging. This method may be called on partial evaluated code paths.","params":[{"name":"enterInstruction","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.afterRootExecute(Instruction, Object, Throwable)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#afterRootExecute(com.oracle.truffle.api.bytecode.Instruction,java.lang.Object,java.lang.Throwable)","name":"afterRootExecute","kind":"method","signature":"default void afterRootExecute(Instruction leaveInstruction, Object returnValue, Throwable t)","summary":"Invoked before a root is left.","details":"This has a very significant performance cost. Only override this method temporarily for debugging. This method may be called on partial evaluated code paths.","params":[{"name":"leaveInstruction","type":"Instruction"},{"name":"returnValue","type":"Object","doc":"the value returned, or null if an exception was thrown. For yields, returnValue is the continuation result or custom yield return value."},{"name":"t","type":"Throwable","doc":"the exception thrown, or null if the root is exited normally."}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.beforeInstructionExecute(Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#beforeInstructionExecute(com.oracle.truffle.api.bytecode.Instruction)","name":"beforeInstructionExecute","kind":"method","signature":"default void beforeInstructionExecute(Instruction instruction)","summary":"Invoked before an instruction is executed.","details":"This has a very significant performance cost. Only override this method temporarily for debugging. This method may be called on partial evaluated code paths.","deprecated":{"since":"25.1","doc":"no longer supported. Use InstructionTracer instead."},"params":[{"name":"instruction","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.afterInstructionExecute(Instruction, Throwable)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#afterInstructionExecute(com.oracle.truffle.api.bytecode.Instruction,java.lang.Throwable)","name":"afterInstructionExecute","kind":"method","signature":"default void afterInstructionExecute(Instruction instruction, Throwable exception)","summary":"Invoked after an instruction was executed.","details":"This has a very significant performance cost. Only override this method temporarily for debugging. This method may be called on partial evaluated code paths.","deprecated":{"since":"25.1","doc":"no longer supported. Use InstructionTracer instead."},"params":[{"name":"instruction","type":"Instruction"},{"name":"exception","type":"Throwable"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.onSpecialize(Instruction, String)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#onSpecialize(com.oracle.truffle.api.bytecode.Instruction,java.lang.String)","name":"onSpecialize","kind":"method","signature":"default void onSpecialize(Instruction instruction, String specialization)","summary":"Invoked when an operation or instrumentation specializes itself.","params":[{"name":"instruction","type":"Instruction"},{"name":"specialization","type":"String"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.onBytecodeStackTransition(Instruction, Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#onBytecodeStackTransition(com.oracle.truffle.api.bytecode.Instruction,com.oracle.truffle.api.bytecode.Instruction)","name":"onBytecodeStackTransition","kind":"method","signature":"default void onBytecodeStackTransition(Instruction source, Instruction target)","summary":"Invoked when a bytecode node performs an on-stack transition.","details":"On stack transitions may happen if additional bytecode or tag instrumentations are applied during execution while the current method is on-stack.","params":[{"name":"source","type":"Instruction"},{"name":"target","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.onInvalidateInstruction(Instruction, Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#onInvalidateInstruction(com.oracle.truffle.api.bytecode.Instruction,com.oracle.truffle.api.bytecode.Instruction)","name":"onInvalidateInstruction","kind":"method","signature":"default void onInvalidateInstruction(Instruction before, Instruction after)","summary":"Invoked when an instruction is invalidated.","details":"Instructions are invalidated to make bytecode nodes leave the current bytecode loop and update its own bytecodes.","params":[{"name":"before","type":"Instruction"},{"name":"after","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.onQuicken(Instruction, Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#onQuicken(com.oracle.truffle.api.bytecode.Instruction,com.oracle.truffle.api.bytecode.Instruction)","name":"onQuicken","kind":"method","signature":"default void onQuicken(Instruction before, Instruction after)","summary":"Invoked when an instruction was quickened.","params":[{"name":"before","type":"Instruction"},{"name":"after","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugListener.onQuickenOperand(Instruction, int, Instruction, Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugListener.html#onQuickenOperand(com.oracle.truffle.api.bytecode.Instruction,int,com.oracle.truffle.api.bytecode.Instruction,com.oracle.truffle.api.bytecode.Instruction)","name":"onQuickenOperand","kind":"method","signature":"default void onQuickenOperand(Instruction baseInstruction, int operandIndex, Instruction operandBefore, Instruction operandAfter)","summary":"Invoked when an operand was quickened due to boxing elimination.","params":[{"name":"baseInstruction","type":"Instruction"},{"name":"operandIndex","type":"int"},{"name":"operandBefore","type":"Instruction"},{"name":"operandAfter","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugTraceListener","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugTraceListener.html","name":"BytecodeDebugTraceListener","kind":"interface","signature":"public interface BytecodeDebugTraceListener extends BytecodeDebugListener","summary":"Implement this class to quickly get some debug output for events in the bytecode node."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugTraceListener.onQuicken(Instruction, Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugTraceListener.html#onQuicken(com.oracle.truffle.api.bytecode.Instruction,com.oracle.truffle.api.bytecode.Instruction)","name":"onQuicken","kind":"method","signature":"default void onQuicken(Instruction before, Instruction after)","summary":"Invoked when an instruction was quickened.","params":[{"name":"before","type":"Instruction"},{"name":"after","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugTraceListener.onQuickenOperand(Instruction, int, Instruction, Instruction)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugTraceListener.html#onQuickenOperand(com.oracle.truffle.api.bytecode.Instruction,int,com.oracle.truffle.api.bytecode.Instruction,com.oracle.truffle.api.bytecode.Instruction)","name":"onQuickenOperand","kind":"method","signature":"default void onQuickenOperand(Instruction base, int operandIndex, Instruction operandBefore, Instruction operandAfter)","summary":"Invoked when an operand was quickened due to boxing elimination.","params":[{"name":"base","type":"Instruction"},{"name":"operandIndex","type":"int"},{"name":"operandBefore","type":"Instruction"},{"name":"operandAfter","type":"Instruction"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.BytecodeDebugTraceListener.onSpecialize(Instruction, String)","href":"com/oracle/truffle/api/bytecode/debug/BytecodeDebugTraceListener.html#onSpecialize(com.oracle.truffle.api.bytecode.Instruction,java.lang.String)","name":"onSpecialize","kind":"method","signature":"default void onSpecialize(Instruction instruction, String specialization)","summary":"Invoked when an operation or instrumentation specializes itself.","params":[{"name":"instruction","type":"Instruction"},{"name":"specialization","type":"String"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html","name":"HistogramInstructionTracer","kind":"class","signature":"public final class HistogramInstructionTracer implements InstructionTracer","summary":"Instruction tracer that records per-opcode execution counts and optionally aggregates them into hierarchical histograms by user defined group clauses.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.onInstructionEnter(InstructionTracer.InstructionAccess, BytecodeNode, int, Frame)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#onInstructionEnter(com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess,com.oracle.truffle.api.bytecode.BytecodeNode,int,com.oracle.truffle.api.frame.Frame)","name":"onInstructionEnter","kind":"method","signature":"public void onInstructionEnter(InstructionTracer.InstructionAccess access, BytecodeNode bytecode, int bytecodeIndex, Frame frame)","summary":"Records the execution of an instruction.","details":"This method is not intended to be called directly, but by the bytecode DSL framework as part of instruction tracing.","params":[{"name":"access","type":"InstructionTracer.InstructionAccess","doc":"accessor to query information about the current instruction, valid only during this call"},{"name":"bytecode","type":"BytecodeNode","doc":"the BytecodeNode currently being interpreted"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index (BCI) of the instruction to be executed"},{"name":"frame","type":"Frame","doc":"the current frame for the root being interpreted"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.getExclusiveBytecodeDescriptor()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#getExclusiveBytecodeDescriptor()","name":"getExclusiveBytecodeDescriptor","kind":"method","signature":"public BytecodeDescriptor<?, ?, ?> getExclusiveBytecodeDescriptor()","summary":"Returns the BytecodeDescriptor that this tracer is attached to.","returns":{"type":"BytecodeDescriptor<?, ?, ?>","doc":"the descriptor used to resolve instruction metadata and opcodes"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.getHistogram()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#getHistogram()","name":"getHistogram","kind":"method","signature":"public HistogramInstructionTracer.Histogram getHistogram()","summary":"Creates a hierarchical histogram snapshot of the recorded counters without resetting them.","details":"Use this to inspect cumulative counts. If you need interval semantics, prefer getHistogramAndReset().","returns":{"type":"HistogramInstructionTracer.Histogram","doc":"a Histogram view of the current counters, possibly grouped"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.getHistogramAndReset()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#getHistogramAndReset()","name":"getHistogramAndReset","kind":"method","signature":"public HistogramInstructionTracer.Histogram getHistogramAndReset()","summary":"Creates a hierarchical histogram snapshot of the recorded counters and atomically resets the underlying counters to zero.","details":"Use this to obtain interval counts in long running applications. The reset is performed atomically per-counter, increments that occur after the swap will be visible in the next interval.","returns":{"type":"HistogramInstructionTracer.Histogram","doc":"a Histogram view of the counts since the previous reset"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.dumpHistogram()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#dumpHistogram()","name":"dumpHistogram","kind":"method","signature":"public String dumpHistogram()","summary":"Renders the current histogram snapshot into a string using printHistogram(PrintStream).","returns":{"type":"String","doc":"a human readable histogram table as UTF-8 text"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.printHistogram(PrintStream)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#printHistogram(java.io.PrintStream)","name":"printHistogram","kind":"method","signature":"public void printHistogram(PrintStream out)","summary":"Prints the current histogram snapshot to the given PrintStream.","details":"The output is a single table with aligned numeric columns. Groups, if present, are printed as indented pseudo rows followed by their leaves.","params":[{"name":"out","type":"PrintStream","doc":"the stream to print to"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.reset()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets all counters to zero and discards previously recorded data.","details":"Do not mix this with getHistogram() if you need interval correctness, use getHistogramAndReset() instead."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.newBuilder()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static HistogramInstructionTracer.Builder newBuilder()","summary":"Returns a builder for HistogramInstructionTracer that allows configuring a filter and one or more grouping clauses.","returns":{"type":"HistogramInstructionTracer.Builder","doc":"a new builder instance"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Builder","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Builder.html","name":"HistogramInstructionTracer.Builder","kind":"class","signature":"public static final class HistogramInstructionTracer.Builder","summary":"Builder for HistogramInstructionTracer.","details":"The builder supports an optional filter predicate and an ordered list of group clauses. Group clauses are applied in the order they are added, producing a hierarchy of groups."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Builder.filter(Predicate)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Builder.html#filter(java.util.function.Predicate)","name":"filter","kind":"method","signature":"public HistogramInstructionTracer.Builder filter(Predicate<BytecodeNode> filterClause)","summary":"Sets an optional filter predicate.","details":"If present, only bytecode nodes that satisfy the predicate contribute to counters.","params":[{"name":"filterClause","type":"Predicate<BytecodeNode>","doc":"the predicate to apply, may be null"}],"returns":{"type":"HistogramInstructionTracer.Builder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Builder.groupBy(HistogramInstructionTracer.GroupClause)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Builder.html#groupBy(com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.GroupClause)","name":"groupBy","kind":"method","signature":"public HistogramInstructionTracer.Builder groupBy(HistogramInstructionTracer.GroupClause clause)","summary":"Adds a grouping clause to the histogram.","details":"Multiple clauses create a hierarchy, the first clause forms the top level, the last clause forms the leaves.","params":[{"name":"clause","type":"HistogramInstructionTracer.GroupClause","doc":"the grouping clause to add, must not be null"}],"returns":{"type":"HistogramInstructionTracer.Builder","doc":"this builder"},"throws":[{"type":"NullPointerException","doc":"if clause is null"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Builder.build(BytecodeDescriptor)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Builder.html#build(com.oracle.truffle.api.bytecode.BytecodeDescriptor)","name":"build","kind":"method","signature":"public HistogramInstructionTracer build(BytecodeDescriptor<?, ?, ?> descriptor)","summary":"Builds a HistogramInstructionTracer for the given BytecodeDescriptor.","params":[{"name":"descriptor","type":"BytecodeDescriptor<?, ?, ?>","doc":"the descriptor to attach to"}],"returns":{"type":"HistogramInstructionTracer","doc":"a new tracer configured with the previously set filter and groups"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.GroupClause","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.GroupClause.html","name":"HistogramInstructionTracer.GroupClause","kind":"interface","signature":"public interface HistogramInstructionTracer.GroupClause","summary":"A grouping function that maps a BytecodeNode, the current Thread, and the compilation tier to an arbitrary grouping key.","details":"Keys are used to form hierarchical histograms."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.GroupClause.group(BytecodeNode, Thread, int)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.GroupClause.html#group(com.oracle.truffle.api.bytecode.BytecodeNode,java.lang.Thread,int)","name":"group","kind":"method","signature":"Object group(BytecodeNode bytecodeNode, Thread thread, int compilationTier)","summary":"Computes the grouping key for the given execution context.","params":[{"name":"bytecodeNode","type":"BytecodeNode","doc":"the bytecode node executing"},{"name":"thread","type":"Thread","doc":"the current thread"},{"name":"compilationTier","type":"int","doc":"0 for interpreter, 1 for compiled with a next tier, 2 for final compiled"}],"returns":{"type":"Object","doc":"a non null grouping key, for example a string, an enum, or a small record"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html","name":"HistogramInstructionTracer.Histogram","kind":"class","signature":"public static final class HistogramInstructionTracer.Histogram","summary":"Represents a hierarchical histogram that can group instruction counts by arbitrary attributes.","details":"A histogram is an immutable snapshot of the counters at the time it was created."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram.getCounters()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html#getCounters()","name":"getCounters","kind":"method","signature":"public Map<InstructionDescriptor, Long> getCounters()","summary":"Returns the per-instruction counts for this histogram level when it is a leaf.","details":"If this histogram has subgroups, this map may be empty, since counts then live in the children.","returns":{"type":"Map<InstructionDescriptor, Long>","doc":"an unmodifiable map from InstructionDescriptor to count"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram.getStatistics()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html#getStatistics()","name":"getStatistics","kind":"method","signature":"public Map<InstructionDescriptor, LongSummaryStatistics> getStatistics()","summary":"Returns aggregated statistics across this histogram level.","details":"For leaf histograms, this wraps each count in a LongSummaryStatistics. For parent histograms, statistics are combined across all children.","returns":{"type":"Map<InstructionDescriptor, LongSummaryStatistics>","doc":"a map from InstructionDescriptor to aggregated statistics"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram.getGroups()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html#getGroups()","name":"getGroups","kind":"method","signature":"public Map<Object, HistogramInstructionTracer.Histogram> getGroups()","summary":"Returns the subgroups of this histogram, keyed by the grouping values produced by the configured GroupClauses.","returns":{"type":"Map<Object, HistogramInstructionTracer.Histogram>","doc":"an unmodifiable map of subgroup keys to child histograms, or null if there are no groups"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram.dump()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html#dump()","name":"dump","kind":"method","signature":"public String dump()","summary":"Renders this histogram to a string using print(PrintStream).","returns":{"type":"String","doc":"a human readable histogram table"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram.print(PrintStream)","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html#print(java.io.PrintStream)","name":"print","kind":"method","signature":"public void print(PrintStream out)","summary":"Prints this histogram as a single indented table.","details":"Numeric columns are aligned. When groups are present, each group is shown as a row that displays the total for the group, followed by the indented rows of its children.","params":[{"name":"out","type":"PrintStream","doc":"the stream to print to"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.HistogramInstructionTracer.Histogram.getInstructionsExecuted()","href":"com/oracle/truffle/api/bytecode/debug/HistogramInstructionTracer.Histogram.html#getInstructionsExecuted()","name":"getInstructionsExecuted","kind":"method","signature":"public long getInstructionsExecuted()","summary":"Returns the total number of executed instructions represented by this histogram.","details":"For grouped histograms, this is the sum across all children. For leaves, this is the sum of the per-instruction counts.","returns":{"type":"long","doc":"the total count represented by this histogram"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.html","name":"PrintInstructionTracer","kind":"class","signature":"public final class PrintInstructionTracer implements InstructionTracer","summary":"An InstructionTracer implementation that prints a textual trace of executed bytecode instructions.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.onInstructionEnter(InstructionTracer.InstructionAccess, BytecodeNode, int, Frame)","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.html#onInstructionEnter(com.oracle.truffle.api.bytecode.InstructionTracer.InstructionAccess,com.oracle.truffle.api.bytecode.BytecodeNode,int,com.oracle.truffle.api.frame.Frame)","name":"onInstructionEnter","kind":"method","signature":"public void onInstructionEnter(InstructionTracer.InstructionAccess access, BytecodeNode bytecode, int bytecodeIndex, Frame frame)","summary":"Called immediately before executing the instruction at bytecodeIndex of the given bytecode node.","details":"This implementation formats and emits a single trace line for the current instruction, unless the BytecodeNode is excluded by the active filter.","params":[{"name":"access","type":"InstructionTracer.InstructionAccess","doc":"accessor to query information about the current instruction, valid only during this call"},{"name":"bytecode","type":"BytecodeNode","doc":"the BytecodeNode currently being interpreted"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index (BCI) of the instruction to be executed"},{"name":"frame","type":"Frame","doc":"the current frame for the root being interpreted"}]}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.reset()","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets the internal instruction counter back to zero.","details":"This only affects the counter included in the printed trace lines. It does not clear any output sink or filter configuration."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.newBuilder(Consumer)","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.html#newBuilder(java.util.function.Consumer)","name":"newBuilder","kind":"method","signature":"public static PrintInstructionTracer.Builder newBuilder(Consumer<String> out)","summary":"Creates a new Builder that will emit trace lines to the given consumer.","details":"Each generated line is already formatted. The consumer is typically a logger or System.out::println, but any Consumer is accepted.","params":[{"name":"out","type":"Consumer<String>","doc":"sink for formatted trace lines"}],"returns":{"type":"PrintInstructionTracer.Builder","doc":"a new builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.newBuilder(PrintStream)","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.html#newBuilder(java.io.PrintStream)","name":"newBuilder","kind":"method","signature":"public static PrintInstructionTracer.Builder newBuilder(PrintStream out)","summary":"Convenience overload of newBuilder(Consumer) that writes to a PrintStream.","details":"The resulting tracer will call PrintStream.println(String) for every traced instruction.","params":[{"name":"out","type":"PrintStream","doc":"a print stream (for example System.out)"}],"returns":{"type":"PrintInstructionTracer.Builder","doc":"a new builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.Builder","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.Builder.html","name":"PrintInstructionTracer.Builder","kind":"class","signature":"public static final class PrintInstructionTracer.Builder","summary":"Builder for PrintInstructionTracer instances.","details":"Call filter(Predicate) to restrict tracing to selected BytecodeNodes, then build() to create the tracer."}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.Builder.filter(Predicate)","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.Builder.html#filter(java.util.function.Predicate)","name":"filter","kind":"method","signature":"public PrintInstructionTracer.Builder filter(Predicate<BytecodeNode> filterClause)","summary":"Sets an optional filter that decides which BytecodeNodes should be traced.","details":"If the predicate returns false for a given node, instructions executed in that node are not printed.","params":[{"name":"filterClause","type":"Predicate<BytecodeNode>","doc":"predicate that returns true if tracing should be enabled for the given node"}],"returns":{"type":"PrintInstructionTracer.Builder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.bytecode.debug.PrintInstructionTracer.Builder.build()","href":"com/oracle/truffle/api/bytecode/debug/PrintInstructionTracer.Builder.html#build()","name":"build","kind":"method","signature":"public PrintInstructionTracer build()","summary":"Creates a new PrintInstructionTracer instance using the configured output sink and optional filter.","returns":{"type":"PrintInstructionTracer","doc":"a new tracer"}}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html","name":"ByteBufferDataInput","kind":"class","signature":"public final class ByteBufferDataInput implements DataInput","summary":"A DataInput backed by a ByteBuffer."}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readFully(byte[])","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readFully(byte[])","name":"readFully","kind":"method","signature":"public void readFully(byte[] b) throws IOException","params":[{"name":"b","type":"byte[]"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readFully(byte[], int, int)","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readFully(byte[],int,int)","name":"readFully","kind":"method","signature":"public void readFully(byte[] b, int off, int len) throws IOException","params":[{"name":"b","type":"byte[]"},{"name":"off","type":"int"},{"name":"len","type":"int"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.skipBytes(int)","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#skipBytes(int)","name":"skipBytes","kind":"method","signature":"public int skipBytes(int n) throws IOException","params":[{"name":"n","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readBoolean()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readBoolean()","name":"readBoolean","kind":"method","signature":"public boolean readBoolean() throws IOException","returns":{"type":"boolean"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readByte()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readByte()","name":"readByte","kind":"method","signature":"public byte readByte() throws IOException","returns":{"type":"byte"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readUnsignedByte()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readUnsignedByte()","name":"readUnsignedByte","kind":"method","signature":"public int readUnsignedByte() throws IOException","returns":{"type":"int"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readShort()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readShort()","name":"readShort","kind":"method","signature":"public short readShort() throws IOException","returns":{"type":"short"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readUnsignedShort()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readUnsignedShort()","name":"readUnsignedShort","kind":"method","signature":"public int readUnsignedShort() throws IOException","returns":{"type":"int"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readChar()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readChar()","name":"readChar","kind":"method","signature":"public char readChar() throws IOException","returns":{"type":"char"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readInt()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readInt()","name":"readInt","kind":"method","signature":"public int readInt() throws IOException","returns":{"type":"int"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readLong()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readLong()","name":"readLong","kind":"method","signature":"public long readLong() throws IOException","returns":{"type":"long"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readFloat()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readFloat()","name":"readFloat","kind":"method","signature":"public float readFloat() throws IOException","returns":{"type":"float"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readDouble()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readDouble()","name":"readDouble","kind":"method","signature":"public double readDouble() throws IOException","returns":{"type":"double"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readLine()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readLine()","name":"readLine","kind":"method","signature":"public String readLine() throws IOException","summary":"Modified from DataInputStream.readLine().","deprecated":{},"returns":{"type":"String"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.readUTF()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#readUTF()","name":"readUTF","kind":"method","signature":"public String readUTF() throws IOException","returns":{"type":"String"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.ByteBufferDataInput.position()","href":"com/oracle/truffle/api/bytecode/serialization/ByteBufferDataInput.html#position()","name":"position","kind":"method","signature":"public int position()","summary":"Returns the position in the underlying byte buffer.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeDeserializer.html","name":"BytecodeDeserializer","kind":"interface","signature":"public interface BytecodeDeserializer","summary":"Represents a class that can deserialize constants from a byte stream.","details":"A BytecodeSerializer establishes a byte encoding for objects. The BytecodeDeserializer used to deserialize an interpreter should follow the same encoding. For example: public class MyBytecodeDeserializer implements BytecodeDeserializer { @Override public Object deserialize(DeserializerContext context, DataInput buffer) throws IOException { byte objectCode = buffer.readByte(); return switch (objectCode) { case 1 -> buffer.readLong(); case 2 -> buffer.readUTF(); case ... } } }"}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer.deserialize(BytecodeDeserializer.DeserializerContext, DataInput)","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeDeserializer.html#deserialize(com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer.DeserializerContext,java.io.DataInput)","name":"deserialize","kind":"method","signature":"Object deserialize(BytecodeDeserializer.DeserializerContext context, DataInput buffer) throws IOException","summary":"The deserialization process.","detailsOmitted":true,"params":[{"name":"context","type":"BytecodeDeserializer.DeserializerContext"},{"name":"buffer","type":"DataInput"}],"returns":{"type":"Object"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer.DeserializerContext","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeDeserializer.DeserializerContext.html","name":"BytecodeDeserializer.DeserializerContext","kind":"interface","signature":"public interface BytecodeDeserializer.DeserializerContext","summary":"Interface for a generated class that can deserialize a BytecodeRootNode from a byte input."}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeDeserializer.DeserializerContext.readBytecodeNode(DataInput)","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeDeserializer.DeserializerContext.html#readBytecodeNode(java.io.DataInput)","name":"readBytecodeNode","kind":"method","signature":"BytecodeRootNode readBytecodeNode(DataInput buffer) throws IOException","summary":"Deserializes a BytecodeRootNode from the byte input.","params":[{"name":"buffer","type":"DataInput"}],"returns":{"type":"BytecodeRootNode"},"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeSerializer.html","name":"BytecodeSerializer","kind":"interface","signature":"public interface BytecodeSerializer","summary":"Represents a class that can serialize constants in a bytecode interpreter.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer.serialize(BytecodeSerializer.SerializerContext, DataOutput, Object)","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeSerializer.html#serialize(com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer.SerializerContext,java.io.DataOutput,java.lang.Object)","name":"serialize","kind":"method","signature":"void serialize(BytecodeSerializer.SerializerContext context, DataOutput buffer, Object object) throws IOException","summary":"The serialization process.","detailsOmitted":true,"params":[{"name":"context","type":"BytecodeSerializer.SerializerContext"},{"name":"buffer","type":"DataOutput"},{"name":"object","type":"Object"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer.SerializerContext","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeSerializer.SerializerContext.html","name":"BytecodeSerializer.SerializerContext","kind":"interface","signature":"public interface BytecodeSerializer.SerializerContext","summary":"Interface for a generated class that can serialize a BytecodeRootNode to a byte buffer."}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.BytecodeSerializer.SerializerContext.writeBytecodeNode(DataOutput, BytecodeRootNode)","href":"com/oracle/truffle/api/bytecode/serialization/BytecodeSerializer.SerializerContext.html#writeBytecodeNode(java.io.DataOutput,com.oracle.truffle.api.bytecode.BytecodeRootNode)","name":"writeBytecodeNode","kind":"method","signature":"void writeBytecodeNode(DataOutput buffer, BytecodeRootNode node) throws IOException","summary":"Serializes a BytecodeRootNode to the byte buffer.","details":"The given node must be created by the current parse, otherwise the behaviour of this method is undefined.","params":[{"name":"buffer","type":"DataOutput"},{"name":"node","type":"BytecodeRootNode"}],"throws":[{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.SerializationUtils","href":"com/oracle/truffle/api/bytecode/serialization/SerializationUtils.html","name":"SerializationUtils","kind":"class","signature":"public final class SerializationUtils","summary":"Utility class with helpers for serialization code."}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.SerializationUtils.createDataInput(ByteBuffer)","href":"com/oracle/truffle/api/bytecode/serialization/SerializationUtils.html#createDataInput(java.nio.ByteBuffer)","name":"createDataInput","kind":"method","signature":"public static DataInput createDataInput(ByteBuffer buffer)","summary":"Creates a DataInput backed by a ByteBuffer.","details":"The result can be used as an input for deserialize.","deprecated":{"since":"25.1","doc":"Use createByteBufferDataInput(ByteBuffer)"},"params":[{"name":"buffer","type":"ByteBuffer"}],"returns":{"type":"DataInput"}}
{"symbol":"com.oracle.truffle.api.bytecode.serialization.SerializationUtils.createByteBufferDataInput(ByteBuffer)","href":"com/oracle/truffle/api/bytecode/serialization/SerializationUtils.html#createByteBufferDataInput(java.nio.ByteBuffer)","name":"createByteBufferDataInput","kind":"method","signature":"public static ByteBufferDataInput createByteBufferDataInput(ByteBuffer buffer)","summary":"Creates a ByteBufferDataInput.","details":"The result can be used as an input for deserialize.","params":[{"name":"buffer","type":"ByteBuffer"}],"returns":{"type":"ByteBufferDataInput"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint","href":"com/oracle/truffle/api/debug/Breakpoint.html","name":"Breakpoint","kind":"class","signature":"public class Breakpoint","summary":"A request that guest language program execution be suspended at specified locations on behalf of a debugging client session.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.getKind()","href":"com/oracle/truffle/api/debug/Breakpoint.html#getKind()","name":"getKind","kind":"method","signature":"public Breakpoint.Kind getKind()","summary":"Returns the kind of this breakpoint.","returns":{"type":"Breakpoint.Kind"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.isDisposed()","href":"com/oracle/truffle/api/debug/Breakpoint.html#isDisposed()","name":"isDisposed","kind":"method","signature":"public boolean isDisposed()","returns":{"type":"boolean","doc":"whether this breakpoint is permanently unable to affect execution"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.isEnabled()","href":"com/oracle/truffle/api/debug/Breakpoint.html#isEnabled()","name":"isEnabled","kind":"method","signature":"public boolean isEnabled()","returns":{"type":"boolean","doc":"whether this breakpoint is currently allowed to suspend execution (true by default)"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.setEnabled(boolean)","href":"com/oracle/truffle/api/debug/Breakpoint.html#setEnabled(boolean)","name":"setEnabled","kind":"method","signature":"public void setEnabled(boolean enabled)","summary":"Controls whether this breakpoint is currently allowed to suspend execution (true by default).","details":"This can be changed arbitrarily until breakpoint is disposed. When not modifiable, IllegalStateException is thrown.","params":[{"name":"enabled","type":"boolean","doc":"whether this breakpoint should be allowed to suspend execution"}]}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.isResolved()","href":"com/oracle/truffle/api/debug/Breakpoint.html#isResolved()","name":"isResolved","kind":"method","signature":"public boolean isResolved()","returns":{"type":"boolean","doc":"whether at least one source has been loaded that contains a match for this breakpoint's location."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.setCondition(String)","href":"com/oracle/truffle/api/debug/Breakpoint.html#setCondition(java.lang.String)","name":"setCondition","kind":"method","signature":"public void setCondition(String expression)","summary":"Assigns to this breakpoint a boolean expression whose evaluation will determine whether the breakpoint suspends execution (i.e.","detailsOmitted":true,"params":[{"name":"expression","type":"String","doc":"if non-null, a boolean expression, expressed in the guest language of the breakpoint's location."}]}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.getCondition()","href":"com/oracle/truffle/api/debug/Breakpoint.html#getCondition()","name":"getCondition","kind":"method","signature":"public String getCondition()","summary":"Returns the expression used to create the current breakpoint condition, null if no condition set.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.dispose()","href":"com/oracle/truffle/api/debug/Breakpoint.html#dispose()","name":"dispose","kind":"method","signature":"public void dispose()","summary":"Permanently prevents this breakpoint from affecting execution.","details":"When not modifiable, IllegalStateException is thrown."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.isOneShot()","href":"com/oracle/truffle/api/debug/Breakpoint.html#isOneShot()","name":"isOneShot","kind":"method","signature":"public boolean isOneShot()","returns":{"type":"boolean","doc":"whether this breakpoint disables itself after suspending execution, i.e. on first hit"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.getIgnoreCount()","href":"com/oracle/truffle/api/debug/Breakpoint.html#getIgnoreCount()","name":"getIgnoreCount","kind":"method","signature":"public int getIgnoreCount()","returns":{"type":"int","doc":"the number of times breakpoint will be executed but not hit (i.e. suspend execution)."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.setIgnoreCount(int)","href":"com/oracle/truffle/api/debug/Breakpoint.html#setIgnoreCount(int)","name":"setIgnoreCount","kind":"method","signature":"public void setIgnoreCount(int ignoreCount)","summary":"Changes the number of times the breakpoint must be executed before it hits (i.e.","details":"suspends execution). When a breakpoint condition evaluates to false: execution is not suspended it does not count as a hit the remaining ignoreCount does not change. When not modifiable, IllegalStateException is thrown.","params":[{"name":"ignoreCount","type":"int","doc":"number of breakpoint activations to ignore before it hits"}]}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.getHitCount()","href":"com/oracle/truffle/api/debug/Breakpoint.html#getHitCount()","name":"getHitCount","kind":"method","signature":"public int getHitCount()","returns":{"type":"int","doc":"the number of times this breakpoint has suspended execution"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.getLocationDescription()","href":"com/oracle/truffle/api/debug/Breakpoint.html#getLocationDescription()","name":"getLocationDescription","kind":"method","signature":"public String getLocationDescription()","returns":{"type":"String","doc":"a description of this breakpoint's specified location"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.getSuspendAnchor()","href":"com/oracle/truffle/api/debug/Breakpoint.html#getSuspendAnchor()","name":"getSuspendAnchor","kind":"method","signature":"public SuspendAnchor getSuspendAnchor()","summary":"Returns the suspended position within the guest language source location.","returns":{"type":"SuspendAnchor"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.isModifiable()","href":"com/oracle/truffle/api/debug/Breakpoint.html#isModifiable()","name":"isModifiable","kind":"method","signature":"public boolean isModifiable()","summary":"Test whether this breakpoint can be modified.","details":"When false, methods that change breakpoint state throw IllegalStateException. Unmodifiable breakpoints are created from installed breakpoints as read-only copies to be available to clients other than the one who installed the original breakpoint. Debugger.getBreakpoints() returns unmodifiable breakpoints, for instance.","returns":{"type":"boolean","doc":"whether this breakpoint can be modified."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.toString()","href":"com/oracle/truffle/api/debug/Breakpoint.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.newBuilder(URI)","href":"com/oracle/truffle/api/debug/Breakpoint.html#newBuilder(java.net.URI)","name":"newBuilder","kind":"method","signature":"public static Breakpoint.Builder newBuilder(URI sourceUri)","summary":"Creates a new breakpoint builder based on a URI location.","params":[{"name":"sourceUri","type":"URI","doc":"a URI to specify breakpoint location"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.newBuilder(Source)","href":"com/oracle/truffle/api/debug/Breakpoint.html#newBuilder(com.oracle.truffle.api.source.Source)","name":"newBuilder","kind":"method","signature":"public static Breakpoint.Builder newBuilder(Source source)","summary":"Creates a new breakpoint builder based on a Source.","params":[{"name":"source","type":"Source","doc":"a Source to specify breakpoint location"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.newBuilder(SourceSection)","href":"com/oracle/truffle/api/debug/Breakpoint.html#newBuilder(com.oracle.truffle.api.source.SourceSection)","name":"newBuilder","kind":"method","signature":"public static Breakpoint.Builder newBuilder(SourceSection sourceSection)","summary":"Creates a new breakpoint builder based on the textual region of a guest language source element.","params":[{"name":"sourceSection","type":"SourceSection","doc":"a specification for guest language source element"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.newExceptionBuilder(boolean, boolean)","href":"com/oracle/truffle/api/debug/Breakpoint.html#newExceptionBuilder(boolean,boolean)","name":"newExceptionBuilder","kind":"method","signature":"public static Breakpoint.ExceptionBuilder newExceptionBuilder(boolean caught, boolean uncaught)","summary":"Creates a new exception breakpoint builder.","details":"The exception breakpoint can be set to intercept caught or uncaught exceptions, or both. At least one argument needs to be true. The builder creates breakpoint of EXCEPTION kind.","params":[{"name":"caught","type":"boolean","doc":"true to intercept exceptions that are caught by guest language code."},{"name":"uncaught","type":"boolean","doc":"true to intercept exceptions that are not caught by guest language code."}],"returns":{"type":"Breakpoint.ExceptionBuilder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html","name":"Breakpoint.Builder","kind":"class","signature":"public final class Breakpoint.Builder","summary":"Builder implementation for a new breakpoint."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.lineIs(int)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#lineIs(int)","name":"lineIs","kind":"method","signature":"public Breakpoint.Builder lineIs(int line)","summary":"Specifies the breakpoint's line number.","details":"Can only be invoked once per builder. Cannot be used together with Breakpoint.newBuilder(SourceSection).","params":[{"name":"line","type":"int","doc":"1-based line number"}],"returns":{"type":"Breakpoint.Builder"},"throws":[{"type":"IllegalStateException","doc":"if line < 1"}]}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.suspendAnchor(SuspendAnchor)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#suspendAnchor(com.oracle.truffle.api.debug.SuspendAnchor)","name":"suspendAnchor","kind":"method","signature":"public Breakpoint.Builder suspendAnchor(SuspendAnchor anchor)","summary":"Specify the breakpoint suspension anchor within the guest language source location.","details":"By default, the breakpoint suspends before the source location.","params":[{"name":"anchor","type":"SuspendAnchor","doc":"the breakpoint suspension anchor"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.columnIs(int)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#columnIs(int)","name":"columnIs","kind":"method","signature":"public Breakpoint.Builder columnIs(int column)","summary":"Specifies the breakpoint's column number.","details":"Can only be invoked once per builder. Cannot be used together with Breakpoint.newBuilder(SourceSection). A line needs to be specified before a column can be set.","params":[{"name":"column","type":"int","doc":"1-based column number"}],"returns":{"type":"Breakpoint.Builder"},"throws":[{"type":"IllegalStateException","doc":"if column < 1"}]}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.resolveListener(Breakpoint.ResolveListener)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#resolveListener(com.oracle.truffle.api.debug.Breakpoint.ResolveListener)","name":"resolveListener","kind":"method","signature":"public Breakpoint.Builder resolveListener(Breakpoint.ResolveListener resolveListener)","summary":"Set a resolve listener.","details":"The listener is called when the breakpoint is resolved at the target location. A breakpoint is not resolved till the target source section is loaded. The target resolved location may differ from the specified line and column.","params":[{"name":"resolveListener","type":"Breakpoint.ResolveListener"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.ignoreCount(int)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#ignoreCount(int)","name":"ignoreCount","kind":"method","signature":"public Breakpoint.Builder ignoreCount(int ignoreCount)","summary":"Specifies the number of times a breakpoint is ignored until it hits (i.e.","details":"suspends execution}.","params":[{"name":"ignoreCount","type":"int"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.oneShot()","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#oneShot()","name":"oneShot","kind":"method","signature":"public Breakpoint.Builder oneShot()","summary":"Specifies that the breakpoint will disable itself after suspending execution, i.e.","details":"on first hit. Disabled one-shot breakpoints can be re-enabled.","returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.sourceElements(SourceElement...)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#sourceElements(com.oracle.truffle.api.debug.SourceElement...)","name":"sourceElements","kind":"method","signature":"public Breakpoint.Builder sourceElements(SourceElement... sourceElements)","summary":"Specifies which source elements will this breakpoint adhere to.","details":"When not specified, breakpoint adhere to SourceElement.STATEMENT elements. Can only be invoked once per builder.","params":[{"name":"sourceElements","type":"SourceElement...","doc":"a non-empty list of source elements"}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.rootInstance(DebugValue)","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#rootInstance(com.oracle.truffle.api.debug.DebugValue)","name":"rootInstance","kind":"method","signature":"public Breakpoint.Builder rootInstance(DebugValue rootInstance)","summary":"Specifies the breakpoint's root instance.","details":"The breakpoint will be hit only when the DebugScope.getRootInstance() matches to the provided one.","params":[{"name":"rootInstance","type":"DebugValue","doc":"value of the root instance in which the breakpoint is to be hit."}],"returns":{"type":"Breakpoint.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Builder.build()","href":"com/oracle/truffle/api/debug/Breakpoint.Builder.html#build()","name":"build","kind":"method","signature":"public Breakpoint build()","returns":{"type":"Breakpoint","doc":"a new breakpoint instance of SOURCE_LOCATION kind."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder","href":"com/oracle/truffle/api/debug/Breakpoint.ExceptionBuilder.html","name":"Breakpoint.ExceptionBuilder","kind":"class","signature":"public final class Breakpoint.ExceptionBuilder","summary":"Builder implementation for a new breakpoint of EXCEPTION kind."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder.suspensionFilter(SuspensionFilter)","href":"com/oracle/truffle/api/debug/Breakpoint.ExceptionBuilder.html#suspensionFilter(com.oracle.truffle.api.debug.SuspensionFilter)","name":"suspensionFilter","kind":"method","signature":"public Breakpoint.ExceptionBuilder suspensionFilter(SuspensionFilter filter)","summary":"A filter to limit source locations which intercept exceptions.","details":"Only the source locations matching the filter will report thrown exceptions.","params":[{"name":"filter","type":"SuspensionFilter"}],"returns":{"type":"Breakpoint.ExceptionBuilder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder.sourceElements(SourceElement...)","href":"com/oracle/truffle/api/debug/Breakpoint.ExceptionBuilder.html#sourceElements(com.oracle.truffle.api.debug.SourceElement...)","name":"sourceElements","kind":"method","signature":"public Breakpoint.ExceptionBuilder sourceElements(SourceElement... sourceElements)","summary":"Specifies which source elements will this breakpoint adhere to.","details":"When not specified, breakpoint adhere to SourceElement.STATEMENT elements. Can only be invoked once per builder.","params":[{"name":"sourceElements","type":"SourceElement...","doc":"a non-empty list of source elements"}],"returns":{"type":"Breakpoint.ExceptionBuilder"}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.ExceptionBuilder.build()","href":"com/oracle/truffle/api/debug/Breakpoint.ExceptionBuilder.html#build()","name":"build","kind":"method","signature":"public Breakpoint build()","returns":{"type":"Breakpoint","doc":"a new breakpoint instance of EXCEPTION kind."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Kind","href":"com/oracle/truffle/api/debug/Breakpoint.Kind.html","name":"Breakpoint.Kind","kind":"enum","signature":"public enum Breakpoint.Kind","summary":"Specifies a breakpoint kind.","details":"Breakpoints with different kinds have different creation methods and address different debugging needs."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Kind.values()","href":"com/oracle/truffle/api/debug/Breakpoint.Kind.html#values()","name":"values","kind":"method","signature":"public static Breakpoint.Kind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"Breakpoint.Kind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Kind.valueOf(String)","href":"com/oracle/truffle/api/debug/Breakpoint.Kind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static Breakpoint.Kind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"Breakpoint.Kind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Kind.HALT_INSTRUCTION","href":"com/oracle/truffle/api/debug/Breakpoint.Kind.html#HALT_INSTRUCTION","name":"HALT_INSTRUCTION","kind":"enumConstant","signature":"HALT_INSTRUCTION","summary":"Represents breakpoints submitted for a halt instruction in a guest language program.","details":"For instance, in JavaScript this is debugger statement. Guest languages mark such nodes with DebuggerTags.AlwaysHalt. A breakpoint of this kind is created by DebuggerSession automatically."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Kind.SOURCE_LOCATION","href":"com/oracle/truffle/api/debug/Breakpoint.Kind.html#SOURCE_LOCATION","name":"SOURCE_LOCATION","kind":"enumConstant","signature":"SOURCE_LOCATION","summary":"Represents breakpoints submitted for a particular source code location.","details":"Use one of the newBuilder methods to create a breakpoint of this kind."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.Kind.EXCEPTION","href":"com/oracle/truffle/api/debug/Breakpoint.Kind.html#EXCEPTION","name":"EXCEPTION","kind":"enumConstant","signature":"EXCEPTION","summary":"Represents exception breakpoints that are hit when an exception is thrown from a guest language program.","details":"Use newExceptionBuilder(boolean, boolean) to create a breakpoint of this kind."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.ResolveListener","href":"com/oracle/truffle/api/debug/Breakpoint.ResolveListener.html","name":"Breakpoint.ResolveListener","kind":"interface","signature":"public interface Breakpoint.ResolveListener","summary":"This listener is called when a breakpoint is resolved at the target location.","details":"The breakpoint is not resolved till the target source section is loaded. The target resolved location may differ from the specified breakpoint location."}
{"symbol":"com.oracle.truffle.api.debug.Breakpoint.ResolveListener.breakpointResolved(Breakpoint, SourceSection)","href":"com/oracle/truffle/api/debug/Breakpoint.ResolveListener.html#breakpointResolved(com.oracle.truffle.api.debug.Breakpoint,com.oracle.truffle.api.source.SourceSection)","name":"breakpointResolved","kind":"method","signature":"void breakpointResolved(Breakpoint breakpoint, SourceSection section)","summary":"Notify about a breakpoint resolved at the specified location.","params":[{"name":"breakpoint","type":"Breakpoint","doc":"The resolved breakpoint"},{"name":"section","type":"SourceSection","doc":"The resolved location"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugContext","href":"com/oracle/truffle/api/debug/DebugContext.html","name":"DebugContext","kind":"class","signature":"public final class DebugContext","summary":"Representation of a polyglot context in a guest language execution."}
{"symbol":"com.oracle.truffle.api.debug.DebugContext.evaluate(String, String)","href":"com/oracle/truffle/api/debug/DebugContext.html#evaluate(java.lang.String,java.lang.String)","name":"evaluate","kind":"method","signature":"public DebugValue evaluate(String code, String languageId)","summary":"Evaluate the given code in this context.","params":[{"name":"code","type":"String","doc":"the code to evaluate"},{"name":"languageId","type":"String","doc":"the language to evaluate the code in"}],"returns":{"type":"DebugValue","doc":"result of the evaluation"}}
{"symbol":"com.oracle.truffle.api.debug.DebugContext.runInContext(Supplier)","href":"com/oracle/truffle/api/debug/DebugContext.html#runInContext(java.util.function.Supplier)","name":"runInContext","kind":"method","signature":"public <T> T runInContext(Supplier<T> run)","summary":"Run supplied operations in this context.","details":"Use it to call methods on DebugValue that was obtained from evaluate(java.lang.String, java.lang.String).","params":[{"name":"run","type":"Supplier<T>","doc":"a supplier representing operations to be run in this context"}],"returns":{"type":"T","doc":"the supplier's return value"}}
{"symbol":"com.oracle.truffle.api.debug.DebugContext.getParent()","href":"com/oracle/truffle/api/debug/DebugContext.html#getParent()","name":"getParent","kind":"method","signature":"public DebugContext getParent()","summary":"Get a parent context of this context, if any.","details":"This provides the hierarchy of inner contexts.","returns":{"type":"DebugContext","doc":"a parent context, or null if there is no parent"}}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener","href":"com/oracle/truffle/api/debug/DebugContextsListener.html","name":"DebugContextsListener","kind":"interface","signature":"public interface DebugContextsListener","summary":"Listener to be notified about changes of contexts in guest language application.","details":"Use DebuggerSession.setContextsListener(com.oracle.truffle.api.debug.DebugContextsListener, boolean) to register an implementation of this listener. The listener gets called when a new context is created or disposed and when individual languages are initialized or disposed in that context."}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener.contextCreated(DebugContext)","href":"com/oracle/truffle/api/debug/DebugContextsListener.html#contextCreated(com.oracle.truffle.api.debug.DebugContext)","name":"contextCreated","kind":"method","signature":"void contextCreated(DebugContext context)","summary":"Notifies about creation of a new polyglot context.","params":[{"name":"context","type":"DebugContext"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener.languageContextCreated(DebugContext, LanguageInfo)","href":"com/oracle/truffle/api/debug/DebugContextsListener.html#languageContextCreated(com.oracle.truffle.api.debug.DebugContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"languageContextCreated","kind":"method","signature":"void languageContextCreated(DebugContext context, LanguageInfo language)","summary":"Notifies about creation of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"DebugContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was created"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener.languageContextInitialized(DebugContext, LanguageInfo)","href":"com/oracle/truffle/api/debug/DebugContextsListener.html#languageContextInitialized(com.oracle.truffle.api.debug.DebugContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"languageContextInitialized","kind":"method","signature":"void languageContextInitialized(DebugContext context, LanguageInfo language)","summary":"Notifies about initialization of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"DebugContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was initialized"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener.languageContextFinalized(DebugContext, LanguageInfo)","href":"com/oracle/truffle/api/debug/DebugContextsListener.html#languageContextFinalized(com.oracle.truffle.api.debug.DebugContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"languageContextFinalized","kind":"method","signature":"void languageContextFinalized(DebugContext context, LanguageInfo language)","summary":"Notifies about finalization of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"DebugContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was finalized"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener.languageContextDisposed(DebugContext, LanguageInfo)","href":"com/oracle/truffle/api/debug/DebugContextsListener.html#languageContextDisposed(com.oracle.truffle.api.debug.DebugContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"languageContextDisposed","kind":"method","signature":"void languageContextDisposed(DebugContext context, LanguageInfo language)","summary":"Notifies about disposal of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"DebugContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was disposed"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugContextsListener.contextClosed(DebugContext)","href":"com/oracle/truffle/api/debug/DebugContextsListener.html#contextClosed(com.oracle.truffle.api.debug.DebugContext)","name":"contextClosed","kind":"method","signature":"void contextClosed(DebugContext context)","summary":"Notifies about close of a polyglot context.","params":[{"name":"context","type":"DebugContext"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugException","href":"com/oracle/truffle/api/debug/DebugException.html","name":"DebugException","kind":"class","signature":"public final class DebugException extends RuntimeException","summary":"Information about an exception thrown from a guest language.","details":"This exception does not contain a Java stack trace, use getDebugStackTrace() to find out the guest language stack trace. Debugger methods that run guest language code may throw this exception."}
{"symbol":"com.oracle.truffle.api.debug.DebugException.fillInStackTrace()","href":"com/oracle/truffle/api/debug/DebugException.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public Throwable fillInStackTrace()","summary":"Unsupported, DebugException instances are not writable therefore filling the stack trace has no effect for them.","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.setStackTrace(StackTraceElement[])","href":"com/oracle/truffle/api/debug/DebugException.html#setStackTrace(java.lang.StackTraceElement[])","name":"setStackTrace","kind":"method","signature":"public void setStackTrace(StackTraceElement[] stackTrace)","summary":"Unsupported, DebugException instances are not writable therefore setting the stack trace has no effect for them.","params":[{"name":"stackTrace","type":"StackTraceElement[]"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getStackTrace()","href":"com/oracle/truffle/api/debug/DebugException.html#getStackTrace()","name":"getStackTrace","kind":"method","signature":"public StackTraceElement[] getStackTrace()","summary":"Gets stack trace elements of guest languages.","details":"It is recommended to use getDebugStackTrace() as the guest language stack elements do not always fit the Java format for stack trace elements.","returns":{"type":"StackTraceElement[]"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getDebugStackTrace()","href":"com/oracle/truffle/api/debug/DebugException.html#getDebugStackTrace()","name":"getDebugStackTrace","kind":"method","signature":"public List<DebugStackTraceElement> getDebugStackTrace()","summary":"Gets stack trace elements of guest languages.","returns":{"type":"List<DebugStackTraceElement>"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getDebugAsynchronousStacks()","href":"com/oracle/truffle/api/debug/DebugException.html#getDebugAsynchronousStacks()","name":"getDebugAsynchronousStacks","kind":"method","signature":"public List<List<DebugStackTraceElement>> getDebugAsynchronousStacks()","summary":"Get a list of asynchronous stack traces that led to scheduling of the exception's execution.","detailsOmitted":true,"returns":{"type":"List<List<DebugStackTraceElement>>"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.printStackTrace()","href":"com/oracle/truffle/api/debug/DebugException.html#printStackTrace()","name":"printStackTrace","kind":"method","signature":"public void printStackTrace()"}
{"symbol":"com.oracle.truffle.api.debug.DebugException.printStackTrace(PrintStream)","href":"com/oracle/truffle/api/debug/DebugException.html#printStackTrace(java.io.PrintStream)","name":"printStackTrace","kind":"method","signature":"public void printStackTrace(PrintStream s)","params":[{"name":"s","type":"PrintStream"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugException.printStackTrace(PrintWriter)","href":"com/oracle/truffle/api/debug/DebugException.html#printStackTrace(java.io.PrintWriter)","name":"printStackTrace","kind":"method","signature":"public void printStackTrace(PrintWriter s)","params":[{"name":"s","type":"PrintWriter"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugException.isInternalError()","href":"com/oracle/truffle/api/debug/DebugException.html#isInternalError()","name":"isInternalError","kind":"method","signature":"public boolean isInternalError()","summary":"Returns true if this exception indicates an internal error.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getExceptionObject()","href":"com/oracle/truffle/api/debug/DebugException.html#getExceptionObject()","name":"getExceptionObject","kind":"method","signature":"public DebugValue getExceptionObject()","summary":"Get a guest language object representing the exception, if any.","returns":{"type":"DebugValue","doc":"an exception object, or null"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getThrowLocation()","href":"com/oracle/truffle/api/debug/DebugException.html#getThrowLocation()","name":"getThrowLocation","kind":"method","signature":"public SourceSection getThrowLocation()","summary":"Get source code location where this exception was thrown from.","returns":{"type":"SourceSection","doc":"the thrown location, or null when the thrown location is not known."}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getCatchLocation()","href":"com/oracle/truffle/api/debug/DebugException.html#getCatchLocation()","name":"getCatchLocation","kind":"method","signature":"public DebugException.CatchLocation getCatchLocation()","summary":"Get source code location where this exception is to be caught.","details":"In case this exception is going to be caught by guest language code, the catch location is provided. null is returned for uncaught exceptions.","returns":{"type":"DebugException.CatchLocation","doc":"the catch location, or null in case of uncaught exceptions."}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.getRawException(Class)","href":"com/oracle/truffle/api/debug/DebugException.html#getRawException(java.lang.Class)","name":"getRawException","kind":"method","signature":"public Throwable getRawException(Class<? extends TruffleLanguage<?>> languageClass)","summary":"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.","details":"This method is permitted only if the guest language class is available. This is the case if you want to utilize the Debugger API directly from within a guest language, or if you are an instrument bound/dependent on a specific language.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the Truffle language class for a given guest language"}],"returns":{"type":"Throwable","doc":"the throwable guest language exception object"}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.CatchLocation","href":"com/oracle/truffle/api/debug/DebugException.CatchLocation.html","name":"DebugException.CatchLocation","kind":"class","signature":"public static final class DebugException.CatchLocation","summary":"Represents an exception catch location.","details":"It provides a stack frame and a source section where the exception is going to be caught."}
{"symbol":"com.oracle.truffle.api.debug.DebugException.CatchLocation.getSourceSection()","href":"com/oracle/truffle/api/debug/DebugException.CatchLocation.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection()","returns":{"type":"SourceSection","doc":"a source section, or null if the catch source section is not known."}}
{"symbol":"com.oracle.truffle.api.debug.DebugException.CatchLocation.getFrame()","href":"com/oracle/truffle/api/debug/DebugException.CatchLocation.html#getFrame()","name":"getFrame","kind":"method","signature":"public DebugStackFrame getFrame()","returns":{"type":"DebugStackFrame","doc":"a frame in which the exception is going to be caught."}}
{"symbol":"com.oracle.truffle.api.debug.DebugScope","href":"com/oracle/truffle/api/debug/DebugScope.html","name":"DebugScope","kind":"class","signature":"public final class DebugScope","summary":"Representation of guest language scope at the current suspension point, or a top scope.","details":"It contains a set of declared and valid variables, if any. The scope associated with a frame is only valid as long as the associated frame is valid and methods on such scope need to be called on the frame's thread."}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getName()","href":"com/oracle/truffle/api/debug/DebugScope.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Get a human readable name of this scope.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getParent()","href":"com/oracle/truffle/api/debug/DebugScope.html#getParent()","name":"getParent","kind":"method","signature":"public DebugScope getParent() throws DebugException","summary":"Get a parent scope.","returns":{"type":"DebugScope","doc":"the parent scope, or null."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.isFunctionScope()","href":"com/oracle/truffle/api/debug/DebugScope.html#isFunctionScope()","name":"isFunctionScope","kind":"method","signature":"public boolean isFunctionScope()","summary":"Test if this scope represents the function scope at the frame it was obtained from.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getSourceSection()","href":"com/oracle/truffle/api/debug/DebugScope.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection() throws DebugException","summary":"Get a source section representing this scope.","details":"Please note that while this scope does not provide variables that are valid only after the suspension point, the source section can actually span after the suspension point.","returns":{"type":"SourceSection","doc":"the source section, or null when not available."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getReceiver()","href":"com/oracle/truffle/api/debug/DebugScope.html#getReceiver()","name":"getReceiver","kind":"method","signature":"public DebugValue getReceiver()","summary":"Get value that represents the receiver object of this scope.","details":"The receiver object is represented as this in Java or JavaScript and self in Ruby, for instance. The returned value has a name that represents the receiver in the guest language. The scope that represents the function provide receiver object, if there is one, other scopes do not provide it, unless they override it.","returns":{"type":"DebugValue","doc":"value that represents the receiver, or null when there is no receiver object"}}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getRootInstance()","href":"com/oracle/truffle/api/debug/DebugScope.html#getRootInstance()","name":"getRootInstance","kind":"method","signature":"public DebugValue getRootInstance()","summary":"Get value that represents root instance of this scope.","details":"The value is an instance of guest language representation of the root node of this scope, e.g. a guest language function.","returns":{"type":"DebugValue","doc":"the root instance value, or null when no such value exists."}}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getDeclaredValues()","href":"com/oracle/truffle/api/debug/DebugScope.html#getDeclaredValues()","name":"getDeclaredValues","kind":"method","signature":"public Iterable<DebugValue> getDeclaredValues() throws DebugException","summary":"Get local variables declared in this scope, valid at the current suspension point.","details":"Call this method on parent, to get values of variables declared in parent scope, if any. The declared values do not contain a receiver. This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","returns":{"type":"Iterable<DebugValue>"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.getDeclaredValue(String)","href":"com/oracle/truffle/api/debug/DebugScope.html#getDeclaredValue(java.lang.String)","name":"getDeclaredValue","kind":"method","signature":"public DebugValue getDeclaredValue(String name) throws DebugException","summary":"Get a local variable declared in this scope by name.","details":"Call this method on parent, to get value of a variable declared in parent scope, if any. This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","params":[{"name":"name","type":"String"}],"returns":{"type":"DebugValue","doc":"a value of requested name, or null when no such value was found."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugScope.convertRawValue(Class, Object)","href":"com/oracle/truffle/api/debug/DebugScope.html#convertRawValue(java.lang.Class,java.lang.Object)","name":"convertRawValue","kind":"method","signature":"public DebugValue convertRawValue(Class<? extends TruffleLanguage<?>> languageClass, Object rawValue)","summary":"Converts the value to a DebugValue, or returns null if the requesting language class does not match the root node guest language.","details":"This method is permitted only if the guest language class is available. This is the case if you want to utilize the Debugger API directly from within a guest language, or if you are an instrument bound/dependent on a specific language. This method is opposite to DebugValue.getRawValue(Class) where the raw guest language value is obtained from the DebugValue. Note that the rawValue must be a valid Interop value. If not, the method throws IllegalArgumentException.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the Truffle language class for a given guest language"},{"name":"rawValue","type":"Object","doc":"the raw value"}],"returns":{"type":"DebugValue","doc":"the wrapped DebugValue"},"throws":[{"type":"IllegalArgumentException","doc":"when rawValue is not an Interop value"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame","href":"com/oracle/truffle/api/debug/DebugStackFrame.html","name":"DebugStackFrame","kind":"class","signature":"public final class DebugStackFrame","summary":"Represents a frame in the guest language stack.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.isInternal()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#isInternal()","name":"isInternal","kind":"method","signature":"public boolean isInternal()","summary":"Returns whether this stack frame is a language implementation artifact that should be hidden during normal guest language debugging, for example in stack traces.","detailsOmitted":true,"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.isHost()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#isHost()","name":"isHost","kind":"method","signature":"public boolean isHost()","summary":"Returns true if this frame is a host frame.","details":"Host frames provide stack trace element, have no scope, no source section and can not evaluate code. Host frames are provided only when host info is set to true.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getHostTraceElement()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getHostTraceElement()","name":"getHostTraceElement","kind":"method","signature":"public StackTraceElement getHostTraceElement()","summary":"Provides a host frame.","details":"Returns the host stack trace element if and only if this is host frame.","returns":{"type":"StackTraceElement","doc":"the host stack trace element, or null when not a host frame."}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getName()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getName()","name":"getName","kind":"method","signature":"public String getName() throws DebugException","summary":"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.","details":"If the language does not provide such a description then null is returned. This method is thread-safe.","returns":{"type":"String"},"throws":[{"type":"DebugException"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getSourceSection()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection()","summary":"Returns the source section of the location where the debugging session was suspended.","details":"The source section is null if the source location is not available. This method is thread-safe.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getLanguage()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getLanguage()","name":"getLanguage","kind":"method","signature":"public LanguageInfo getLanguage()","summary":"Returns public information about the language of this frame.","returns":{"type":"LanguageInfo","doc":"the language info, or null when no language is associated with this frame."}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getScope()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getScope()","name":"getScope","kind":"method","signature":"public DebugScope getScope() throws DebugException","summary":"Get the current inner-most scope.","details":"The scope remain valid as long as the current stack frame remains valid. Use DebuggerSession.getTopScope(java.lang.String) to get scopes with global validity. This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","returns":{"type":"DebugScope","doc":"the scope, or null when no language is associated with this frame location, or when no local scope exists."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getRawNode(Class)","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getRawNode(java.lang.Class)","name":"getRawNode","kind":"method","signature":"public Node getRawNode(Class<? extends TruffleLanguage<?>> languageClass)","summary":"Returns the current node for this stack frame, or null if the requesting language class does not match the root node guest language.","details":"This method is permitted only if the guest language class is available. This is the case if you want to utilize the Debugger API directly from within a guest language, or if you are an instrument bound/dependent on a specific language.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the Truffle language class for a given guest language"}],"returns":{"type":"Node","doc":"the node associated with the frame"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.getRawFrame(Class, FrameInstance.FrameAccess)","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#getRawFrame(java.lang.Class,com.oracle.truffle.api.frame.FrameInstance.FrameAccess)","name":"getRawFrame","kind":"method","signature":"public Frame getRawFrame(Class<? extends TruffleLanguage<?>> languageClass, FrameInstance.FrameAccess access)","summary":"Returns the underlying frame for this debug stack frame or null if the requesting language class does not match the root node guest language.","details":"This method is permitted only if the guest language class is available. This is the case if you want to utilize the Debugger API directly from within a guest language, or if you are an instrument bound/dependent on a specific language.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the Truffle language class for a given guest language"},{"name":"access","type":"FrameInstance.FrameAccess","doc":"the frame access mode"}],"returns":{"type":"Frame","doc":"the frame"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.eval(String)","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#eval(java.lang.String)","name":"eval","kind":"method","signature":"public DebugValue eval(String code) throws DebugException","summary":"Evaluates the given code in the state of the current execution and in the same guest language as the current language is defined in.","details":"Returns a heap value that remains valid even if this stack frame becomes invalid. This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","params":[{"name":"code","type":"String","doc":"the code to evaluate"}],"returns":{"type":"DebugValue","doc":"the return value of the expression"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"},{"type":"IllegalStateException","doc":"if called on another thread than this frame was created with, or if language of this frame is not interactive."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.equals(Object)","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackFrame.hashCode()","href":"com/oracle/truffle/api/debug/DebugStackFrame.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html","name":"DebugStackTraceElement","kind":"class","signature":"public final class DebugStackTraceElement","summary":"Represents a trace element in the guest language stack trace.","details":"A guest language trace element consists of a name, the current source location and scopes containing local variables and arguments. The difference between this class and DebugStackFrame is the limited life-time of DebugStackFrame, that is associated with a SuspendedEvent."}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement.isInternal()","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html#isInternal()","name":"isInternal","kind":"method","signature":"public boolean isInternal()","summary":"Returns whether this trace element is a language implementation artifact.","details":"The decision to mark a method as internal is language-specific, reflects judgments about tool usability, and is subject to change.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement.isHost()","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html#isHost()","name":"isHost","kind":"method","signature":"public boolean isHost()","summary":"Returns true if this element is a host element.","details":"Host elements provide stack trace element, have no scope, and no source section. Host elements are provided only when host info is set to true.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement.getHostTraceElement()","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html#getHostTraceElement()","name":"getHostTraceElement","kind":"method","signature":"public StackTraceElement getHostTraceElement()","summary":"Provides a host element.","details":"Returns the host stack trace element if and only if this is host element.","returns":{"type":"StackTraceElement","doc":"the host stack trace element, or null when not a host element."}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement.getName()","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"A description of the trace element.","details":"If the language does not provide such a description then null is returned.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement.getSourceSection()","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection()","summary":"Returns the source section location of this trace element.","details":"The source section is null if the source location is not available.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.debug.DebugStackTraceElement.getScope()","href":"com/oracle/truffle/api/debug/DebugStackTraceElement.html#getScope()","name":"getScope","kind":"method","signature":"public DebugScope getScope()","summary":"Get the current inner-most scope.","details":"The scope might not provide valid information if the execution path diverges from this trace element.","returns":{"type":"DebugScope","doc":"the scope, or null when no language is associated with this frame location, or when no local scope exists."}}
{"symbol":"com.oracle.truffle.api.debug.DebugThreadsListener","href":"com/oracle/truffle/api/debug/DebugThreadsListener.html","name":"DebugThreadsListener","kind":"interface","signature":"public interface DebugThreadsListener","summary":"Listener to be notified about changes of threads in guest language application.","details":"Use DebuggerSession.setThreadsListener(com.oracle.truffle.api.debug.DebugThreadsListener, boolean) to register an implementation of this listener. The listener gets called when a thread is initialized for use in a context or thread-related resources are disposed in a context. The notification calls do not say anything about the actual life-time of the thread as such, which may live before the initialization and may continue to live after the disposal."}
{"symbol":"com.oracle.truffle.api.debug.DebugThreadsListener.threadInitialized(DebugContext, Thread)","href":"com/oracle/truffle/api/debug/DebugThreadsListener.html#threadInitialized(com.oracle.truffle.api.debug.DebugContext,java.lang.Thread)","name":"threadInitialized","kind":"method","signature":"void threadInitialized(DebugContext context, Thread thread)","summary":"Notifies about initialization of a thread to be used for a guest language execution in a DebugContext.","params":[{"name":"context","type":"DebugContext","doc":"the context the thread is initialized in"},{"name":"thread","type":"Thread","doc":"the initialized thread"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugThreadsListener.threadDisposed(DebugContext, Thread)","href":"com/oracle/truffle/api/debug/DebugThreadsListener.html#threadDisposed(com.oracle.truffle.api.debug.DebugContext,java.lang.Thread)","name":"threadDisposed","kind":"method","signature":"void threadDisposed(DebugContext context, Thread thread)","summary":"Notifies about disposal of thread-related resources that were used for a guest language execution in a DebugContext.","params":[{"name":"context","type":"DebugContext","doc":"the context the thread is disposed from"},{"name":"thread","type":"Thread","doc":"the thread"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue","href":"com/oracle/truffle/api/debug/DebugValue.html","name":"DebugValue","kind":"class","signature":"public abstract class DebugValue","summary":"Represents a value accessed using the debugger API.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.set(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#set(com.oracle.truffle.api.debug.DebugValue)","name":"set","kind":"method","signature":"public abstract void set(DebugValue value) throws DebugException","summary":"Sets the value using another DebugValue.","details":"Throws an IllegalStateException if the value is not writable, the passed value is not readable, this value or the passed value is invalid, or the guest language of the values do not match. Use DebugStackFrame.eval(String) to evaluate values to be set.","params":[{"name":"value","type":"DebugValue","doc":"the value to set"}],"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getName()","href":"com/oracle/truffle/api/debug/DebugValue.html#getName()","name":"getName","kind":"method","signature":"public abstract String getName()","summary":"Returns the name of this value as it is referred to from its origin.","details":"If this value is originated from the stack it returns the name of the local variable. If the value was returned from another objects then it returns the name of the property or field it is contained in. If no name is available null is returned.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isReadable()","href":"com/oracle/truffle/api/debug/DebugValue.html#isReadable()","name":"isReadable","kind":"method","signature":"public abstract boolean isReadable()","summary":"Returns true if this value can be read else false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.hasReadSideEffects()","href":"com/oracle/truffle/api/debug/DebugValue.html#hasReadSideEffects()","name":"hasReadSideEffects","kind":"method","signature":"public abstract boolean hasReadSideEffects()","summary":"Returns true if reading of this value can have side-effects, else false.","details":"Read has side-effects if it changes runtime state.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.hasWriteSideEffects()","href":"com/oracle/truffle/api/debug/DebugValue.html#hasWriteSideEffects()","name":"hasWriteSideEffects","kind":"method","signature":"public abstract boolean hasWriteSideEffects()","summary":"Returns true if setting a new value can have side-effects, else false.","details":"Write has side-effects if it changes runtime state besides this value.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isWritable()","href":"com/oracle/truffle/api/debug/DebugValue.html#isWritable()","name":"isWritable","kind":"method","signature":"public abstract boolean isWritable()","summary":"Returns true if this value can be written to, else false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isInternal()","href":"com/oracle/truffle/api/debug/DebugValue.html#isInternal()","name":"isInternal","kind":"method","signature":"public abstract boolean isInternal()","summary":"Returns true if this value represents an internal variable or property, false otherwise.","details":"Languages might have extra object properties or extra scope variables that are a part of the runtime, but do not correspond to anything what is an explicit part of the guest language representation. They may represent additional language artifacts, providing more in-depth information that can be valuable during debugging. Language implementors mark these variables as internal. An example of such internal values are internal slots in ECMAScript.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getScope()","href":"com/oracle/truffle/api/debug/DebugValue.html#getScope()","name":"getScope","kind":"method","signature":"public DebugScope getScope()","summary":"Get the scope where this value is declared in.","details":"It returns a non-null value for local variables declared on a stack. It's null for object properties and other heap values.","returns":{"type":"DebugScope","doc":"the scope, or null when this value does not belong into any scope."}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isNull()","href":"com/oracle/truffle/api/debug/DebugValue.html#isNull()","name":"isNull","kind":"method","signature":"public final boolean isNull()","summary":"Test if the value represents 'null'.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isString()","href":"com/oracle/truffle/api/debug/DebugValue.html#isString()","name":"isString","kind":"method","signature":"public boolean isString()","summary":"Returns true if and only if this value represents a string.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asString()","href":"com/oracle/truffle/api/debug/DebugValue.html#asString()","name":"asString","kind":"method","signature":"public final String asString() throws DebugException","summary":"Returns the String value if this value represents a string.","details":"This method returns null otherwise.","returns":{"type":"String"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInInt()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInInt()","name":"fitsInInt","kind":"method","signature":"public boolean fitsInInt()","summary":"Returns true if this value represents a number and the value fits in int, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asInt()","href":"com/oracle/truffle/api/debug/DebugValue.html#asInt()","name":"asInt","kind":"method","signature":"public int asInt()","summary":"Returns an int representation of this value if it is number and the value fits.","returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isBoolean()","href":"com/oracle/truffle/api/debug/DebugValue.html#isBoolean()","name":"isBoolean","kind":"method","signature":"public boolean isBoolean()","summary":"Returns true if and only if this value represents a boolean value.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asBoolean()","href":"com/oracle/truffle/api/debug/DebugValue.html#asBoolean()","name":"asBoolean","kind":"method","signature":"public boolean asBoolean()","summary":"Returns a boolean representation of this value if it is boolean.","returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isNumber()","href":"com/oracle/truffle/api/debug/DebugValue.html#isNumber()","name":"isNumber","kind":"method","signature":"public boolean isNumber()","summary":"Returns true if and only if this value represents a number.","details":"The number value may be accessed as byte, short, int, long, float or double value.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInLong()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInLong()","name":"fitsInLong","kind":"method","signature":"public boolean fitsInLong()","summary":"Returns true if this value represents a number and the value fits in long, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asLong()","href":"com/oracle/truffle/api/debug/DebugValue.html#asLong()","name":"asLong","kind":"method","signature":"public long asLong()","summary":"Returns a long representation of this value if it is number and the value fits.","returns":{"type":"long"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInBigInteger()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInBigInteger()","name":"fitsInBigInteger","kind":"method","signature":"public boolean fitsInBigInteger()","summary":"Returns true if this value represents a number and the value fits in BigInteger, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asBigInteger()","href":"com/oracle/truffle/api/debug/DebugValue.html#asBigInteger()","name":"asBigInteger","kind":"method","signature":"public BigInteger asBigInteger()","summary":"Returns a BigInteger representation of this value if it is number and the value fits.","returns":{"type":"BigInteger"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInDouble()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInDouble()","name":"fitsInDouble","kind":"method","signature":"public boolean fitsInDouble()","summary":"Returns true if this value represents a number and the value fits in double, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asDouble()","href":"com/oracle/truffle/api/debug/DebugValue.html#asDouble()","name":"asDouble","kind":"method","signature":"public double asDouble()","summary":"Returns a double representation of this value if it is number and the value fits.","returns":{"type":"double"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInFloat()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInFloat()","name":"fitsInFloat","kind":"method","signature":"public boolean fitsInFloat()","summary":"Returns true if this value represents a number and the value fits in float, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asFloat()","href":"com/oracle/truffle/api/debug/DebugValue.html#asFloat()","name":"asFloat","kind":"method","signature":"public float asFloat()","summary":"Returns a float representation of this value if it is number and the value fits.","returns":{"type":"float"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInByte()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInByte()","name":"fitsInByte","kind":"method","signature":"public boolean fitsInByte()","summary":"Returns true if this value represents a number and the value fits in byte, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asByte()","href":"com/oracle/truffle/api/debug/DebugValue.html#asByte()","name":"asByte","kind":"method","signature":"public byte asByte()","summary":"Returns a byte representation of this value if it is number and the value fits.","returns":{"type":"byte"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.fitsInShort()","href":"com/oracle/truffle/api/debug/DebugValue.html#fitsInShort()","name":"fitsInShort","kind":"method","signature":"public boolean fitsInShort()","summary":"Returns true if this value represents a number and the value fits in short, else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asShort()","href":"com/oracle/truffle/api/debug/DebugValue.html#asShort()","name":"asShort","kind":"method","signature":"public short asShort()","summary":"Returns a short representation of this value if it is number and the value fits.","returns":{"type":"short"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isDate()","href":"com/oracle/truffle/api/debug/DebugValue.html#isDate()","name":"isDate","kind":"method","signature":"public boolean isDate()","summary":"Returns true if this value represents a date, else false.","details":"If this value is also a timezone then the date is aware, otherwise it is naive.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asDate()","href":"com/oracle/truffle/api/debug/DebugValue.html#asDate()","name":"asDate","kind":"method","signature":"public LocalDate asDate()","summary":"Returns this value as date if it is a date.","details":"The returned date is either aware if the value has a timezone otherwise it is naive.","returns":{"type":"LocalDate"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isTime()","href":"com/oracle/truffle/api/debug/DebugValue.html#isTime()","name":"isTime","kind":"method","signature":"public boolean isTime()","summary":"Returns true if this value represents a time, else false.","details":"If the value is also a timezone then the time is aware, otherwise it is naive.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asTime()","href":"com/oracle/truffle/api/debug/DebugValue.html#asTime()","name":"asTime","kind":"method","signature":"public LocalTime asTime()","summary":"Returns this value as time if it is a time.","details":"The returned time is either aware if the value has a timezone otherwise it is naive.","returns":{"type":"LocalTime"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isInstant()","href":"com/oracle/truffle/api/debug/DebugValue.html#isInstant()","name":"isInstant","kind":"method","signature":"public boolean isInstant()","summary":"Returns true if this value represents an instant.","details":"See InteropLibrary.isInstant(Object) for detailed description.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asInstant()","href":"com/oracle/truffle/api/debug/DebugValue.html#asInstant()","name":"asInstant","kind":"method","signature":"public Instant asInstant()","summary":"Returns this value as instant if it is an instant.","details":"See InteropLibrary.asInstant(Object) for detailed description.","returns":{"type":"Instant"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isTimeZone()","href":"com/oracle/truffle/api/debug/DebugValue.html#isTimeZone()","name":"isTimeZone","kind":"method","signature":"public boolean isTimeZone()","summary":"Returns true if this object represents a timezone, else false.","details":"See InteropLibrary.isTimeZone(Object) for detailed description.","returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asTimeZone()","href":"com/oracle/truffle/api/debug/DebugValue.html#asTimeZone()","name":"asTimeZone","kind":"method","signature":"public ZoneId asTimeZone()","summary":"Returns this value as timestamp if it represents a timezone.","returns":{"type":"ZoneId"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isDuration()","href":"com/oracle/truffle/api/debug/DebugValue.html#isDuration()","name":"isDuration","kind":"method","signature":"public boolean isDuration()","summary":"Returns true if this object represents a duration, else false.","returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asDuration()","href":"com/oracle/truffle/api/debug/DebugValue.html#asDuration()","name":"asDuration","kind":"method","signature":"public Duration asDuration()","summary":"Returns this value as duration if this object represents a duration.","returns":{"type":"Duration"},"throws":[{"type":"UnsupportedOperationException","doc":"if this value could not be converted."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isMetaObject()","href":"com/oracle/truffle/api/debug/DebugValue.html#isMetaObject()","name":"isMetaObject","kind":"method","signature":"public boolean isMetaObject()","summary":"Returns true if the value represents a metaobject.","details":"See InteropLibrary.isMetaObject(Object) for detailed description.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getMetaQualifiedName()","href":"com/oracle/truffle/api/debug/DebugValue.html#getMetaQualifiedName()","name":"getMetaQualifiedName","kind":"method","signature":"public String getMetaQualifiedName()","summary":"Returns the qualified name of a metaobject as String.","details":"See InteropLibrary.getMetaQualifiedName(Object) for detailed description.","returns":{"type":"String"},"throws":[{"type":"UnsupportedOperationException","doc":"if and only if isMetaObject() returns false for the same value."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getMetaSimpleName()","href":"com/oracle/truffle/api/debug/DebugValue.html#getMetaSimpleName()","name":"getMetaSimpleName","kind":"method","signature":"public String getMetaSimpleName()","summary":"Returns the simple name of a metaobject as string.","details":"See InteropLibrary.getMetaSimpleName(Object) for detailed description.","returns":{"type":"String"},"throws":[{"type":"UnsupportedOperationException","doc":"if and only if isMetaObject() returns false for the same value."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isMetaInstance(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isMetaInstance(com.oracle.truffle.api.debug.DebugValue)","name":"isMetaInstance","kind":"method","signature":"public boolean isMetaInstance(DebugValue instance)","summary":"Returns true if the given instance is an instance of this value, else false.","details":"See InteropLibrary.isMetaInstance(Object, Object) for detailed description.","params":[{"name":"instance","type":"DebugValue","doc":"the instance value to check."}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if and only if isMetaObject() returns false for the same value."},{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getRootInstanceBreakpoints()","href":"com/oracle/truffle/api/debug/DebugValue.html#getRootInstanceBreakpoints()","name":"getRootInstanceBreakpoints","kind":"method","signature":"public final List<Breakpoint> getRootInstanceBreakpoints()","summary":"Get a list of breakpoints installed to the value's session and whose root instance is this value.","returns":{"type":"List<Breakpoint>","doc":"a list of breakpoints with this value as root instance"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getStaticScope()","href":"com/oracle/truffle/api/debug/DebugValue.html#getStaticScope()","name":"getStaticScope","kind":"method","signature":"public final DebugValue getStaticScope()","summary":"Returns a value that provides static members whose value is independent on a specific instance.","details":"Returns null when no static scope is available.","returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getProperties()","href":"com/oracle/truffle/api/debug/DebugValue.html#getProperties()","name":"getProperties","kind":"method","signature":"public final Collection<DebugValue> getProperties() throws DebugException","summary":"Provides properties representing an internal structure of this value.","details":"The returned collection is not thread-safe. If the value is not readable then null is returned.","returns":{"type":"Collection<DebugValue>","doc":"a collection of property values, or null when the value does not have any concept of properties."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getProperty(String)","href":"com/oracle/truffle/api/debug/DebugValue.html#getProperty(java.lang.String)","name":"getProperty","kind":"method","signature":"public final DebugValue getProperty(String name) throws DebugException","summary":"Get a property value by its name.","params":[{"name":"name","type":"String","doc":"name of a property"}],"returns":{"type":"DebugValue","doc":"the property value, or null if the property does not exist."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isArray()","href":"com/oracle/truffle/api/debug/DebugValue.html#isArray()","name":"isArray","kind":"method","signature":"public final boolean isArray() throws DebugException","summary":"Returns true if this value represents an array, false otherwise.","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getArray()","href":"com/oracle/truffle/api/debug/DebugValue.html#getArray()","name":"getArray","kind":"method","signature":"public List<DebugValue> getArray() throws DebugException","summary":"Provides array elements when this value represents an array.","details":"To test if this value represents an array, check isArray().","returns":{"type":"List<DebugValue>","doc":"a list of array elements, or null when the value does not represent an array."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getRawValue(Class)","href":"com/oracle/truffle/api/debug/DebugValue.html#getRawValue(java.lang.Class)","name":"getRawValue","kind":"method","signature":"public Object getRawValue(Class<? extends TruffleLanguage<?>> languageClass)","summary":"Returns the underlying guest value object held by this DebugValue.","details":"This method is permitted only if the guest language class is available. This is the case if you want to utilize the Debugger API directly from within a guest language, or if you are an instrument bound/dependent on a specific language. This method is opposite to DebugScope.convertRawValue(Class, Object) where a raw guest language value is wrapped in a DebugValue.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the Truffle language class for a given guest language"}],"returns":{"type":"Object","doc":"the guest language object or null if the language differs from the language that created the underlying DebugValue"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.toDisplayString()","href":"com/oracle/truffle/api/debug/DebugValue.html#toDisplayString()","name":"toDisplayString","kind":"method","signature":"public final String toDisplayString()","summary":"Converts the value to a language-specific string representation.","details":"Is the same as toDisplayString(true).","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.toDisplayString(boolean)","href":"com/oracle/truffle/api/debug/DebugValue.html#toDisplayString(boolean)","name":"toDisplayString","kind":"method","signature":"public final String toDisplayString(boolean allowSideEffects) throws DebugException","summary":"Converts the value to a language-specific string representation.","params":[{"name":"allowSideEffects","type":"boolean","doc":"whether side-effects are allowed in the production of the string."}],"returns":{"type":"String"},"throws":[{"type":"DebugException"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getMetaObject()","href":"com/oracle/truffle/api/debug/DebugValue.html#getMetaObject()","name":"getMetaObject","kind":"method","signature":"public final DebugValue getMetaObject() throws DebugException","summary":"Get a meta-object of this value, if any.","details":"The meta-object represents a description of the value, reveals it's kind and it's features. See InteropLibrary.getMetaObject(Object) for detailed description.","returns":{"type":"DebugValue","doc":"a value representing the meta-object, or null"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getSourceLocation()","href":"com/oracle/truffle/api/debug/DebugValue.html#getSourceLocation()","name":"getSourceLocation","kind":"method","signature":"public final SourceSection getSourceLocation() throws DebugException","summary":"Get a source location where this value is declared, if any.","returns":{"type":"SourceSection","doc":"a source location of the object, or null"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.canExecute()","href":"com/oracle/truffle/api/debug/DebugValue.html#canExecute()","name":"canExecute","kind":"method","signature":"public final boolean canExecute() throws DebugException","summary":"Returns true if this value can be executed (represents a guest language function), else false.","returns":{"type":"boolean"},"throws":[{"type":"DebugException"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.execute(DebugValue...)","href":"com/oracle/truffle/api/debug/DebugValue.html#execute(com.oracle.truffle.api.debug.DebugValue...)","name":"execute","kind":"method","signature":"public final DebugValue execute(DebugValue... arguments) throws DebugException","summary":"Executes the executable represented by this value.","params":[{"name":"arguments","type":"DebugValue...","doc":"Arguments passed to the executable"}],"returns":{"type":"DebugValue","doc":"the result of the execution"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.hasIterator()","href":"com/oracle/truffle/api/debug/DebugValue.html#hasIterator()","name":"hasIterator","kind":"method","signature":"public boolean hasIterator() throws DebugException","summary":"Returns true if the value provides an iterator.","details":"For details see InteropLibrary.hasIterator(Object).","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getIterator()","href":"com/oracle/truffle/api/debug/DebugValue.html#getIterator()","name":"getIterator","kind":"method","signature":"public DebugValue getIterator() throws DebugException","summary":"Returns the iterator value.","details":"The return value is always an iterator. For details see InteropLibrary.getIterator(Object).","returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if hasIterator() returns false or guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isIterator()","href":"com/oracle/truffle/api/debug/DebugValue.html#isIterator()","name":"isIterator","kind":"method","signature":"public boolean isIterator() throws DebugException","summary":"Returns true if this value represents an iterator.","details":"For details see InteropLibrary.isIterator(Object).","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.hasIteratorNextElement()","href":"com/oracle/truffle/api/debug/DebugValue.html#hasIteratorNextElement()","name":"hasIteratorNextElement","kind":"method","signature":"public boolean hasIteratorNextElement() throws DebugException","summary":"Returns true if the value is an iterator which has more elements, else false.","details":"For details see InteropLibrary.hasIteratorNextElement(Object).","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if isIterator() returns false or guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getIteratorNextElement()","href":"com/oracle/truffle/api/debug/DebugValue.html#getIteratorNextElement()","name":"getIteratorNextElement","kind":"method","signature":"public DebugValue getIteratorNextElement() throws NoSuchElementException, DebugException","summary":"Returns the next element in the iteration.","details":"When the underlying data structure is modified the getIteratorNextElement() may throw the NoSuchElementException despite the hasIteratorNextElement() returned true.","returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if isIterator() returns false or when the underlying iterator element exists but is not readable, or guest language code throws an exception."},{"type":"NoSuchElementException","doc":"if the iteration has no more elements."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.hasHashEntries()","href":"com/oracle/truffle/api/debug/DebugValue.html#hasHashEntries()","name":"hasHashEntries","kind":"method","signature":"public boolean hasHashEntries() throws DebugException","summary":"Returns true if the value may have hash map entries.","details":"For details see InteropLibrary.hasHashEntries(Object).","returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getHashSize()","href":"com/oracle/truffle/api/debug/DebugValue.html#getHashSize()","name":"getHashSize","kind":"method","signature":"public long getHashSize() throws DebugException","summary":"Returns the number of hash map entries.","returns":{"type":"long"},"throws":[{"type":"DebugException","doc":"if hasHashEntries() returns false or guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isHashEntryReadable(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isHashEntryReadable(com.oracle.truffle.api.debug.DebugValue)","name":"isHashEntryReadable","kind":"method","signature":"public boolean isHashEntryReadable(DebugValue key) throws DebugException","summary":"Returns true if mapping for the specified key exists and is readable.","details":"If the key is obtained from getHashEntriesIterator() or getHashKeysIterator(), it returns the same value as key.isReadable(). For details see InteropLibrary.isHashEntryReadable(Object, Object).","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getHashValue(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#getHashValue(com.oracle.truffle.api.debug.DebugValue)","name":"getHashValue","kind":"method","signature":"public DebugValue getHashValue(DebugValue key) throws DebugException","summary":"Get value of a hash map for the specified key or null if the mapping for the specified key does not exist.","details":"The returned value, if any, is writable if and only if isHashEntryWritable(DebugValue) returns true for the entry key.","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if the value has no hash entries, or guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getHashValueOrDefault(DebugValue, DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#getHashValueOrDefault(com.oracle.truffle.api.debug.DebugValue,com.oracle.truffle.api.debug.DebugValue)","name":"getHashValueOrDefault","kind":"method","signature":"public DebugValue getHashValueOrDefault(DebugValue key, DebugValue defaultValue) throws DebugException","summary":"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.","params":[{"name":"key","type":"DebugValue"},{"name":"defaultValue","type":"DebugValue"}],"returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if the hash map does not support reading at all, or guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isHashEntryModifiable(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isHashEntryModifiable(com.oracle.truffle.api.debug.DebugValue)","name":"isHashEntryModifiable","kind":"method","signature":"public boolean isHashEntryModifiable(DebugValue key) throws DebugException","summary":"Returns true if mapping for the specified key exists and is writable.","details":"If the corresponding value is obtained from getHashValue(DebugValue) or from getHashEntriesIterator(), then it returns the same value as value.isWritable(). For details see InteropLibrary.isHashEntryModifiable(Object, Object).","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isHashEntryInsertable(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isHashEntryInsertable(com.oracle.truffle.api.debug.DebugValue)","name":"isHashEntryInsertable","kind":"method","signature":"public boolean isHashEntryInsertable(DebugValue key) throws DebugException","summary":"Returns true if mapping for the specified key does not exist and is writable.","details":"For details see InteropLibrary.isHashEntryInsertable(Object, Object).","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isHashEntryWritable(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isHashEntryWritable(com.oracle.truffle.api.debug.DebugValue)","name":"isHashEntryWritable","kind":"method","signature":"public boolean isHashEntryWritable(DebugValue key) throws DebugException","summary":"Returns true if mapping for the specified key is modifiable or insertable.","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.putHashEntry(DebugValue, DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#putHashEntry(com.oracle.truffle.api.debug.DebugValue,com.oracle.truffle.api.debug.DebugValue)","name":"putHashEntry","kind":"method","signature":"public void putHashEntry(DebugValue key, DebugValue value) throws DebugException","summary":"Associates the specified value with the specified key in the hash map.","details":"Putting the entry is allowed if is existing and modifiable, or not existing and insertable.","params":[{"name":"key","type":"DebugValue"},{"name":"value","type":"DebugValue"}],"throws":[{"type":"DebugException","doc":"if the hash map does not support writing at all, or mapping for the specified key is not modifiable nor insertable, or the provided key type or value type is not allowed to be written, or guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isHashEntryRemovable(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isHashEntryRemovable(com.oracle.truffle.api.debug.DebugValue)","name":"isHashEntryRemovable","kind":"method","signature":"public boolean isHashEntryRemovable(DebugValue key) throws DebugException","summary":"Returns true if mapping for the specified key exists and is removable.","details":"For details see InteropLibrary.isHashEntryRemovable(Object, Object).","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.removeHashEntry(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#removeHashEntry(com.oracle.truffle.api.debug.DebugValue)","name":"removeHashEntry","kind":"method","signature":"public boolean removeHashEntry(DebugValue key) throws DebugException","summary":"Removes the mapping for a given key from the hash map.","details":"Mapping removing is allowed if it is removable.","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean","doc":"true if the mapping was successfully removed, false if mapping for a given key does not exist."},"throws":[{"type":"DebugException","doc":"if the value does not have any hash entries or if mapping for specified key exists but cannot be removed."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.isHashEntryExisting(DebugValue)","href":"com/oracle/truffle/api/debug/DebugValue.html#isHashEntryExisting(com.oracle.truffle.api.debug.DebugValue)","name":"isHashEntryExisting","kind":"method","signature":"public boolean isHashEntryExisting(DebugValue key) throws DebugException","summary":"Returns true if mapping for a given key is existing.","details":"For details see InteropLibrary.isHashEntryExisting(Object, Object).","params":[{"name":"key","type":"DebugValue"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getHashEntriesIterator()","href":"com/oracle/truffle/api/debug/DebugValue.html#getHashEntriesIterator()","name":"getHashEntriesIterator","kind":"method","signature":"public DebugValue getHashEntriesIterator() throws DebugException","summary":"Returns the entries iterator of the hash map.","details":"The return value is always an iterator of array elements. The first array element is a key, the second array element is the associated value. Array elements returned by the iterator may be modifiable. Set of the elements updates the hash map.","returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if hasHashEntries() returns false, or if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getHashKeysIterator()","href":"com/oracle/truffle/api/debug/DebugValue.html#getHashKeysIterator()","name":"getHashKeysIterator","kind":"method","signature":"public DebugValue getHashKeysIterator() throws DebugException","summary":"Returns the keys iterator of the hash map.","details":"The return value is always an iterator.","returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if hasHashEntries() returns false, or if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getHashValuesIterator()","href":"com/oracle/truffle/api/debug/DebugValue.html#getHashValuesIterator()","name":"getHashValuesIterator","kind":"method","signature":"public DebugValue getHashValuesIterator() throws DebugException","summary":"Returns the values iterator of the hash map.","details":"The return value is always an iterator.","returns":{"type":"DebugValue"},"throws":[{"type":"DebugException","doc":"if hasHashEntries() returns false, or if guest language code throws an exception."}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.hashCode()","href":"com/oracle/truffle/api/debug/DebugValue.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode() throws DebugException","summary":"Provides hash code of the value.","returns":{"type":"int","doc":"identity hash code of the guest object, if the object has identity."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.equals(Object)","href":"com/oracle/truffle/api/debug/DebugValue.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj) throws DebugException","summary":"Indicates whether another DebugValue is equal to this.","details":"Two DebugValue objects are equal if and only if their guest objects are identical.","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getOriginalLanguage()","href":"com/oracle/truffle/api/debug/DebugValue.html#getOriginalLanguage()","name":"getOriginalLanguage","kind":"method","signature":"public final LanguageInfo getOriginalLanguage() throws DebugException","summary":"Get the original language that created the value, if any.","details":"This method will return null for values representing a primitive value, or objects that are not associated with any language.","returns":{"type":"LanguageInfo","doc":"the language, or null when no language can be identified as the creator of the value."},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.asInLanguage(LanguageInfo)","href":"com/oracle/truffle/api/debug/DebugValue.html#asInLanguage(com.oracle.truffle.api.nodes.LanguageInfo)","name":"asInLanguage","kind":"method","signature":"public final DebugValue asInLanguage(LanguageInfo language)","summary":"Returns a debug value that presents itself as seen by the provided language.","details":"The language affects the output of toDisplayString(), getMetaObject(), getSourceLocation() and other methods that provide various representations of the value. The original language of the returned value remains the same as of this value.","params":[{"name":"language","type":"LanguageInfo","doc":"a language to get the value representation of"}],"returns":{"type":"DebugValue","doc":"the value as represented in the language"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.getSession()","href":"com/oracle/truffle/api/debug/DebugValue.html#getSession()","name":"getSession","kind":"method","signature":"public abstract DebuggerSession getSession()","summary":"Get the debugger session associated with this value.","returns":{"type":"DebuggerSession"}}
{"symbol":"com.oracle.truffle.api.debug.DebugValue.toString()","href":"com/oracle/truffle/api/debug/DebugValue.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of the debug value.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger","href":"com/oracle/truffle/api/debug/Debugger.html","name":"Debugger","kind":"class","signature":"public final class Debugger","summary":"Class that simplifies implementing a debugger on top of Truffle.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.Debugger.startSession(SuspendedCallback)","href":"com/oracle/truffle/api/debug/Debugger.html#startSession(com.oracle.truffle.api.debug.SuspendedCallback)","name":"startSession","kind":"method","signature":"public DebuggerSession startSession(SuspendedCallback callback)","summary":"Starts a new session provided with a callback that gets notified whenever the execution is suspended.","details":"Uses SourceElement.STATEMENT as the source element available for stepping. Use startSession(SuspendedCallback, SourceElement...) to specify a different set of source elements.","params":[{"name":"callback","type":"SuspendedCallback","doc":"the callback to notify"}],"returns":{"type":"DebuggerSession"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger.startSession(SuspendedCallback, SourceElement...)","href":"com/oracle/truffle/api/debug/Debugger.html#startSession(com.oracle.truffle.api.debug.SuspendedCallback,com.oracle.truffle.api.debug.SourceElement...)","name":"startSession","kind":"method","signature":"public DebuggerSession startSession(SuspendedCallback callback, SourceElement... defaultSourceElements)","summary":"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.","details":"Only steps created with one of these element kinds are accepted in this session. All specified elements are used by steps by default, if not specified otherwise by StepConfig.Builder.sourceElements(SourceElement...). When no elements are provided, stepping is not possible and the session itself has no instrumentation overhead.","params":[{"name":"callback","type":"SuspendedCallback","doc":"the callback to notify"},{"name":"defaultSourceElements","type":"SourceElement...","doc":"a list of source elements, an explicit empty list disables stepping"}],"returns":{"type":"DebuggerSession"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger.getSessionCount()","href":"com/oracle/truffle/api/debug/Debugger.html#getSessionCount()","name":"getSessionCount","kind":"method","signature":"public int getSessionCount()","summary":"Returns the number of active debugger sessions.","details":"This is useful, for instance, in deciding whether to open a new debugger session, depending on whether there is an existing one or not.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger.install(Breakpoint)","href":"com/oracle/truffle/api/debug/Debugger.html#install(com.oracle.truffle.api.debug.Breakpoint)","name":"install","kind":"method","signature":"public Breakpoint install(Breakpoint breakpoint)","summary":"Adds a new breakpoint to this Debugger instance and makes it available in all its sessions.","details":"The breakpoint suspends execution in all active sessions by making a callback to the appropriate session callback handler, together with an event description that includes which breakpoint(s) were hit.","params":[{"name":"breakpoint","type":"Breakpoint","doc":"a new breakpoint"}],"returns":{"type":"Breakpoint","doc":"the installed breakpoint"},"throws":[{"type":"IllegalStateException","doc":"if the session has been closed"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.getBreakpoints()","href":"com/oracle/truffle/api/debug/Debugger.html#getBreakpoints()","name":"getBreakpoints","kind":"method","signature":"public List<Breakpoint> getBreakpoints()","summary":"Returns all breakpoints installed in this debugger instance, in the install order.","details":"The returned list contains a current snapshot of breakpoints, those that were disposed are not included. It's not possible to modify state of breakpoints returned from this list, or from methods on listeners, they are not modifiable. An attempt to modify breakpoints state using any of their set method, or an attempt to dispose such breakpoints, fails with an IllegalStateException. Use the original installed breakpoint instance to change breakpoint state or dispose the breakpoint.","returns":{"type":"List<Breakpoint>"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger.addBreakpointAddedListener(Consumer)","href":"com/oracle/truffle/api/debug/Debugger.html#addBreakpointAddedListener(java.util.function.Consumer)","name":"addBreakpointAddedListener","kind":"method","signature":"public void addBreakpointAddedListener(Consumer<Breakpoint> listener)","summary":"Add a listener that is notified when a new breakpoint is added into list of breakpoints.","details":"The reported breakpoint is not modifiable.","params":[{"name":"listener","type":"Consumer<Breakpoint>"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.removeBreakpointAddedListener(Consumer)","href":"com/oracle/truffle/api/debug/Debugger.html#removeBreakpointAddedListener(java.util.function.Consumer)","name":"removeBreakpointAddedListener","kind":"method","signature":"public void removeBreakpointAddedListener(Consumer<Breakpoint> listener)","summary":"Remove a listener that was added by addBreakpointAddedListener(Consumer).","params":[{"name":"listener","type":"Consumer<Breakpoint>"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.addBreakpointRemovedListener(Consumer)","href":"com/oracle/truffle/api/debug/Debugger.html#addBreakpointRemovedListener(java.util.function.Consumer)","name":"addBreakpointRemovedListener","kind":"method","signature":"public void addBreakpointRemovedListener(Consumer<Breakpoint> listener)","summary":"Add a listener that is notified when a breakpoint is removed from list of breakpoints.","details":"The reported breakpoint is not modifiable.","params":[{"name":"listener","type":"Consumer<Breakpoint>"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.removeBreakpointRemovedListener(Consumer)","href":"com/oracle/truffle/api/debug/Debugger.html#removeBreakpointRemovedListener(java.util.function.Consumer)","name":"removeBreakpointRemovedListener","kind":"method","signature":"public void removeBreakpointRemovedListener(Consumer<Breakpoint> listener)","summary":"Remove a listener that was added by addBreakpointRemovedListener(Consumer).","params":[{"name":"listener","type":"Consumer<Breakpoint>"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.disableStepping()","href":"com/oracle/truffle/api/debug/Debugger.html#disableStepping()","name":"disableStepping","kind":"method","signature":"public void disableStepping()","summary":"Disable stepping on the current thread.","detailsOmitted":true,"throws":[{"type":"IllegalStateException","doc":"when not in an entered context"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.restoreStepping()","href":"com/oracle/truffle/api/debug/Debugger.html#restoreStepping()","name":"restoreStepping","kind":"method","signature":"public void restoreStepping()","summary":"Restore the stepping on the current thread.","details":"The current thread must be in an entered context and after a call to disableStepping(). The restore decrements the disabled count by one and allows stepping when zero is reached.","throws":[{"type":"IllegalStateException","doc":"when not in an entered context, or when called without the preceding call to disableStepping()"}]}
{"symbol":"com.oracle.truffle.api.debug.Debugger.find(TruffleInstrument.Env)","href":"com/oracle/truffle/api/debug/Debugger.html#find(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env)","name":"find","kind":"method","signature":"public static Debugger find(TruffleInstrument.Env env)","summary":"Finds the debugger associated with a given instrument environment.","params":[{"name":"env","type":"TruffleInstrument.Env","doc":"the instrument environment to find debugger for"}],"returns":{"type":"Debugger","doc":"an instance of associated debugger, never null"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger.find(Engine)","href":"com/oracle/truffle/api/debug/Debugger.html#find(org.graalvm.polyglot.Engine)","name":"find","kind":"method","signature":"public static Debugger find(Engine engine)","summary":"Finds the debugger associated with a given an engine.","params":[{"name":"engine","type":"Engine","doc":"the engine to find debugger for"}],"returns":{"type":"Debugger","doc":"an instance of associated debugger, never null"}}
{"symbol":"com.oracle.truffle.api.debug.Debugger.find(TruffleLanguage.Env)","href":"com/oracle/truffle/api/debug/Debugger.html#find(com.oracle.truffle.api.TruffleLanguage.Env)","name":"find","kind":"method","signature":"public static Debugger find(TruffleLanguage.Env env)","summary":"Finds the debugger associated with a given language environment.","details":"There is at most one debugger associated with any org.graalvm.polyglot.Engine. Please note that a debugger instance looked up with a language also has access to all other languages and sources that were loaded by them.","params":[{"name":"env","type":"TruffleLanguage.Env","doc":"the language environment to find debugger for"}],"returns":{"type":"Debugger","doc":"an instance of associated debugger, never null"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession","href":"com/oracle/truffle/api/debug/DebuggerSession.html","name":"DebuggerSession","kind":"class","signature":"public final class DebuggerSession implements Closeable","summary":"Represents a single debugging session of a Debugger.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.toString()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.getDebugger()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#getDebugger()","name":"getDebugger","kind":"method","signature":"public Debugger getDebugger()","summary":"Returns the debugger instance that this session is associated with.","details":"Can be used also after the session has already been closed.","returns":{"type":"Debugger"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.getTopScope(String)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#getTopScope(java.lang.String)","name":"getTopScope","kind":"method","signature":"public DebugScope getTopScope(String languageId) throws DebugException","summary":"Returns a language top scope.","details":"The top scopes have global validity and unlike DebugStackFrame.getScope() have no relation to the suspended location.","params":[{"name":"languageId","type":"String"}],"returns":{"type":"DebugScope"},"throws":[{"type":"DebugException","doc":"when guest language code throws an exception"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.getExportedSymbols()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#getExportedSymbols()","name":"getExportedSymbols","kind":"method","signature":"public Map<String, ? extends DebugValue> getExportedSymbols()","summary":"Returns a polyglot scope - symbols explicitly exported by languages.","returns":{"type":"Map<String, ? extends DebugValue>"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setShowHostStackFrames(boolean)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setShowHostStackFrames(boolean)","name":"setShowHostStackFrames","kind":"method","signature":"public void setShowHostStackFrames(boolean showHostStackFrames)","summary":"Set to provide host information in stack traces.","details":"When true, host frames and host trace elements are provided, when available.","params":[{"name":"showHostStackFrames","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setSteppingFilter(SuspensionFilter)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setSteppingFilter(com.oracle.truffle.api.debug.SuspensionFilter)","name":"setSteppingFilter","kind":"method","signature":"public void setSteppingFilter(SuspensionFilter steppingFilter)","summary":"Set a stepping suspension filter.","details":"Prepared steps skip code that does not match this filter.","params":[{"name":"steppingFilter","type":"SuspensionFilter"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.suspendNextExecution()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#suspendNextExecution()","name":"suspendNextExecution","kind":"method","signature":"public void suspendNextExecution()","summary":"Suspends the next execution on the first thread that is encountered.","details":"After the first thread was suspended no further executions are suspended unless suspendNextExecution() is called again. If multiple threads are executing at the same time then there are no guarantees on which thread is going to be suspended. Will throw an IllegalStateException if the session is already closed."}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.suspendHere(Node)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#suspendHere(com.oracle.truffle.api.nodes.Node)","name":"suspendHere","kind":"method","signature":"public boolean suspendHere(Node node)","summary":"Suspend immediately at the current location of the current execution thread.","details":"A Node argument can be provided as an exact current location, if known. This method can be called on the guest execution thread only. This method calls SuspendedCallback.onSuspend(SuspendedEvent) synchronously, with SuspendedEvent created at the actual location of the current thread. This method can not be called from an existing callback.","params":[{"name":"node","type":"Node","doc":"the top Node of the execution, or null"}],"returns":{"type":"boolean","doc":"true when there is a guest code execution on the current thread and SuspendedCallback was called, false otherwise."},"throws":[{"type":"IllegalStateException","doc":"when the current thread is suspended already"},{"type":"IllegalArgumentException","doc":"when a node with no RootNode is provided, or it's root node does not match the current execution root, or the node does not match the current call node, if known."}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.suspend(Thread)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#suspend(java.lang.Thread)","name":"suspend","kind":"method","signature":"public void suspend(Thread t)","summary":"Suspends the current or the next execution of a given thread.","details":"Will throw an IllegalStateException if the session is already closed. Note that if a stepping strategy is currently active, we preserve the stepping state.","params":[{"name":"t","type":"Thread"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.suspendAll()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#suspendAll()","name":"suspendAll","kind":"method","signature":"public void suspendAll()","summary":"Suspends the current or the next execution on all threads.","details":"All new executing threads will start suspended until resumeAll() is called or the session is closed. Will throw an IllegalStateException if the session is already closed."}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.resumeAll()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#resumeAll()","name":"resumeAll","kind":"method","signature":"public void resumeAll()","summary":"Resumes all suspended executions that have not yet been notified."}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.resume(Thread)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#resume(java.lang.Thread)","name":"resume","kind":"method","signature":"public void resume(Thread t)","summary":"Resumes the execution on a given thread if it has not been suspended yet.","params":[{"name":"t","type":"Thread","doc":"the thread to resume"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.disposeStepping(Thread)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#disposeStepping(java.lang.Thread)","name":"disposeStepping","kind":"method","signature":"public void disposeStepping(Thread t)","summary":"Dispose stepping on the given thread.","details":"All pending steps prepared on a SuspendedEvent on the provided thread are disposed. If no stepping were prepared, this method has no effect. If this is called in combination with resume(Thread) or resumeAll(), be sure to dispose stepping first and then resume.","params":[{"name":"t","type":"Thread"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.createPrimitiveValue(Object, LanguageInfo)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#createPrimitiveValue(java.lang.Object,com.oracle.truffle.api.nodes.LanguageInfo)","name":"createPrimitiveValue","kind":"method","signature":"public DebugValue createPrimitiveValue(Object primitiveValue, LanguageInfo language) throws IllegalArgumentException","summary":"Creates a DebugValue object that wraps a primitive value.","details":"Strings and boxed Java primitive types are considered primitive. Throws IllegalArgumentException if the value is not primitive.","params":[{"name":"primitiveValue","type":"Object","doc":"a primitive value"},{"name":"language","type":"LanguageInfo","doc":"guest language this value is value is associated with. Some value attributes depend on the language, like DebugValue.getMetaObject(). Can be null."}],"returns":{"type":"DebugValue","doc":"a DebugValue that wraps the primitive value."},"throws":[{"type":"IllegalArgumentException","doc":"if the value is not a boxed Java primitive or a String."}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.close()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#close()","name":"close","kind":"method","signature":"public void close()","summary":"Closes the current debugging session and disposes all installed breakpoints."}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.getBreakpoints()","href":"com/oracle/truffle/api/debug/DebuggerSession.html#getBreakpoints()","name":"getBreakpoints","kind":"method","signature":"public List<Breakpoint> getBreakpoints()","summary":"Returns all breakpoints installed in this session, in the install order.","details":"The returned list contains a current snapshot of breakpoints, those that were disposed, or installed on Debugger are not included.","returns":{"type":"List<Breakpoint>"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setBreakpointsActive(Breakpoint.Kind, boolean)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setBreakpointsActive(com.oracle.truffle.api.debug.Breakpoint.Kind,boolean)","name":"setBreakpointsActive","kind":"method","signature":"public void setBreakpointsActive(Breakpoint.Kind breakpointKind, boolean active)","summary":"Set whether breakpoints of the given kind are active in this session.","details":"This has no effect on breakpoints enabled/disabled state. Breakpoints need to be active to actually break the execution. The breakpoints are active by default.","params":[{"name":"breakpointKind","type":"Breakpoint.Kind","doc":"the kind of breakpoints to activate/deactivate"},{"name":"active","type":"boolean","doc":"true to make breakpoints active, false to make breakpoints inactive."}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.isBreakpointsActive(Breakpoint.Kind)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#isBreakpointsActive(com.oracle.truffle.api.debug.Breakpoint.Kind)","name":"isBreakpointsActive","kind":"method","signature":"public boolean isBreakpointsActive(Breakpoint.Kind breakpointKind)","summary":"Test whether breakpoints of the given kind are active in this session.","details":"Breakpoints do not break execution when not active.","params":[{"name":"breakpointKind","type":"Breakpoint.Kind","doc":"the kind of breakpoints to test"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.install(Breakpoint)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#install(com.oracle.truffle.api.debug.Breakpoint)","name":"install","kind":"method","signature":"public Breakpoint install(Breakpoint breakpoint)","summary":"Adds a new breakpoint to this session and makes it capable of suspending execution.","details":"The breakpoint suspends execution by making a callback to this session, together with an event description that includes which breakpoint(s) were hit.","params":[{"name":"breakpoint","type":"Breakpoint","doc":"a new breakpoint"}],"returns":{"type":"Breakpoint","doc":"the installed breakpoint"},"throws":[{"type":"IllegalStateException","doc":"if the session has been closed"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setAsynchronousStackDepth(int)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setAsynchronousStackDepth(int)","name":"setAsynchronousStackDepth","kind":"method","signature":"public void setAsynchronousStackDepth(int depth)","summary":"Request for languages to provide stack frames of scheduled asynchronous execution.","detailsOmitted":true,"params":[{"name":"depth","type":"int","doc":"the requested stack depth, 0 means no asynchronous stack frames are required."}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setContextsListener(DebugContextsListener, boolean)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setContextsListener(com.oracle.truffle.api.debug.DebugContextsListener,boolean)","name":"setContextsListener","kind":"method","signature":"public void setContextsListener(DebugContextsListener listener, boolean includeActiveContexts)","summary":"Set a listener to be notified about changes in contexts in guest language application.","details":"One listener can be set at a time, call with null to remove the current listener.","params":[{"name":"listener","type":"DebugContextsListener","doc":"a listener to receive the context events, or null to reset it"},{"name":"includeActiveContexts","type":"boolean","doc":"whether or not this listener should be notified for present active contexts"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setThreadsListener(DebugThreadsListener, boolean)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setThreadsListener(com.oracle.truffle.api.debug.DebugThreadsListener,boolean)","name":"setThreadsListener","kind":"method","signature":"public void setThreadsListener(DebugThreadsListener listener, boolean includeInitializedThreads)","summary":"Set a listener to be notified about changes in threads in guest language application.","details":"One listener can be set at a time, call with null to remove the current listener.","params":[{"name":"listener","type":"DebugThreadsListener","doc":"a listener to receive the context events"},{"name":"includeInitializedThreads","type":"boolean","doc":"whether or not this listener should be notified for present initialized threads"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.setSourcePath(Iterable)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#setSourcePath(java.lang.Iterable)","name":"setSourcePath","kind":"method","signature":"public void setSourcePath(Iterable<URI> uris)","summary":"Set a list of source path roots that are used to resolve relative source URIs.","details":"All debugger methods that provide Source object, resolve relative sources with respect to this source-path. When the resolution does not succeed (the relative path does not exist under any of the supplied source-path elements), the original relative Source is provided.","params":[{"name":"uris","type":"Iterable<URI>","doc":"a list of absolute URIs"}],"throws":[{"type":"IllegalArgumentException","doc":"when an URI is not absolute"}]}
{"symbol":"com.oracle.truffle.api.debug.DebuggerSession.resolveSource(Source)","href":"com/oracle/truffle/api/debug/DebuggerSession.html#resolveSource(com.oracle.truffle.api.source.Source)","name":"resolveSource","kind":"method","signature":"public Source resolveSource(Source source)","summary":"Resolve the source with respect to the actual source path.","details":"Sources with relative URI are subject to resolution to an existing absolute location. The first source-path URI that resolves to an existing location is used.","params":[{"name":"source","type":"Source","doc":"the source to resolve"}],"returns":{"type":"Source","doc":"the provided source if no resolution is necessary, or the resolved source, or null when it's not possible to resolve the provided source"}}
{"symbol":"com.oracle.truffle.api.debug.DebuggerTags","href":"com/oracle/truffle/api/debug/DebuggerTags.html","name":"DebuggerTags","kind":"class","signature":"public final class DebuggerTags","summary":"Set of debugger-specific tags.","details":"Language should provide an implementation of these tags in order to support specific debugging features."}
{"symbol":"com.oracle.truffle.api.debug.DebuggerTags.AlwaysHalt","href":"com/oracle/truffle/api/debug/DebuggerTags.AlwaysHalt.html","name":"DebuggerTags.AlwaysHalt","kind":"class","signature":"public final class DebuggerTags.AlwaysHalt extends Tag","summary":"Marks program locations where debugger should always halt like if on a breakpoint.","details":"TruffleLanguages that support concept similar to JavaScript's debugger statement (program locations where execution should always halt) should make sure that appropriate Nodes are tagged with the AlwaysHalt tag. class DebuggerNode extends Node implements InstrumentableNode { public boolean hasTag(Class<? extends Tag> tag) { return tag == DebuggerTags.AlwaysHalt.class; } } All created debugger sessions will suspend on these locations unconditionally."}
{"symbol":"com.oracle.truffle.api.debug.SourceElement","href":"com/oracle/truffle/api/debug/SourceElement.html","name":"SourceElement","kind":"enum","signature":"public enum SourceElement","summary":"Representation of a guest language source syntax element, that is used for debugging purposes.","details":"It is based on Tag types and this enum defines the set of syntax element kinds known to the debugger."}
{"symbol":"com.oracle.truffle.api.debug.SourceElement.values()","href":"com/oracle/truffle/api/debug/SourceElement.html#values()","name":"values","kind":"method","signature":"public static SourceElement[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"SourceElement[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.debug.SourceElement.valueOf(String)","href":"com/oracle/truffle/api/debug/SourceElement.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static SourceElement valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"SourceElement","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.debug.SourceElement.STATEMENT","href":"com/oracle/truffle/api/debug/SourceElement.html#STATEMENT","name":"STATEMENT","kind":"enumConstant","signature":"STATEMENT","summary":"Denotes program locations that represent a statement of a guest language.","details":"The appropriate nodes are tagged with StatementTag."}
{"symbol":"com.oracle.truffle.api.debug.SourceElement.EXPRESSION","href":"com/oracle/truffle/api/debug/SourceElement.html#EXPRESSION","name":"EXPRESSION","kind":"enumConstant","signature":"EXPRESSION","summary":"Denotes program locations that represent an expression of a guest language.","details":"The appropriate nodes are tagged with ExpressionTag."}
{"symbol":"com.oracle.truffle.api.debug.SourceElement.ROOT","href":"com/oracle/truffle/api/debug/SourceElement.html#ROOT","name":"ROOT","kind":"enumConstant","signature":"ROOT","summary":"Denotes program locations that represent a function of a guest language.","details":"The appropriate nodes are tagged with RootTag."}
{"symbol":"com.oracle.truffle.api.debug.StepConfig","href":"com/oracle/truffle/api/debug/StepConfig.html","name":"StepConfig","kind":"class","signature":"public final class StepConfig","summary":"Represents a debugger step configuration.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.StepConfig.newBuilder()","href":"com/oracle/truffle/api/debug/StepConfig.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static StepConfig.Builder newBuilder()","summary":"Create a new step configuration builder.","returns":{"type":"StepConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.StepConfig.Builder","href":"com/oracle/truffle/api/debug/StepConfig.Builder.html","name":"StepConfig.Builder","kind":"class","signature":"public final class StepConfig.Builder","summary":"Builder of StepConfig."}
{"symbol":"com.oracle.truffle.api.debug.StepConfig.Builder.sourceElements(SourceElement...)","href":"com/oracle/truffle/api/debug/StepConfig.Builder.html#sourceElements(com.oracle.truffle.api.debug.SourceElement...)","name":"sourceElements","kind":"method","signature":"public StepConfig.Builder sourceElements(SourceElement... elements)","summary":"Provide a list of SourceElements that are enabled for the step.","details":"It must be a subset of SourceElements enabled in DebuggerSession which the step is prepared for. At least one source element needs to be provided and can only be invoked once per builder. When not called, by default all source elements enabled in the debugger session are also enabled for the step.","params":[{"name":"elements","type":"SourceElement...","doc":"a non-empty list of source elements"}],"returns":{"type":"StepConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.StepConfig.Builder.suspendAnchors(SourceElement, SuspendAnchor...)","href":"com/oracle/truffle/api/debug/StepConfig.Builder.html#suspendAnchors(com.oracle.truffle.api.debug.SourceElement,com.oracle.truffle.api.debug.SuspendAnchor...)","name":"suspendAnchors","kind":"method","signature":"public StepConfig.Builder suspendAnchors(SourceElement element, SuspendAnchor... anchors)","summary":"Provide a list of SuspendAnchors for individual SourceElements.","details":"By default, following suspend anchors are applied: ROOT BEFORE, AFTER STATEMENT BEFORE EXPRESSION BEFORE, AFTER This method can be called repeatedly to override the defaults.","params":[{"name":"element","type":"SourceElement","doc":"the element to set the suspend anchor for"},{"name":"anchors","type":"SuspendAnchor...","doc":"a list of suspend anchors"}],"returns":{"type":"StepConfig.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.StepConfig.Builder.count(int)","href":"com/oracle/truffle/api/debug/StepConfig.Builder.html#count(int)","name":"count","kind":"method","signature":"public StepConfig.Builder count(int count)","summary":"Provide the step count.","details":"It specifies the number of times the step repeats itself before it suspends the execution. Can only be invoked once per builder.","params":[{"name":"count","type":"int"}],"returns":{"type":"StepConfig.Builder"},"throws":[{"type":"IllegalArgumentException","doc":"if count <= 0"}]}
{"symbol":"com.oracle.truffle.api.debug.StepConfig.Builder.build()","href":"com/oracle/truffle/api/debug/StepConfig.Builder.html#build()","name":"build","kind":"method","signature":"public StepConfig build()","summary":"Create a step configuration from this builder.","returns":{"type":"StepConfig"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendAnchor","href":"com/oracle/truffle/api/debug/SuspendAnchor.html","name":"SuspendAnchor","kind":"enum","signature":"public enum SuspendAnchor","summary":"Describes where, within a guest language source section, the suspend position is."}
{"symbol":"com.oracle.truffle.api.debug.SuspendAnchor.values()","href":"com/oracle/truffle/api/debug/SuspendAnchor.html#values()","name":"values","kind":"method","signature":"public static SuspendAnchor[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"SuspendAnchor[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.debug.SuspendAnchor.valueOf(String)","href":"com/oracle/truffle/api/debug/SuspendAnchor.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static SuspendAnchor valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"SuspendAnchor","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.debug.SuspendAnchor.BEFORE","href":"com/oracle/truffle/api/debug/SuspendAnchor.html#BEFORE","name":"BEFORE","kind":"enumConstant","signature":"BEFORE","summary":"Denotes suspension just before execution of a guest language source location."}
{"symbol":"com.oracle.truffle.api.debug.SuspendAnchor.AFTER","href":"com/oracle/truffle/api/debug/SuspendAnchor.html#AFTER","name":"AFTER","kind":"enumConstant","signature":"AFTER","summary":"Denotes suspension just after execution of a guest language source location."}
{"symbol":"com.oracle.truffle.api.debug.SuspendedCallback","href":"com/oracle/truffle/api/debug/SuspendedCallback.html","name":"SuspendedCallback","kind":"interface","signature":"public interface SuspendedCallback","summary":"Callback invoked whenever the debugger suspends for a particular session."}
{"symbol":"com.oracle.truffle.api.debug.SuspendedCallback.onSuspend(SuspendedEvent)","href":"com/oracle/truffle/api/debug/SuspendedCallback.html#onSuspend(com.oracle.truffle.api.debug.SuspendedEvent)","name":"onSuspend","kind":"method","signature":"void onSuspend(SuspendedEvent event)","summary":"Called whenever the debugger suspends for a particular session.","details":"If multiple threads would trigger a suspended event then each thread is going to get notified separately.","params":[{"name":"event","type":"SuspendedEvent","doc":"the suspended event"}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent","href":"com/oracle/truffle/api/debug/SuspendedEvent.html","name":"SuspendedEvent","kind":"class","signature":"public final class SuspendedEvent","summary":"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.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getSession()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getSession()","name":"getSession","kind":"method","signature":"public DebuggerSession getSession()","summary":"Returns the debugger session this suspended event was created for.","details":"This method is thread-safe.","returns":{"type":"DebuggerSession"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getSourceSection()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection()","summary":"Returns the guest language source section of the AST node before/after the execution is suspended.","details":"Returns null if no source section information is available. This method is thread-safe.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getSuspendAnchor()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getSuspendAnchor()","name":"getSuspendAnchor","kind":"method","signature":"public SuspendAnchor getSuspendAnchor()","summary":"Returns where, within the guest language source section, the suspended position is.","returns":{"type":"SuspendAnchor"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.hasSourceElement(SourceElement)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#hasSourceElement(com.oracle.truffle.api.debug.SourceElement)","name":"hasSourceElement","kind":"method","signature":"public boolean hasSourceElement(SourceElement sourceElement)","summary":"Returns true if the underlying guest language source location is denoted as the source element.","params":[{"name":"sourceElement","type":"SourceElement","doc":"the source element to check, must not be null."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.isLanguageContextInitialized()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#isLanguageContextInitialized()","name":"isLanguageContextInitialized","kind":"method","signature":"public boolean isLanguageContextInitialized()","summary":"Test if the language context of the source of the event is initialized.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getInputValues()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getInputValues()","name":"getInputValues","kind":"method","signature":"public DebugValue[] getInputValues()","summary":"Returns the input values of the current source element gathered from return values of it's executed children.","details":"The input values are available only during stepping through the source elements hierarchy and only on AFTER suspend anchor. There can be null values in the returned array for children we did not intercept return values from.","returns":{"type":"DebugValue[]","doc":"the array of input values, or null when no input is available."}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getReturnValue()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getReturnValue()","name":"getReturnValue","kind":"method","signature":"public DebugValue getReturnValue()","summary":"Returns the return value of the currently executed source location.","details":"Returns null if the execution is suspended before a guest language location. The returned value is null if an exception occurred during execution of the instrumented source element, the exception is provided by getException(). This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","returns":{"type":"DebugValue"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.setReturnValue(DebugValue)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#setReturnValue(com.oracle.truffle.api.debug.DebugValue)","name":"setReturnValue","kind":"method","signature":"public void setReturnValue(DebugValue newValue)","summary":"Change the return value.","details":"When there is a return value at the current location, this method modifies the return value to a new one.","params":[{"name":"newValue","type":"DebugValue","doc":"the new return value, can not be null"}],"throws":[{"type":"IllegalStateException","doc":"when getReturnValue() returns null"}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getException()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getException()","name":"getException","kind":"method","signature":"public DebugException getException()","summary":"Returns the debugger representation of a guest language exception that caused this suspended event (via an exception breakpoint, for instance).","details":"Returns null when no exception occurred.","returns":{"type":"DebugException"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.isBreakpointHit()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#isBreakpointHit()","name":"isBreakpointHit","kind":"method","signature":"public boolean isBreakpointHit()","summary":"Returns true if a breakpoint hit was the reason for the suspension.","details":"A breakpoint hit can happen at the same time as a step completed and/or an unwind. Hence, a caller of this method is responsible for also taking the results of SuspendedEvent.isUnwind() and SuspendedEvent.isStep() into account.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.isStep()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#isStep()","name":"isStep","kind":"method","signature":"public boolean isStep()","summary":"Returns true if a step was the reason for the suspension.","details":"A step can be either a step over, step into or a step out. A step that is completed can happen at the same time as an unwind and/or a breakpoint hit. Hence, a caller of this method is responsible for also taking the results of SuspendedEvent.isUnwind() and SuspendedEvent.isBreakpointHit() into account.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.isUnwind()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#isUnwind()","name":"isUnwind","kind":"method","signature":"public boolean isUnwind()","summary":"Returns true if an unwind was the reason for the suspension.","details":"An unwind can complete at the same time as a step and/or a breakpoint hit. Hence, a caller of this method is responsible for also taking the results of SuspendedEvent.isStep() and SuspendedEvent.isBreakpointHit() into account.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getBreakpointConditionException(Breakpoint)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getBreakpointConditionException(com.oracle.truffle.api.debug.Breakpoint)","name":"getBreakpointConditionException","kind":"method","signature":"public Throwable getBreakpointConditionException(Breakpoint breakpoint)","summary":"Returns the cause of failure, if any, during evaluation of a breakpoint's condition.","details":"This method is thread-safe.","params":[{"name":"breakpoint","type":"Breakpoint","doc":"a breakpoint associated with this event"}],"returns":{"type":"Throwable","doc":"the cause of condition failure"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getBreakpoints()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getBreakpoints()","name":"getBreakpoints","kind":"method","signature":"public List<Breakpoint> getBreakpoints()","summary":"Returns the breakpoints that individually would cause the \"hit\" where execution is suspended.","details":"If Debugger-associated breakpoint was hit, it is not possible to change the state of returned breakpoint. This method is thread-safe.","returns":{"type":"List<Breakpoint>","doc":"an unmodifiable list of breakpoints"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getTopStackFrame()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getTopStackFrame()","name":"getTopStackFrame","kind":"method","signature":"public DebugStackFrame getTopStackFrame()","summary":"Returns the topmost stack frame returned by getStackFrames().","details":"This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","returns":{"type":"DebugStackFrame"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getStackFrames()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getStackFrames()","name":"getStackFrames","kind":"method","signature":"public Iterable<DebugStackFrame> getStackFrames()","summary":"Returns a list of guest language stack frame objects that indicate the current guest language location.","details":"There is always at least one, the topmost, stack frame available. The returned stack frames are usable only during suspend and should not be stored permanently. This method is not thread-safe and will throw an IllegalStateException if called on another thread than it was created with.","returns":{"type":"Iterable<DebugStackFrame>"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.getAsynchronousStacks()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#getAsynchronousStacks()","name":"getAsynchronousStacks","kind":"method","signature":"public List<List<DebugStackTraceElement>> getAsynchronousStacks()","summary":"Get a list of asynchronous stack traces that led to scheduling of the current execution.","detailsOmitted":true,"returns":{"type":"List<List<DebugStackTraceElement>>"}}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareContinue()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareContinue()","name":"prepareContinue","kind":"method","signature":"public void prepareContinue()","summary":"Prepare to execute in Continue mode when guest language program execution resumes.","details":"In this mode execution will continue until either: execution arrives at a node to which an enabled breakpoint is attached, or: execution completes. This method is thread-safe and the prepared Continue mode is appended to any other previously prepared modes. No further modes can be prepared after continue.","throws":[{"type":"IllegalStateException","doc":"when continue or kill is prepared already."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareStepInto(int)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareStepInto(int)","name":"prepareStepInto","kind":"method","signature":"public SuspendedEvent prepareStepInto(int stepCount)","summary":"Prepare to execute in step into mode when guest language program execution resumes.","details":"See the description of prepareStepInto(StepConfig) for details, calling this is identical to prepareStepInto.(StepConfig.newBuilder().count(stepCount).build()) .","params":[{"name":"stepCount","type":"int","doc":"the number of times to perform StepInto before halting"}],"returns":{"type":"SuspendedEvent","doc":"this event instance for an easy concatenation of method calls"},"throws":[{"type":"IllegalArgumentException","doc":"if stepCount <= 0"},{"type":"IllegalStateException","doc":"when continue or kill is prepared already."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareStepOut(int)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareStepOut(int)","name":"prepareStepOut","kind":"method","signature":"public SuspendedEvent prepareStepOut(int stepCount)","summary":"Prepare to execute in step out mode when guest language program execution resumes.","details":"See the description of prepareStepOut(StepConfig) for details, calling this is identical to prepareStepOut.(StepConfig.newBuilder().count(stepCount).build()) .","params":[{"name":"stepCount","type":"int","doc":"the number of times to perform StepOver before halting"}],"returns":{"type":"SuspendedEvent","doc":"this event instance for an easy concatenation of method calls"},"throws":[{"type":"IllegalArgumentException","doc":"if stepCount <= 0"},{"type":"IllegalStateException","doc":"when continue or kill is prepared already."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareStepOver(int)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareStepOver(int)","name":"prepareStepOver","kind":"method","signature":"public SuspendedEvent prepareStepOver(int stepCount)","summary":"Prepare to execute in step over mode when guest language program execution resumes.","details":"See the description of prepareStepOver(StepConfig) for details, calling this is identical to prepareStepOver.(StepConfig.newBuilder().count(stepCount).build()) .","params":[{"name":"stepCount","type":"int","doc":"the number of times to perform step over before halting"}],"returns":{"type":"SuspendedEvent","doc":"this event instance for an easy concatenation of method calls"},"throws":[{"type":"IllegalArgumentException","doc":"if stepCount <= 0"},{"type":"IllegalStateException","doc":"when continue or kill is prepared already."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareStepInto(StepConfig)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareStepInto(com.oracle.truffle.api.debug.StepConfig)","name":"prepareStepInto","kind":"method","signature":"public SuspendedEvent prepareStepInto(StepConfig stepConfig)","summary":"Prepare to execute in step into mode when guest language program execution resumes.","detailsOmitted":true,"params":[{"name":"stepConfig","type":"StepConfig","doc":"the step configuration"}],"returns":{"type":"SuspendedEvent","doc":"this event instance for an easy concatenation of method calls"},"throws":[{"type":"IllegalStateException","doc":"when continue or kill is prepared already, or when the current debugger session has no source elements enabled for stepping."},{"type":"IllegalArgumentException","doc":"when the StepConfig contains source elements not enabled for stepping in the current debugger session."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareStepOut(StepConfig)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareStepOut(com.oracle.truffle.api.debug.StepConfig)","name":"prepareStepOut","kind":"method","signature":"public SuspendedEvent prepareStepOut(StepConfig stepConfig)","summary":"Prepare to execute in step out mode when guest language program execution resumes.","detailsOmitted":true,"params":[{"name":"stepConfig","type":"StepConfig","doc":"the step configuration"}],"returns":{"type":"SuspendedEvent","doc":"this event instance for an easy concatenation of method calls"},"throws":[{"type":"IllegalStateException","doc":"when continue or kill is prepared already, or when the current debugger session has no source elements enabled for stepping."},{"type":"IllegalArgumentException","doc":"when the StepConfig contains source elements not enabled for stepping in the current debugger session."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareStepOver(StepConfig)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareStepOver(com.oracle.truffle.api.debug.StepConfig)","name":"prepareStepOver","kind":"method","signature":"public SuspendedEvent prepareStepOver(StepConfig stepConfig)","summary":"Prepare to execute in step over mode when guest language program execution resumes.","detailsOmitted":true,"params":[{"name":"stepConfig","type":"StepConfig","doc":"the step configuration"}],"returns":{"type":"SuspendedEvent","doc":"this event instance for an easy concatenation of method calls"},"throws":[{"type":"IllegalStateException","doc":"when continue or kill is prepared already, or when the current debugger session has no source elements enabled for stepping."},{"type":"IllegalArgumentException","doc":"when the StepConfig contains source elements not enabled for stepping in the current debugger session."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareUnwindFrame(DebugStackFrame)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareUnwindFrame(com.oracle.truffle.api.debug.DebugStackFrame)","name":"prepareUnwindFrame","kind":"method","signature":"public void prepareUnwindFrame(DebugStackFrame frame) throws IllegalArgumentException","summary":"Prepare to unwind a frame.","details":"This frame and all frames above it are unwound off the execution stack. The frame needs to be on the execution stack of this event.","params":[{"name":"frame","type":"DebugStackFrame","doc":"the frame to unwind"}],"throws":[{"type":"IllegalArgumentException","doc":"when the frame is not on the execution stack of this event"}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareUnwindFrame(DebugStackFrame, DebugValue)","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareUnwindFrame(com.oracle.truffle.api.debug.DebugStackFrame,com.oracle.truffle.api.debug.DebugValue)","name":"prepareUnwindFrame","kind":"method","signature":"public void prepareUnwindFrame(DebugStackFrame frame, DebugValue immediateReturnValue) throws IllegalArgumentException","summary":"Prepare to unwind a frame.","details":"This frame and all frames above it are unwound off the execution stack and the frame will return immediately with immediateReturnValue. If the return value is null, the unwound frame will instead be reentered upon thread resumption. The frame needs to be on the execution stack of this event.","params":[{"name":"frame","type":"DebugStackFrame","doc":"the frame to unwind"},{"name":"immediateReturnValue","type":"DebugValue","doc":"the value to return"}],"throws":[{"type":"IllegalArgumentException","doc":"when the frame is not on the execution stack of this event"}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.prepareKill()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#prepareKill()","name":"prepareKill","kind":"method","signature":"public void prepareKill()","summary":"Prepare to terminate the suspended execution represented by this event.","details":"One use-case for this method is to shield an execution of an unknown code with a timeout: This method is thread-safe and the prepared termination is appended to any other previously prepared modes. No further modes can be prepared after kill.","throws":[{"type":"IllegalStateException","doc":"when continue or kill is prepared already."}]}
{"symbol":"com.oracle.truffle.api.debug.SuspendedEvent.toString()","href":"com/oracle/truffle/api/debug/SuspendedEvent.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter","href":"com/oracle/truffle/api/debug/SuspensionFilter.html","name":"SuspensionFilter","kind":"class","signature":"public final class SuspensionFilter","summary":"A filter to limit the suspension locations.","details":"An instance of this filter can be provided to debugger session to step on locations matching this filter only."}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.newBuilder()","href":"com/oracle/truffle/api/debug/SuspensionFilter.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static SuspensionFilter.Builder newBuilder()","summary":"Returns a builder for creating a new suspension filter.","returns":{"type":"SuspensionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.isIgnoreLanguageContextInitialization()","href":"com/oracle/truffle/api/debug/SuspensionFilter.html#isIgnoreLanguageContextInitialization()","name":"isIgnoreLanguageContextInitialization","kind":"method","signature":"public boolean isIgnoreLanguageContextInitialization()","summary":"Test if execution of language initialization code is to be ignored.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.Builder","href":"com/oracle/truffle/api/debug/SuspensionFilter.Builder.html","name":"SuspensionFilter.Builder","kind":"class","signature":"public final class SuspensionFilter.Builder","summary":"A builder for creating a suspension filter."}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.Builder.ignoreLanguageContextInitialization(boolean)","href":"com/oracle/truffle/api/debug/SuspensionFilter.Builder.html#ignoreLanguageContextInitialization(boolean)","name":"ignoreLanguageContextInitialization","kind":"method","signature":"public SuspensionFilter.Builder ignoreLanguageContextInitialization(boolean ignore)","summary":"Set to ignore language initialization code.","details":"The language initialization code is not ignored by default.","params":[{"name":"ignore","type":"boolean","doc":"true to ignore execution of language context initialization code, false not to ignore it."}],"returns":{"type":"SuspensionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.Builder.includeInternal(boolean)","href":"com/oracle/truffle/api/debug/SuspensionFilter.Builder.html#includeInternal(boolean)","name":"includeInternal","kind":"method","signature":"public SuspensionFilter.Builder includeInternal(boolean internal)","summary":"Set to include or exclude internal code in the filter.","details":"Internal code is excluded by default.","params":[{"name":"internal","type":"boolean","doc":"true to include execution of internal code, false to exclude it."}],"returns":{"type":"SuspensionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.Builder.sourceSectionAvailableOnly(boolean)","href":"com/oracle/truffle/api/debug/SuspensionFilter.Builder.html#sourceSectionAvailableOnly(boolean)","name":"sourceSectionAvailableOnly","kind":"method","signature":"public SuspensionFilter.Builder sourceSectionAvailableOnly(boolean availableOnly)","summary":"Set to suspend on available source sections only.","details":"By default all locations with or without available source sections are suspended. If this flag is set to true then null and not available source sections are not suspended.","params":[{"name":"availableOnly","type":"boolean","doc":"true to include only non-null and available SourceSection, false to include all."}],"returns":{"type":"SuspensionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.Builder.sourceIs(Predicate)","href":"com/oracle/truffle/api/debug/SuspensionFilter.Builder.html#sourceIs(java.util.function.Predicate)","name":"sourceIs","kind":"method","signature":"public SuspensionFilter.Builder sourceIs(Predicate<Source> filter)","summary":"Set a Predicate that filters based on a Source.","details":"The predicate must always return the same result for a source instance otherwise the behavior is undefined. The predicate should be able run on multiple threads at the same time.","params":[{"name":"filter","type":"Predicate<Source>","doc":"a source section filter"}],"returns":{"type":"SuspensionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.debug.SuspensionFilter.Builder.build()","href":"com/oracle/truffle/api/debug/SuspensionFilter.Builder.html#build()","name":"build","kind":"method","signature":"public SuspensionFilter build()","summary":"Create a new suspension filter configured by the builder methods.","returns":{"type":"SuspensionFilter"}}
{"symbol":"com.oracle.truffle.api.dsl.AOTSupport","href":"com/oracle/truffle/api/dsl/AOTSupport.html","name":"AOTSupport","kind":"class","signature":"public final class AOTSupport","summary":"Helper class to prepare AOT enabled nodes for AOT in RootNode.prepareForAOT.","details":"See also the usage tutorial on the website."}
{"symbol":"com.oracle.truffle.api.dsl.AOTSupport.prepareForAOT(RootNode)","href":"com/oracle/truffle/api/dsl/AOTSupport.html#prepareForAOT(com.oracle.truffle.api.nodes.RootNode)","name":"prepareForAOT","kind":"method","signature":"public static void prepareForAOT(RootNode root)","summary":"Recursively prepares an AST for AOT compilation.","details":"If an AST is already prepared for AOT then this method has no effect. The AST lock will be held during this operation.","params":[{"name":"root","type":"RootNode"}]}
{"symbol":"com.oracle.truffle.api.dsl.Bind","href":"com/oracle/truffle/api/dsl/Bind.html","name":"Bind","kind":"annotation","signature":"public @interface Bind","summary":"Binds and executes an expression at most once for every execution of the node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Bind.value()","href":"com/oracle/truffle/api/dsl/Bind.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"The extract expression.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.Bind.DefaultExpression","href":"com/oracle/truffle/api/dsl/Bind.DefaultExpression.html","name":"Bind.DefaultExpression","kind":"annotation","signature":"public @interface Bind.DefaultExpression","summary":"Defines a default bind expression for a given type.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Bind.DefaultExpression.value()","href":"com/oracle/truffle/api/dsl/Bind.DefaultExpression.html#value()","name":"value","kind":"annotationElement","signature":"String value()","summary":"The default expression to be used for a particular type.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.dsl.Cached","href":"com/oracle/truffle/api/dsl/Cached.html","name":"Cached","kind":"annotation","signature":"public @interface Cached","summary":"A parameter annotated with Cached in a Specialization refers to a cached value of a specialization instance.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Cached.value()","href":"com/oracle/truffle/api/dsl/Cached.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"create($parameters)\"","summary":"Defines the initializer expression of the cached parameter value.","returns":{"type":"String"},"defaultValue":"\"create($parameters)\""}
{"symbol":"com.oracle.truffle.api.dsl.Cached.uncached()","href":"com/oracle/truffle/api/dsl/Cached.html#uncached()","name":"uncached","kind":"annotationElement","signature":"String uncached() default \"getUncached($parameters)\"","summary":"Defines the initializer that is used for uncached nodes or uncached versions of exported library messages.","returns":{"type":"String"},"defaultValue":"\"getUncached($parameters)\""}
{"symbol":"com.oracle.truffle.api.dsl.Cached.dimensions()","href":"com/oracle/truffle/api/dsl/Cached.html#dimensions()","name":"dimensions","kind":"annotationElement","signature":"int dimensions() default -1","summary":"Specifies the number of array dimensions to be marked as compilation final.","detailsOmitted":true,"returns":{"type":"int"},"defaultValue":"-1"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.allowUncached()","href":"com/oracle/truffle/api/dsl/Cached.html#allowUncached()","name":"allowUncached","kind":"annotationElement","signature":"boolean allowUncached() default false","summary":"Allows the value() to be used for uncached().","details":"This is useful if the expression is the same for value() and uncached(). By setting allowUncached() to true it is not necessary to repeat the value() expression in the uncached() expression. This flag cannot be set in combination with uncached().","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.inline()","href":"com/oracle/truffle/api/dsl/Cached.html#inline()","name":"inline","kind":"annotationElement","signature":"boolean inline() default false","summary":"Enables inlining of the cached parameter if supported.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.inlineMethod()","href":"com/oracle/truffle/api/dsl/Cached.html#inlineMethod()","name":"inlineMethod","kind":"annotationElement","signature":"String inlineMethod() default \"\"","summary":"Specifies an alternative method name for node object inlining.","details":"Instead of looking up the inline method from the receiver type use an accessible enclosing method of the given name instead. The method must have a single parameter InlineTarget and return a type compatible to the cached type. This can be useful if you want to route calls to the inline method through an abstraction that does not allow direct type access to the node classes. It is expected that this property is only needed rarely.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.Cached.parameters()","href":"com/oracle/truffle/api/dsl/Cached.html#parameters()","name":"parameters","kind":"annotationElement","signature":"String[] parameters() default {}","summary":"Specifies the bindings used for the $parameters variable in cached or uncached initializers.","returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.weak()","href":"com/oracle/truffle/api/dsl/Cached.html#weak()","name":"weak","kind":"annotationElement","signature":"boolean weak() default false","summary":"If set to true then weak references will be used to refer to this cached value in the generated node.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.adopt()","href":"com/oracle/truffle/api/dsl/Cached.html#adopt()","name":"adopt","kind":"annotationElement","signature":"boolean adopt() default true","summary":"Specifies whether the cached parameter values of type NodeInterface should be adopted as its child by the current node.","details":"The default value is true, therefore all cached values of type NodeInterface and arrays of the same type are adopted. If the value is set to false, then no adoption is performed. It is useful to set adopt to false when nodes need to be referenced more than once in the AST. If the type of the field is an NodeInterface array and adopt is set to false, then the compilation final dimensions attribute needs to be specified explicitly.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.neverDefault()","href":"com/oracle/truffle/api/dsl/Cached.html#neverDefault()","name":"neverDefault","kind":"annotationElement","signature":"boolean neverDefault() default false","summary":"Returns true if the cache initializer never returns the default value of its parameter type at runtime.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.Cached.Exclusive","href":"com/oracle/truffle/api/dsl/Cached.Exclusive.html","name":"Cached.Exclusive","kind":"annotation","signature":"public @interface Cached.Exclusive","summary":"Disallows any sharing with other cached parameters.","details":"The DSL will indicate sharing opportunities to the user by showing a warning."}
{"symbol":"com.oracle.truffle.api.dsl.Cached.Shared","href":"com/oracle/truffle/api/dsl/Cached.Shared.html","name":"Cached.Shared","kind":"annotation","signature":"public @interface Cached.Shared","summary":"Allows sharing between multiple Cached parameters between multiple specializations or exported library messages.","details":"If no sharing is desired then the cached parameter can be annotated with exclusive. The DSL will indicate sharing opportunities to the user by showing a warning."}
{"symbol":"com.oracle.truffle.api.dsl.Cached.Shared.value()","href":"com/oracle/truffle/api/dsl/Cached.Shared.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Specifies the sharing group of the shared cached element.","details":"If not specified then the parameter name will be used as a group.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.CreateCast","href":"com/oracle/truffle/api/dsl/CreateCast.html","name":"CreateCast","kind":"annotation","signature":"public @interface CreateCast","summary":"Specifies a factory method that creates a Node which is used to cast this child."}
{"symbol":"com.oracle.truffle.api.dsl.CreateCast.value()","href":"com/oracle/truffle/api/dsl/CreateCast.html#value()","name":"value","kind":"annotationElement","signature":"String[] value()","returns":{"type":"String[]"}}
{"symbol":"com.oracle.truffle.api.dsl.DSLSupport","href":"com/oracle/truffle/api/dsl/DSLSupport.html","name":"DSLSupport","kind":"class","signature":"public abstract class DSLSupport","summary":"APIs to support share code in generated code.","details":"APIs in this class are aggressively deprecated and removed in this class."}
{"symbol":"com.oracle.truffle.api.dsl.DSLSupport.lookupEnumConstants(Class)","href":"com/oracle/truffle/api/dsl/DSLSupport.html#lookupEnumConstants(java.lang.Class)","name":"lookupEnumConstants","kind":"method","signature":"public static <T extends Enum<?>> T[] lookupEnumConstants(Class<T> c)","summary":"Looks up shared enum constants for DSL generated code.","details":"This avoids unnecessary enum arrays in the heap when the DSL creates constants with enum values to avoid the memory overhead of calling the values() method of enum classes.","params":[{"name":"c","type":"Class<T>"}],"returns":{"type":"T[]"}}
{"symbol":"com.oracle.truffle.api.dsl.DSLSupport.maybeInsert(Node, T)","href":"com/oracle/truffle/api/dsl/DSLSupport.html#maybeInsert(com.oracle.truffle.api.nodes.Node,T)","name":"maybeInsert","kind":"method","signature":"public static <T extends NodeInterface> T maybeInsert(Node node, T o)","summary":"Inserts a node if a NodeInterface dynamically implements Node.","details":"Intended for generated code only.","params":[{"name":"node","type":"Node"},{"name":"o","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.dsl.DSLSupport.maybeInsert(Node, T[])","href":"com/oracle/truffle/api/dsl/DSLSupport.html#maybeInsert(com.oracle.truffle.api.nodes.Node,T[])","name":"maybeInsert","kind":"method","signature":"public static <T extends NodeInterface> T[] maybeInsert(Node node, T[] o)","summary":"Inserts a node array if a NodeInterface[] dynamically implements Node[].","details":"Intended for generated code only.","params":[{"name":"node","type":"Node"},{"name":"o","type":"T[]"}],"returns":{"type":"T[]"}}
{"symbol":"com.oracle.truffle.api.dsl.DSLSupport.assertIdempotence(boolean)","href":"com/oracle/truffle/api/dsl/DSLSupport.html#assertIdempotence(boolean)","name":"assertIdempotence","kind":"method","signature":"public static boolean assertIdempotence(boolean guardValue)","summary":"Helper method for DSL generated code to assert idempotence.","params":[{"name":"guardValue","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.DSLSupport.SpecializationDataNode","href":"com/oracle/truffle/api/dsl/DSLSupport.SpecializationDataNode.html","name":"DSLSupport.SpecializationDataNode","kind":"interface","signature":"public interface DSLSupport.SpecializationDataNode","summary":"Interface implemented by specialization data classes.","details":"This marker interface is needed for better validation and error handling during node object inlining. Intended to be used by the DSL implementation, please do not use otherwise."}
{"symbol":"com.oracle.truffle.api.dsl.ExecuteTracingSupport","href":"com/oracle/truffle/api/dsl/ExecuteTracingSupport.html","name":"ExecuteTracingSupport","kind":"interface","signature":"public interface ExecuteTracingSupport","summary":"Allows tracing of calls to execute methods of a Node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.ExecuteTracingSupport.isTracingEnabled()","href":"com/oracle/truffle/api/dsl/ExecuteTracingSupport.html#isTracingEnabled()","name":"isTracingEnabled","kind":"method","signature":"boolean isTracingEnabled()","summary":"Invoked by the generated code to determine whether tracing is enabled.","details":"If tracing is disabled, no other methods in this interface will be invoked.","returns":{"type":"boolean","doc":"true if tracing is enabled"}}
{"symbol":"com.oracle.truffle.api.dsl.ExecuteTracingSupport.traceOnEnter(Object[])","href":"com/oracle/truffle/api/dsl/ExecuteTracingSupport.html#traceOnEnter(java.lang.Object[])","name":"traceOnEnter","kind":"method","signature":"default void traceOnEnter(Object[] arguments)","summary":"Invoked by the generated execute methods before any Specialization is called, but after all NodeChildren are evaluated.","details":"Called only if isTracingEnabled() returns true.","params":[{"name":"arguments","type":"Object[]","doc":"the arguments of the specialization except the frame, if any"}]}
{"symbol":"com.oracle.truffle.api.dsl.ExecuteTracingSupport.traceOnReturn(Object)","href":"com/oracle/truffle/api/dsl/ExecuteTracingSupport.html#traceOnReturn(java.lang.Object)","name":"traceOnReturn","kind":"method","signature":"default void traceOnReturn(Object returnValue)","summary":"Invoked by the generated execute methods when a Specialization returns normally.","details":"Called only if isTracingEnabled() returns true.","params":[{"name":"returnValue","type":"Object","doc":"the value returned by the specialization or null if the execute method is declared to return void"}]}
{"symbol":"com.oracle.truffle.api.dsl.ExecuteTracingSupport.traceOnException(Throwable)","href":"com/oracle/truffle/api/dsl/ExecuteTracingSupport.html#traceOnException(java.lang.Throwable)","name":"traceOnException","kind":"method","signature":"default void traceOnException(Throwable t)","summary":"Invoked by the generated execute methods when a Specialization throws an exception.","details":"Called only if isTracingEnabled() returns true. Exceptions thrown by child node invocations are not traced by the parent.","params":[{"name":"t","type":"Throwable","doc":"the exception thrown by the specialization"}]}
{"symbol":"com.oracle.truffle.api.dsl.Executed","href":"com/oracle/truffle/api/dsl/Executed.html","name":"Executed","kind":"annotation","signature":"public @interface Executed","summary":"This annotation declares a child field to be executed and used as dynamic input values for specializations.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Executed.with()","href":"com/oracle/truffle/api/dsl/Executed.html#with()","name":"with","kind":"annotationElement","signature":"String[] with() default {}","summary":"The with() property allows a node to pass the result of one child's executable as an input to another child's executable.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.Fallback","href":"com/oracle/truffle/api/dsl/Fallback.html","name":"Fallback","kind":"annotation","signature":"public @interface Fallback","summary":"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.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.GenerateAOT","href":"com/oracle/truffle/api/dsl/GenerateAOT.html","name":"GenerateAOT","kind":"annotation","signature":"public @interface GenerateAOT","summary":"Allows nodes with specializations to be prepared for AOT.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.GenerateAOT.Exclude","href":"com/oracle/truffle/api/dsl/GenerateAOT.Exclude.html","name":"GenerateAOT.Exclude","kind":"annotation","signature":"public @interface GenerateAOT.Exclude","summary":"Excludes the annotated Specialization from AOT preparation."}
{"symbol":"com.oracle.truffle.api.dsl.GenerateAOT.Provider","href":"com/oracle/truffle/api/dsl/GenerateAOT.Provider.html","name":"GenerateAOT.Provider","kind":"interface","signature":"public interface GenerateAOT.Provider","summary":"Implemented by generated code.","details":"Do not reference directly"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateAOT.Provider.prepareForAOT(TruffleLanguage, RootNode)","href":"com/oracle/truffle/api/dsl/GenerateAOT.Provider.html#prepareForAOT(com.oracle.truffle.api.TruffleLanguage,com.oracle.truffle.api.nodes.RootNode)","name":"prepareForAOT","kind":"method","signature":"default void prepareForAOT(TruffleLanguage<?> language, RootNode root)","summary":"Called and implemented by framework code.","details":"Do not use directly.","params":[{"name":"language","type":"TruffleLanguage<?>"},{"name":"root","type":"RootNode"}]}
{"symbol":"com.oracle.truffle.api.dsl.GenerateAOT.Provider.prepareForAOT(TruffleLanguage, RootNode, Node)","href":"com/oracle/truffle/api/dsl/GenerateAOT.Provider.html#prepareForAOT(com.oracle.truffle.api.TruffleLanguage,com.oracle.truffle.api.nodes.RootNode,com.oracle.truffle.api.nodes.Node)","name":"prepareForAOT","kind":"method","signature":"default void prepareForAOT(TruffleLanguage<?> language, RootNode root, Node inlinedNode)","summary":"Called and implemented by framework code.","details":"Do not use directly.","params":[{"name":"language","type":"TruffleLanguage<?>"},{"name":"root","type":"RootNode"},{"name":"inlinedNode","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.dsl.GenerateCached","href":"com/oracle/truffle/api/dsl/GenerateCached.html","name":"GenerateCached","kind":"annotation","signature":"public @interface GenerateCached","summary":"Allows to enable or disable the generation of the cached version of a Truffle DSL node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.GenerateCached.value()","href":"com/oracle/truffle/api/dsl/GenerateCached.html#value()","name":"value","kind":"annotationElement","signature":"boolean value() default true","summary":"If true enables the generation of a cached version of this specializing node.","details":"It is enabled by default.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateCached.inherit()","href":"com/oracle/truffle/api/dsl/GenerateCached.html#inherit()","name":"inherit","kind":"annotationElement","signature":"boolean inherit() default false","summary":"If true enables inheritance of value() and alwaysInlineCached() to subclasses.","details":"It is false by default.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateCached.alwaysInlineCached()","href":"com/oracle/truffle/api/dsl/GenerateCached.html#alwaysInlineCached()","name":"alwaysInlineCached","kind":"annotationElement","signature":"boolean alwaysInlineCached() default false","summary":"Configures whether a cached inlinable node is inlined by default.","details":"By default a warning is emitted if the inline flag is not enabled explicitly. This is not necessary for nodes annotated with GenerateInline they must always inline their cached values, as they are otherwise themselves not inlinable.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateInline","href":"com/oracle/truffle/api/dsl/GenerateInline.html","name":"GenerateInline","kind":"annotation","signature":"public @interface GenerateInline","summary":"Generates code for a node that makes this node inlinable when used in cached parameters of specializations.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.GenerateInline.value()","href":"com/oracle/truffle/api/dsl/GenerateInline.html#value()","name":"value","kind":"annotationElement","signature":"boolean value() default true","summary":"If true enables the generation of a inlined version of this specializing node.","details":"It is enabled by default.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateInline.inherit()","href":"com/oracle/truffle/api/dsl/GenerateInline.html#inherit()","name":"inherit","kind":"annotationElement","signature":"boolean inherit() default false","summary":"If true enables inheritance of value() and inlineByDefault() to subclasses.","details":"It is false by default.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateInline.inlineByDefault()","href":"com/oracle/truffle/api/dsl/GenerateInline.html#inlineByDefault()","name":"inlineByDefault","kind":"annotationElement","signature":"boolean inlineByDefault() default false","summary":"If true the inlined version is used by default when the node is used as a cached argument.","details":"Changing this value on an existing node class with existing and already compiled usages will not force the recompilation of the usages. One has to manually force recompilation of all the affected code. If the node class is part of supported public API, changing this value is a source incompatible change!","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateNodeFactory","href":"com/oracle/truffle/api/dsl/GenerateNodeFactory.html","name":"GenerateNodeFactory","kind":"annotation","signature":"public @interface GenerateNodeFactory","summary":"Annotate nodes or base classes of nodes to generate factory handlers implementing the NodeFactory interface.","details":"The generated factory handlers class name starts with the source original class and ends with 'Factory'."}
{"symbol":"com.oracle.truffle.api.dsl.GenerateNodeFactory.value()","href":"com/oracle/truffle/api/dsl/GenerateNodeFactory.html#value()","name":"value","kind":"annotationElement","signature":"boolean value() default true","summary":"If true enables the generation of node factories of this specializing node.","details":"It is disabled by default.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateNodeFactory.inherit()","href":"com/oracle/truffle/api/dsl/GenerateNodeFactory.html#inherit()","name":"inherit","kind":"annotationElement","signature":"boolean inherit() default true","summary":"Inherits the semantics of the annotation to subclasses.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.dsl.GeneratePackagePrivate","href":"com/oracle/truffle/api/dsl/GeneratePackagePrivate.html","name":"GeneratePackagePrivate","kind":"annotation","signature":"public @interface GeneratePackagePrivate","summary":"Make the code generated for an annotated node package-private."}
{"symbol":"com.oracle.truffle.api.dsl.GenerateUncached","href":"com/oracle/truffle/api/dsl/GenerateUncached.html","name":"GenerateUncached","kind":"annotation","signature":"public @interface GenerateUncached","summary":"Generates an uncached version of a node with specializations.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.GenerateUncached.value()","href":"com/oracle/truffle/api/dsl/GenerateUncached.html#value()","name":"value","kind":"annotationElement","signature":"boolean value() default true","summary":"If true enables the generation of an uncached version of this specializing node.","details":"It is disabled by default.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.dsl.GenerateUncached.inherit()","href":"com/oracle/truffle/api/dsl/GenerateUncached.html#inherit()","name":"inherit","kind":"annotationElement","signature":"boolean inherit() default false","summary":"Inherits the semantics of the annotation to subclasses.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.GeneratedBy","href":"com/oracle/truffle/api/dsl/GeneratedBy.html","name":"GeneratedBy","kind":"annotation","signature":"public @interface GeneratedBy","summary":"Marks a type as being generated based on another class or method of a class."}
{"symbol":"com.oracle.truffle.api.dsl.GeneratedBy.value()","href":"com/oracle/truffle/api/dsl/GeneratedBy.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.GeneratedBy.methodName()","href":"com/oracle/truffle/api/dsl/GeneratedBy.html#methodName()","name":"methodName","kind":"annotationElement","signature":"String methodName() default \"\"","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.Idempotent","href":"com/oracle/truffle/api/dsl/Idempotent.html","name":"Idempotent","kind":"annotation","signature":"public @interface Idempotent","summary":"Methods annotated with Idempotent must be methods that may cause side effects but will always cause the same side effects for repeated invocations with the same parameters.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.ImplicitCast","href":"com/oracle/truffle/api/dsl/ImplicitCast.html","name":"ImplicitCast","kind":"annotation","signature":"public @interface ImplicitCast","summary":"Marks an implicit cast method.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.ImportStatic","href":"com/oracle/truffle/api/dsl/ImportStatic.html","name":"ImportStatic","kind":"annotation","signature":"public @interface ImportStatic","summary":"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."}
{"symbol":"com.oracle.truffle.api.dsl.ImportStatic.value()","href":"com/oracle/truffle/api/dsl/ImportStatic.html#value()","name":"value","kind":"annotationElement","signature":"Class<?>[] value()","returns":{"type":"Class<?>[]"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport","href":"com/oracle/truffle/api/dsl/InlineSupport.html","name":"InlineSupport","kind":"class","signature":"public final class InlineSupport","summary":"Contains classes to support node object inlining in Truffle.","details":"These classes are only needed if manual node inlining is implemented. Typically Truffle DSL's GenerateInline takes care of applying these APIs correctly. For manual usage see com.oracle.truffle.api.profiles.InlinedBranchProfile as an example."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.validate(Node, InlineSupport.InlinableField, InlineSupport.InlinableField, InlineSupport.InlinableField...)","href":"com/oracle/truffle/api/dsl/InlineSupport.html#validate(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.dsl.InlineSupport.InlinableField,com.oracle.truffle.api.dsl.InlineSupport.InlinableField,com.oracle.truffle.api.dsl.InlineSupport.InlinableField...)","name":"validate","kind":"method","signature":"public static boolean validate(Node node, InlineSupport.InlinableField field0, InlineSupport.InlinableField field1, InlineSupport.InlinableField... fields)","summary":"Shortcut to validate multiple inlinable fields.","params":[{"name":"node","type":"Node"},{"name":"field0","type":"InlineSupport.InlinableField"},{"name":"field1","type":"InlineSupport.InlinableField"},{"name":"fields","type":"InlineSupport.InlinableField..."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.validate(Node, InlineSupport.InlinableField, InlineSupport.InlinableField)","href":"com/oracle/truffle/api/dsl/InlineSupport.html#validate(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.dsl.InlineSupport.InlinableField,com.oracle.truffle.api.dsl.InlineSupport.InlinableField)","name":"validate","kind":"method","signature":"public static boolean validate(Node node, InlineSupport.InlinableField field0, InlineSupport.InlinableField field1)","summary":"Shortcut to validate multiple inlinable fields.","params":[{"name":"node","type":"Node"},{"name":"field0","type":"InlineSupport.InlinableField"},{"name":"field1","type":"InlineSupport.InlinableField"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.validate(Node, InlineSupport.InlinableField)","href":"com/oracle/truffle/api/dsl/InlineSupport.html#validate(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.dsl.InlineSupport.InlinableField)","name":"validate","kind":"method","signature":"public static boolean validate(Node node, InlineSupport.InlinableField field0)","summary":"Shortcut to validate multiple inlinable fields.","params":[{"name":"node","type":"Node"},{"name":"field0","type":"InlineSupport.InlinableField"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.BooleanField","href":"com/oracle/truffle/api/dsl/InlineSupport.BooleanField.html","name":"InlineSupport.BooleanField","kind":"class","signature":"public static final class InlineSupport.BooleanField extends InlineSupport.InlinableField","summary":"Represents a field for boolean primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.BooleanField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.BooleanField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public boolean get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.BooleanField.set(Node, boolean)","href":"com/oracle/truffle/api/dsl/InlineSupport.BooleanField.html#set(com.oracle.truffle.api.nodes.Node,boolean)","name":"set","kind":"method","signature":"public void set(Node node, boolean value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.BooleanField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.BooleanField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.BooleanField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.BooleanField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ByteField","href":"com/oracle/truffle/api/dsl/InlineSupport.ByteField.html","name":"InlineSupport.ByteField","kind":"class","signature":"public static final class InlineSupport.ByteField extends InlineSupport.InlinableField","summary":"Represents a field for byte primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ByteField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.ByteField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public byte get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ByteField.set(Node, byte)","href":"com/oracle/truffle/api/dsl/InlineSupport.ByteField.html#set(com.oracle.truffle.api.nodes.Node,byte)","name":"set","kind":"method","signature":"public void set(Node node, byte value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ByteField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.ByteField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.ByteField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.ByteField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.CharField","href":"com/oracle/truffle/api/dsl/InlineSupport.CharField.html","name":"InlineSupport.CharField","kind":"class","signature":"public static final class InlineSupport.CharField extends InlineSupport.InlinableField","summary":"Represents a field for char primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.CharField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.CharField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public char get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"char"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.CharField.set(Node, char)","href":"com/oracle/truffle/api/dsl/InlineSupport.CharField.html#set(com.oracle.truffle.api.nodes.Node,char)","name":"set","kind":"method","signature":"public void set(Node node, char value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"char"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.CharField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.CharField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.CharField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.CharField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.DoubleField","href":"com/oracle/truffle/api/dsl/InlineSupport.DoubleField.html","name":"InlineSupport.DoubleField","kind":"class","signature":"public static final class InlineSupport.DoubleField extends InlineSupport.InlinableField","summary":"Represents a field for double primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.DoubleField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.DoubleField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public double get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.DoubleField.set(Node, double)","href":"com/oracle/truffle/api/dsl/InlineSupport.DoubleField.html#set(com.oracle.truffle.api.nodes.Node,double)","name":"set","kind":"method","signature":"public void set(Node node, double value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.DoubleField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.DoubleField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.DoubleField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.DoubleField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.FloatField","href":"com/oracle/truffle/api/dsl/InlineSupport.FloatField.html","name":"InlineSupport.FloatField","kind":"class","signature":"public static final class InlineSupport.FloatField extends InlineSupport.InlinableField","summary":"Represents a field for float primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.FloatField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.FloatField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public float get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"float"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.FloatField.set(Node, float)","href":"com/oracle/truffle/api/dsl/InlineSupport.FloatField.html#set(com.oracle.truffle.api.nodes.Node,float)","name":"set","kind":"method","signature":"public void set(Node node, float value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.FloatField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.FloatField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.FloatField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.FloatField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlinableField","href":"com/oracle/truffle/api/dsl/InlineSupport.InlinableField.html","name":"InlineSupport.InlinableField","kind":"class","signature":"public abstract static class InlineSupport.InlinableField extends InlineSupport.UnsafeField","summary":"Base class for inlined field references."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlinableField.validate(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.InlinableField.html#validate(com.oracle.truffle.api.nodes.Node)","name":"validate","kind":"method","signature":"public final boolean validate(Node node)","summary":"Validates a receiver of an inlined field.","details":"This is used for generated DSL code to fail early for usage mistakes.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlineTarget","href":"com/oracle/truffle/api/dsl/InlineSupport.InlineTarget.html","name":"InlineSupport.InlineTarget","kind":"class","signature":"public static final class InlineSupport.InlineTarget","summary":"An inline targert for an inlinable node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlineTarget.getTargetClass()","href":"com/oracle/truffle/api/dsl/InlineSupport.InlineTarget.html#getTargetClass()","name":"getTargetClass","kind":"method","signature":"public Class<?> getTargetClass()","summary":"Returns static target class this inlining specification was applied.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlineTarget.getPrimitive(int, Class)","href":"com/oracle/truffle/api/dsl/InlineSupport.InlineTarget.html#getPrimitive(int,java.lang.Class)","name":"getPrimitive","kind":"method","signature":"public <T extends InlineSupport.InlinableField> T getPrimitive(int index, Class<T> fieldClass)","summary":"Requests a primitive field for a given field index.","details":"Fields that are requested from a target must match the required fields specified using RequiredField on the target parameter of an inline method otherwise an IncompatibleClassChangeError is thrown.","params":[{"name":"index","type":"int"},{"name":"fieldClass","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlineTarget.getState(int, int)","href":"com/oracle/truffle/api/dsl/InlineSupport.InlineTarget.html#getState(int,int)","name":"getState","kind":"method","signature":"public InlineSupport.StateField getState(int index, int minimumBits)","summary":"Requests a state field for a given field index.","details":"Fields that are requested from a target must match the required fields specified using RequiredField on the target parameter of an inline method otherwise an IncompatibleClassChangeError is thrown.","params":[{"name":"index","type":"int"},{"name":"minimumBits","type":"int"}],"returns":{"type":"InlineSupport.StateField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlineTarget.getReference(int, Class)","href":"com/oracle/truffle/api/dsl/InlineSupport.InlineTarget.html#getReference(int,java.lang.Class)","name":"getReference","kind":"method","signature":"public <V> InlineSupport.ReferenceField<V> getReference(int index, Class<?> valueClass)","summary":"Requests a reference field for a given field index.","details":"Fields that are requested from a target must match the required fields specified using RequiredField on the target parameter of an inline method otherwise an IncompatibleClassChangeError is thrown.","params":[{"name":"index","type":"int"},{"name":"valueClass","type":"Class<?>"}],"returns":{"type":"InlineSupport.ReferenceField<V>"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.InlineTarget.create(Class, InlineSupport.InlinableField...)","href":"com/oracle/truffle/api/dsl/InlineSupport.InlineTarget.html#create(java.lang.Class,com.oracle.truffle.api.dsl.InlineSupport.InlinableField...)","name":"create","kind":"method","signature":"public static InlineSupport.InlineTarget create(Class<?> targetClass, InlineSupport.InlinableField... updaters)","summary":"Creates an inline target for an inlined node.","details":"Intended for use by generated code only.","params":[{"name":"targetClass","type":"Class<?>"},{"name":"updaters","type":"InlineSupport.InlinableField..."}],"returns":{"type":"InlineSupport.InlineTarget"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.IntField","href":"com/oracle/truffle/api/dsl/InlineSupport.IntField.html","name":"InlineSupport.IntField","kind":"class","signature":"public static final class InlineSupport.IntField extends InlineSupport.InlinableField","summary":"Represents a field for int primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.IntField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.IntField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public int get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.IntField.set(Node, int)","href":"com/oracle/truffle/api/dsl/InlineSupport.IntField.html#set(com.oracle.truffle.api.nodes.Node,int)","name":"set","kind":"method","signature":"public void set(Node node, int value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.IntField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.IntField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.IntField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.IntField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.LongField","href":"com/oracle/truffle/api/dsl/InlineSupport.LongField.html","name":"InlineSupport.LongField","kind":"class","signature":"public static final class InlineSupport.LongField extends InlineSupport.InlinableField","summary":"Represents a field for long primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.LongField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.LongField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public long get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.LongField.set(Node, long)","href":"com/oracle/truffle/api/dsl/InlineSupport.LongField.html#set(com.oracle.truffle.api.nodes.Node,long)","name":"set","kind":"method","signature":"public void set(Node node, long value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.LongField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.LongField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.LongField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.LongField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ReferenceField","href":"com/oracle/truffle/api/dsl/InlineSupport.ReferenceField.html","name":"InlineSupport.ReferenceField","kind":"class","signature":"public static final class InlineSupport.ReferenceField<T> extends InlineSupport.InlinableField","summary":"Represents a field for references in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ReferenceField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.ReferenceField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public T get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ReferenceField.set(Node, T)","href":"com/oracle/truffle/api/dsl/InlineSupport.ReferenceField.html#set(com.oracle.truffle.api.nodes.Node,T)","name":"set","kind":"method","signature":"public void set(Node node, T value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"T"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ReferenceField.getVolatile(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.ReferenceField.html#getVolatile(com.oracle.truffle.api.nodes.Node)","name":"getVolatile","kind":"method","signature":"public T getVolatile(Node node)","summary":"This method returns the value of the target field given a target node using volatile semantics.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ReferenceField.compareAndSet(Node, T, T)","href":"com/oracle/truffle/api/dsl/InlineSupport.ReferenceField.html#compareAndSet(com.oracle.truffle.api.nodes.Node,T,T)","name":"compareAndSet","kind":"method","signature":"public boolean compareAndSet(Node node, T expect, T update)","summary":"This method sets the value of the target field giving the a target node and expected value using compare and set semantics.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"expect","type":"T"},{"name":"update","type":"T"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ReferenceField.create(MethodHandles.Lookup, String, Class)","href":"com/oracle/truffle/api/dsl/InlineSupport.ReferenceField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String,java.lang.Class)","name":"create","kind":"method","signature":"public static <T> InlineSupport.ReferenceField<T> create(MethodHandles.Lookup declaringLookup, String field, Class<? super T> valueClass)","summary":"This method creates a new field given a lookup class, field name and value class.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"},{"name":"valueClass","type":"Class<? super T>"}],"returns":{"type":"InlineSupport.ReferenceField<T>"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredField","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredField.html","name":"InlineSupport.RequiredField","kind":"annotation","signature":"public @interface InlineSupport.RequiredField","summary":"Used to specify fields for node object inlining in inline methods for the inline target.","details":"See InlineTarget for a full usage example."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredField.value()","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredField.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends InlineSupport.InlinableField> value()","summary":"Species which field type is expected.","details":"See subclasses of InlinableField.","returns":{"type":"Class<? extends InlineSupport.InlinableField>"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredField.bits()","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredField.html#bits()","name":"bits","kind":"annotationElement","signature":"int bits() default 0","summary":"Specifies the number of bits needed for state fields.","details":"This property only has an effect for StateField. The number of bits must be between 1 and32.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredField.type()","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredField.html#type()","name":"type","kind":"annotationElement","signature":"Class<?> type() default com.oracle.truffle.api.dsl.InlineSupport.InlinableField.class","summary":"90 Specifies the value type for reference required fields.","details":"This property only has an effect for ReferenceField.","returns":{"type":"Class<?>"},"defaultValue":"com.oracle.truffle.api.dsl.InlineSupport.InlinableField.class"}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredField.dimensions()","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredField.html#dimensions()","name":"dimensions","kind":"annotationElement","signature":"int dimensions() default 0","summary":"Specifies the compilation final dimensions of the required inlined field.","details":"This property has only an effect with array types and reference fields.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredFields","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredFields.html","name":"InlineSupport.RequiredFields","kind":"annotation","signature":"public @interface InlineSupport.RequiredFields","summary":"Used to specify multiple RequiredField."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.RequiredFields.value()","href":"com/oracle/truffle/api/dsl/InlineSupport.RequiredFields.html#value()","name":"value","kind":"annotationElement","signature":"InlineSupport.RequiredField[] value()","summary":"Used to specify multiple RequiredField.","returns":{"type":"InlineSupport.RequiredField[]"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ShortField","href":"com/oracle/truffle/api/dsl/InlineSupport.ShortField.html","name":"InlineSupport.ShortField","kind":"class","signature":"public static final class InlineSupport.ShortField extends InlineSupport.InlinableField","summary":"Represents a field for short primitives in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ShortField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.ShortField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public short get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"short"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ShortField.set(Node, short)","href":"com/oracle/truffle/api/dsl/InlineSupport.ShortField.html#set(com.oracle.truffle.api.nodes.Node,short)","name":"set","kind":"method","signature":"public void set(Node node, short value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"short"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.ShortField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.ShortField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.ShortField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.ShortField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.StateField","href":"com/oracle/truffle/api/dsl/InlineSupport.StateField.html","name":"InlineSupport.StateField","kind":"class","signature":"public static final class InlineSupport.StateField extends InlineSupport.InlinableField","summary":"Represents a field for updating state fields in inlined nodes."}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.StateField.subUpdater(int, int)","href":"com/oracle/truffle/api/dsl/InlineSupport.StateField.html#subUpdater(int,int)","name":"subUpdater","kind":"method","signature":"public InlineSupport.StateField subUpdater(int newOffset, int newLength)","summary":"Creates a sub updater for a subset of bits in a state field.","details":"This method is intended to be used by DSL-generated code only.","params":[{"name":"newOffset","type":"int"},{"name":"newLength","type":"int"}],"returns":{"type":"InlineSupport.StateField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.StateField.get(Node)","href":"com/oracle/truffle/api/dsl/InlineSupport.StateField.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public int get(Node node)","summary":"This method returns the value of the target field given a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.StateField.set(Node, int)","href":"com/oracle/truffle/api/dsl/InlineSupport.StateField.html#set(com.oracle.truffle.api.nodes.Node,int)","name":"set","kind":"method","signature":"public void set(Node node, int value)","summary":"This method sets the value of the target field giving the a target node.","details":"The node parameter must match the class the field was created with. If the type is not compatible, an ClassCastException is thrown. If null is provided, then a NullPointerException is thrown.","params":[{"name":"node","type":"Node"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.StateField.create(MethodHandles.Lookup, String)","href":"com/oracle/truffle/api/dsl/InlineSupport.StateField.html#create(java.lang.invoke.MethodHandles.Lookup,java.lang.String)","name":"create","kind":"method","signature":"public static InlineSupport.StateField create(MethodHandles.Lookup declaringLookup, String field)","summary":"This method creates a new field given a lookup class and a field name.","details":"The lookup class requires access to the field and must be directly accessible. If the field is not found or the field type is not compatible, then an IllegalArgumentException is thrown. The given field must not be final. This method is intended to be used by DSL-generated code only.","params":[{"name":"declaringLookup","type":"MethodHandles.Lookup"},{"name":"field","type":"String"}],"returns":{"type":"InlineSupport.StateField"}}
{"symbol":"com.oracle.truffle.api.dsl.InlineSupport.UnsafeAccessedField","href":"com/oracle/truffle/api/dsl/InlineSupport.UnsafeAccessedField.html","name":"InlineSupport.UnsafeAccessedField","kind":"annotation","signature":"public @interface InlineSupport.UnsafeAccessedField","summary":"Marks a field to be accessed with unsafe.","details":"This annotation is useful to communicate fields that must not be rewritten by code obfuscation tools like Proguard."}
{"symbol":"com.oracle.truffle.api.dsl.Introspectable","href":"com/oracle/truffle/api/dsl/Introspectable.html","name":"Introspectable","kind":"annotation","signature":"public @interface Introspectable","summary":"Annotate a DSL operation using this annotation to be introspectable.","details":"The methods in Introspection can only be used if the operation is annotated with Introspectable."}
{"symbol":"com.oracle.truffle.api.dsl.Introspection","href":"com/oracle/truffle/api/dsl/Introspection.html","name":"Introspection","kind":"class","signature":"public final class Introspection","summary":"Contains introspection utilities for Truffle DSL.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.isIntrospectable(Node)","href":"com/oracle/truffle/api/dsl/Introspection.html#isIntrospectable(com.oracle.truffle.api.nodes.Node)","name":"isIntrospectable","kind":"method","signature":"public static boolean isIntrospectable(Node node)","summary":"Returns true if the given node is introspectable.","details":"If something is introspectable is determined by if the node is generated by Truffle DSL, if is annotated with Introspectable and if the DSL implementation supports introspection.","params":[{"name":"node","type":"Node","doc":"a DSL generated node"}],"returns":{"type":"boolean","doc":"true if the given node is introspectable"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.getSpecialization(Node, String)","href":"com/oracle/truffle/api/dsl/Introspection.html#getSpecialization(com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"getSpecialization","kind":"method","signature":"public static Introspection.SpecializationInfo getSpecialization(Node node, String methodName)","summary":"Returns introspection information for the first specialization that matches a given method name.","detailsOmitted":true,"params":[{"name":"node","type":"Node","doc":"a introspectable DSL operation with at least one specialization"},{"name":"methodName","type":"String","doc":"the Java method name of the specialization to introspect"}],"returns":{"type":"Introspection.SpecializationInfo","doc":"introspection info for the method"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.getSpecialization(Node, Node, String)","href":"com/oracle/truffle/api/dsl/Introspection.html#getSpecialization(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"getSpecialization","kind":"method","signature":"public static Introspection.SpecializationInfo getSpecialization(Node inlineParent, Node node, String methodName)","summary":"Like getSpecialization(Node, String) but must be used for nodes that were inlined.","params":[{"name":"inlineParent","type":"Node","doc":"the inlined parent node."},{"name":"node","type":"Node","doc":"a introspectable DSL operation with at least one specialization"},{"name":"methodName","type":"String","doc":"the Java method name of the specialization to introspect"}],"returns":{"type":"Introspection.SpecializationInfo","doc":"introspection info for the method"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.getSpecialization(Node, int, Node, String)","href":"com/oracle/truffle/api/dsl/Introspection.html#getSpecialization(com.oracle.truffle.api.nodes.Node,int,com.oracle.truffle.api.nodes.Node,java.lang.String)","name":"getSpecialization","kind":"method","signature":"public static Introspection.SpecializationInfo getSpecialization(Node bytecodeNode, int bytecodeIndex, Node node, String methodName)","summary":"Like getSpecialization(Node, String) but must be used for nodes that were used as part of a bytecode interpreter.","params":[{"name":"bytecodeNode","type":"Node","doc":"the bytecode node"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index"},{"name":"node","type":"Node","doc":"a introspectable DSL node with at least one specialization"},{"name":"methodName","type":"String","doc":"the Java method name of the specialization to introspect"}],"returns":{"type":"Introspection.SpecializationInfo"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.getSpecializations(Node)","href":"com/oracle/truffle/api/dsl/Introspection.html#getSpecializations(com.oracle.truffle.api.nodes.Node)","name":"getSpecializations","kind":"method","signature":"public static List<Introspection.SpecializationInfo> getSpecializations(Node node)","summary":"Returns introspection information for all declared specializations as unmodifiable list.","details":"A given node must declare at least one specialization and must be annotated with Introspectable otherwise an IllegalArgumentException is thrown. The returned introspection information is not updated when the state of the given operation node is updated. The implementation of this method might be slow, do not use it in performance critical code. For a node was inlined use getSpecialization(Node, Node, String).","params":[{"name":"node","type":"Node","doc":"a introspectable DSL operation with at least one specialization"}],"returns":{"type":"List<Introspection.SpecializationInfo>"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.getSpecializations(Node, Node)","href":"com/oracle/truffle/api/dsl/Introspection.html#getSpecializations(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node)","name":"getSpecializations","kind":"method","signature":"public static List<Introspection.SpecializationInfo> getSpecializations(Node inlineParent, Node node)","summary":"Like getSpecializations(Node) but must be used for nodes that were inlined.","params":[{"name":"inlineParent","type":"Node","doc":"the inlined parent node."},{"name":"node","type":"Node","doc":"a introspectable DSL operation with at least one specialization"}],"returns":{"type":"List<Introspection.SpecializationInfo>"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.getSpecializations(Node, int, Node)","href":"com/oracle/truffle/api/dsl/Introspection.html#getSpecializations(com.oracle.truffle.api.nodes.Node,int,com.oracle.truffle.api.nodes.Node)","name":"getSpecializations","kind":"method","signature":"public static List<Introspection.SpecializationInfo> getSpecializations(Node bytecodeNode, int bytecodeIndex, Node node)","summary":"Like getSpecializations(Node) but must be used for nodes that were used as part of a bytecode interpreter.","params":[{"name":"bytecodeNode","type":"Node","doc":"the bytecode node"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index"},{"name":"node","type":"Node","doc":"a introspectable DSL node with at least one specialization"}],"returns":{"type":"List<Introspection.SpecializationInfo>"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.Provider","href":"com/oracle/truffle/api/dsl/Introspection.Provider.html","name":"Introspection.Provider","kind":"interface","signature":"public interface Introspection.Provider","summary":"Internal marker interface for DSL generated code to access reflection information.","details":"A DSL user must not refer to this type manually."}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.Provider.getIntrospectionData()","href":"com/oracle/truffle/api/dsl/Introspection.Provider.html#getIntrospectionData()","name":"getIntrospectionData","kind":"method","signature":"default Introspection getIntrospectionData()","summary":"Returns internal reflection data in undefined format.","details":"A DSL user must not call this method.","returns":{"type":"Introspection"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.Provider.getIntrospectionData(Node)","href":"com/oracle/truffle/api/dsl/Introspection.Provider.html#getIntrospectionData(com.oracle.truffle.api.nodes.Node)","name":"getIntrospectionData","kind":"method","signature":"default Introspection getIntrospectionData(Node inlinedParent)","summary":"Returns internal reflection data in undefined format.","details":"A DSL user must not call this method.","params":[{"name":"inlinedParent","type":"Node"}],"returns":{"type":"Introspection"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.Provider.getIntrospectionData(Node, int)","href":"com/oracle/truffle/api/dsl/Introspection.Provider.html#getIntrospectionData(com.oracle.truffle.api.nodes.Node,int)","name":"getIntrospectionData","kind":"method","signature":"default Introspection getIntrospectionData(Node bytecodeNode, int bytecodeIndex)","summary":"Returns internal reflection data in undefined format.","details":"A DSL user must not call this method.","params":[{"name":"bytecodeNode","type":"Node"},{"name":"bytecodeIndex","type":"int"}],"returns":{"type":"Introspection"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.Provider.create(Object...)","href":"com/oracle/truffle/api/dsl/Introspection.Provider.html#create(java.lang.Object...)","name":"create","kind":"method","signature":"static Introspection create(Object... data)","summary":"Factory method to create Node introspection data.","details":"The factory is used to create Introspection data to be returned from the getIntrospectionData() method. The format of the data parameters is internal, thus this method shall only be used by the nodes generated by the DSL processor. A DSL user must not call this method.","params":[{"name":"data","type":"Object...","doc":"introspection data in an internal format"}],"returns":{"type":"Introspection","doc":"wrapped data to be used by Introspection.getSpecializations(com.oracle.truffle.api.nodes.Node) and similar methods"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html","name":"Introspection.SpecializationInfo","kind":"class","signature":"public static final class Introspection.SpecializationInfo","summary":"Represents dynamic introspection information of a specialization of a DSL operation."}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo.getMethodName()","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html#getMethodName()","name":"getMethodName","kind":"method","signature":"public String getMethodName()","summary":"Returns the method name of the introspected specialization.","details":"Please note that the returned method name might not be unique for a given node.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo.isActive()","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html#isActive()","name":"isActive","kind":"method","signature":"public boolean isActive()","summary":"Returns true if the specialization was active at the time when the introspection was performed.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo.isExcluded()","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html#isExcluded()","name":"isExcluded","kind":"method","signature":"public boolean isExcluded()","summary":"Returns true if the specialization was excluded at the time when the introspection was performed.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo.getInstances()","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html#getInstances()","name":"getInstances","kind":"method","signature":"public int getInstances()","summary":"Returns the number of dynamic specialization instances that are active for this specialization.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo.getCachedData(int)","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html#getCachedData(int)","name":"getCachedData","kind":"method","signature":"public List<Object> getCachedData(int instanceIndex)","summary":"Returns the cached state for a given specialization instance.","details":"The provided instance index must be greater or equal 0 and smaller getInstances(). The returned list is unmodifiable and never null.","params":[{"name":"instanceIndex","type":"int"}],"returns":{"type":"List<Object>"}}
{"symbol":"com.oracle.truffle.api.dsl.Introspection.SpecializationInfo.toString()","href":"com/oracle/truffle/api/dsl/Introspection.SpecializationInfo.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.dsl.NeverDefault","href":"com/oracle/truffle/api/dsl/NeverDefault.html","name":"NeverDefault","kind":"annotation","signature":"public @interface NeverDefault","summary":"Useful to annotate methods, fields or parameters bound by any DSL expression to indicate that it never returns a null or default primitive value.","details":"This may in some case be preferential to specifying Cached.neverDefault() for each cache expression. The DSL emits a warnings when the usage of this method is recommended."}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild","href":"com/oracle/truffle/api/dsl/NodeChild.html","name":"NodeChild","kind":"annotation","signature":"public @interface NodeChild","summary":"A NodeChild element defines an executable child for the enclosing Node.","details":"A Node contains multiple NodeChildren specified in linear execution order."}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.value()","href":"com/oracle/truffle/api/dsl/NodeChild.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.type()","href":"com/oracle/truffle/api/dsl/NodeChild.html#type()","name":"type","kind":"annotationElement","signature":"Class<?> type() default com.oracle.truffle.api.nodes.Node.class","returns":{"type":"Class<?>"},"defaultValue":"com.oracle.truffle.api.nodes.Node.class"}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.executeWith()","href":"com/oracle/truffle/api/dsl/NodeChild.html#executeWith()","name":"executeWith","kind":"annotationElement","signature":"String[] executeWith() default {}","summary":"The executeWith() property allows a node to pass the result of one child's executable as an input to another child's executable.","details":"These referenced children must be defined before the current node in the execution order. The current node type() attribute must be set to a Node which supports the evaluated execution with the number of executeWith() arguments that are defined. For example if this child is executed with one argument, the type() attribute must define a node which publicly declares a method with the signature Object execute*(VirtualFrame, Object).","returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.implicit()","href":"com/oracle/truffle/api/dsl/NodeChild.html#implicit()","name":"implicit","kind":"annotationElement","signature":"boolean implicit() default false","summary":"Allows implicit creation of this child node.","details":"If this property is false (the default), the factory method of the parent node needs to be called with an instance of the child node as argument. If implicit is true, the child node will be implicitly created when calling the factory method of the parent node.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.implicitCreate()","href":"com/oracle/truffle/api/dsl/NodeChild.html#implicitCreate()","name":"implicitCreate","kind":"annotationElement","signature":"String implicitCreate() default \"create()\"","summary":"Defines the initializer expression for implicit child node creation.","details":"Specifying this property will enable implicit() mode on this child node automatically, this should not be specified together with implicit(). If implicit() is true, the initializer expression defaults to \"create()\".","returns":{"type":"String"},"defaultValue":"\"create()\""}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.allowUncached()","href":"com/oracle/truffle/api/dsl/NodeChild.html#allowUncached()","name":"allowUncached","kind":"annotationElement","signature":"boolean allowUncached() default false","summary":"Allow this child node to be used in uncached mode.","details":"If set to false (the default), only execute methods that have an explicit argument for the child value can be used on the uncached version of the parent node. If set to true, execute methods that do not have an explicit argument for the child value use an uncached version of the child node to compute the missing value.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.NodeChild.uncached()","href":"com/oracle/truffle/api/dsl/NodeChild.html#uncached()","name":"uncached","kind":"annotationElement","signature":"String uncached() default \"getUncached()\"","summary":"Defines the expression to get an uncached instance of the child node.","details":"Specifying this property will implicitly enable allowUncached() on this child node, this should not be specified together with allowUncached(). If allowUncached() is true, the uncached expression defaults to \"getUncached()\".","returns":{"type":"String"},"defaultValue":"\"getUncached()\""}
{"symbol":"com.oracle.truffle.api.dsl.NodeChildren","href":"com/oracle/truffle/api/dsl/NodeChildren.html","name":"NodeChildren","kind":"annotation","signature":"public @interface NodeChildren"}
{"symbol":"com.oracle.truffle.api.dsl.NodeChildren.value()","href":"com/oracle/truffle/api/dsl/NodeChildren.html#value()","name":"value","kind":"annotationElement","signature":"NodeChild[] value() default {}","returns":{"type":"NodeChild[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.NodeFactory","href":"com/oracle/truffle/api/dsl/NodeFactory.html","name":"NodeFactory","kind":"interface","signature":"public interface NodeFactory<T>","summary":"Enables the dynamic creation of generated nodes.","details":"It provides an convenient way to instantiate generated node classes without using reflection."}
{"symbol":"com.oracle.truffle.api.dsl.NodeFactory.createNode(Object...)","href":"com/oracle/truffle/api/dsl/NodeFactory.html#createNode(java.lang.Object...)","name":"createNode","kind":"method","signature":"T createNode(Object... arguments)","summary":"Instantiates the node using the arguments array.","details":"The arguments length and types must suffice one of the returned signatures in getNodeSignatures(). If the arguments array does not suffice one of the node signatures an IllegalArgumentException is thrown.","params":[{"name":"arguments","type":"Object...","doc":"the argument values"}],"returns":{"type":"T","doc":"the instantiated node"},"throws":[{"type":"IllegalArgumentException"}]}
{"symbol":"com.oracle.truffle.api.dsl.NodeFactory.getNodeClass()","href":"com/oracle/truffle/api/dsl/NodeFactory.html#getNodeClass()","name":"getNodeClass","kind":"method","signature":"Class<T> getNodeClass()","summary":"Returns the node class that will get created by createNode(Object...).","details":"The node class does not match exactly to the instantiated object but they are guaranteed to be assignable.","returns":{"type":"Class<T>"}}
{"symbol":"com.oracle.truffle.api.dsl.NodeFactory.getNodeSignatures()","href":"com/oracle/truffle/api/dsl/NodeFactory.html#getNodeSignatures()","name":"getNodeSignatures","kind":"method","signature":"List<List<Class<?>>> getNodeSignatures()","summary":"Returns a list of signatures that can be used to invoke createNode(Object...).","returns":{"type":"List<List<Class<?>>>"}}
{"symbol":"com.oracle.truffle.api.dsl.NodeFactory.getExecutionSignature()","href":"com/oracle/truffle/api/dsl/NodeFactory.html#getExecutionSignature()","name":"getExecutionSignature","kind":"method","signature":"List<Class<? extends Node>> getExecutionSignature()","summary":"Returns a list of children that will be executed by the created node.","details":"This is useful for base nodes that can execute a variable amount of nodes.","returns":{"type":"List<Class<? extends Node>>"}}
{"symbol":"com.oracle.truffle.api.dsl.NodeFactory.getUncachedInstance()","href":"com/oracle/truffle/api/dsl/NodeFactory.html#getUncachedInstance()","name":"getUncachedInstance","kind":"method","signature":"default T getUncachedInstance()","summary":"Returns the uncached version of this node or null if GenerateUncached was not applied to the node.","returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.dsl.NodeField","href":"com/oracle/truffle/api/dsl/NodeField.html","name":"NodeField","kind":"annotation","signature":"public @interface NodeField","summary":"A NodeField element defines a field for the generated Node.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.NodeField.name()","href":"com/oracle/truffle/api/dsl/NodeField.html#name()","name":"name","kind":"annotationElement","signature":"String name()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.dsl.NodeField.type()","href":"com/oracle/truffle/api/dsl/NodeField.html#type()","name":"type","kind":"annotationElement","signature":"Class<?> type()","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.NodeFields","href":"com/oracle/truffle/api/dsl/NodeFields.html","name":"NodeFields","kind":"annotation","signature":"public @interface NodeFields","summary":"A NodeFields element defines a field for the generated Node.","details":"A Node contains multiple NodeFields specified in linear declaration order. The field can be accessed by declaring an abstract getter named \"get\" + firstLetterUpperCase(value())()."}
{"symbol":"com.oracle.truffle.api.dsl.NodeFields.value()","href":"com/oracle/truffle/api/dsl/NodeFields.html#value()","name":"value","kind":"annotationElement","signature":"NodeField[] value() default {}","returns":{"type":"NodeField[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.NonIdempotent","href":"com/oracle/truffle/api/dsl/NonIdempotent.html","name":"NonIdempotent","kind":"annotation","signature":"public @interface NonIdempotent","summary":"Methods annotated with NonIdempotent must be methods that may cause side effects but may not always cause the same side effects for repeated invocations with the same parameters.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.ReportPolymorphism","href":"com/oracle/truffle/api/dsl/ReportPolymorphism.html","name":"ReportPolymorphism","kind":"annotation","signature":"public @interface ReportPolymorphism","summary":"Enables reporting of polymorphic specializations from this node or exported message to the runtime.","details":"Polymorphic specializations include, but are not limited to, activating another specialization, increasing the number of instances of an active specialization, excluding a specialization, etc. Additional information on the effect of ReportPolymorphism can be found in ReportingPolymorphism.md."}
{"symbol":"com.oracle.truffle.api.dsl.ReportPolymorphism.Exclude","href":"com/oracle/truffle/api/dsl/ReportPolymorphism.Exclude.html","name":"ReportPolymorphism.Exclude","kind":"annotation","signature":"public @interface ReportPolymorphism.Exclude","summary":"Nodes (and their subclasses) or specializations annotated with this annotation will be excluded from consideration when reporting polymorphic specializations.","details":"Individual specializations can be excluded from this consideration by using the ReportPolymorphism.Exclude Polymorphic specializations are never reported on the first specialization."}
{"symbol":"com.oracle.truffle.api.dsl.ReportPolymorphism.Megamorphic","href":"com/oracle/truffle/api/dsl/ReportPolymorphism.Megamorphic.html","name":"ReportPolymorphism.Megamorphic","kind":"annotation","signature":"public @interface ReportPolymorphism.Megamorphic","summary":"Specializations annotated with this annotation are considered megamorphic.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Specialization","href":"com/oracle/truffle/api/dsl/Specialization.html","name":"Specialization","kind":"annotation","signature":"public @interface Specialization","summary":"Defines a method of a node subclass to represent one specialization of an operation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.insertBefore()","href":"com/oracle/truffle/api/dsl/Specialization.html#insertBefore()","name":"insertBefore","kind":"annotationElement","signature":"String insertBefore() default \"\"","summary":"References a specialization of a super class by its method name where this specialization is inserted before.","details":"The declaration order of a specialization is not usable for nodes where specializations are partly declared in the super class and partly declared in a derived class. By default all specializations declared in the derived class are appended to those in the super class. This attribute can be used to override the default behavior.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.rewriteOn()","href":"com/oracle/truffle/api/dsl/Specialization.html#rewriteOn()","name":"rewriteOn","kind":"annotationElement","signature":"Class<? extends Throwable>[] rewriteOn() default {}","summary":"Declares an event guards that trigger re-specialization in case an exception is thrown in the specialization body.","detailsOmitted":true,"returns":{"type":"Class<? extends Throwable>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.replaces()","href":"com/oracle/truffle/api/dsl/Specialization.html#replaces()","name":"replaces","kind":"annotationElement","signature":"String[] replaces() default {}","summary":"Declares other specializations of the same operation to be replaced by this specialization.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.guards()","href":"com/oracle/truffle/api/dsl/Specialization.html#guards()","name":"guards","kind":"annotationElement","signature":"String[] guards() default {}","summary":"Declares boolean expressions that define whether or not input values are applicable to this specialization instance.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.assumptions()","href":"com/oracle/truffle/api/dsl/Specialization.html#assumptions()","name":"assumptions","kind":"annotationElement","signature":"String[] assumptions() default {}","summary":"Declares assumption guards that optimistically assume that the state of an Assumption remains valid.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.limit()","href":"com/oracle/truffle/api/dsl/Specialization.html#limit()","name":"limit","kind":"annotationElement","signature":"String limit() default \"\"","summary":"Declares the expression that limits the number of specialization instantiations.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.unroll()","href":"com/oracle/truffle/api/dsl/Specialization.html#unroll()","name":"unroll","kind":"annotationElement","signature":"int unroll() default 0","summary":"Instructs the specialization to unroll a specialization with multiple instances.","detailsOmitted":true,"returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.dsl.Specialization.excludeForUncached()","href":"com/oracle/truffle/api/dsl/Specialization.html#excludeForUncached()","name":"excludeForUncached","kind":"annotationElement","signature":"boolean excludeForUncached() default false","summary":"Excludes this specialization from use with GenerateUncached.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html","name":"SpecializationStatistics","kind":"class","signature":"public final class SpecializationStatistics","summary":"Represents a specialization statistics utiltiy that can be entered to collect additional statistics about Truffle DSL nodes.","details":"In order for the statistics to be useful the nodes need to be regenerated using the -Atruffle.dsl.GenerateSpecializationStatistics=true flag or using the AlwaysEnabled annotation. The easiest way to use this utility is to enable the --engine.SpecializationStatistics polyglot option. This should print the histogram when the engine is closed. See also the usage tutorial on the website."}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.hasData()","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html#hasData()","name":"hasData","kind":"method","signature":"public boolean hasData()","summary":"Returns true if the statistics did collect any data, else false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.printHistogram(PrintWriter)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html#printHistogram(java.io.PrintWriter)","name":"printHistogram","kind":"method","signature":"public void printHistogram(PrintWriter writer)","summary":"Prints the specialization histogram to the provided writer.","details":"Does not print anything if no data was collected.","params":[{"name":"writer","type":"PrintWriter"}]}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.printHistogram(PrintStream)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html#printHistogram(java.io.PrintStream)","name":"printHistogram","kind":"method","signature":"public void printHistogram(PrintStream stream)","summary":"Prints the specialization histogram to the provided stream.","details":"Does not print anything if no data was collected.","params":[{"name":"stream","type":"PrintStream"}]}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.create()","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html#create()","name":"create","kind":"method","signature":"public static SpecializationStatistics create()","summary":"Creates a new specialization statistics instance.","details":"Note specialization statistics need to be entered to collect data on a thread.","returns":{"type":"SpecializationStatistics"}}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.enter()","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html#enter()","name":"enter","kind":"method","signature":"public SpecializationStatistics enter()","summary":"Enters this specialization instance object on the current thread.","details":"After entering a specialization statistics instance will gather statistics for all nodes with specializations that were created on this entered thread. Multiple threads may be entered at the same time. The caller must make sure to leave(SpecializationStatistics) the current statistics after entering in all cases.","returns":{"type":"SpecializationStatistics"}}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.leave(SpecializationStatistics)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.html#leave(com.oracle.truffle.api.dsl.SpecializationStatistics)","name":"leave","kind":"method","signature":"public void leave(SpecializationStatistics prev)","summary":"Leaves the currently entered entered statistics.","details":"It is required to leave a statistics block after it was entered. It is recommended to use a finally block for this purpose.","params":[{"name":"prev","type":"SpecializationStatistics"}]}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.AlwaysEnabled","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.AlwaysEnabled.html","name":"SpecializationStatistics.AlwaysEnabled","kind":"annotation","signature":"public @interface SpecializationStatistics.AlwaysEnabled","summary":"Used on nodes to always enable specialization statistics.","details":"The Truffle DSL processor will not generate statistics code unless the -J-Dtruffle.dsl.GenerateSpecializationStatistics=true javac system property is set. This annotation can be used to annotate node types that want to force enable the statistics independent of the system property. This annotation is inherited by sub classes."}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.NodeStatistics.html","name":"SpecializationStatistics.NodeStatistics","kind":"class","signature":"public abstract static class SpecializationStatistics.NodeStatistics","summary":"Class to collect statistics information per node.","details":"This class is intended to be used by Truffle DSL generated code only. Do not use directly."}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics.acceptExecute(int, Class)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.NodeStatistics.html#acceptExecute(int,java.lang.Class)","name":"acceptExecute","kind":"method","signature":"public abstract void acceptExecute(int specializationIndex, Class<?> arg0)","summary":"Called when a node specialization was executed.","details":"This method is intended to be used by Truffle DSL generated code only. Do not use directly.","params":[{"name":"specializationIndex","type":"int"},{"name":"arg0","type":"Class<?>"}]}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics.acceptExecute(int, Class, Class)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.NodeStatistics.html#acceptExecute(int,java.lang.Class,java.lang.Class)","name":"acceptExecute","kind":"method","signature":"public abstract void acceptExecute(int specializationIndex, Class<?> arg0, Class<?> arg1)","summary":"Called when a node specialization was executed.","details":"This method is intended to be used by Truffle DSL generated code only. Do not use directly.","params":[{"name":"specializationIndex","type":"int"},{"name":"arg0","type":"Class<?>"},{"name":"arg1","type":"Class<?>"}]}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics.acceptExecute(int, Class...)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.NodeStatistics.html#acceptExecute(int,java.lang.Class...)","name":"acceptExecute","kind":"method","signature":"public abstract void acceptExecute(int specializationIndex, Class<?>... args)","summary":"Called when a node specialization was executed.","details":"This method is intended to be used by Truffle DSL generated code only. Do not use directly.","params":[{"name":"specializationIndex","type":"int"},{"name":"args","type":"Class<?>..."}]}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics.resolveValueClass(Object)","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.NodeStatistics.html#resolveValueClass(java.lang.Object)","name":"resolveValueClass","kind":"method","signature":"public abstract Class<?> resolveValueClass(Object value)","summary":"Called to resolve the class of a value provided in acceptExecute(int, Class).","details":"This method is intended to be used by Truffle DSL generated code only. Do not use directly.","params":[{"name":"value","type":"Object"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.SpecializationStatistics.NodeStatistics.create(Node, String[])","href":"com/oracle/truffle/api/dsl/SpecializationStatistics.NodeStatistics.html#create(com.oracle.truffle.api.nodes.Node,java.lang.String[])","name":"create","kind":"method","signature":"public static SpecializationStatistics.NodeStatistics create(Node node, String[] specializations)","summary":"Called when a new node statistics object is created.","details":"This method is intended to be used by Truffle DSL generated code only. Do not use directly.","params":[{"name":"node","type":"Node"},{"name":"specializations","type":"String[]"}],"returns":{"type":"SpecializationStatistics.NodeStatistics"}}
{"symbol":"com.oracle.truffle.api.dsl.SuppressPackageWarnings","href":"com/oracle/truffle/api/dsl/SuppressPackageWarnings.html","name":"SuppressPackageWarnings","kind":"annotation","signature":"public @interface SuppressPackageWarnings","summary":"Use to suppress Truffle DSL warnings in whole packages using a package-info.java class.","details":"For regular Java elements use SuppressWarnings. https://github.com/oracle/graal/blob/master/truffle/docs/DSLWarnings.md"}
{"symbol":"com.oracle.truffle.api.dsl.SuppressPackageWarnings.value()","href":"com/oracle/truffle/api/dsl/SuppressPackageWarnings.html#value()","name":"value","kind":"annotationElement","signature":"String[] value()","returns":{"type":"String[]"}}
{"symbol":"com.oracle.truffle.api.dsl.TypeCast","href":"com/oracle/truffle/api/dsl/TypeCast.html","name":"TypeCast","kind":"annotation","signature":"public @interface TypeCast","summary":"Overrides the standard way of casting a certain type in a TypeSystem.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.TypeCast.value()","href":"com/oracle/truffle/api/dsl/TypeCast.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.TypeCheck","href":"com/oracle/truffle/api/dsl/TypeCheck.html","name":"TypeCheck","kind":"annotation","signature":"public @interface TypeCheck","summary":"Overrides the standard way of checking for a certain type in a TypeSystem.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.TypeCheck.value()","href":"com/oracle/truffle/api/dsl/TypeCheck.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.TypeSystem","href":"com/oracle/truffle/api/dsl/TypeSystem.html","name":"TypeSystem","kind":"annotation","signature":"public @interface TypeSystem","summary":"Type guards are the most common form of guards used in Truffle languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.dsl.TypeSystem.value()","href":"com/oracle/truffle/api/dsl/TypeSystem.html#value()","name":"value","kind":"annotationElement","signature":"Class<?>[] value() default {}","summary":"The list of types as child elements of the TypeSystem.","details":"Each precedes its super type.","returns":{"type":"Class<?>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.dsl.TypeSystemReference","href":"com/oracle/truffle/api/dsl/TypeSystemReference.html","name":"TypeSystemReference","kind":"annotation","signature":"public @interface TypeSystemReference","summary":"References a TypeSystem on a node.","details":"Must be applied on a Node class. At least one TypeSystem must be referenced in a Node's type hierarchy."}
{"symbol":"com.oracle.truffle.api.dsl.TypeSystemReference.value()","href":"com/oracle/truffle/api/dsl/TypeSystemReference.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","summary":"The TypeSystem java type.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.dsl.UnsupportedSpecializationException","href":"com/oracle/truffle/api/dsl/UnsupportedSpecializationException.html","name":"UnsupportedSpecializationException","kind":"class","signature":"public final class UnsupportedSpecializationException extends RuntimeException","summary":"Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for the provided values."}
{"symbol":"com.oracle.truffle.api.dsl.UnsupportedSpecializationException(Node, Node[], Object...)","href":"com/oracle/truffle/api/dsl/UnsupportedSpecializationException.html#%3Cinit%3E(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node[],java.lang.Object...)","name":"UnsupportedSpecializationException","kind":"constructor","signature":"public UnsupportedSpecializationException(Node node, Node[] suppliedNodes, Object... suppliedValues)","summary":"Constructs a new UnsupportedSpecializationException.","params":[{"name":"node","type":"Node","doc":"The node that does not support the provided values in any of its specializations. May be null."},{"name":"suppliedNodes","type":"Node[]","doc":"The evaluated nodes that supplied the values. The array must much the length of suppliedValues, and may contain null elements for values not not provided by a child node but through an execute method parameter. If the array would consist of only nulls, as in the case of uncached and inlined nodes, null may be provided instead and will be treated as an array of nulls of the expected length."},{"name":"suppliedValues","type":"Object...","doc":"The values for which no compatible specialization could be found. The array reference must not be null."}]}
{"symbol":"com.oracle.truffle.api.dsl.UnsupportedSpecializationException.getMessage()","href":"com/oracle/truffle/api/dsl/UnsupportedSpecializationException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.dsl.UnsupportedSpecializationException.getNode()","href":"com/oracle/truffle/api/dsl/UnsupportedSpecializationException.html#getNode()","name":"getNode","kind":"method","signature":"public Node getNode()","summary":"Returns the Node that caused the this UnsupportedSpecializationException.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.dsl.UnsupportedSpecializationException.getSuppliedNodes()","href":"com/oracle/truffle/api/dsl/UnsupportedSpecializationException.html#getSuppliedNodes()","name":"getSuppliedNodes","kind":"method","signature":"public Node[] getSuppliedNodes()","summary":"Returns the children of the Node returned by getNode() which produced the values returned by getSuppliedValues().","details":"The array returned by getSuppliedNodes() has the same length as the array returned by getSuppliedValues(). Never returns null.","returns":{"type":"Node[]"}}
{"symbol":"com.oracle.truffle.api.dsl.UnsupportedSpecializationException.getSuppliedValues()","href":"com/oracle/truffle/api/dsl/UnsupportedSpecializationException.html#getSuppliedValues()","name":"getSuppliedValues","kind":"method","signature":"public Object[] getSuppliedValues()","summary":"Returns the dynamic values that were supplied to the node.The array returned by getSuppliedNodes() has the same length as the array returned by getSuppliedValues().","details":"Never returns null.","returns":{"type":"Object[]"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html","name":"AbstractTruffleException","kind":"class","signature":"public abstract class AbstractTruffleException extends RuntimeException implements TruffleObject","summary":"A base class for an exception thrown during the execution of a guest language program. The following snippet shows the guest language exception implementation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.UNLIMITED_STACK_TRACE","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#UNLIMITED_STACK_TRACE","name":"UNLIMITED_STACK_TRACE","kind":"field","signature":"public static final int UNLIMITED_STACK_TRACE","summary":"The constant for an unlimited stack trace element limit.","value":"-1"}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E()","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException()","summary":"Creates a new AbstractTruffleException."}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException(Node)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E(com.oracle.truffle.api.nodes.Node)","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException(Node location)","summary":"Creates a new AbstractTruffleException with given location.","params":[{"name":"location","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException(String)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E(java.lang.String)","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException(String message)","summary":"Creates a new AbstractTruffleException with given message.","params":[{"name":"message","type":"String"}]}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException(String, Node)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E(java.lang.String,com.oracle.truffle.api.nodes.Node)","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException(String message, Node location)","summary":"Creates a new AbstractTruffleException with given message and location.","params":[{"name":"message","type":"String"},{"name":"location","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException(AbstractTruffleException)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E(com.oracle.truffle.api.exception.AbstractTruffleException)","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException(AbstractTruffleException prototype)","summary":"Copies the prototype's message, cause, stack trace limit, location, BCI, suppressed exceptions, and Truffle stack trace.","params":[{"name":"prototype","type":"AbstractTruffleException","doc":"the exception to copy"}]}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException(String, Throwable, int, Node)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E(java.lang.String,java.lang.Throwable,int,com.oracle.truffle.api.nodes.Node)","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException(String message, Throwable cause, int stackTraceElementLimit, Node location)","summary":"Creates a new AbstractTruffleException.","params":[{"name":"message","type":"String","doc":"the exception message or null"},{"name":"cause","type":"Throwable","doc":"an internal or AbstractTruffleException causing this exception or null. If internal errors are passed as cause, they are not accessible by other languages or the embedder. In other words, InteropLibrary.getExceptionCause(Object) or PolyglotException.getCause() will return null for internal errors."},{"name":"stackTraceElementLimit","type":"int","doc":"a stack trace limit. Use UNLIMITED_STACK_TRACE for unlimited stack trace length."},{"name":"location","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException(String, Throwable, int, Node, int)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#%3Cinit%3E(java.lang.String,java.lang.Throwable,int,com.oracle.truffle.api.nodes.Node,int)","name":"AbstractTruffleException","kind":"constructor","signature":"protected AbstractTruffleException(String message, Throwable cause, int stackTraceElementLimit, Node location, int bytecodeIndex)","summary":"Creates a new AbstractTruffleException with an explicit bytecode index for the exception location.","params":[{"name":"message","type":"String","doc":"the exception message or null"},{"name":"cause","type":"Throwable","doc":"the cause or null; internal causes are hidden from interop and the embedder"},{"name":"stackTraceElementLimit","type":"int","doc":"a stack trace limit. Use UNLIMITED_STACK_TRACE for unlimited stack trace length."},{"name":"location","type":"Node","doc":"a location node or null"},{"name":"bytecodeIndex","type":"int","doc":"a bytecode index for location, or -1 if unavailable"}]}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.fillInStackTrace()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public final Throwable fillInStackTrace()","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.getLocation()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#getLocation()","name":"getLocation","kind":"method","signature":"public final Node getLocation()","summary":"Returns a node indicating the location where this exception occurred in the AST.","details":"This method may return null to indicate that the location is not available.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.getBytecodeIndex()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#getBytecodeIndex()","name":"getBytecodeIndex","kind":"method","signature":"public final int getBytecodeIndex()","summary":"Returns the explicit BCI associated with getLocation().","returns":{"type":"int","doc":"the BCI, or a negative value if unavailable"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.getEncapsulatingSourceSection()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#getEncapsulatingSourceSection()","name":"getEncapsulatingSourceSection","kind":"method","signature":"public SourceSection getEncapsulatingSourceSection()","summary":"Returns a source section associated with the exception.","details":"This method may return null to indicate that the source section is not available. Note: This method is expensive as it requires to access the current stack trace to get the to-most source section.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.getStackTraceElementLimit()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#getStackTraceElementLimit()","name":"getStackTraceElementLimit","kind":"method","signature":"public final int getStackTraceElementLimit()","summary":"Returns the number of guest language frames that should be collected for this exception.","details":"Returns a negative integer by default for unlimited guest language frames. This is intended to be used by guest languages to limit the number of guest language stack frames. Languages might want to limit the number of frames for performance reasons. Only frames whose RootNode.countsTowardsStackTraceLimit() method return true count towards the limit.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.getCause()","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#getCause()","name":"getCause","kind":"method","signature":"public final Throwable getCause()","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.exception.AbstractTruffleException.createGuestStackTrace(Throwable)","href":"com/oracle/truffle/api/exception/AbstractTruffleException.html#createGuestStackTrace(java.lang.Throwable)","name":"createGuestStackTrace","kind":"method","signature":"protected final Object createGuestStackTrace(Throwable throwable)","summary":"Creates an interop representation of the stack trace for the given throwable.","details":"The returned object is suitable for use as the result of InteropLibrary.getExceptionStackTrace(Object).","params":[{"name":"throwable","type":"Throwable"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.Frame","href":"com/oracle/truffle/api/frame/Frame.html","name":"Frame","kind":"interface","signature":"public interface Frame","summary":"Represents a frame containing values of local variables of the guest language.","details":"Instances of this type must not be stored in a field or cast to java.lang.Object."}
{"symbol":"com.oracle.truffle.api.frame.Frame.getFrameDescriptor()","href":"com/oracle/truffle/api/frame/Frame.html#getFrameDescriptor()","name":"getFrameDescriptor","kind":"method","signature":"FrameDescriptor getFrameDescriptor()","returns":{"type":"FrameDescriptor","doc":"the object describing the layout of this frame"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.getArguments()","href":"com/oracle/truffle/api/frame/Frame.html#getArguments()","name":"getArguments","kind":"method","signature":"Object[] getArguments()","summary":"Retrieves the arguments object from this frame.","details":"The runtime assumes that the arguments object is never null.","returns":{"type":"Object[]","doc":"the arguments used when calling this method"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.materialize()","href":"com/oracle/truffle/api/frame/Frame.html#materialize()","name":"materialize","kind":"method","signature":"MaterializedFrame materialize()","summary":"Materializes this frame, which allows it to be stored in a field or cast to java.lang.Object.","returns":{"type":"MaterializedFrame","doc":"the new materialized frame"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.getObject(int)","href":"com/oracle/truffle/api/frame/Frame.html#getObject(int)","name":"getObject","kind":"method","signature":"default Object getObject(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type Object.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"Object","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException","doc":"if the current value is not of type object"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectObject(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectObject(int)","name":"expectObject","kind":"method","signature":"default Object expectObject(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type object for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"Object","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type object"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setObject(int, Object)","href":"com/oracle/truffle/api/frame/Frame.html#setObject(int,java.lang.Object)","name":"setObject","kind":"method","signature":"default void setObject(int slot, Object value)","summary":"Write access to a local variable of type Object.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"Object","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getByte(int)","href":"com/oracle/truffle/api/frame/Frame.html#getByte(int)","name":"getByte","kind":"method","signature":"default byte getByte(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type byte.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"byte","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectByte(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectByte(int)","name":"expectByte","kind":"method","signature":"default byte expectByte(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type byte for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"byte","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type byte"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setByte(int, byte)","href":"com/oracle/truffle/api/frame/Frame.html#setByte(int,byte)","name":"setByte","kind":"method","signature":"default void setByte(int slot, byte value)","summary":"Write access to a local variable of type byte.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"byte","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getBoolean(int)","href":"com/oracle/truffle/api/frame/Frame.html#getBoolean(int)","name":"getBoolean","kind":"method","signature":"default boolean getBoolean(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type boolean.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException","doc":"if the current value is not of type boolean"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectBoolean(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectBoolean(int)","name":"expectBoolean","kind":"method","signature":"default boolean expectBoolean(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type boolean for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"boolean","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type boolean"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setBoolean(int, boolean)","href":"com/oracle/truffle/api/frame/Frame.html#setBoolean(int,boolean)","name":"setBoolean","kind":"method","signature":"default void setBoolean(int slot, boolean value)","summary":"Write access to a local variable of type boolean.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"boolean","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getInt(int)","href":"com/oracle/truffle/api/frame/Frame.html#getInt(int)","name":"getInt","kind":"method","signature":"default int getInt(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type int.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"int","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException","doc":"if the current value is not of type int"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectInt(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectInt(int)","name":"expectInt","kind":"method","signature":"default int expectInt(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type int for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"int","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type int"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setInt(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#setInt(int,int)","name":"setInt","kind":"method","signature":"default void setInt(int slot, int value)","summary":"Write access to a local variable of type int.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"int","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getLong(int)","href":"com/oracle/truffle/api/frame/Frame.html#getLong(int)","name":"getLong","kind":"method","signature":"default long getLong(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type long.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"long","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException","doc":"if the current value is not of type long"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectLong(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectLong(int)","name":"expectLong","kind":"method","signature":"default long expectLong(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type long for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"long","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type long"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setLong(int, long)","href":"com/oracle/truffle/api/frame/Frame.html#setLong(int,long)","name":"setLong","kind":"method","signature":"default void setLong(int slot, long value)","summary":"Write access to a local variable of type long.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"long","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getFloat(int)","href":"com/oracle/truffle/api/frame/Frame.html#getFloat(int)","name":"getFloat","kind":"method","signature":"default float getFloat(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type float.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"float","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException","doc":"if the current value is not of type float"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectFloat(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectFloat(int)","name":"expectFloat","kind":"method","signature":"default float expectFloat(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type float for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"float","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type float"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setFloat(int, float)","href":"com/oracle/truffle/api/frame/Frame.html#setFloat(int,float)","name":"setFloat","kind":"method","signature":"default void setFloat(int slot, float value)","summary":"Write access to a local variable of type float.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"float","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getDouble(int)","href":"com/oracle/truffle/api/frame/Frame.html#getDouble(int)","name":"getDouble","kind":"method","signature":"default double getDouble(int slot) throws FrameSlotTypeException","summary":"Read access to a local variable of type double.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"double","doc":"the current value of the local variable"},"throws":[{"type":"FrameSlotTypeException","doc":"if the current value is not of type double"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.expectDouble(int)","href":"com/oracle/truffle/api/frame/Frame.html#expectDouble(int)","name":"expectDouble","kind":"method","signature":"default double expectDouble(int slot) throws UnexpectedResultException","summary":"Read and expects a value of type double for a given slot.","details":"Expect methods are intended to be used to implement speculative behavior where slots are expected to be tagged with a type. If the type changes an UnexpectedResultException will be thrown containing the result of getValue(slot). Clients of this API are then expected to rewrite and no longer use an expect methods for future reads of that slot. Expect methods are particularly useful to implement stack like behavior with a frame.","params":[{"name":"slot","type":"int","doc":"the index of the slot"}],"returns":{"type":"double","doc":"the value of the slot in this frame"},"throws":[{"type":"UnexpectedResultException","doc":"if the current value is not of type double"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.setDouble(int, double)","href":"com/oracle/truffle/api/frame/Frame.html#setDouble(int,double)","name":"setDouble","kind":"method","signature":"default void setDouble(int slot, double value)","summary":"Write access to a local variable of type double.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"double","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getValue(int)","href":"com/oracle/truffle/api/frame/Frame.html#getValue(int)","name":"getValue","kind":"method","signature":"default Object getValue(int slot)","summary":"Read access to a local variable of any type.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"Object","doc":"the current value of the local variable or defaultValue if unset"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.copy(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#copy(int,int)","name":"copy","kind":"method","signature":"default void copy(int srcSlot, int destSlot)","summary":"Copies, including the type, from one slot to another.","params":[{"name":"srcSlot","type":"int","doc":"the slot of the source local variable"},{"name":"destSlot","type":"int","doc":"the slot of the target local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.swap(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#swap(int,int)","name":"swap","kind":"method","signature":"default void swap(int first, int second)","summary":"Swaps, including the type, the contents of two slots.","params":[{"name":"first","type":"int","doc":"the slot of the first local variable"},{"name":"second","type":"int","doc":"the slot of the second local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getTag(int)","href":"com/oracle/truffle/api/frame/Frame.html#getTag(int)","name":"getTag","kind":"method","signature":"default byte getTag(int slot)","summary":"Determines the actual FrameSlotKind of the value in the slot, and returns it as FrameSlotKind.tag.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"byte","doc":"the tag of the value in the slot"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isObject(int)","href":"com/oracle/truffle/api/frame/Frame.html#isObject(int)","name":"isObject","kind":"method","signature":"default boolean isObject(int slot)","summary":"Check whether the given indexed slot is of type object.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isByte(int)","href":"com/oracle/truffle/api/frame/Frame.html#isByte(int)","name":"isByte","kind":"method","signature":"default boolean isByte(int slot)","summary":"Check whether the given indexed slot is of type byte.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isBoolean(int)","href":"com/oracle/truffle/api/frame/Frame.html#isBoolean(int)","name":"isBoolean","kind":"method","signature":"default boolean isBoolean(int slot)","summary":"Check whether the given indexed slot is of type boolean.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isInt(int)","href":"com/oracle/truffle/api/frame/Frame.html#isInt(int)","name":"isInt","kind":"method","signature":"default boolean isInt(int slot)","summary":"Check whether the given indexed slot is of type int.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isLong(int)","href":"com/oracle/truffle/api/frame/Frame.html#isLong(int)","name":"isLong","kind":"method","signature":"default boolean isLong(int slot)","summary":"Check whether the given indexed slot is of type long.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isFloat(int)","href":"com/oracle/truffle/api/frame/Frame.html#isFloat(int)","name":"isFloat","kind":"method","signature":"default boolean isFloat(int slot)","summary":"Check whether the given indexed slot is of type float.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isDouble(int)","href":"com/oracle/truffle/api/frame/Frame.html#isDouble(int)","name":"isDouble","kind":"method","signature":"default boolean isDouble(int slot)","summary":"Check whether the given indexed slot is of type double.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.isStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#isStatic(int)","name":"isStatic","kind":"method","signature":"default boolean isStatic(int slot)","summary":"Checks whether the given indexed slot is static.","details":"This method should not be used with static slots.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.clear(int)","href":"com/oracle/truffle/api/frame/Frame.html#clear(int)","name":"clear","kind":"method","signature":"default void clear(int slot)","summary":"Clears the given indexed slot in the frame.","detailsOmitted":true,"params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getAuxiliarySlot(int)","href":"com/oracle/truffle/api/frame/Frame.html#getAuxiliarySlot(int)","name":"getAuxiliarySlot","kind":"method","signature":"default Object getAuxiliarySlot(int slot)","params":[{"name":"slot","type":"int","doc":"the auxiliary slot index to query"}],"returns":{"type":"Object","doc":"the current value of the auxiliary slot - null if it was never set (not the frame descriptor's default value)"}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setAuxiliarySlot(int, Object)","href":"com/oracle/truffle/api/frame/Frame.html#setAuxiliarySlot(int,java.lang.Object)","name":"setAuxiliarySlot","kind":"method","signature":"default void setAuxiliarySlot(int slot, Object value)","summary":"Sets the value of the given auxiliary slot.","params":[{"name":"slot","type":"int","doc":"the auxiliary slot index"},{"name":"value","type":"Object","doc":"the new value"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getObjectStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getObjectStatic(int)","name":"getObjectStatic","kind":"method","signature":"default Object getObjectStatic(int slot)","summary":"Static read access to a local variable of type Object.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot is of type Object.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"Object","doc":"the current value of the local variable, or null if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setObjectStatic(int, Object)","href":"com/oracle/truffle/api/frame/Frame.html#setObjectStatic(int,java.lang.Object)","name":"setObjectStatic","kind":"method","signature":"default void setObjectStatic(int slot, Object value)","summary":"Static write access to a local variable of type Object.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"Object","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getByteStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getByteStatic(int)","name":"getByteStatic","kind":"method","signature":"default byte getByteStatic(int slot)","summary":"Static read access to a local variable of type byte.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot is of type byte.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"byte","doc":"the current value of the local variable, or 0 if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setByteStatic(int, byte)","href":"com/oracle/truffle/api/frame/Frame.html#setByteStatic(int,byte)","name":"setByteStatic","kind":"method","signature":"default void setByteStatic(int slot, byte value)","summary":"Static write access to a local variable of type byte.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"byte","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getBooleanStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getBooleanStatic(int)","name":"getBooleanStatic","kind":"method","signature":"default boolean getBooleanStatic(int slot)","summary":"Static read access to a local variable of type boolean.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot is of type boolean.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"boolean","doc":"the current value of the local variable, or false if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setBooleanStatic(int, boolean)","href":"com/oracle/truffle/api/frame/Frame.html#setBooleanStatic(int,boolean)","name":"setBooleanStatic","kind":"method","signature":"default void setBooleanStatic(int slot, boolean value)","summary":"Static write access to a local variable of type boolean.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"boolean","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getIntStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getIntStatic(int)","name":"getIntStatic","kind":"method","signature":"default int getIntStatic(int slot)","summary":"Static read access to a local variable of type int.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot can is of type int.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"int","doc":"the current value of the local variable, or 0 if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setIntStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#setIntStatic(int,int)","name":"setIntStatic","kind":"method","signature":"default void setIntStatic(int slot, int value)","summary":"Static write access to a local variable of type int.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"int","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getLongStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getLongStatic(int)","name":"getLongStatic","kind":"method","signature":"default long getLongStatic(int slot)","summary":"Static read access to a local variable of type long.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot is of type long.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"long","doc":"the current value of the local variable, or 0 if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setLongStatic(int, long)","href":"com/oracle/truffle/api/frame/Frame.html#setLongStatic(int,long)","name":"setLongStatic","kind":"method","signature":"default void setLongStatic(int slot, long value)","summary":"Static write access to a local variable of type long.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"long","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getFloatStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getFloatStatic(int)","name":"getFloatStatic","kind":"method","signature":"default float getFloatStatic(int slot)","summary":"Static read access to a local variable of type float.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot is of type float.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"float","doc":"the current value of the local variable, or 0 if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setFloatStatic(int, float)","href":"com/oracle/truffle/api/frame/Frame.html#setFloatStatic(int,float)","name":"setFloatStatic","kind":"method","signature":"default void setFloatStatic(int slot, float value)","summary":"Static write access to a local variable of type float.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"float","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.getDoubleStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#getDoubleStatic(int)","name":"getDoubleStatic","kind":"method","signature":"default double getDoubleStatic(int slot)","summary":"Static read access to a local variable of type double.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable in the given slot is of type double.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}],"returns":{"type":"double","doc":"the current value of the local variable, or 0 if slot is uninitialized."}}
{"symbol":"com.oracle.truffle.api.frame.Frame.setDoubleStatic(int, double)","href":"com/oracle/truffle/api/frame/Frame.html#setDoubleStatic(int,double)","name":"setDoubleStatic","kind":"method","signature":"default void setDoubleStatic(int slot, double value)","summary":"Static write access to a local variable of type double.","details":"Requires the given slot to use FrameSlotKind.Static. Since this method does not update the internal slot type, language implementations have to track this information.","params":[{"name":"slot","type":"int","doc":"the slot of the local variable"},{"name":"value","type":"double","doc":"the new value of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.copyPrimitiveStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#copyPrimitiveStatic(int,int)","name":"copyPrimitiveStatic","kind":"method","signature":"default void copyPrimitiveStatic(int srcSlot, int destSlot)","summary":"Copies a primitive value from one slot to another.","details":"Requires both slots to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable at the source slot is a primitive value.","params":[{"name":"srcSlot","type":"int","doc":"the slot of the source local variable"},{"name":"destSlot","type":"int","doc":"the slot of the target local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.copyObjectStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#copyObjectStatic(int,int)","name":"copyObjectStatic","kind":"method","signature":"default void copyObjectStatic(int srcSlot, int destSlot)","summary":"Copies an object value from one slot to another.","details":"Requires both slots to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variable at the source slot is an Object.","params":[{"name":"srcSlot","type":"int","doc":"the slot of the source local variable"},{"name":"destSlot","type":"int","doc":"the slot of the target local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.copyStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#copyStatic(int,int)","name":"copyStatic","kind":"method","signature":"default void copyStatic(int srcSlot, int destSlot)","summary":"Copies from one slot to another.","details":"Requires both slots to use FrameSlotKind.Static. In cases where the underlying slot type is known, Frame.copyPrimitiveStatic and Frame.copyObjectStatic should be used for performance reasons.","params":[{"name":"srcSlot","type":"int","doc":"the slot of the source local variable"},{"name":"destSlot","type":"int","doc":"the slot of the target local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.swapPrimitiveStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#swapPrimitiveStatic(int,int)","name":"swapPrimitiveStatic","kind":"method","signature":"default void swapPrimitiveStatic(int first, int second)","summary":"Swaps the primitive values of two slots.","details":"Requires both slots to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variables in both slots are primitive values.","params":[{"name":"first","type":"int","doc":"the slot of the first local variable"},{"name":"second","type":"int","doc":"the slot of the second local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.swapObjectStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#swapObjectStatic(int,int)","name":"swapObjectStatic","kind":"method","signature":"default void swapObjectStatic(int first, int second)","summary":"Swaps the object values of two slots.","details":"Requires both slots to use FrameSlotKind.Static. Since this method does not perform any type checks, language implementations have to guarantee that the variables in both slots are Objects.","params":[{"name":"first","type":"int","doc":"the slot of the first local variable"},{"name":"second","type":"int","doc":"the slot of the second local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.swapStatic(int, int)","href":"com/oracle/truffle/api/frame/Frame.html#swapStatic(int,int)","name":"swapStatic","kind":"method","signature":"default void swapStatic(int first, int second)","summary":"Swaps the contents of two slots.","details":"Requires both slots to use FrameSlotKind.Static. In cases where the underlying slot type is known, Frame.swapPrimitiveStatic and Frame.swapObjectStatic should be used for performance reasons.","params":[{"name":"first","type":"int","doc":"the slot of the first local variable"},{"name":"second","type":"int","doc":"the slot of the second local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.clearPrimitiveStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#clearPrimitiveStatic(int)","name":"clearPrimitiveStatic","kind":"method","signature":"default void clearPrimitiveStatic(int slot)","summary":"Clears the primitive value at the given slot in the frame.","detailsOmitted":true,"params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.clearObjectStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#clearObjectStatic(int)","name":"clearObjectStatic","kind":"method","signature":"default void clearObjectStatic(int slot)","summary":"Clears the object value at the given slot in the frame.","detailsOmitted":true,"params":[{"name":"slot","type":"int","doc":"the slot of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.clearStatic(int)","href":"com/oracle/truffle/api/frame/Frame.html#clearStatic(int)","name":"clearStatic","kind":"method","signature":"default void clearStatic(int slot)","summary":"Clears the value at the given slot in the frame.","details":"Requires the given slot to use FrameSlotKind.Static. Writing over a previously cleared slot is still allowed. Subsequent reads to the slot, unless re-written to, are not allowed and will fail with an AssertionError if assertions are enabled. In cases where the underlying slot type is known, Frame.clearPrimitiveStatic and Frame.clearObjectStatic should be used for performance reasons.","params":[{"name":"slot","type":"int","doc":"The slot of the local variable"}]}
{"symbol":"com.oracle.truffle.api.frame.Frame.copyTo(int, Frame, int, int)","href":"com/oracle/truffle/api/frame/Frame.html#copyTo(int,com.oracle.truffle.api.frame.Frame,int,int)","name":"copyTo","kind":"method","signature":"default void copyTo(int sourceOffset, Frame destination, int destinationOffset, int length)","summary":"Copies values from this frame to the given frame.","details":"The frames are required to have the same frame descriptors.","params":[{"name":"sourceOffset","type":"int","doc":"the slot of the first local variable"},{"name":"destination","type":"Frame","doc":"the destination frame"},{"name":"destinationOffset","type":"int","doc":"the first slot to copy locals into"},{"name":"length","type":"int","doc":"the number of slots to copy"}],"throws":[{"type":"IllegalArgumentException","doc":"if a frame using a different FrameDescriptor is passed."},{"type":"IndexOutOfBoundsException","doc":"if an invalid offset or length was passed."}]}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor","href":"com/oracle/truffle/api/frame/FrameDescriptor.html","name":"FrameDescriptor","kind":"class","signature":"public final class FrameDescriptor implements Cloneable","summary":"Descriptor of the slots of frame objects.","details":"Multiple frame instances are associated with one such descriptor. The FrameDescriptor is thread-safe."}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#%3Cinit%3E()","name":"FrameDescriptor","kind":"constructor","signature":"public FrameDescriptor()","summary":"Constructs empty descriptor.","details":"The getDefaultValue() is null."}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor(Object)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#%3Cinit%3E(java.lang.Object)","name":"FrameDescriptor","kind":"constructor","signature":"public FrameDescriptor(Object defaultValue)","summary":"Constructs new descriptor with specified getDefaultValue().","params":[{"name":"defaultValue","type":"Object","doc":"to be returned from getDefaultValue()"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.copy()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#copy()","name":"copy","kind":"method","signature":"public FrameDescriptor copy()","summary":"Deeper copy of the descriptor.","details":"Copies all slots in the descriptor, but only their identifier and info but not their kind!","returns":{"type":"FrameDescriptor","doc":"new instance of a descriptor with copies of values from this one"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getDefaultValue()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getDefaultValue()","name":"getDefaultValue","kind":"method","signature":"public Object getDefaultValue()","summary":"Default value for the created slots.","returns":{"type":"Object","doc":"value provided to FrameDescriptor(java.lang.Object)"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.toString()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getNumberOfSlots()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getNumberOfSlots()","name":"getNumberOfSlots","kind":"method","signature":"public int getNumberOfSlots()","returns":{"type":"int","doc":"the number of indexed slots in this frame descriptor"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getSlotKind(int)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getSlotKind(int)","name":"getSlotKind","kind":"method","signature":"public FrameSlotKind getSlotKind(int slot)","summary":"Returns the FrameSlotKind associated with the given indexed slot.","params":[{"name":"slot","type":"int","doc":"index of the slot"}],"returns":{"type":"FrameSlotKind","doc":"a non-null FrameSlotKind"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.setSlotKind(int, FrameSlotKind)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#setSlotKind(int,com.oracle.truffle.api.frame.FrameSlotKind)","name":"setSlotKind","kind":"method","signature":"public void setSlotKind(int slot, FrameSlotKind kind)","summary":"Sets the FrameSlotKind of the given indexed slot.","params":[{"name":"slot","type":"int","doc":"index of the slot"},{"name":"kind","type":"FrameSlotKind","doc":"new non-null FrameSlotKind"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getSlotName(int)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getSlotName(int)","name":"getSlotName","kind":"method","signature":"public Object getSlotName(int slot)","summary":"Queries the name for a given indexed slot.","params":[{"name":"slot","type":"int","doc":"index of the slot"}],"returns":{"type":"Object","doc":"the name of the slot (may be null)"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getSlotInfo(int)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getSlotInfo(int)","name":"getSlotInfo","kind":"method","signature":"public Object getSlotInfo(int slot)","summary":"Queries the info object for a given indexed slot.","params":[{"name":"slot","type":"int","doc":"index of the slot"}],"returns":{"type":"Object","doc":"the info object of the slot (may be null)"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.findOrAddAuxiliarySlot(Object)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#findOrAddAuxiliarySlot(java.lang.Object)","name":"findOrAddAuxiliarySlot","kind":"method","signature":"public int findOrAddAuxiliarySlot(Object key)","summary":"Find or adds an auxiliary slot to this frame descriptor.","details":"Returns an integer index that can be used to access the auxiliary slot in the frame.","params":[{"name":"key","type":"Object","doc":"used as a hash map entry"}],"returns":{"type":"int","doc":"an integer that can be used to access the auxiliary slot in the frame"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.disableAuxiliarySlot(Object)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#disableAuxiliarySlot(java.lang.Object)","name":"disableAuxiliarySlot","kind":"method","signature":"public void disableAuxiliarySlot(Object key)","summary":"Disables the auxiliary slot with the given key, so that subsequently created Frame instances may avoid allocating storage for it.","details":"Depending on the internal storage layout, it may not be possible to remove the storage for individual slots, so it is important to disable _all_ unused slots.","params":[{"name":"key","type":"Object","doc":"the key, as passed to findOrAddAuxiliarySlot(Object)"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getAuxiliarySlots()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getAuxiliarySlots()","name":"getAuxiliarySlots","kind":"method","signature":"public Map<Object, Integer> getAuxiliarySlots()","summary":"Returns all currently active auxiliary slots along with their indexes.","details":"This is a slow operation that returns a data structure that is not backed by the frame descriptor, i.e., which does not reflect changes to the set of active auxiliary slots in either direction.","returns":{"type":"Map<Object, Integer>"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getNumberOfAuxiliarySlots()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getNumberOfAuxiliarySlots()","name":"getNumberOfAuxiliarySlots","kind":"method","signature":"public int getNumberOfAuxiliarySlots()","returns":{"type":"int","doc":"the current number of auxiliary slots in this frame descriptor"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.getInfo()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#getInfo()","name":"getInfo","kind":"method","signature":"public Object getInfo()","returns":{"type":"Object","doc":"the user-defined info object associated with this frame descriptor"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.newBuilder()","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static FrameDescriptor.Builder newBuilder()","summary":"Builds a new frame descriptor with index-based frame slots.","returns":{"type":"FrameDescriptor.Builder"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.newBuilder(int)","href":"com/oracle/truffle/api/frame/FrameDescriptor.html#newBuilder(int)","name":"newBuilder","kind":"method","signature":"public static FrameDescriptor.Builder newBuilder(int capacity)","summary":"Builds a new frame descriptor with index-based frame slots.","params":[{"name":"capacity","type":"int","doc":"the expected number of index-based frame slots (taken as a hint when allocating internal data structures)"}],"returns":{"type":"FrameDescriptor.Builder"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html","name":"FrameDescriptor.Builder","kind":"class","signature":"public static final class FrameDescriptor.Builder","summary":"Builder API for frame descriptors with indexed slots."}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.defaultValue(Object)","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#defaultValue(java.lang.Object)","name":"defaultValue","kind":"method","signature":"public FrameDescriptor.Builder defaultValue(Object newDefaultValue)","summary":"Sets the default value for the frame slots in this frame descriptor.","params":[{"name":"newDefaultValue","type":"Object","doc":"the default value for the resulting frame descriptor"}],"returns":{"type":"FrameDescriptor.Builder"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.defaultValueIllegal()","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#defaultValueIllegal()","name":"defaultValueIllegal","kind":"method","signature":"public FrameDescriptor.Builder defaultValueIllegal()","summary":"Sets the default value to illegal, this means that an FrameSlotTypeException is thrown if a slot is read before it is written.","details":"A frame descriptor can either have a concrete default value or an illegal default value, but not both.","returns":{"type":"FrameDescriptor.Builder"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.addSlots(int, FrameSlotKind)","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#addSlots(int,com.oracle.truffle.api.frame.FrameSlotKind)","name":"addSlots","kind":"method","signature":"public int addSlots(int count, FrameSlotKind kind)","summary":"Adds the given number of consecutive indexed slots to the FrameDescriptor, and initializes them with the given kind.","params":[{"name":"count","type":"int","doc":"number of slots to be added"},{"name":"kind","type":"FrameSlotKind","doc":"default type of the newly added frame slots"}],"returns":{"type":"int","doc":"index of the first slot"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.useSlotKinds(boolean)","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#useSlotKinds(boolean)","name":"useSlotKinds","kind":"method","signature":"public FrameDescriptor.Builder useSlotKinds(boolean b)","summary":"Enables the use of slot kinds like FrameDescriptor.getSlotKind(int).","details":"By default slot kinds are enabled. If they are disabled then FrameDescriptor.getSlotKind(int) always returns FrameSlotKind.Illegal and no slot with a different slot kind than FrameSlotKind.Illegal must be added.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"FrameDescriptor.Builder"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.addSlots(int)","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#addSlots(int)","name":"addSlots","kind":"method","signature":"public int addSlots(int count)","summary":"Adds the given number of consecutive indexed slots to the FrameDescriptor, and initializes them without a kind.","details":"If the kind is read anyway then Illegal will be returned and setting the kind will throw an UnsupportedOperationException.","params":[{"name":"count","type":"int","doc":"the number of slots to add"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.addSlot(FrameSlotKind, Object, Object)","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#addSlot(com.oracle.truffle.api.frame.FrameSlotKind,java.lang.Object,java.lang.Object)","name":"addSlot","kind":"method","signature":"public int addSlot(FrameSlotKind kind, Object name, Object info)","summary":"Adds an indexed frame slot to the FrameDescriptor.","details":"The frame descriptor's internal arrays for storing name and info are allocated only when needed, so using only null reduces memory footprint.","params":[{"name":"kind","type":"FrameSlotKind","doc":"default type of the newly added frame slot"},{"name":"name","type":"Object","doc":"Name of the newly added frame slot. Can (and should, if possible) be null."},{"name":"info","type":"Object","doc":"Info object for the newly added frame slot. Can (and should, if possible) be null."}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.info(Object)","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#info(java.lang.Object)","name":"info","kind":"method","signature":"public FrameDescriptor.Builder info(Object info)","summary":"Adds a user-defined info object to the frame descriptor.","details":"The contents of this object are strongly referenced from the frame descriptor and can be queried using FrameDescriptor.getInfo(). They do not influence the semantics of the frame descriptor in any other way.","params":[{"name":"info","type":"Object","doc":"the user-defined info object"}],"returns":{"type":"FrameDescriptor.Builder"}}
{"symbol":"com.oracle.truffle.api.frame.FrameDescriptor.Builder.build()","href":"com/oracle/truffle/api/frame/FrameDescriptor.Builder.html#build()","name":"build","kind":"method","signature":"public FrameDescriptor build()","summary":"Uses the data provided to this builder to create a new FrameDescriptor.","returns":{"type":"FrameDescriptor","doc":"the newly created FrameDescriptor"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions","href":"com/oracle/truffle/api/frame/FrameExtensions.html","name":"FrameExtensions","kind":"class","signature":"public abstract class FrameExtensions","summary":"Internal frame accessor methods for internal Truffle components that are trusted."}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions()","href":"com/oracle/truffle/api/frame/FrameExtensions.html#%3Cinit%3E()","name":"FrameExtensions","kind":"constructor","signature":"protected FrameExtensions()"}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.getObject(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#getObject(com.oracle.truffle.api.frame.Frame,int)","name":"getObject","kind":"method","signature":"public abstract Object getObject(Frame frame, int slot) throws FrameSlotTypeException","summary":"Reads an object from the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"Object"},"throws":[{"type":"FrameSlotTypeException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setObject","kind":"method","signature":"public abstract void setObject(Frame frame, int slot, Object value)","summary":"Stores an Object into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setBoolean(Frame, int, boolean)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setBoolean(com.oracle.truffle.api.frame.Frame,int,boolean)","name":"setBoolean","kind":"method","signature":"public abstract void setBoolean(Frame frame, int slot, boolean value)","summary":"Stores a boolean into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setByte(Frame, int, byte)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setByte(com.oracle.truffle.api.frame.Frame,int,byte)","name":"setByte","kind":"method","signature":"public abstract void setByte(Frame frame, int slot, byte value)","summary":"Stores a byte into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setInt(Frame, int, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setInt(com.oracle.truffle.api.frame.Frame,int,int)","name":"setInt","kind":"method","signature":"public abstract void setInt(Frame frame, int slot, int value)","summary":"Stores an int into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setLong(Frame, int, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setLong(com.oracle.truffle.api.frame.Frame,int,long)","name":"setLong","kind":"method","signature":"public abstract void setLong(Frame frame, int slot, long value)","summary":"Stores a long into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setLongOrObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setLongOrObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setLongOrObject","kind":"method","signature":"public final void setLongOrObject(Frame frame, int slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setIntOrObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setIntOrObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setIntOrObject","kind":"method","signature":"public final void setIntOrObject(Frame frame, int slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setByteOrObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setByteOrObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setByteOrObject","kind":"method","signature":"public final void setByteOrObject(Frame frame, int slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setBooleanOrObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setBooleanOrObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setBooleanOrObject","kind":"method","signature":"public final void setBooleanOrObject(Frame frame, int slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setFloatOrObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setFloatOrObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setFloatOrObject","kind":"method","signature":"public final void setFloatOrObject(Frame frame, int slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setDoubleOrObject(Frame, int, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setDoubleOrObject(com.oracle.truffle.api.frame.Frame,int,java.lang.Object)","name":"setDoubleOrObject","kind":"method","signature":"public final void setDoubleOrObject(Frame frame, int slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setFloat(Frame, int, float)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setFloat(com.oracle.truffle.api.frame.Frame,int,float)","name":"setFloat","kind":"method","signature":"public abstract void setFloat(Frame frame, int slot, float value)","summary":"Stores a float into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setDouble(Frame, int, double)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setDouble(com.oracle.truffle.api.frame.Frame,int,double)","name":"setDouble","kind":"method","signature":"public abstract void setDouble(Frame frame, int slot, double value)","summary":"Stores a double into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectBoolean(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectBoolean(com.oracle.truffle.api.frame.Frame,int)","name":"expectBoolean","kind":"method","signature":"public abstract boolean expectBoolean(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads a boolean from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectByte(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectByte(com.oracle.truffle.api.frame.Frame,int)","name":"expectByte","kind":"method","signature":"public abstract byte expectByte(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads a byte from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectInt(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectInt(com.oracle.truffle.api.frame.Frame,int)","name":"expectInt","kind":"method","signature":"public abstract int expectInt(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads an int from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectLong(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectLong(com.oracle.truffle.api.frame.Frame,int)","name":"expectLong","kind":"method","signature":"public abstract long expectLong(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads a long from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectObject(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectObject(com.oracle.truffle.api.frame.Frame,int)","name":"expectObject","kind":"method","signature":"public abstract Object expectObject(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads an Object from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"Object"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectFloat(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectFloat(com.oracle.truffle.api.frame.Frame,int)","name":"expectFloat","kind":"method","signature":"public abstract float expectFloat(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads a float from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectDouble(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectDouble(com.oracle.truffle.api.frame.Frame,int)","name":"expectDouble","kind":"method","signature":"public abstract double expectDouble(Frame frame, int slot) throws UnexpectedResultException","summary":"Reads a double from the frame, throwing an UnexpectedResultException with the slot value when the tag does not match.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.requireObject(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#requireObject(com.oracle.truffle.api.frame.Frame,int)","name":"requireObject","kind":"method","signature":"public final Object requireObject(Frame frame, int slot)","summary":"Reads an Object from the frame, recovering gracefully when the slot is not Object.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.uncheckedGetObject(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#uncheckedGetObject(com.oracle.truffle.api.frame.Frame,int)","name":"uncheckedGetObject","kind":"method","signature":"public abstract Object uncheckedGetObject(Frame frame, int slot)","summary":"Reads an object from the frame without checking the slot's tag.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.copy(Frame, int, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#copy(com.oracle.truffle.api.frame.Frame,int,int)","name":"copy","kind":"method","signature":"public abstract void copy(Frame frame, int srcSlot, int dstSlot)","summary":"Copies a value from one slot to another.","params":[{"name":"frame","type":"Frame"},{"name":"srcSlot","type":"int"},{"name":"dstSlot","type":"int"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.copyTo(Frame, int, Frame, int, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#copyTo(com.oracle.truffle.api.frame.Frame,int,com.oracle.truffle.api.frame.Frame,int,int)","name":"copyTo","kind":"method","signature":"public abstract void copyTo(Frame srcFrame, int srcOffset, Frame dstFrame, int dstOffset, int length)","summary":"Copies a range of values from one frame to another.","params":[{"name":"srcFrame","type":"Frame"},{"name":"srcOffset","type":"int"},{"name":"dstFrame","type":"Frame"},{"name":"dstOffset","type":"int"},{"name":"length","type":"int"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.clear(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#clear(com.oracle.truffle.api.frame.Frame,int)","name":"clear","kind":"method","signature":"public abstract void clear(Frame frame, int slot)","summary":"Clears a frame slot.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.getValue(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#getValue(com.oracle.truffle.api.frame.Frame,int)","name":"getValue","kind":"method","signature":"public final Object getValue(Frame frame, int slot)","summary":"Reads the value of a slot from the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.resetFrame(Frame)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#resetFrame(com.oracle.truffle.api.frame.Frame)","name":"resetFrame","kind":"method","signature":"public abstract void resetFrame(Frame frame)","params":[{"name":"frame","type":"Frame"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.getObject(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#getObject(com.oracle.truffle.api.frame.Frame,long)","name":"getObject","kind":"method","signature":"public Object getObject(Frame frame, long slot) throws FrameSlotTypeException","summary":"Reads an object from the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"Object"},"throws":[{"type":"FrameSlotTypeException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setObject","kind":"method","signature":"public void setObject(Frame frame, long slot, Object value)","summary":"Stores an Object into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setBoolean(Frame, long, boolean)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setBoolean(com.oracle.truffle.api.frame.Frame,long,boolean)","name":"setBoolean","kind":"method","signature":"public void setBoolean(Frame frame, long slot, boolean value)","summary":"Stores a boolean into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setByte(Frame, long, byte)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setByte(com.oracle.truffle.api.frame.Frame,long,byte)","name":"setByte","kind":"method","signature":"public void setByte(Frame frame, long slot, byte value)","summary":"Stores a byte into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setInt(Frame, long, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setInt(com.oracle.truffle.api.frame.Frame,long,int)","name":"setInt","kind":"method","signature":"public void setInt(Frame frame, long slot, int value)","summary":"Stores an int into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setLong(Frame, long, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setLong(com.oracle.truffle.api.frame.Frame,long,long)","name":"setLong","kind":"method","signature":"public void setLong(Frame frame, long slot, long value)","summary":"Stores a long into the frame.","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setLongOrObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setLongOrObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setLongOrObject","kind":"method","signature":"public void setLongOrObject(Frame frame, long slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setIntOrObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setIntOrObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setIntOrObject","kind":"method","signature":"public void setIntOrObject(Frame frame, long slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setByteOrObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setByteOrObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setByteOrObject","kind":"method","signature":"public void setByteOrObject(Frame frame, long slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setBooleanOrObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setBooleanOrObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setBooleanOrObject","kind":"method","signature":"public void setBooleanOrObject(Frame frame, long slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setFloatOrObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setFloatOrObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setFloatOrObject","kind":"method","signature":"public void setFloatOrObject(Frame frame, long slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setDoubleOrObject(Frame, long, Object)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setDoubleOrObject(com.oracle.truffle.api.frame.Frame,long,java.lang.Object)","name":"setDoubleOrObject","kind":"method","signature":"public void setDoubleOrObject(Frame frame, long slot, Object value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setFloat(Frame, long, float)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setFloat(com.oracle.truffle.api.frame.Frame,long,float)","name":"setFloat","kind":"method","signature":"public void setFloat(Frame frame, long slot, float value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"float"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.setDouble(Frame, long, double)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#setDouble(com.oracle.truffle.api.frame.Frame,long,double)","name":"setDouble","kind":"method","signature":"public void setDouble(Frame frame, long slot, double value)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectBoolean(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectBoolean(com.oracle.truffle.api.frame.Frame,long)","name":"expectBoolean","kind":"method","signature":"public boolean expectBoolean(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectByte(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectByte(com.oracle.truffle.api.frame.Frame,long)","name":"expectByte","kind":"method","signature":"public byte expectByte(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectInt(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectInt(com.oracle.truffle.api.frame.Frame,long)","name":"expectInt","kind":"method","signature":"public int expectInt(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectLong(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectLong(com.oracle.truffle.api.frame.Frame,long)","name":"expectLong","kind":"method","signature":"public long expectLong(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectObject(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectObject(com.oracle.truffle.api.frame.Frame,long)","name":"expectObject","kind":"method","signature":"public Object expectObject(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"Object"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectFloat(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectFloat(com.oracle.truffle.api.frame.Frame,long)","name":"expectFloat","kind":"method","signature":"public float expectFloat(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.expectDouble(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#expectDouble(com.oracle.truffle.api.frame.Frame,long)","name":"expectDouble","kind":"method","signature":"public double expectDouble(Frame frame, long slot) throws UnexpectedResultException","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.requireObject(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#requireObject(com.oracle.truffle.api.frame.Frame,long)","name":"requireObject","kind":"method","signature":"public Object requireObject(Frame frame, long slot)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.uncheckedGetObject(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#uncheckedGetObject(com.oracle.truffle.api.frame.Frame,long)","name":"uncheckedGetObject","kind":"method","signature":"public Object uncheckedGetObject(Frame frame, long slot)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.getTag(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#getTag(com.oracle.truffle.api.frame.Frame,long)","name":"getTag","kind":"method","signature":"public byte getTag(Frame frame, long slot)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.getTag(Frame, int)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#getTag(com.oracle.truffle.api.frame.Frame,int)","name":"getTag","kind":"method","signature":"public byte getTag(Frame frame, int slot)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"int"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.copy(Frame, long, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#copy(com.oracle.truffle.api.frame.Frame,long,long)","name":"copy","kind":"method","signature":"public void copy(Frame frame, long srcSlot, long dstSlot)","params":[{"name":"frame","type":"Frame"},{"name":"srcSlot","type":"long"},{"name":"dstSlot","type":"long"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.copyTo(Frame, long, Frame, long, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#copyTo(com.oracle.truffle.api.frame.Frame,long,com.oracle.truffle.api.frame.Frame,long,long)","name":"copyTo","kind":"method","signature":"public void copyTo(Frame srcFrame, long srcOffset, Frame dstFrame, long dstOffset, long length)","params":[{"name":"srcFrame","type":"Frame"},{"name":"srcOffset","type":"long"},{"name":"dstFrame","type":"Frame"},{"name":"dstOffset","type":"long"},{"name":"length","type":"long"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.clear(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#clear(com.oracle.truffle.api.frame.Frame,long)","name":"clear","kind":"method","signature":"public void clear(Frame frame, long slot)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}]}
{"symbol":"com.oracle.truffle.api.frame.FrameExtensions.getValue(Frame, long)","href":"com/oracle/truffle/api/frame/FrameExtensions.html#getValue(com.oracle.truffle.api.frame.Frame,long)","name":"getValue","kind":"method","signature":"public Object getValue(Frame frame, long slot)","params":[{"name":"frame","type":"Frame"},{"name":"slot","type":"long"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance","href":"com/oracle/truffle/api/frame/FrameInstance.html","name":"FrameInstance","kind":"interface","signature":"public interface FrameInstance","summary":"Represents a current frame instance on the stack.","details":"Please note that any frame instance must not be used after the iterateFrames() method returned."}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.getFrame(FrameInstance.FrameAccess)","href":"com/oracle/truffle/api/frame/FrameInstance.html#getFrame(com.oracle.truffle.api.frame.FrameInstance.FrameAccess)","name":"getFrame","kind":"method","signature":"Frame getFrame(FrameInstance.FrameAccess access)","summary":"Accesses the underlying frame using a specified access mode.","details":"Bytecode DSL note: This method should not be used with Bytecode DSL interpreters. See com.oracle.truffle.api.bytecode.BytecodeFrame for more information.","params":[{"name":"access","type":"FrameInstance.FrameAccess"}],"returns":{"type":"Frame"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.isVirtualFrame()","href":"com/oracle/truffle/api/frame/FrameInstance.html#isVirtualFrame()","name":"isVirtualFrame","kind":"method","signature":"boolean isVirtualFrame()","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.getCompilationTier()","href":"com/oracle/truffle/api/frame/FrameInstance.html#getCompilationTier()","name":"getCompilationTier","kind":"method","signature":"default int getCompilationTier()","summary":"Returns an integer for the optimized tier of this method.","details":"If 0 is returned then this means that the frame is currently being interpreted without any optimization. The number of tiers is unlimited, but is typically restricted to a small set. e.g. 0-2. Where 0 could indicate interpreted, 1 indicates first tier and 2 indicates last tier compilation. It is best to not interpret this number and just print it for the user.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.isCompilationRoot()","href":"com/oracle/truffle/api/frame/FrameInstance.html#isCompilationRoot()","name":"isCompilationRoot","kind":"method","signature":"default boolean isCompilationRoot()","summary":"Returns whether or not the current frame is a compilation root.","details":"A compilation root is a compiled CallTarget which was itself compiled i.e. not inlined into another target.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.getCallNode()","href":"com/oracle/truffle/api/frame/FrameInstance.html#getCallNode()","name":"getCallNode","kind":"method","signature":"Node getCallNode()","summary":"Returns a node representing the callsite of the next new target on the stack.","details":"This picture indicates how FrameInstance groups the stack. =============== Current: ,>| CallTarget | FrameInstance | =============== Caller: '-| CallNode | FrameInstance ,>| CallTarget | | =============== '-| CallNode | FrameInstance | CallTarget | =============== ... =============== | CallNode | FrameInstance Initial call: | CallTarget | ===============","returns":{"type":"Node","doc":"a node representing the callsite of the next new target on the stack. Returns null in case there is no upper target or location. The set of possible call nodes is restricted to any node that was passed to CallTarget.call(Node, Object...) or CallTarget.call(Node, int, Object[]) or the node set using EncapsulatingNodeReference when invoking CallTarget.call(Object...). If a cached variant of DirectCallNode or IndirectCallNode was used then the call node will be the DirectCallNode or IndirectCallNode respectively."}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.getInstrumentableCallNode()","href":"com/oracle/truffle/api/frame/FrameInstance.html#getInstrumentableCallNode()","name":"getInstrumentableCallNode","kind":"method","signature":"default Node getInstrumentableCallNode()","summary":"Returns an instrumentable call node from a frame instance.","detailsOmitted":true,"returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.getCallTarget()","href":"com/oracle/truffle/api/frame/FrameInstance.html#getCallTarget()","name":"getCallTarget","kind":"method","signature":"CallTarget getCallTarget()","summary":"The CallTarget being invoked in this frame.","details":"See getCallNode() for the relation between call node and CallTarget.","returns":{"type":"CallTarget"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.getBytecodeIndex()","href":"com/oracle/truffle/api/frame/FrameInstance.html#getBytecodeIndex()","name":"getBytecodeIndex","kind":"method","signature":"default int getBytecodeIndex()","summary":"Returns the bytecode index of this frame's call site.","details":"If this frame called the next target on the stack using CallTarget.call(Node, int, Object[]), and the supplied bytecode index was not -1, returns that explicit index. Otherwise, returns the result of RootNode.findBytecodeIndex(Node, Frame) on the root node associated with this frame's getCallTarget(). Negative values indicate invalid or unavailable indices; their meaning is language-specific.","returns":{"type":"int","doc":"the BCI, or a negative value if invalid or unavailable"}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.FrameAccess","href":"com/oracle/truffle/api/frame/FrameInstance.FrameAccess.html","name":"FrameInstance.FrameAccess","kind":"enum","signature":"public enum FrameInstance.FrameAccess","summary":"Access mode for FrameInstance.getFrame(FrameAccess)."}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.FrameAccess.values()","href":"com/oracle/truffle/api/frame/FrameInstance.FrameAccess.html#values()","name":"values","kind":"method","signature":"public static FrameInstance.FrameAccess[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"FrameInstance.FrameAccess[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.FrameAccess.valueOf(String)","href":"com/oracle/truffle/api/frame/FrameInstance.FrameAccess.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static FrameInstance.FrameAccess valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"FrameInstance.FrameAccess","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.FrameAccess.READ_ONLY","href":"com/oracle/truffle/api/frame/FrameInstance.FrameAccess.html#READ_ONLY","name":"READ_ONLY","kind":"enumConstant","signature":"READ_ONLY","summary":"This mode allows to read the frame and provides read only access to its local variables.","details":"The returned frame must not be stored/persisted. Writing local variables in this mode will result in an AssertionError only if assertions (-ea) are enabled."}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.FrameAccess.READ_WRITE","href":"com/oracle/truffle/api/frame/FrameInstance.FrameAccess.html#READ_WRITE","name":"READ_WRITE","kind":"enumConstant","signature":"READ_WRITE","summary":"This mode allows to read the frame and provides read and write access to its local variables.","details":"The returned frame must not be stored/persisted."}
{"symbol":"com.oracle.truffle.api.frame.FrameInstance.FrameAccess.MATERIALIZE","href":"com/oracle/truffle/api/frame/FrameInstance.FrameAccess.html#MATERIALIZE","name":"MATERIALIZE","kind":"enumConstant","signature":"MATERIALIZE","summary":"This mode allows to read a materialized version of the frame and provides read and write access to its local variables.","details":"In addition to READ_WRITE this mode allows to store/persist the returned frame."}
{"symbol":"com.oracle.truffle.api.frame.FrameInstanceVisitor","href":"com/oracle/truffle/api/frame/FrameInstanceVisitor.html","name":"FrameInstanceVisitor","kind":"interface","signature":"public interface FrameInstanceVisitor<T>","summary":"Callback interface for TruffleRuntime.iterateFrames.","details":"Implementations of visitFrame return null to indicate that frame iteration should continue and the next caller frame should be visited; and return any non-null value to indicate that frame iteration should stop."}
{"symbol":"com.oracle.truffle.api.frame.FrameInstanceVisitor.visitFrame(FrameInstance)","href":"com/oracle/truffle/api/frame/FrameInstanceVisitor.html#visitFrame(com.oracle.truffle.api.frame.FrameInstance)","name":"visitFrame","kind":"method","signature":"T visitFrame(FrameInstance frameInstance)","params":[{"name":"frameInstance","type":"FrameInstance"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind","href":"com/oracle/truffle/api/frame/FrameSlotKind.html","name":"FrameSlotKind","kind":"enum","signature":"public enum FrameSlotKind"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.values()","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#values()","name":"values","kind":"method","signature":"public static FrameSlotKind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"FrameSlotKind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.valueOf(String)","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static FrameSlotKind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"FrameSlotKind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Object","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Object","name":"Object","kind":"enumConstant","signature":"Object"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Long","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Long","name":"Long","kind":"enumConstant","signature":"Long"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Int","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Int","name":"Int","kind":"enumConstant","signature":"Int"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Double","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Double","name":"Double","kind":"enumConstant","signature":"Double"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Float","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Float","name":"Float","kind":"enumConstant","signature":"Float"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Boolean","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Boolean","name":"Boolean","kind":"enumConstant","signature":"Boolean"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Byte","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Byte","name":"Byte","kind":"enumConstant","signature":"Byte"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Illegal","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Illegal","name":"Illegal","kind":"enumConstant","signature":"Illegal"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.Static","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#Static","name":"Static","kind":"enumConstant","signature":"Static"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.tag","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#tag","name":"tag","kind":"field","signature":"public final byte tag"}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotKind.fromTag(byte)","href":"com/oracle/truffle/api/frame/FrameSlotKind.html#fromTag(byte)","name":"fromTag","kind":"method","signature":"public static FrameSlotKind fromTag(byte tag)","summary":"Converts from the numeric representation used in the implementation of Frame to the FrameSlotKind.","params":[{"name":"tag","type":"byte","doc":"the numeric (byte) representation of the kind"}],"returns":{"type":"FrameSlotKind","doc":"the FrameSlotKind"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html","name":"FrameSlotTypeException","kind":"class","signature":"public final class FrameSlotTypeException extends IllegalStateException","summary":"Exception thrown if the frame slot kind does not match the expected kind."}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException()","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html#%3Cinit%3E()","name":"FrameSlotTypeException","kind":"constructor","signature":"public FrameSlotTypeException()","deprecated":{"doc":"use create(int, FrameSlotKind, FrameSlotKind) instead"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException.getMessage()","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException.getSlot()","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html#getSlot()","name":"getSlot","kind":"method","signature":"public int getSlot()","summary":"Returns the frame slot index that was read.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException.getExpectedKind()","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html#getExpectedKind()","name":"getExpectedKind","kind":"method","signature":"public FrameSlotKind getExpectedKind()","summary":"Returns the expected frame slot kind when the exception occurred.","returns":{"type":"FrameSlotKind"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException.getActualKind()","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html#getActualKind()","name":"getActualKind","kind":"method","signature":"public FrameSlotKind getActualKind()","summary":"Returns the actual frame slot kind when the exception occurred.","returns":{"type":"FrameSlotKind"}}
{"symbol":"com.oracle.truffle.api.frame.FrameSlotTypeException.create(int, FrameSlotKind, FrameSlotKind)","href":"com/oracle/truffle/api/frame/FrameSlotTypeException.html#create(int,com.oracle.truffle.api.frame.FrameSlotKind,com.oracle.truffle.api.frame.FrameSlotKind)","name":"create","kind":"method","signature":"public static FrameSlotTypeException create(int slot, FrameSlotKind expectedKind, FrameSlotKind actualKind)","summary":"Creates a new frame slot type exception.","params":[{"name":"slot","type":"int","doc":"the frame slot index used when reading"},{"name":"expectedKind","type":"FrameSlotKind","doc":"the expected frame slot kind when reading"},{"name":"actualKind","type":"FrameSlotKind","doc":"the actual frame slot kind when reading"}],"returns":{"type":"FrameSlotTypeException"}}
{"symbol":"com.oracle.truffle.api.frame.MaterializedFrame","href":"com/oracle/truffle/api/frame/MaterializedFrame.html","name":"MaterializedFrame","kind":"interface","signature":"public interface MaterializedFrame extends VirtualFrame","summary":"Represents a materialized frame containing values of local variables of the guest language.","details":"It can be created using the VirtualFrame.materialize() method. Instances of this type are the only frame instances that may be stored in fields or cast to java.lang.Object."}
{"symbol":"com.oracle.truffle.api.frame.VirtualFrame","href":"com/oracle/truffle/api/frame/VirtualFrame.html","name":"VirtualFrame","kind":"interface","signature":"public interface VirtualFrame extends Frame","summary":"Represents a frame containing values of local variables of the guest language.","details":"Instances of this type must not be stored in a field or cast to java.lang.Object. If this is necessary, the frame must be explicitly converted into a materialized frame using the VirtualFrame.materialize() method."}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEvent","href":"com/oracle/truffle/api/instrumentation/AllocationEvent.html","name":"AllocationEvent","kind":"class","signature":"public final class AllocationEvent","summary":"An event representing an allocation of a guest language value."}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEvent.getLanguage()","href":"com/oracle/truffle/api/instrumentation/AllocationEvent.html#getLanguage()","name":"getLanguage","kind":"method","signature":"public LanguageInfo getLanguage()","summary":"Returns the language performing the allocation.","returns":{"type":"LanguageInfo"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEvent.getOldSize()","href":"com/oracle/truffle/api/instrumentation/AllocationEvent.html#getOldSize()","name":"getOldSize","kind":"method","signature":"public long getOldSize()","summary":"Returns an old size of the value prior to the allocation, in bytes.","details":"Returns 0 when a new value is to be allocated, or the size of the value prior to the re-allocation. When the old size is unknown, AllocationReporter.SIZE_UNKNOWN is returned.","returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEvent.getNewSize()","href":"com/oracle/truffle/api/instrumentation/AllocationEvent.html#getNewSize()","name":"getNewSize","kind":"method","signature":"public long getNewSize()","summary":"Returns a size of the allocated value in bytes.","detailsOmitted":true,"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEvent.getValue()","href":"com/oracle/truffle/api/instrumentation/AllocationEvent.html#getValue()","name":"getValue","kind":"method","signature":"public Object getValue()","summary":"Returns the value which is a subject of allocation.","detailsOmitted":true,"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEventFilter","href":"com/oracle/truffle/api/instrumentation/AllocationEventFilter.html","name":"AllocationEventFilter","kind":"class","signature":"public final class AllocationEventFilter","summary":"An instrumentation filter of allocations of guest language values.","details":"To create the filter, use newBuilder() and complete that by calling Builder.build()."}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEventFilter.ANY","href":"com/oracle/truffle/api/instrumentation/AllocationEventFilter.html#ANY","name":"ANY","kind":"field","signature":"public static final AllocationEventFilter ANY","summary":"A filter that matches all allocations in all languages."}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEventFilter.newBuilder()","href":"com/oracle/truffle/api/instrumentation/AllocationEventFilter.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static AllocationEventFilter.Builder newBuilder()","summary":"Creates a new AllocationEventFilter instance through a Builder.","returns":{"type":"AllocationEventFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder","href":"com/oracle/truffle/api/instrumentation/AllocationEventFilter.Builder.html","name":"AllocationEventFilter.Builder","kind":"class","signature":"public class AllocationEventFilter.Builder","summary":"A builder of AllocationEventFilter.","details":"Use methods in this class to set the filter parameters."}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder.languages(LanguageInfo...)","href":"com/oracle/truffle/api/instrumentation/AllocationEventFilter.Builder.html#languages(com.oracle.truffle.api.nodes.LanguageInfo...)","name":"languages","kind":"method","signature":"public AllocationEventFilter.Builder languages(LanguageInfo... languages)","summary":"Specify languages that are instrumented for allocations of guest language values.","details":"Initially the filter accepts any language. Multiple calls to this method rewrite the set of languages.","params":[{"name":"languages","type":"LanguageInfo..."}],"returns":{"type":"AllocationEventFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationEventFilter.Builder.build()","href":"com/oracle/truffle/api/instrumentation/AllocationEventFilter.Builder.html#build()","name":"build","kind":"method","signature":"public AllocationEventFilter build()","summary":"Create an instance of AllocationEventFilter based on the current setup of this builder.","returns":{"type":"AllocationEventFilter"}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationListener","href":"com/oracle/truffle/api/instrumentation/AllocationListener.html","name":"AllocationListener","kind":"interface","signature":"public interface AllocationListener","summary":"Listener to be notified about guest language value allocations.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationListener.onEnter(AllocationEvent)","href":"com/oracle/truffle/api/instrumentation/AllocationListener.html#onEnter(com.oracle.truffle.api.instrumentation.AllocationEvent)","name":"onEnter","kind":"method","signature":"void onEnter(AllocationEvent event)","summary":"Notifies about an intent to allocate or re-allocate a guest language value.","details":"This method is called prior to the actual allocation and is followed by a call to onReturnValue(com.oracle.truffle.api.instrumentation.AllocationEvent) after the successful allocation.","params":[{"name":"event","type":"AllocationEvent","doc":"the event describing the intended allocation"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationListener.onReturnValue(AllocationEvent)","href":"com/oracle/truffle/api/instrumentation/AllocationListener.html#onReturnValue(com.oracle.truffle.api.instrumentation.AllocationEvent)","name":"onReturnValue","kind":"method","signature":"void onReturnValue(AllocationEvent event)","summary":"Notifies about an allocated guest language value.","details":"This method is called after a preceding onEnter(com.oracle.truffle.api.instrumentation.AllocationEvent) call and right after the allocation is performed. When onEnter provided a non-null value in the event, it was re-allocated and the same value instance is in this event.","params":[{"name":"event","type":"AllocationEvent","doc":"the event describing the finished allocation"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html","name":"AllocationReporter","kind":"class","signature":"public final class AllocationReporter","summary":"Reporter of guest language value allocations.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter.SIZE_UNKNOWN","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html#SIZE_UNKNOWN","name":"SIZE_UNKNOWN","kind":"field","signature":"public static final long SIZE_UNKNOWN","summary":"Constant specifying an unknown size.","details":"Use it when it's not possible to estimate size of the memory being allocated.","value":"-9223372036854775808L"}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter.addActiveListener(Consumer)","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html#addActiveListener(java.util.function.Consumer)","name":"addActiveListener","kind":"method","signature":"public void addActiveListener(Consumer<Boolean> listener)","summary":"Add a listener that is notified when active value of this reporter changes.","details":"The listener accept method is called with the new value of isActive().","params":[{"name":"listener","type":"Consumer<Boolean>"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter.removeActiveListener(Consumer)","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html#removeActiveListener(java.util.function.Consumer)","name":"removeActiveListener","kind":"method","signature":"public void removeActiveListener(Consumer<Boolean> listener)","summary":"Remove a listener that is notified when active value of this reporter changes.","params":[{"name":"listener","type":"Consumer<Boolean>"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter.isActive()","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html#isActive()","name":"isActive","kind":"method","signature":"public boolean isActive()","summary":"Test if the reporter instance is actually doing some reporting when notify methods are called.","details":"Methods onEnter(java.lang.Object, long, long) and onReturnValue(java.lang.Object, long, long) have no effect when this method returns false. A listener can be added to listen on changes of this value.","returns":{"type":"boolean","doc":"true when there are some AllocationListeners attached, false otherwise."}}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter.onEnter(Object, long, long)","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html#onEnter(java.lang.Object,long,long)","name":"onEnter","kind":"method","signature":"public void onEnter(Object valueToReallocate, long oldSize, long newSizeEstimate)","summary":"Report an intent to allocate a new guest language value, or re-allocate an existing one.","detailsOmitted":true,"params":[{"name":"valueToReallocate","type":"Object","doc":"null in case of a new allocation, or the value that is to be re-allocated."},{"name":"oldSize","type":"long","doc":"0 in case of a new allocation, or the size in bytes of value to be re-allocated. Can be SIZE_UNKNOWN when the value size is not known."},{"name":"newSizeEstimate","type":"long","doc":"an estimate of the allocation size of the value which is to be created or re-allocated, in bytes. Can be SIZE_UNKNOWN when the allocation size is not known."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.AllocationReporter.onReturnValue(Object, long, long)","href":"com/oracle/truffle/api/instrumentation/AllocationReporter.html#onReturnValue(java.lang.Object,long,long)","name":"onReturnValue","kind":"method","signature":"public void onReturnValue(Object value, long oldSize, long newSize)","summary":"Report an allocation of a new one or re-allocation of an existing guest language value.","detailsOmitted":true,"params":[{"name":"value","type":"Object","doc":"the value that was newly allocated, or the re-allocated value. Must not be null."},{"name":"oldSize","type":"long","doc":"size in bytes of an old value, if any. Must be 0 for newly allocated values. In case of re-allocation it's the size of the original value before re-allocation. Can be SIZE_UNKNOWN when not known."},{"name":"newSize","type":"long","doc":"the size of the allocated value in bytes. In case of re-allocation, it's the size of the object after re-allocation. The newSize may be less than oldSize when the object size shrinks. Can be SIZE_UNKNOWN when not known."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html","name":"ContextsListener","kind":"interface","signature":"public interface ContextsListener","summary":"Listener to be notified about changes of contexts in guest language application.","details":"Use Instrumenter.attachContextsListener(com.oracle.truffle.api.instrumentation.ContextsListener, boolean) to register an implementation of this listener. Use EventBinding.dispose() to unregister. The listener gets called when a new context is created or disposed and when individual languages are initialized or disposed in that context."}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onContextCreated(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onContextCreated(com.oracle.truffle.api.TruffleContext)","name":"onContextCreated","kind":"method","signature":"void onContextCreated(TruffleContext context)","summary":"Notifies about creation of a new polyglot context.","params":[{"name":"context","type":"TruffleContext"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextCreate(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextCreate(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextCreate","kind":"method","signature":"default void onLanguageContextCreate(TruffleContext context, LanguageInfo language)","summary":"Notifies before creation of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context is being created"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextCreated(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextCreated(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextCreated","kind":"method","signature":"void onLanguageContextCreated(TruffleContext context, LanguageInfo language)","summary":"Notifies about creation of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was created"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextCreateFailed(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextCreateFailed(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextCreateFailed","kind":"method","signature":"default void onLanguageContextCreateFailed(TruffleContext context, LanguageInfo language)","summary":"Notifies after failed creation of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context creation failed"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextInitialize(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextInitialize(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextInitialize","kind":"method","signature":"default void onLanguageContextInitialize(TruffleContext context, LanguageInfo language)","summary":"Notifies before initialization of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context is being initialized"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextInitialized(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextInitialized(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextInitialized","kind":"method","signature":"void onLanguageContextInitialized(TruffleContext context, LanguageInfo language)","summary":"Notifies about initialization of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was initialized"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextInitializeFailed(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextInitializeFailed(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextInitializeFailed","kind":"method","signature":"default void onLanguageContextInitializeFailed(TruffleContext context, LanguageInfo language)","summary":"Notifies after failed initialization of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context initialization failed"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextFinalized(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextFinalized(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextFinalized","kind":"method","signature":"void onLanguageContextFinalized(TruffleContext context, LanguageInfo language)","summary":"Notifies about finalization of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was finalized"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onLanguageContextDisposed(TruffleContext, LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onLanguageContextDisposed(com.oracle.truffle.api.TruffleContext,com.oracle.truffle.api.nodes.LanguageInfo)","name":"onLanguageContextDisposed","kind":"method","signature":"void onLanguageContextDisposed(TruffleContext context, LanguageInfo language)","summary":"Notifies about disposal of a language-specific context in an existing polyglot context.","params":[{"name":"context","type":"TruffleContext","doc":"the polyglot context"},{"name":"language","type":"LanguageInfo","doc":"the language for which a language-specific context was disposed"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onContextClosed(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onContextClosed(com.oracle.truffle.api.TruffleContext)","name":"onContextClosed","kind":"method","signature":"void onContextClosed(TruffleContext context)","summary":"Notifies about close of a polyglot context.","params":[{"name":"context","type":"TruffleContext"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ContextsListener.onContextResetLimits(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/ContextsListener.html#onContextResetLimits(com.oracle.truffle.api.TruffleContext)","name":"onContextResetLimits","kind":"method","signature":"default void onContextResetLimits(TruffleContext context)","summary":"Invoked when the resource consumption limits were reset for a particular context.","details":"For example this is method each time the Context.resetLimits() method is called.","params":[{"name":"context","type":"TruffleContext"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding","href":"com/oracle/truffle/api/instrumentation/EventBinding.html","name":"EventBinding","kind":"class","signature":"public class EventBinding<T>","summary":"An instrumentation handle for a subscription to a filtered stream of execution event notifications.","details":"The subscription remains active until: explicit disposal of the subscription; or the instrumented engine is closed."}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding.getElement()","href":"com/oracle/truffle/api/instrumentation/EventBinding.html#getElement()","name":"getElement","kind":"method","signature":"public T getElement()","returns":{"type":"T","doc":"the subscriber: an ExecutionEventNodeFactory or ExecutionEventListener."}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding.isAttached()","href":"com/oracle/truffle/api/instrumentation/EventBinding.html#isAttached()","name":"isAttached","kind":"method","signature":"public final boolean isAttached()","summary":"Test if this binding is attached.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding.attach()","href":"com/oracle/truffle/api/instrumentation/EventBinding.html#attach()","name":"attach","kind":"method","signature":"public final void attach()","summary":"Attach this binding to receive the associated notifications by the subscriber.","details":"When notification about existing sources were requested in binding creation, notifications will be performed in this call. The binding is attached automatically, when one of the Instrumenter attach methods were used. Use this for bindings created by Instrumenter create methods only.","throws":[{"type":"IllegalStateException","doc":"when the binding is attached already, or when it was disposed."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding.tryAttach()","href":"com/oracle/truffle/api/instrumentation/EventBinding.html#tryAttach()","name":"tryAttach","kind":"method","signature":"public final boolean tryAttach()","summary":"Try to attach this binding, if not disposed or attached already.","details":"Works the same as attach(), but returns false instead of throwing an exception when not successful. The binding is attached automatically, when one of the Instrumenter attach methods were used. Use this for bindings created by Instrumenter create methods only.","returns":{"type":"boolean","doc":"true when the binding was attached successfully, false when disposed or attached already."}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding.isDisposed()","href":"com/oracle/truffle/api/instrumentation/EventBinding.html#isDisposed()","name":"isDisposed","kind":"method","signature":"public boolean isDisposed()","returns":{"type":"boolean","doc":"whether the subscription has been permanently canceled."}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventBinding.dispose()","href":"com/oracle/truffle/api/instrumentation/EventBinding.html#dispose()","name":"dispose","kind":"method","signature":"public void dispose()","summary":"Cancels the subscription permanently."}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext","href":"com/oracle/truffle/api/instrumentation/EventContext.html","name":"EventContext","kind":"class","signature":"public final class EventContext","summary":"Represents the context of an execution event.","details":"Instances of EventContext should be neither stored, cached nor hashed. One exception is when they are stored in ExecutionEventNode implementations. The equality and hashing behavior is undefined."}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.hasTag(Class)","href":"com/oracle/truffle/api/instrumentation/EventContext.html#hasTag(java.lang.Class)","name":"hasTag","kind":"method","signature":"public boolean hasTag(Class<? extends Tag> tag)","summary":"Returns true if the underlying instrumented AST is tagged with a particular tag.","details":"The return value of hasTag(Class) always returns the same value for a particular tag and EventContext. The method may be used on compiled code paths.","params":[{"name":"tag","type":"Class<? extends Tag>","doc":"the tag to check to check, must not be null."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.getNodeObject()","href":"com/oracle/truffle/api/instrumentation/EventContext.html#getNodeObject()","name":"getNodeObject","kind":"method","signature":"public Object getNodeObject()","summary":"Returns a language provided object that represents the instrumented node properties.","details":"The returned is always a valid interop object. The returned object is never null and always returns true for the HAS_KEYS message. Multiple calls to getNodeObject() return the same node object instance.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.getInstrumentedSourceSection()","href":"com/oracle/truffle/api/instrumentation/EventContext.html#getInstrumentedSourceSection()","name":"getInstrumentedSourceSection","kind":"method","signature":"public SourceSection getInstrumentedSourceSection()","summary":"Returns the SourceSection that is being instrumented.","details":"The returned source section is final for each EventContext instance. The returned source section may be null if the node does not provide sources section. Performance note: this is method may be invoked in compiled code and is guaranteed to always return a compilation constant .","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.getInstrumentedNode()","href":"com/oracle/truffle/api/instrumentation/EventContext.html#getInstrumentedNode()","name":"getInstrumentedNode","kind":"method","signature":"public Node getInstrumentedNode()","summary":"Accessor to the instrumented node at which the event occurred.","details":"The returned AST must not be mutated by the user. Performance note: this is method may be invoked in compiled code and is guaranteed to always return a compilation constant .","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.isLanguageContextInitialized()","href":"com/oracle/truffle/api/instrumentation/EventContext.html#isLanguageContextInitialized()","name":"isLanguageContextInitialized","kind":"method","signature":"public boolean isLanguageContextInitialized()","summary":"Test if language context of the source of the event is initialized.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.lookupExecutionEventNode(EventBinding)","href":"com/oracle/truffle/api/instrumentation/EventContext.html#lookupExecutionEventNode(com.oracle.truffle.api.instrumentation.EventBinding)","name":"lookupExecutionEventNode","kind":"method","signature":"public ExecutionEventNode lookupExecutionEventNode(EventBinding<? extends ExecutionEventNodeFactory> binding)","summary":"Returns the execution event node that was inserted at this location given an event binding.","details":"This is useful to disambiguate multiple bindings from each other when installed at the same source location.","params":[{"name":"binding","type":"EventBinding<? extends ExecutionEventNodeFactory>","doc":"the binding to lookup"}],"returns":{"type":"ExecutionEventNode"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.lookupExecutionEventNodes(Collection)","href":"com/oracle/truffle/api/instrumentation/EventContext.html#lookupExecutionEventNodes(java.util.Collection)","name":"lookupExecutionEventNodes","kind":"method","signature":"public Iterator<ExecutionEventNode> lookupExecutionEventNodes(Collection<EventBinding<? extends ExecutionEventNodeFactory>> bindings)","summary":"Returns all execution event nodes in the insertion order at this location, whose event bindings are contained in the given collection.","details":"This is useful to be able to sort out multiple bindings when installed at the same source location.","params":[{"name":"bindings","type":"Collection<EventBinding<? extends ExecutionEventNodeFactory>>","doc":"a collection of bindings to find the event nodes for at this context location"}],"returns":{"type":"Iterator<ExecutionEventNode>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.createUnwind(Object)","href":"com/oracle/truffle/api/instrumentation/EventContext.html#createUnwind(java.lang.Object)","name":"createUnwind","kind":"method","signature":"public ThreadDeath createUnwind(Object info)","summary":"Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.","details":"This is a a shortcut for createUnwind(Object, EventBinding) with the current binding, only the event listener instance that threw the unwind throwable gets called onUnwind.","params":[{"name":"info","type":"Object","doc":"an info that is passed into ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object) or ExecutionEventNode.onUnwind(VirtualFrame, Object). It can be used for arbitrary client data that help to control the unwind process."}],"returns":{"type":"ThreadDeath"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.createUnwind(Object, EventBinding)","href":"com/oracle/truffle/api/instrumentation/EventContext.html#createUnwind(java.lang.Object,com.oracle.truffle.api.instrumentation.EventBinding)","name":"createUnwind","kind":"method","signature":"public ThreadDeath createUnwind(Object info, EventBinding<?> unwindBinding)","summary":"Create an unwind throwable, that when thrown, abruptly breaks execution of a node and unwinds it off the execution stack.","detailsOmitted":true,"params":[{"name":"info","type":"Object","doc":"an info that is passed into ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object) or ExecutionEventNode.onUnwind(VirtualFrame, Object). It can be used for arbitrary client data that help to control the unwind process."},{"name":"unwindBinding","type":"EventBinding<?>","doc":"the binding whose listener's onUnwind is to be called, or null to call the current listener that throws the returned throwable."}],"returns":{"type":"ThreadDeath"}}
{"symbol":"com.oracle.truffle.api.instrumentation.EventContext.toString()","href":"com/oracle/truffle/api/instrumentation/EventContext.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecuteSourceEvent","href":"com/oracle/truffle/api/instrumentation/ExecuteSourceEvent.html","name":"ExecuteSourceEvent","kind":"class","signature":"public final class ExecuteSourceEvent","summary":"Represents a source execute event from a ExecuteSourceListener.","details":"Instances of ExecuteSourceEvent should be neither stored, cached nor hashed. The equality and hashing behavior is undefined."}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecuteSourceEvent.getSource()","href":"com/oracle/truffle/api/instrumentation/ExecuteSourceEvent.html#getSource()","name":"getSource","kind":"method","signature":"public Source getSource()","summary":"Returns the executed source that caused this event.","returns":{"type":"Source"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecuteSourceListener","href":"com/oracle/truffle/api/instrumentation/ExecuteSourceListener.html","name":"ExecuteSourceListener","kind":"interface","signature":"public interface ExecuteSourceListener","summary":"A listener attached by an Instrumenter to specific sources of a guest language program to listen to execute source events."}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecuteSourceListener.onExecute(ExecuteSourceEvent)","href":"com/oracle/truffle/api/instrumentation/ExecuteSourceListener.html#onExecute(com.oracle.truffle.api.instrumentation.ExecuteSourceEvent)","name":"onExecute","kind":"method","signature":"void onExecute(ExecuteSourceEvent event)","summary":"Invoked whenever a new source is executed.","details":"The order in which multiple source event listeners are notified matches the order they are attached. Implementation Note: Source execute events are notified when the guest language implementation executes a new source by invoking any RootNode that uses the new source in Node.getSourceSection(). It assumes that all nodes of an AST have the same source as their root.","params":[{"name":"event","type":"ExecuteSourceEvent","doc":"an event with context information"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html","name":"ExecutionEventListener","kind":"interface","signature":"public interface ExecutionEventListener","summary":"A listener attached by an Instrumenter to specific locations of a guest language program to listen to execution events."}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener.onEnter(EventContext, VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html#onEnter(com.oracle.truffle.api.instrumentation.EventContext,com.oracle.truffle.api.frame.VirtualFrame)","name":"onEnter","kind":"method","signature":"void onEnter(EventContext context, VirtualFrame frame)","summary":"Invoked immediately before the instrumented node is executed.","details":"The order in which multiple event listeners are notified matches the order they are attached .","params":[{"name":"context","type":"EventContext","doc":"indicating the current location in the guest language AST"},{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener.onReturnValue(EventContext, VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html#onReturnValue(com.oracle.truffle.api.instrumentation.EventContext,com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onReturnValue","kind":"method","signature":"void onReturnValue(EventContext context, VirtualFrame frame, Object result)","summary":"Invoked immediately after an instrumented node is successfully executed.","details":"The order in which multiple event listeners are notified matches the order they are attached.","params":[{"name":"context","type":"EventContext","doc":"indicating the current location in the guest language AST"},{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"result","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener.onReturnExceptional(EventContext, VirtualFrame, Throwable)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html#onReturnExceptional(com.oracle.truffle.api.instrumentation.EventContext,com.oracle.truffle.api.frame.VirtualFrame,java.lang.Throwable)","name":"onReturnExceptional","kind":"method","signature":"void onReturnExceptional(EventContext context, VirtualFrame frame, Throwable exception)","summary":"Invoked immediately after an instrumented node did not successfully execute.","details":"The order in which multiple event listeners are notified matches the order they are attached. When the exception is an instance of ThreadDeath the execution was abruptly interrupted. EventContext.createUnwind(Object) creates a ThreadDeath to unwind nodes off, for instance. Listener instances that threw an unwind throwable get called onUnwind(EventContext, VirtualFrame, Object) instead.","params":[{"name":"context","type":"EventContext","doc":"indicating the current location in the guest language AST"},{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"exception","type":"Throwable","doc":"the exception that occurred during the node's execution"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html#onUnwind(com.oracle.truffle.api.instrumentation.EventContext,com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onUnwind","kind":"method","signature":"default Object onUnwind(EventContext context, VirtualFrame frame, Object info)","summary":"Invoked when an instrumented node is unwound from the execution stack by unwind throwable thrown in this listener instance.","details":"Any nodes between the instrumented ones are unwound off without any notification. The default implementation returns null.","params":[{"name":"context","type":"EventContext","doc":"indicating the current location in the guest language AST"},{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"info","type":"Object","doc":"an info associated with the unwind - the object passed to EventContext.createUnwind(Object)"}],"returns":{"type":"Object","doc":"null to continue to unwind the parent node, ProbeNode.UNWIND_ACTION_REENTER to reenter the current node, or an interop value to return that value early from the current node (void nodes just return, ignoring the return value)."}}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener.onYield(EventContext, VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html#onYield(com.oracle.truffle.api.instrumentation.EventContext,com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onYield","kind":"method","signature":"default void onYield(EventContext context, VirtualFrame frame, Object value)","summary":"Invoked on a yield of the current thread.","details":"A yield interrupts the current execution, which is resumed later on. Delegates to onReturnValue(EventContext, VirtualFrame, Object) by default.","params":[{"name":"context","type":"EventContext","doc":"indicating the current location in the guest language AST"},{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventListener.onResume(EventContext, VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventListener.html#onResume(com.oracle.truffle.api.instrumentation.EventContext,com.oracle.truffle.api.frame.VirtualFrame)","name":"onResume","kind":"method","signature":"default void onResume(EventContext context, VirtualFrame frame)","summary":"Invoked on a resume of the execution on the current thread after a yield.","details":"Delegates to onEnter(EventContext, VirtualFrame) by default. Use TruffleInstrument.Env.isSameFrame(RootNode, Frame, Frame) to match the interrupted and resumed execution.","params":[{"name":"context","type":"EventContext","doc":"indicating the current location in the guest language AST"},{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html","name":"ExecutionEventNode","kind":"class","signature":"public abstract class ExecutionEventNode extends Node","summary":"An event node created by an ExecutionEventNodeFactory for a specific locations of a guest language program to listen to instrumentation events.","details":"In addition to listeners event nodes allow to store state for a particular program location."}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode()","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#%3Cinit%3E()","name":"ExecutionEventNode","kind":"constructor","signature":"protected ExecutionEventNode()"}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onEnter(VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onEnter(com.oracle.truffle.api.frame.VirtualFrame)","name":"onEnter","kind":"method","signature":"protected void onEnter(VirtualFrame frame)","summary":"Invoked immediately before the instrumented node is executed.","details":"The order in which multiple event listeners are notified matches the order they are attached.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame used in the instrumented node"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onInputValue(VirtualFrame, EventContext, int, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onInputValue(com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.instrumentation.EventContext,int,java.lang.Object)","name":"onInputValue","kind":"method","signature":"protected void onInputValue(VirtualFrame frame, EventContext inputContext, int inputIndex, Object inputValue)","summary":"Invoked immediately after each return value event of instrumented input child node that match the input filter.","detailsOmitted":true,"params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame in use"},{"name":"inputContext","type":"EventContext","doc":"the event context of the input child node"},{"name":"inputIndex","type":"int","doc":"the child index of the input"},{"name":"inputValue","type":"Object","doc":"the return value of the input child"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onReturnValue(VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onReturnValue(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onReturnValue","kind":"method","signature":"protected void onReturnValue(VirtualFrame frame, Object result)","summary":"Invoked immediately after an instrumented node is successfully executed.","details":"The order in which multiple event listeners are notified matches the order they are attached.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"result","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onReturnExceptional(VirtualFrame, Throwable)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onReturnExceptional(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Throwable)","name":"onReturnExceptional","kind":"method","signature":"protected void onReturnExceptional(VirtualFrame frame, Throwable exception)","summary":"Invoked immediately after the execution of an instrumented node resulted in an exception.","details":"Note that this could be a com.oracle.truffle.api.nodes.ControlFlowException, which is expected and considered a successful execution of the node. The order in which multiple event listeners are notified matches the order they are attached.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"exception","type":"Throwable","doc":"the exception that occurred during the node's execution"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onUnwind(VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onUnwind(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onUnwind","kind":"method","signature":"protected Object onUnwind(VirtualFrame frame, Object info)","summary":"Invoked when an instrumented node is unwound from the execution stack by unwind throwable thrown in this node implementation.","details":"Any nodes between the instrumented ones are unwound off without any notification. The default implementation returns null to indicate continue unwind.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"info","type":"Object","doc":"an info associated with the unwind - the object passed to EventContext.createUnwind(Object)"}],"returns":{"type":"Object","doc":"null to continue to unwind the parent node, ProbeNode.UNWIND_ACTION_REENTER to reenter the current node, or an interop value to return that value early from the current node (void nodes just return, ignoring the return value)."}}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onYield(VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onYield(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onYield","kind":"method","signature":"protected void onYield(VirtualFrame frame, Object value)","summary":"Invoked on a yield of the current thread.","details":"A yield interrupts the current execution, which is resumed later on. Delegates to onReturnValue(VirtualFrame, Object) by default.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onResume(VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onResume(com.oracle.truffle.api.frame.VirtualFrame)","name":"onResume","kind":"method","signature":"protected void onResume(VirtualFrame frame)","summary":"Invoked on a resume of the execution on the current thread after a yield.","details":"Delegates to onEnter(VirtualFrame) by default. Use TruffleInstrument.Env.isSameFrame(RootNode, Frame, Frame) to match the interrupted and resumed execution.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.onDispose(VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#onDispose(com.oracle.truffle.api.frame.VirtualFrame)","name":"onDispose","kind":"method","signature":"protected void onDispose(VirtualFrame frame)","summary":"Invoked when an event node is removed from the AST.","details":"This happens if the underlying binding, language/instrument or engine is disposed. Event nodes are removed lazily. This means that onDispose(VirtualFrame) is invoked the next time the particular part of the AST is executed. If the instrumented node is not invoked anymore after it was disposed then onDispose(VirtualFrame) might or might not be executed.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame that was used for executing instrumented node"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.getInputContext(int)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#getInputContext(int)","name":"getInputContext","kind":"method","signature":"protected final EventContext getInputContext(int index)","summary":"Returns the event context of an input by index.","details":"The returned input context matches the input context provided in onInputValue(VirtualFrame, EventContext, int, Object). The total number of instrumented input nodes can be accessed using getInputCount(). This method returns a constant event context for a constant input index, when called in partially evaluated code paths.","params":[{"name":"index","type":"int","doc":"the context index"}],"returns":{"type":"EventContext"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if the index is out of bounds."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.getInputCount()","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#getInputCount()","name":"getInputCount","kind":"method","signature":"protected final int getInputCount()","summary":"Returns the total number of instrumented input nodes that may produce input events when executed.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.saveInputValue(VirtualFrame, int, Object)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#saveInputValue(com.oracle.truffle.api.frame.VirtualFrame,int,java.lang.Object)","name":"saveInputValue","kind":"method","signature":"protected final void saveInputValue(VirtualFrame frame, int inputIndex, Object inputValue)","summary":"Saves an input value reported by onInputValue(VirtualFrame, EventContext, int, Object) for use in later events.","details":"Saved input values can be restored using getSavedInputValues(VirtualFrame) in onReturn or onReturnExceptional events. The implementation ensures that a minimal number of frame slots is used to save input values. It uses the AST structure to reuse frame slots efficiently whenever possible. The used frame slots are freed if the event binding is disposed.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to store the input value in"},{"name":"inputIndex","type":"int","doc":"the child input index"},{"name":"inputValue","type":"Object","doc":"the input value"}],"throws":[{"type":"IllegalArgumentException","doc":"for invalid input indexes for non-existing input nodes."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNode.getSavedInputValues(VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNode.html#getSavedInputValues(com.oracle.truffle.api.frame.VirtualFrame)","name":"getSavedInputValues","kind":"method","signature":"protected final Object[] getSavedInputValues(VirtualFrame frame)","summary":"Returns all saved input values.","details":"For valid input indices that did not save any value null is returned. If all inputs were filtered or a null input filter was provided then an empty array is returned.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to read the input values from."}],"returns":{"type":"Object[]"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNodeFactory","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory.html","name":"ExecutionEventNodeFactory","kind":"interface","signature":"public interface ExecutionEventNodeFactory","summary":"Event node factories are factories of event nodes for a program location.","details":"The factory might be invoked multiple times for one and the same source location but the location does never change for a particular returned event node. For example it makes sense to register a performance counter on create(EventContext) and increment the counter in the ExecutionEventNode implementation. The counter can be stored as a compilation final, so no peak performance overhead persists for looking up the counter on the fast path."}
{"symbol":"com.oracle.truffle.api.instrumentation.ExecutionEventNodeFactory.create(EventContext)","href":"com/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory.html#create(com.oracle.truffle.api.instrumentation.EventContext)","name":"create","kind":"method","signature":"ExecutionEventNode create(EventContext context)","summary":"Returns a new instance of ExecutionEventNode for this particular source location.","details":"This method might be invoked multiple times for one particular source location context. The implementation must ensure that this is handled accordingly.","params":[{"name":"context","type":"EventContext","doc":"the current context where this event node should get created."}],"returns":{"type":"ExecutionEventNode","doc":"a new event node instance, or null for no event node at the location"}}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.html","name":"GenerateWrapper","kind":"annotation","signature":"public @interface GenerateWrapper","summary":"Generates a default wrapper subclass of an annotated InstrumentableNode subclass.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.yieldExceptions()","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.html#yieldExceptions()","name":"yieldExceptions","kind":"annotationElement","signature":"Class<?>[] yieldExceptions() default {}","summary":"Exceptions that are thrown to yield the execution of a thread.","details":"They must implement YieldException interface. When one of them is thrown, onYield() is called automatically. To indicate resume of the execution, provide resumeMethodPrefix().","returns":{"type":"Class<?>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.resumeMethodPrefix()","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.html#resumeMethodPrefix()","name":"resumeMethodPrefix","kind":"annotationElement","signature":"String resumeMethodPrefix() default \"\"","summary":"Prefix of methods that resume execution after yield.","details":"The prefix is empty by default, which means no resume methods. When non-empty, the generated wrapper calls ProbeNode.onResume(VirtualFrame) instead of ProbeNode.onEnter(VirtualFrame).","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.Ignore","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.Ignore.html","name":"GenerateWrapper.Ignore","kind":"annotation","signature":"public @interface GenerateWrapper.Ignore","summary":"Annotates a method which should not be instrumented in the generated wrapper subclass.","details":"The generated wrapper can still delegate to this method if it is abstract and can be overridden."}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.IncomingConverter","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.IncomingConverter.html","name":"GenerateWrapper.IncomingConverter","kind":"annotation","signature":"public @interface GenerateWrapper.IncomingConverter","summary":"Annotates a method to be used as incoming value converter.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.OutgoingConverter","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.OutgoingConverter.html","name":"GenerateWrapper.OutgoingConverter","kind":"annotation","signature":"public @interface GenerateWrapper.OutgoingConverter","summary":"Annotates a method to be used as outgoing value converter.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.YieldException","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.YieldException.html","name":"GenerateWrapper.YieldException","kind":"interface","signature":"public interface GenerateWrapper.YieldException","summary":"An interface to be implemented by yield exceptions.","details":"When a yield exception is thrown from an InstrumentableNode wrapped by GenerateWrapper, onYield() is called automatically."}
{"symbol":"com.oracle.truffle.api.instrumentation.GenerateWrapper.YieldException.getYieldValue()","href":"com/oracle/truffle/api/instrumentation/GenerateWrapper.YieldException.html#getYieldValue()","name":"getYieldValue","kind":"method","signature":"Object getYieldValue()","summary":"Get the value provided by the yield.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html","name":"InstrumentableNode","kind":"interface","signature":"public interface InstrumentableNode extends NodeInterface","summary":"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.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.isInstrumentable()","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#isInstrumentable()","name":"isInstrumentable","kind":"method","signature":"boolean isInstrumentable()","summary":"Returns true if this node is instrumentable.","detailsOmitted":true,"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.createWrapper(ProbeNode)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#createWrapper(com.oracle.truffle.api.instrumentation.ProbeNode)","name":"createWrapper","kind":"method","signature":"InstrumentableNode.WrapperNode createWrapper(ProbeNode probe)","summary":"Returns a new, never adopted, unshared wrapper node implementation for this instrumentable node.","detailsOmitted":true,"params":[{"name":"probe","type":"ProbeNode","doc":"the probe node to be adopted and sent execution events by the wrapper"}],"returns":{"type":"InstrumentableNode.WrapperNode","doc":"a wrapper implementation"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.findProbe()","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#findProbe()","name":"findProbe","kind":"method","signature":"default ProbeNode findProbe()","summary":"Determines how to find a probe given an instrumentable node.","detailsOmitted":true,"returns":{"type":"ProbeNode"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.hasTag(Class)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#hasTag(java.lang.Class)","name":"hasTag","kind":"method","signature":"default boolean hasTag(Class<? extends Tag> tag)","summary":"Returns true if this node should be considered tagged by a given tag else false.","detailsOmitted":true,"params":[{"name":"tag","type":"Class<? extends Tag>","doc":"the class provided by the language"}],"returns":{"type":"boolean","doc":"true if the node should be considered tagged by a tag else false."}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.getNodeObject()","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#getNodeObject()","name":"getNodeObject","kind":"method","signature":"default Object getNodeObject()","summary":"Returns an interop capable object that contains all keys and values of attributes associated with this node.","detailsOmitted":true,"returns":{"type":"Object","doc":"the node object as TruffleObject or null if no node object properties are available for this instrumented node"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.materializeInstrumentableNodes(Set)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#materializeInstrumentableNodes(java.util.Set)","name":"materializeInstrumentableNodes","kind":"method","signature":"default InstrumentableNode materializeInstrumentableNodes(Set<Class<? extends Tag>> materializedTags)","summary":"Removes optimizations performed in this AST node to restore the syntactic AST structure.","detailsOmitted":true,"params":[{"name":"materializedTags","type":"Set<Class<? extends Tag>>","doc":"a set of tags that requested to be materialized"}],"returns":{"type":"InstrumentableNode"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.findNearestNodeAt(int, Set)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#findNearestNodeAt(int,java.util.Set)","name":"findNearestNodeAt","kind":"method","signature":"default Node findNearestNodeAt(int sourceCharIndex, Set<Class<? extends Tag>> tags)","summary":"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.","detailsOmitted":true,"params":[{"name":"sourceCharIndex","type":"int","doc":"the 0-based character index in this node's source, to find the nearest tagged node from"},{"name":"tags","type":"Set<Class<? extends Tag>>","doc":"a set of tags, the nearest node needs to be tagged with at least one tag from this set"}],"returns":{"type":"Node","doc":"the nearest instrumentable node according to the execution flow and tagged with some of the tags, or null when none was found"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.findNearestNodeAt(int, int, Set)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#findNearestNodeAt(int,int,java.util.Set)","name":"findNearestNodeAt","kind":"method","signature":"default Node findNearestNodeAt(int line, int column, Set<Class<? extends Tag>> tags)","summary":"Find the nearest node to the given source line and column position, according to the guest language control flow, that is tagged with some of the given tags.","details":"Behaves in the same way as findNearestNodeAt(int, Set) but uses line/column as the position specification instead of a character index.","params":[{"name":"line","type":"int","doc":"1-based line number"},{"name":"column","type":"int","doc":"1-based column number, or less than one when the column is unknown"},{"name":"tags","type":"Set<Class<? extends Tag>>","doc":"a set of tags, the nearest node needs to be tagged with at least one tag from this set"}],"returns":{"type":"Node","doc":"the nearest instrumentable node according to the execution flow and tagged with some of the tags, or null when none was found"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.findInstrumentableParent(Node)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#findInstrumentableParent(com.oracle.truffle.api.nodes.Node)","name":"findInstrumentableParent","kind":"method","signature":"static Node findInstrumentableParent(Node node)","summary":"Find the first instrumentable node on it's parent chain.","details":"If the provided node is instrumentable itself, it is returned. If not, the first parent node that is instrumentable is returned, if any.","params":[{"name":"node","type":"Node","doc":"a Node"}],"returns":{"type":"Node","doc":"the first instrumentable node, or null when no instrumentable parent exists."}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.createProbe(SourceSection)","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.html#createProbe(com.oracle.truffle.api.source.SourceSection)","name":"createProbe","kind":"method","signature":"default ProbeNode createProbe(SourceSection sourceSection)","summary":"Method allows to create an eager probe node given an instrumentable node.","details":"This is useful to implement custom probe storage by implementing findProbe().","params":[{"name":"sourceSection","type":"SourceSection","doc":"the eager materialized source section for this probe."}],"returns":{"type":"ProbeNode"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.WrapperNode.html","name":"InstrumentableNode.WrapperNode","kind":"interface","signature":"public interface InstrumentableNode.WrapperNode extends NodeInterface","summary":"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."}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode.getDelegateNode()","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.WrapperNode.html#getDelegateNode()","name":"getDelegateNode","kind":"method","signature":"Node getDelegateNode()","summary":"The instrumentable guest language node, adopted as a child, whose execution events the wrapper reports to the instrumentation framework.","details":"This method might be called in parallel from multiple threads. The method may be invoked without a language context currently being active.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode.getProbeNode()","href":"com/oracle/truffle/api/instrumentation/InstrumentableNode.WrapperNode.html#getProbeNode()","name":"getProbeNode","kind":"method","signature":"ProbeNode getProbeNode()","summary":"A child of the wrapper, through which the wrapper reports execution events related to the guest language delegate node.","details":"This method might be called in parallel from multiple threads. The method may be invoked without a language context currently being active.","returns":{"type":"ProbeNode"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html","name":"Instrumenter","kind":"class","signature":"public abstract class Instrumenter","summary":"Provides capabilities to attach listeners for execution, load, output and allocation events.","details":"The instrumenter remains usable as long as the engine is not closed. The instrumenter methods are safe to be used from arbitrary other threads."}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventListener(SourceSectionFilter, T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachExecutionEventListener(com.oracle.truffle.api.instrumentation.SourceSectionFilter,T)","name":"attachExecutionEventListener","kind":"method","signature":"public final <T extends ExecutionEventListener> EventBinding<T> attachExecutionEventListener(SourceSectionFilter eventFilter, T listener)","summary":"Starts execution event notification for a given event filter and listener.","details":"The execution events are delivered to the ExecutionEventListener. Returns a binding which allows to dispose the attached execution event binding. Disposing the binding removes all probes and wrappers from the AST that were created for this instrument. The removal of probes and wrappers is performed lazily on the next execution of the AST. By default no input value events are delivered to the listener.","params":[{"name":"eventFilter","type":"SourceSectionFilter","doc":"filters the events that are reported to the given listener"},{"name":"listener","type":"T","doc":"that listens to execution events."}],"returns":{"type":"EventBinding<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory(SourceSectionFilter, T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachExecutionEventFactory(com.oracle.truffle.api.instrumentation.SourceSectionFilter,T)","name":"attachExecutionEventFactory","kind":"method","signature":"public final <T extends ExecutionEventNodeFactory> EventBinding<T> attachExecutionEventFactory(SourceSectionFilter eventFilter, T factory)","summary":"Starts execution event notification for a given event filter and factory.","detailsOmitted":true,"params":[{"name":"eventFilter","type":"SourceSectionFilter","doc":"filters the events that are reported to the execution event nodes created by the factory."},{"name":"factory","type":"T","doc":"the factory that creates execution event nodes."}],"returns":{"type":"EventBinding<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory(SourceSectionFilter, SourceSectionFilter, T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachExecutionEventFactory(com.oracle.truffle.api.instrumentation.SourceSectionFilter,com.oracle.truffle.api.instrumentation.SourceSectionFilter,T)","name":"attachExecutionEventFactory","kind":"method","signature":"public abstract <T extends ExecutionEventNodeFactory> EventBinding<T> attachExecutionEventFactory(SourceSectionFilter eventFilter, SourceSectionFilter inputFilter, T factory)","summary":"Starts execution event notification for a given event filter and factory.","details":"Events are delivered to the ExecutionEventNode instances created by the factory. Returns a binding which allows to dispose the attached execution event binding. Disposing the binding removes all probes and wrappers from the AST that were created for this instrument. The removal of probes and wrappers is performed lazily on the next execution of the AST. The input filter argument filters which input events are delivered to the created execution event nodes.","params":[{"name":"eventFilter","type":"SourceSectionFilter","doc":"filters the events that are reported to the execution event nodes created by the factory."},{"name":"inputFilter","type":"SourceSectionFilter","doc":"filters input events, null for no input values"},{"name":"factory","type":"T","doc":"the factory that creates execution event nodes."}],"returns":{"type":"EventBinding<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory(NearestSectionFilter, SourceSectionFilter, T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachExecutionEventFactory(com.oracle.truffle.api.instrumentation.NearestSectionFilter,com.oracle.truffle.api.instrumentation.SourceSectionFilter,T)","name":"attachExecutionEventFactory","kind":"method","signature":"public abstract <T extends ExecutionEventNodeFactory> EventBinding<T> attachExecutionEventFactory(NearestSectionFilter nearestFilter, SourceSectionFilter baseFilter, T factory)","summary":"Starts execution event notification for the nearest SourceSection as specified by the NearestSectionFilter.","details":"Events are delivered to the ExecutionEventNode instances created by the factory. Returns a binding which allows to dispose the attached execution event binding. Disposing the binding removes all probes and wrappers from the AST that were created for this instrument. The removal of probes and wrappers is performed lazily on the next execution of the AST. The final nearest node is selected from the sections filtered by the baseFilter by applying InstrumentableNode.findNearestNodeAt(int, int, Set).","params":[{"name":"nearestFilter","type":"NearestSectionFilter","doc":"a filter describing the nearest section"},{"name":"baseFilter","type":"SourceSectionFilter","doc":"a filter selecting sections we find the nearest from"},{"name":"factory","type":"T","doc":"the factory that creates execution event nodes."}],"returns":{"type":"EventBinding<T>","doc":"a handle to dispose the execution event binding."}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachLoadSourceListener(SourceFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachLoadSourceListener(com.oracle.truffle.api.instrumentation.SourceFilter,T,boolean)","name":"attachLoadSourceListener","kind":"method","signature":"public abstract <T extends LoadSourceListener> EventBinding<T> attachLoadSourceListener(SourceFilter filter, T listener, boolean includeExistingSources)","summary":"Starts notifications for each newly loaded Source and returns a binding that can be used to terminate notifications.","details":"Only subsequent loads will be notified unless includeExistingSources is true, in which case a notification for each previous load will be delivered before this method returns.","params":[{"name":"filter","type":"SourceFilter","doc":"a filter on which sources events are triggered."},{"name":"listener","type":"T","doc":"a listener that gets notified if a source was loaded"},{"name":"includeExistingSources","type":"boolean","doc":"whether or not this listener should be notified for sources which were already loaded at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a handle for stopping the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachExecuteSourceListener(SourceFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachExecuteSourceListener(com.oracle.truffle.api.instrumentation.SourceFilter,T,boolean)","name":"attachExecuteSourceListener","kind":"method","signature":"public abstract <T extends ExecuteSourceListener> EventBinding<T> attachExecuteSourceListener(SourceFilter filter, T listener, boolean includeExecutedSources)","summary":"Starts notifications for each newly executed Source and returns a binding that can be used to terminate notifications.","details":"Only subsequent executions will be notified unless includeExecutedSources is true, in which case a notification for each previously executed source will be delivered before this method returns. A source is reported as executed if any of it's RootNodes start to be executed. Every source is reported at most once.","params":[{"name":"filter","type":"SourceFilter","doc":"a filter on which source events are triggered."},{"name":"listener","type":"T","doc":"a listener that gets notified if a source was executed"},{"name":"includeExecutedSources","type":"boolean","doc":"whether or not this listener should be notified for sources which were already executed at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a handle for stopping the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachLoadSourceSectionListener(SourceSectionFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachLoadSourceSectionListener(com.oracle.truffle.api.instrumentation.SourceSectionFilter,T,boolean)","name":"attachLoadSourceSectionListener","kind":"method","signature":"public abstract <T extends LoadSourceSectionListener> EventBinding<T> attachLoadSourceSectionListener(SourceSectionFilter filter, T listener, boolean includeExistingSourceSections)","summary":"Starts notifications for each SourceSection in every newly loaded Source and returns a binding that can be used to terminate notifications.","details":"Only subsequent loads will be notified unless includeExistingSourceSections is true, in which case a notification for each previous load will be delivered before this method returns. Every source is reported at most once.","params":[{"name":"filter","type":"SourceSectionFilter","doc":"a filter on which sources sections trigger events"},{"name":"listener","type":"T","doc":"a listener that gets notified if a source section was loaded"},{"name":"includeExistingSourceSections","type":"boolean","doc":"whether or not this listener should be notified for sources which were already loaded at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a handle for stopping the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachLoadSourceSectionListener(NearestSectionFilter, SourceSectionFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachLoadSourceSectionListener(com.oracle.truffle.api.instrumentation.NearestSectionFilter,com.oracle.truffle.api.instrumentation.SourceSectionFilter,T,boolean)","name":"attachLoadSourceSectionListener","kind":"method","signature":"public abstract <T extends LoadSourceSectionListener> EventBinding<T> attachLoadSourceSectionListener(NearestSectionFilter nearestFilter, SourceSectionFilter baseFilter, T listener, boolean includeExistingSourceSections)","summary":"Starts notifications for the nearest SourceSection as specified by the NearestSectionFilter and returns a binding that can be used to terminate notifications.","details":"The final nearest node is selected from the sections filtered by the baseFilter by applying InstrumentableNode.findNearestNodeAt(int, int, Set). Only subsequent loads will be notified unless includeExistingSourceSections is true, in which case a notification for each previously loaded source section will be delivered before this method returns.","params":[{"name":"nearestFilter","type":"NearestSectionFilter","doc":"a filter describing the nearest section"},{"name":"baseFilter","type":"SourceSectionFilter","doc":"a filter selecting sections we find the nearest from"},{"name":"listener","type":"T","doc":"a listener that gets notified if a source section was loaded"},{"name":"includeExistingSourceSections","type":"boolean","doc":"whether or not this listener should be notified for source sections which were already loaded at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a handle for stopping the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.createLoadSourceBinding(SourceFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#createLoadSourceBinding(com.oracle.truffle.api.instrumentation.SourceFilter,T,boolean)","name":"createLoadSourceBinding","kind":"method","signature":"public abstract <T extends LoadSourceListener> EventBinding<T> createLoadSourceBinding(SourceFilter filter, T listener, boolean includeExistingSources)","summary":"Create a binding to get notifications for each newly loaded Source.","details":"The binding needs to be attached to receive notifications. Only subsequent loads will be notified after attach, unless includeExistingSources is true, in which case a notification for each previously loaded source will be delivered before attach method returns. The difference from attachLoadSourceListener(SourceFilter, LoadSourceListener, boolean) is in having the binding object before notifications are produced when existing sources are requested.","params":[{"name":"filter","type":"SourceFilter","doc":"a filter on which sources events are triggered."},{"name":"listener","type":"T","doc":"a listener that gets notified if a source was loaded"},{"name":"includeExistingSources","type":"boolean","doc":"whether or not this listener should be notified for sources which were already loaded at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a binding handle to attach and stop the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.createExecuteSourceBinding(SourceFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#createExecuteSourceBinding(com.oracle.truffle.api.instrumentation.SourceFilter,T,boolean)","name":"createExecuteSourceBinding","kind":"method","signature":"public abstract <T extends ExecuteSourceListener> EventBinding<T> createExecuteSourceBinding(SourceFilter filter, T listener, boolean includeExecutedSources)","summary":"Create a binding to get notifications for each newly executed Source.","details":"The binding needs to be attached to receive notifications. Only subsequent executions will be notified after attach, unless includeExecutedSources is true, in which case a notification for each previously executed source will be delivered before attach method returns. Every source is reported at most once. The difference from attachExecuteSourceListener(SourceFilter, ExecuteSourceListener, boolean) is in having the binding object before notifications are produced when executed sources are requested.","params":[{"name":"filter","type":"SourceFilter","doc":"a filter on which sources events are triggered."},{"name":"listener","type":"T","doc":"a listener that gets notified if a source was executed"},{"name":"includeExecutedSources","type":"boolean","doc":"whether or not this listener should be notified for sources which were already executed at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a binding handle to attach and stop the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.createLoadSourceSectionBinding(SourceSectionFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#createLoadSourceSectionBinding(com.oracle.truffle.api.instrumentation.SourceSectionFilter,T,boolean)","name":"createLoadSourceSectionBinding","kind":"method","signature":"public abstract <T extends LoadSourceSectionListener> EventBinding<T> createLoadSourceSectionBinding(SourceSectionFilter filter, T listener, boolean includeExistingSourceSections)","summary":"Create a binding to get notifications for each newly loaded SourceSection in every newly loaded Source.","detailsOmitted":true,"params":[{"name":"filter","type":"SourceSectionFilter","doc":"a filter on which sources events are triggered."},{"name":"listener","type":"T","doc":"a listener that gets notified if a source section was loaded"},{"name":"includeExistingSourceSections","type":"boolean","doc":"whether or not this listener should be notified for source sections which were already loaded at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a binding handle to attach and stop the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.createLoadSourceSectionBinding(NearestSectionFilter, SourceSectionFilter, T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#createLoadSourceSectionBinding(com.oracle.truffle.api.instrumentation.NearestSectionFilter,com.oracle.truffle.api.instrumentation.SourceSectionFilter,T,boolean)","name":"createLoadSourceSectionBinding","kind":"method","signature":"public abstract <T extends LoadSourceSectionListener> EventBinding<T> createLoadSourceSectionBinding(NearestSectionFilter nearestFilter, SourceSectionFilter baseFilter, T listener, boolean includeExistingSourceSections)","summary":"Create a binding to get notification for the nearest source section to the given position as specified by the NearestSectionFilter.","detailsOmitted":true,"params":[{"name":"nearestFilter","type":"NearestSectionFilter","doc":"a filter describing the nearest section"},{"name":"baseFilter","type":"SourceSectionFilter","doc":"a filter selecting sections we find the nearest from"},{"name":"listener","type":"T","doc":"a listener that gets notified if a source section was loaded"},{"name":"includeExistingSourceSections","type":"boolean","doc":"whether or not this listener should be notified for source sections which were already loaded at the time when this listener was attached."}],"returns":{"type":"EventBinding<T>","doc":"a binding handle to attach and stop the notification stream"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.visitLoadedSourceSections(SourceSectionFilter, LoadSourceSectionListener)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#visitLoadedSourceSections(com.oracle.truffle.api.instrumentation.SourceSectionFilter,com.oracle.truffle.api.instrumentation.LoadSourceSectionListener)","name":"visitLoadedSourceSections","kind":"method","signature":"public abstract void visitLoadedSourceSections(SourceSectionFilter filter, LoadSourceSectionListener listener)","summary":"Notifies the listener for each SourceSection in every loaded Source that corresponds to the filter.","details":"Only loaded sections are notified, synchronously.","params":[{"name":"filter","type":"SourceSectionFilter","doc":"a filter on which source sections trigger events"},{"name":"listener","type":"LoadSourceSectionListener","doc":"a listener that gets notified with loaded source sections"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachOutConsumer(T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachOutConsumer(T)","name":"attachOutConsumer","kind":"method","signature":"public abstract <T extends OutputStream> EventBinding<T> attachOutConsumer(T stream)","summary":"Attach an output stream as a consumer of the standard output.","details":"The consumer output stream receives all output that goes to TruffleInstrument.Env.out() since this call, including output emitted by the org.graalvm.polyglot.Engine this instrumenter is being executed in, output from instruments (including this one), etc. Be sure to dispose the binding when it's not used any more.","params":[{"name":"stream","type":"T"}],"returns":{"type":"EventBinding<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachErrConsumer(T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachErrConsumer(T)","name":"attachErrConsumer","kind":"method","signature":"public abstract <T extends OutputStream> EventBinding<T> attachErrConsumer(T stream)","summary":"Attach an output stream as a consumer of the error output .","details":"The consumer output stream receives all error output that goes to TruffleInstrument.Env.err() since this call, including error output emitted by the org.graalvm.polyglot.Engine this instrumenter is being executed in, error output from instruments (including this one), etc. Be sure to dispose the binding when it's not used any more.","params":[{"name":"stream","type":"T"}],"returns":{"type":"EventBinding<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachAllocationListener(AllocationEventFilter, T)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachAllocationListener(com.oracle.truffle.api.instrumentation.AllocationEventFilter,T)","name":"attachAllocationListener","kind":"method","signature":"public abstract <T extends AllocationListener> EventBinding<T> attachAllocationListener(AllocationEventFilter filter, T listener)","summary":"Attach a listener to be notified about allocations of guest language values.","details":"Be sure to dispose the binding when it's not used any more.","params":[{"name":"filter","type":"AllocationEventFilter"},{"name":"listener","type":"T"}],"returns":{"type":"EventBinding<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachContextsListener(T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachContextsListener(T,boolean)","name":"attachContextsListener","kind":"method","signature":"public abstract <T extends ContextsListener> EventBinding<T> attachContextsListener(T listener, boolean includeActiveContexts)","summary":"Attach a listener to be notified about changes in contexts in guest language application.","details":"This is supported in TruffleInstrument.Env.getInstrumenter() only.","params":[{"name":"listener","type":"T","doc":"a listener to receive the context events"},{"name":"includeActiveContexts","type":"boolean","doc":"whether or not this listener should be notified for present active contexts"}],"returns":{"type":"EventBinding<T>","doc":"a handle for unregistering the listener"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsListener(T, boolean)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachThreadsListener(T,boolean)","name":"attachThreadsListener","kind":"method","signature":"public abstract <T extends ThreadsListener> EventBinding<T> attachThreadsListener(T listener, boolean includeInitializedThreads)","summary":"Attach a listener to be notified about changes in threads in guest language application.","details":"This is supported in TruffleInstrument.Env.getInstrumenter() only.","params":[{"name":"listener","type":"T","doc":"a listener to receive the context events"},{"name":"includeInitializedThreads","type":"boolean","doc":"whether or not this listener should be notified for present initialized threads"}],"returns":{"type":"EventBinding<T>","doc":"a handle for unregistering the listener"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsActivationListener(ThreadsActivationListener)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#attachThreadsActivationListener(com.oracle.truffle.api.instrumentation.ThreadsActivationListener)","name":"attachThreadsActivationListener","kind":"method","signature":"public abstract EventBinding<? extends ThreadsActivationListener> attachThreadsActivationListener(ThreadsActivationListener listener)","summary":"Attach a listener to be notified about when a thread gets entered or left in guest language applications.","details":"The event notification starts after the listener registration is completed. This means that currently activated threads won't get a notification. It is also possible that ThreadsActivationListener.onLeaveThread(TruffleContext) is called without ever invoking ThreadsActivationListener.onEnterThread(TruffleContext).","params":[{"name":"listener","type":"ThreadsActivationListener"}],"returns":{"type":"EventBinding<? extends ThreadsActivationListener>","doc":"a handle for unregistering the listener."}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.querySourceSections(SourceSectionFilter)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#querySourceSections(com.oracle.truffle.api.instrumentation.SourceSectionFilter)","name":"querySourceSections","kind":"method","signature":"public final List<SourceSection> querySourceSections(SourceSectionFilter filter)","summary":"Returns a filtered list of loaded SourceSection instances.","params":[{"name":"filter","type":"SourceSectionFilter","doc":"criterion for inclusion"}],"returns":{"type":"List<SourceSection>","doc":"unmodifiable list of instances that pass the filter"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.queryTags(Node)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#queryTags(com.oracle.truffle.api.nodes.Node)","name":"queryTags","kind":"method","signature":"public abstract Set<Class<?>> queryTags(Node node)","summary":"Returns an unmodifiable Set of tag classes which where associated with this node.","details":"If the instrumenter is used as a TruffleLanguage then only nodes can be queried for tags that are associated with the current language otherwise an IllegalArgumentException is thrown. The given node must not be null. If the given node is not instrumentable, the given node is not yet adopted by a RootNode or the given tag was not provided by the language then always an empty Set is returned.","params":[{"name":"node","type":"Node","doc":"the node to query"}],"returns":{"type":"Set<Class<?>>","doc":"an unmodifiable Set of tag classes which where associated with this node."}}
{"symbol":"com.oracle.truffle.api.instrumentation.Instrumenter.lookupExecutionEventNode(Node, EventBinding)","href":"com/oracle/truffle/api/instrumentation/Instrumenter.html#lookupExecutionEventNode(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.instrumentation.EventBinding)","name":"lookupExecutionEventNode","kind":"method","signature":"public abstract ExecutionEventNode lookupExecutionEventNode(Node node, EventBinding<?> binding)","summary":"Returns the execution event node that was inserted at the node's location given an event binding, if any.","details":"This is useful to identify and find information from nodes that were created for a specific instrumentation.","params":[{"name":"node","type":"Node","doc":"an instrumentable node specifying the location"},{"name":"binding","type":"EventBinding<?>","doc":"the binding to lookup the execution nodes of"}],"returns":{"type":"ExecutionEventNode","doc":"the ExecutionEventNode, or null."}}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceEvent","href":"com/oracle/truffle/api/instrumentation/LoadSourceEvent.html","name":"LoadSourceEvent","kind":"class","signature":"public final class LoadSourceEvent","summary":"Represents a source load event from a LoadSourceListener.","details":"Instances of LoadSourceEvent should be neither stored, cached nor hashed. The equality and hashing behavior is undefined."}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceEvent.getSource()","href":"com/oracle/truffle/api/instrumentation/LoadSourceEvent.html#getSource()","name":"getSource","kind":"method","signature":"public Source getSource()","summary":"Returns the loaded source that caused this event.","returns":{"type":"Source"}}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceListener","href":"com/oracle/truffle/api/instrumentation/LoadSourceListener.html","name":"LoadSourceListener","kind":"interface","signature":"public interface LoadSourceListener","summary":"A listener attached by an Instrumenter to specific locations of a guest language program to listen to load source events."}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceListener.onLoad(LoadSourceEvent)","href":"com/oracle/truffle/api/instrumentation/LoadSourceListener.html#onLoad(com.oracle.truffle.api.instrumentation.LoadSourceEvent)","name":"onLoad","kind":"method","signature":"void onLoad(LoadSourceEvent event)","summary":"Invoked whenever a new source is loaded.","details":"The order in which multiple source event listeners are notified matches the order they are attached. Implementation Note: Source load events are notified when the guest language implementation uses a new source by invoking RootNode.getCallTarget() with a root node that uses a new source in Node.getSourceSection(). It assumes that all nodes of an AST have the same source as their root.","params":[{"name":"event","type":"LoadSourceEvent","doc":"an event with context information"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent","href":"com/oracle/truffle/api/instrumentation/LoadSourceSectionEvent.html","name":"LoadSourceSectionEvent","kind":"class","signature":"public final class LoadSourceSectionEvent","summary":"Represents a source section load event from a LoadSourceSectionListener.","details":"Instances of LoadSourceSectionEvent should be neither stored, cached nor hashed. The equality and hashing behavior is undefined."}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent.getSourceSection()","href":"com/oracle/truffle/api/instrumentation/LoadSourceSectionEvent.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection()","summary":"Returns the loaded source section that caused this event.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent.getNode()","href":"com/oracle/truffle/api/instrumentation/LoadSourceSectionEvent.html#getNode()","name":"getNode","kind":"method","signature":"public Node getNode()","summary":"Returns the instrumentable Truffle node that caused this event.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceSectionListener","href":"com/oracle/truffle/api/instrumentation/LoadSourceSectionListener.html","name":"LoadSourceSectionListener","kind":"interface","signature":"public interface LoadSourceSectionListener","summary":"A listener attached by an Instrumenter to specific locations of a guest language program to listen to sources section load events."}
{"symbol":"com.oracle.truffle.api.instrumentation.LoadSourceSectionListener.onLoad(LoadSourceSectionEvent)","href":"com/oracle/truffle/api/instrumentation/LoadSourceSectionListener.html#onLoad(com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent)","name":"onLoad","kind":"method","signature":"void onLoad(LoadSourceSectionEvent event)","summary":"Invoked whenever a new source section is loaded.","details":"The listener might be notified for one source section multiple times but never with the same instrumented node. The order in which multiple source section event listeners are notified matches the order they are attached. Implementation Note: Source load events are notified when the guest language implementation uses a new source by invoking RootNode.getCallTarget() with a root node that uses a new source in Node.getSourceSection(). It assumes that all nodes of an AST have the same source as their root.","params":[{"name":"event","type":"LoadSourceSectionEvent","doc":"an event with context information"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.html","name":"NearestSectionFilter","kind":"class","signature":"public final class NearestSectionFilter","summary":"Add a filter for source sections that are nearest to the given source position, according to the guest language control flow.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter.newBuilder(int, int)","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.html#newBuilder(int,int)","name":"newBuilder","kind":"method","signature":"public static NearestSectionFilter.Builder newBuilder(int line, int column)","summary":"Creates a new NearestSectionFilter using a builder pattern.","details":"The filter will find source sections that are nearest to the given source line and column. To create the final filter finalize it using Builder.build().","params":[{"name":"line","type":"int","doc":"the line, greater than or equal to 1"},{"name":"column","type":"int","doc":"the column, or < 1 when column is unknown"}],"returns":{"type":"NearestSectionFilter.Builder","doc":"a new builder to create new NearestSectionFilter instances"}}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter.toString()","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String","doc":"the filter attributes in a human readable form for debugging."}}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.Builder.html","name":"NearestSectionFilter.Builder","kind":"class","signature":"public static final class NearestSectionFilter.Builder","summary":"Builder to configure NearestSectionFilter before creating its instance.","details":"Specify various parameters by calling individual Builder methods. When done, call build()."}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder.anchorStart(boolean)","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.Builder.html#anchorStart(boolean)","name":"anchorStart","kind":"method","signature":"public NearestSectionFilter.Builder anchorStart(boolean start)","summary":"Specify the nearest anchor.","details":"By default, the start of source section is used.","params":[{"name":"start","type":"boolean","doc":"specify if we search for the nearest start or nearest end of the filtered source sections to the given location. true for the start and false for the end."}],"returns":{"type":"NearestSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder.tagIs(Class...)","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.Builder.html#tagIs(java.lang.Class...)","name":"tagIs","kind":"method","signature":"public NearestSectionFilter.Builder tagIs(Class<?>... tags)","summary":"Specify tags of the nearest source section.","details":"More accurate result might be provided when tags are not specified in the base source section filter by SourceSectionFilter.Builder.tagIs(Class...), but here instead.","params":[{"name":"tags","type":"Class<?>...","doc":"a set of tags, the nearest node needs to be tagged with at least one tag from this set"}],"returns":{"type":"NearestSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.NearestSectionFilter.Builder.build()","href":"com/oracle/truffle/api/instrumentation/NearestSectionFilter.Builder.html#build()","name":"build","kind":"method","signature":"public NearestSectionFilter build()","summary":"Finalizes and constructs the NearestSectionFilter instance.","returns":{"type":"NearestSectionFilter","doc":"the built filter"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html","name":"ProbeNode","kind":"class","signature":"public final class ProbeNode extends Node","summary":"Represents an event sink for instrumentation events that is embedded in the AST using wrappers if needed.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.UNWIND_ACTION_REENTER","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#UNWIND_ACTION_REENTER","name":"UNWIND_ACTION_REENTER","kind":"field","signature":"public static final Object UNWIND_ACTION_REENTER","summary":"A constant that performs reenter of the current node when returned from ExecutionEventListener.onUnwind(EventContext, VirtualFrame, Object) or ExecutionEventNode.onUnwind(VirtualFrame, Object)."}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.onEnter(VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#onEnter(com.oracle.truffle.api.frame.VirtualFrame)","name":"onEnter","kind":"method","signature":"public void onEnter(VirtualFrame frame)","summary":"Should get invoked before the node is invoked.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame of the execution."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.onReturnValue(VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#onReturnValue(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onReturnValue","kind":"method","signature":"public void onReturnValue(VirtualFrame frame, Object result)","summary":"Should get invoked after the node is invoked successfully.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame of the execution."},{"name":"result","type":"Object","doc":"the result value of the operation, must be an interop type (i.e. either implementing TruffleObject or be a primitive value), or null."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.copy()","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#copy()","name":"copy","kind":"method","signature":"public Node copy()","summary":"Creates a shallow copy of this node.","returns":{"type":"Node","doc":"the new copy"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.onReturnExceptionalOrUnwind(VirtualFrame, Throwable, boolean)","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#onReturnExceptionalOrUnwind(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Throwable,boolean)","name":"onReturnExceptionalOrUnwind","kind":"method","signature":"public Object onReturnExceptionalOrUnwind(VirtualFrame frame, Throwable exception, boolean isReturnCalled)","summary":"Should get invoked if the node did not complete successfully and handle a possible unwind.","details":"When a non-null value is returned, a change of the execution path was requested by an unwind.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame of the execution."},{"name":"exception","type":"Throwable","doc":"the exception that occurred during the execution"},{"name":"isReturnCalled","type":"boolean","doc":"true when onReturnValue(VirtualFrame, Object) was called already for this node's execution, false otherwise. This helps to assure correct pairing of enter/return notifications."}],"returns":{"type":"Object","doc":"null to proceed to throw of the exception, UNWIND_ACTION_REENTER to reenter the current node, or an interop value to return that value early from the current node (void nodes just return, ignoring the return value)."}}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.onYield(VirtualFrame, Object)","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#onYield(com.oracle.truffle.api.frame.VirtualFrame,java.lang.Object)","name":"onYield","kind":"method","signature":"public void onYield(VirtualFrame frame, Object result)","summary":"Should be invoked when the node yields execution.","details":"Use GenerateWrapper.yieldExceptions() when possible, to have onYield() called automatically. When the yielded execution is resumed, call onResume(VirtualFrame), or use GenerateWrapper.resumeMethodPrefix().","params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame of the execution."},{"name":"result","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ProbeNode.onResume(VirtualFrame)","href":"com/oracle/truffle/api/instrumentation/ProbeNode.html#onResume(com.oracle.truffle.api.frame.VirtualFrame)","name":"onResume","kind":"method","signature":"public void onResume(VirtualFrame frame)","summary":"Should be invoked when execution is resumed after a yield.","details":"Use GenerateWrapper.resumeMethodPrefix() when possible, to have this method called automatically by the wrapper node. Override RootNode.isSameFrame(Frame, Frame) if necessary, to be able to match the yielded and resumed executions.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current frame of the execution."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ProvidedTags","href":"com/oracle/truffle/api/instrumentation/ProvidedTags.html","name":"ProvidedTags","kind":"annotation","signature":"public @interface ProvidedTags","summary":"Specifies a set of tags that are provided by a language implementation.","details":"Tags are used by guest languages to indicate that a node is a member of a certain category of nodes. For example a debugger instrument might require a guest language to tag all nodes as halt locations that should be considered as such."}
{"symbol":"com.oracle.truffle.api.instrumentation.ProvidedTags.value()","href":"com/oracle/truffle/api/instrumentation/ProvidedTags.html#value()","name":"value","kind":"annotationElement","signature":"Class<?>[] value()","returns":{"type":"Class<?>[]","doc":"the set of tags that are provided by the language implementation."}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter","href":"com/oracle/truffle/api/instrumentation/SourceFilter.html","name":"SourceFilter","kind":"class","signature":"public final class SourceFilter","summary":"A source filter represents an expression for a subset of guest language sources that are used in an Truffle interpreter.","details":"Start building event filters by calling SourceFilter.newBuilder() and complete them by calling Builder.build()."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.ANY","href":"com/oracle/truffle/api/instrumentation/SourceFilter.html#ANY","name":"ANY","kind":"field","signature":"public static final SourceFilter ANY","summary":"A filter that matches any source."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.newBuilder()","href":"com/oracle/truffle/api/instrumentation/SourceFilter.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static SourceFilter.Builder newBuilder()","summary":"Creates a new SourceFilter expression using a builder pattern.","details":"Individual builder statements are interpreted as conjunctions (AND) while multiple parameters for individual filter expressions are treated as disjunctions (OR). To create the final filter finalize the expression using Builder.build().","returns":{"type":"SourceFilter.Builder","doc":"a new builder to create new SourceFilter instances"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.Builder","href":"com/oracle/truffle/api/instrumentation/SourceFilter.Builder.html","name":"SourceFilter.Builder","kind":"class","signature":"public final class SourceFilter.Builder","summary":"Configure your own SourceFilter before creating its instance.","details":"Specify various parameters by calling individual Builder methods. When done, call build()."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.Builder.sourceIs(Source...)","href":"com/oracle/truffle/api/instrumentation/SourceFilter.Builder.html#sourceIs(com.oracle.truffle.api.source.Source...)","name":"sourceIs","kind":"method","signature":"public SourceFilter.Builder sourceIs(Source... source)","summary":"Add a filter for one of the given sources.","params":[{"name":"source","type":"Source..."}],"returns":{"type":"SourceFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.Builder.sourceIs(Predicate)","href":"com/oracle/truffle/api/instrumentation/SourceFilter.Builder.html#sourceIs(java.util.function.Predicate)","name":"sourceIs","kind":"method","signature":"public SourceFilter.Builder sourceIs(Predicate<Source> predicate)","summary":"Adds custom predicate to filter inclusion of sources.","details":"The predicate must always return the same result for a source instance otherwise the behavior is undefined. The predicate should be able run on multiple threads at the same time.","params":[{"name":"predicate","type":"Predicate<Source>","doc":"a test for source inclusion"}],"returns":{"type":"SourceFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.Builder.languageIs(String...)","href":"com/oracle/truffle/api/instrumentation/SourceFilter.Builder.html#languageIs(java.lang.String...)","name":"languageIs","kind":"method","signature":"public SourceFilter.Builder languageIs(String... languageIds)","summary":"Add a filter for all sources that specify one of the given language ID.","params":[{"name":"languageIds","type":"String...","doc":"matches one of the given language ID"}],"returns":{"type":"SourceFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.Builder.includeInternal(boolean)","href":"com/oracle/truffle/api/instrumentation/SourceFilter.Builder.html#includeInternal(boolean)","name":"includeInternal","kind":"method","signature":"public SourceFilter.Builder includeInternal(boolean internal)","summary":"Add a filter that includes or excludes internal sources.","details":"By default, internal sources are included, call with false to exclude internal code from instrumentation.","params":[{"name":"internal","type":"boolean"}],"returns":{"type":"SourceFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceFilter.Builder.build()","href":"com/oracle/truffle/api/instrumentation/SourceFilter.Builder.html#build()","name":"build","kind":"method","signature":"public SourceFilter build()","summary":"Finalizes and constructs the SourceFilter instance.","returns":{"type":"SourceFilter","doc":"the built filter expression"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.html","name":"SourceSectionFilter","kind":"class","signature":"public final class SourceSectionFilter","summary":"A source section filter represents an expression for a subset of tagged source sections that are used in an Truffle interpreter.","details":"Start building event filters by calling SourceSectionFilter.newBuilder() and complete them by calling Builder.build()."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.ANY","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.html#ANY","name":"ANY","kind":"field","signature":"public static final SourceSectionFilter ANY","summary":"A filter that matches everything."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.newBuilder()","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static SourceSectionFilter.Builder newBuilder()","summary":"Creates a new SourceSectionFilter expression using a builder pattern.","details":"Individual builder statements are interpreted as conjunctions (AND) while multiple parameters for individual filter expressions are treated as disjunctions (OR). To create the final filter finalize the expression using Builder.build().","returns":{"type":"SourceSectionFilter.Builder","doc":"a new builder to create new SourceSectionFilter instances"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.toString()","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String","doc":"the filter expressions in a human readable form for debugging."}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.includes(Node)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.html#includes(com.oracle.truffle.api.nodes.Node)","name":"includes","kind":"method","signature":"public boolean includes(Node node)","summary":"Checks if the filter includes the given node, i.e.","details":"do the properties of the node's source section meet the conditions set by the filter.","params":[{"name":"node","type":"Node","doc":"The node to check."}],"returns":{"type":"boolean","doc":"True of the filter includes the node, false otherwise."}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.includes(RootNode, SourceSection, Set)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.html#includes(com.oracle.truffle.api.nodes.RootNode,com.oracle.truffle.api.source.SourceSection,java.util.Set)","name":"includes","kind":"method","signature":"public boolean includes(RootNode rootNode, SourceSection nodeSourceSection, Set<Class<?>> originalTags)","summary":"Checks if the filter includes the given root node, i.e.","details":"do the properties of the given source section meet the conditions set by the filter without an instrumented node.","params":[{"name":"rootNode","type":"RootNode","doc":"The root node to be checked against the filter."},{"name":"nodeSourceSection","type":"SourceSection","doc":"The source section of the node to be checked against the filter."},{"name":"originalTags","type":"Set<Class<?>>"}],"returns":{"type":"boolean","doc":"true if the filter includes the source section and node. false otherwise."}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html","name":"SourceSectionFilter.Builder","kind":"class","signature":"public final class SourceSectionFilter.Builder","summary":"Configure your own SourceSectionFilter before creating its instance.","details":"Specify various parameters by calling individual Builder methods. When done, call build()."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.sourceFilter(SourceFilter)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#sourceFilter(com.oracle.truffle.api.instrumentation.SourceFilter)","name":"sourceFilter","kind":"method","signature":"public SourceSectionFilter.Builder sourceFilter(SourceFilter sourceFilter)","summary":"Add a source filter.","params":[{"name":"sourceFilter","type":"SourceFilter"}],"returns":{"type":"SourceSectionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.sourceIs(Source...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#sourceIs(com.oracle.truffle.api.source.Source...)","name":"sourceIs","kind":"method","signature":"public SourceSectionFilter.Builder sourceIs(Source... source)","summary":"Add a filter for all source sections that reference one of the given sources.","params":[{"name":"source","type":"Source..."}],"returns":{"type":"SourceSectionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.sourceIs(SourceSectionFilter.SourcePredicate)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#sourceIs(com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate)","name":"sourceIs","kind":"method","signature":"public SourceSectionFilter.Builder sourceIs(SourceSectionFilter.SourcePredicate predicate)","summary":"Adds custom predicate to filter inclusion of sources.","details":"The predicate must always return the same result for a source instance otherwise the behavior is undefined. The predicate should be able run on multiple threads at the same time.","params":[{"name":"predicate","type":"SourceSectionFilter.SourcePredicate","doc":"a test for inclusion"}],"returns":{"type":"SourceSectionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.rootNameIs(Predicate)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#rootNameIs(java.util.function.Predicate)","name":"rootNameIs","kind":"method","signature":"public SourceSectionFilter.Builder rootNameIs(Predicate<String> predicate)","summary":"Adds custom predicate to filter inclusion for root names.","details":"The root name might be null if not provided by the guest language. If the language returns a changing value it is unspecified which root name is going to be matched. The predicate must always return the same result for a String instance otherwise the behavior is undefined. The predicate should be able run on multiple threads at the same time.","params":[{"name":"predicate","type":"Predicate<String>","doc":"a test for inclusion"}],"returns":{"type":"SourceSectionFilter.Builder"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.mimeTypeIs(String...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#mimeTypeIs(java.lang.String...)","name":"mimeTypeIs","kind":"method","signature":"public SourceSectionFilter.Builder mimeTypeIs(String... mimeTypes)","summary":"Add a filter for all source sections that declare one of the given mime-types.","details":"Mime-types which are compared must match exactly one of the mime-types specified by the target guest language.","params":[{"name":"mimeTypes","type":"String...","doc":"matches one of the given mime types"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.tagIs(Class...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#tagIs(java.lang.Class...)","name":"tagIs","kind":"method","signature":"public SourceSectionFilter.Builder tagIs(Class<?>... tags)","summary":"Add a filter for all source sections that are tagged with one of the given tags.","params":[{"name":"tags","type":"Class<?>...","doc":"matches one of the given tags"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.tagIsNot(Class...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#tagIsNot(java.lang.Class...)","name":"tagIsNot","kind":"method","signature":"public SourceSectionFilter.Builder tagIsNot(Class<?>... tags)","summary":"Add a filter for all source sections that are not tagged with one of the given tags.","params":[{"name":"tags","type":"Class<?>...","doc":"matches not one of the given tags"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.sourceSectionEquals(SourceSection...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#sourceSectionEquals(com.oracle.truffle.api.source.SourceSection...)","name":"sourceSectionEquals","kind":"method","signature":"public SourceSectionFilter.Builder sourceSectionEquals(SourceSection... section)","summary":"Add a filter for all source sections that equal one of the given source sections.","params":[{"name":"section","type":"SourceSection...","doc":"matches one of the given source sections"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.sourceSectionAvailableOnly(boolean)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#sourceSectionAvailableOnly(boolean)","name":"sourceSectionAvailableOnly","kind":"method","signature":"public SourceSectionFilter.Builder sourceSectionAvailableOnly(boolean availableOnly)","summary":"Add a filter for available source sections.","details":"By default all locations with or without available source sections are provided. If this flag is set to true then null and not available source sections are filtered out.","params":[{"name":"availableOnly","type":"boolean","doc":"true to include only non-null and available source sections, false to include all."}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.rootSourceSectionEquals(SourceSection...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#rootSourceSectionEquals(com.oracle.truffle.api.source.SourceSection...)","name":"rootSourceSectionEquals","kind":"method","signature":"public SourceSectionFilter.Builder rootSourceSectionEquals(SourceSection... section)","summary":"Add a filter for all root source sections that equal one of the given source sections.","details":"All descendant source sections of a matching root source section are included in the filter. This can mean in the dynamic language domain that all nodes of a function for which the root source section matches the given source section is instrumented but its inner functions and its nodes are not instrumented.","params":[{"name":"section","type":"SourceSection...","doc":"matches one of the given root source sections"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.indexNotIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#indexNotIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"indexNotIn","kind":"method","signature":"public SourceSectionFilter.Builder indexNotIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections which indices are not contained in one of the given index ranges.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches indices that are not contained in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.indexIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#indexIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"indexIn","kind":"method","signature":"public SourceSectionFilter.Builder indexIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections which indices are contained in one of the given index ranges.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches indices that are contained in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.indexIn(int, int)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#indexIn(int,int)","name":"indexIn","kind":"method","signature":"public SourceSectionFilter.Builder indexIn(int startIndex, int length)","summary":"Add a filter for all source sections where the index is inside a startIndex (inclusive) plus a given length (exclusive).","params":[{"name":"startIndex","type":"int","doc":"the start index (inclusive)"},{"name":"length","type":"int","doc":"the number of matched characters"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.lineIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#lineIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"lineIn","kind":"method","signature":"public SourceSectionFilter.Builder lineIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where lines are contained in one of the given index ranges.","details":"Line indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches lines that are contained in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.lineNotIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#lineNotIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"lineNotIn","kind":"method","signature":"public SourceSectionFilter.Builder lineNotIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where lines are not contained in one of the given index ranges.","details":"Line indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches lines that are not contained in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.lineIn(int, int)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#lineIn(int,int)","name":"lineIn","kind":"method","signature":"public SourceSectionFilter.Builder lineIn(int startLine, int length)","summary":"Add a filter for all source sections where the line is inside a startLine (first index inclusive) plus a given length (last index exclusive).","params":[{"name":"startLine","type":"int","doc":"the start line (inclusive)"},{"name":"length","type":"int","doc":"the number of matched lines"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.lineStartsIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#lineStartsIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"lineStartsIn","kind":"method","signature":"public SourceSectionFilter.Builder lineStartsIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where the line starts in one of the given index ranges.","details":"Line indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches lines that start in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.lineEndsIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#lineEndsIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"lineEndsIn","kind":"method","signature":"public SourceSectionFilter.Builder lineEndsIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where the line ends in one of the given index ranges.","details":"Line indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches lines that end in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.columnIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#columnIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"columnIn","kind":"method","signature":"public SourceSectionFilter.Builder columnIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where the columns are contained in one of the given index ranges.","details":"Column indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches columns that are contained in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.columnNotIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#columnNotIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"columnNotIn","kind":"method","signature":"public SourceSectionFilter.Builder columnNotIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where columns are not contained in one of the given index ranges.","details":"Column indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches columns that are not contained in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.columnIn(int, int)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#columnIn(int,int)","name":"columnIn","kind":"method","signature":"public SourceSectionFilter.Builder columnIn(int startColumn, int length)","summary":"Add a filter for all source sections where the column is inside a startColumn (first index inclusive) plus a given length (last index exclusive).","params":[{"name":"startColumn","type":"int","doc":"the start column (inclusive)"},{"name":"length","type":"int","doc":"the number of matched columns"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.columnStartsIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#columnStartsIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"columnStartsIn","kind":"method","signature":"public SourceSectionFilter.Builder columnStartsIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all source sections where the column starts in one of the given index ranges.","details":"Column indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches columns that start in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.columnEndsIn(SourceSectionFilter.IndexRange...)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#columnEndsIn(com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange...)","name":"columnEndsIn","kind":"method","signature":"public SourceSectionFilter.Builder columnEndsIn(SourceSectionFilter.IndexRange... ranges)","summary":"Add a filter for all sources sections where the column ends in one of the given index ranges.","details":"Column indices must be greater than or equal to 1.","params":[{"name":"ranges","type":"SourceSectionFilter.IndexRange...","doc":"matches columns that end in one of the given index ranges"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.lineIs(int)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#lineIs(int)","name":"lineIs","kind":"method","signature":"public SourceSectionFilter.Builder lineIs(int line)","summary":"Add a filter for all sources sections where the line is exactly the given line.","details":"Line indices must be greater than or equal to 1. *","params":[{"name":"line","type":"int","doc":"the line to be matched"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.includeInternal(boolean)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#includeInternal(boolean)","name":"includeInternal","kind":"method","signature":"public SourceSectionFilter.Builder includeInternal(boolean internal)","summary":"Add a filter that includes or excludes internal root nodes.","details":"By default, internal roots are included, call with false to exclude internal code from instrumentation.","params":[{"name":"internal","type":"boolean"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.and(SourceSectionFilter)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#and(com.oracle.truffle.api.instrumentation.SourceSectionFilter)","name":"and","kind":"method","signature":"public SourceSectionFilter.Builder and(SourceSectionFilter filter)","summary":"Adds all the filters defined in the given filter.","params":[{"name":"filter","type":"SourceSectionFilter","doc":"an existing filter to be included"}],"returns":{"type":"SourceSectionFilter.Builder","doc":"the builder to chain calls"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.Builder.build()","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.Builder.html#build()","name":"build","kind":"method","signature":"public SourceSectionFilter build()","summary":"Finalizes and constructs the SourceSectionFilter instance.","returns":{"type":"SourceSectionFilter","doc":"the built filter expression"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.IndexRange.html","name":"SourceSectionFilter.IndexRange","kind":"class","signature":"public static final class SourceSectionFilter.IndexRange","summary":"Represents a range between two indices within a source section filter.","details":"Instances are immutable."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange.between(int, int)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.IndexRange.html#between(int,int)","name":"between","kind":"method","signature":"public static SourceSectionFilter.IndexRange between(int startIndex, int endIndex)","summary":"Constructs a new index range between one a first index inclusive and a second index exclusive.","details":"Parameters must comply startIndex >= 0 and startIndex <= endIndex.","params":[{"name":"startIndex","type":"int","doc":"the start index (inclusive)"},{"name":"endIndex","type":"int","doc":"the end index (exclusive)"}],"returns":{"type":"SourceSectionFilter.IndexRange","doc":"a new index range"},"throws":[{"type":"IllegalArgumentException","doc":"if parameter invariants are violated"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange.byLength(int, int)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.IndexRange.html#byLength(int,int)","name":"byLength","kind":"method","signature":"public static SourceSectionFilter.IndexRange byLength(int startIndex, int length)","summary":"Constructs a new index range with a given first index inclusive and a given length.","details":"Parameters must comply startIndex >= 0 and length >= 0.","params":[{"name":"startIndex","type":"int","doc":"the start index (inclusive)"},{"name":"length","type":"int","doc":"the length of the range"}],"returns":{"type":"SourceSectionFilter.IndexRange","doc":"a new index range"},"throws":[{"type":"IllegalArgumentException","doc":"if parameter invariants are violated"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.IndexRange.toString()","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.IndexRange.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String","doc":"a human readable version of the index range"}}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.SourcePredicate.html","name":"SourceSectionFilter.SourcePredicate","kind":"interface","signature":"public interface SourceSectionFilter.SourcePredicate extends Predicate<Source>","summary":"Represents a predicate for source objects."}
{"symbol":"com.oracle.truffle.api.instrumentation.SourceSectionFilter.SourcePredicate.test(Source)","href":"com/oracle/truffle/api/instrumentation/SourceSectionFilter.SourcePredicate.html#test(com.oracle.truffle.api.source.Source)","name":"test","kind":"method","signature":"boolean test(Source source)","summary":"Returns true if the given source should be tested positive and false if the sources should be filtered.","params":[{"name":"source","type":"Source","doc":"the source object to filter"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags","href":"com/oracle/truffle/api/instrumentation/StandardTags.html","name":"StandardTags","kind":"class","signature":"public final class StandardTags","summary":"Set of standard tags usable by language agnostic tools.","details":"Language should provide an implementation of these tags in order to support a wide variety of tools."}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.CallTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.CallTag.html","name":"StandardTags.CallTag","kind":"class","signature":"public static final class StandardTags.CallTag extends Tag","summary":"Marks program locations that represent a call to other guest language functions, methods or closures.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.ExpressionTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.ExpressionTag.html","name":"StandardTags.ExpressionTag","kind":"class","signature":"public static final class StandardTags.ExpressionTag extends Tag","summary":"Marks program locations as to be considered expressions of the languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.ReadVariableTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.ReadVariableTag.html","name":"StandardTags.ReadVariableTag","kind":"class","signature":"public static final class StandardTags.ReadVariableTag extends Tag","summary":"Marks program locations to be considered as reads of variables of the languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.ReadVariableTag.NAME","href":"com/oracle/truffle/api/instrumentation/StandardTags.ReadVariableTag.html#NAME","name":"NAME","kind":"field","signature":"public static final String NAME","summary":"Property of the node object that contains name of the variable.","value":"\"readVariableName\""}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.RootBodyTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.RootBodyTag.html","name":"StandardTags.RootBodyTag","kind":"class","signature":"public static final class StandardTags.RootBodyTag extends Tag","summary":"Marks program locations as bodies of a function, method or closure.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.RootTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.RootTag.html","name":"StandardTags.RootTag","kind":"class","signature":"public static final class StandardTags.RootTag extends Tag","summary":"Marks program locations as root of a function, method or closure.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.StatementTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.StatementTag.html","name":"StandardTags.StatementTag","kind":"class","signature":"public static final class StandardTags.StatementTag extends Tag","summary":"Marks program locations that represent a statement of a language.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.TryBlockTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.TryBlockTag.html","name":"StandardTags.TryBlockTag","kind":"class","signature":"public static final class StandardTags.TryBlockTag extends Tag","summary":"Marks program locations to be considered as try blocks, that are followed by catch.","details":"To determine which exceptions are caught by InstrumentableNode tagged with this tag, the node might provide a node object that has catches function, which takes a an interop value that returns true for InteropLibrary.isException(Object) and returns a boolean value indicating whether the try block catches the exception, or not. When this block catches all exceptions, no special node object or catches function needs to be provided."}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.TryBlockTag.CATCHES","href":"com/oracle/truffle/api/instrumentation/StandardTags.TryBlockTag.html#CATCHES","name":"CATCHES","kind":"field","signature":"public static final String CATCHES","summary":"Name of the catches function.","value":"\"catches\""}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.WriteVariableTag","href":"com/oracle/truffle/api/instrumentation/StandardTags.WriteVariableTag.html","name":"StandardTags.WriteVariableTag","kind":"class","signature":"public static final class StandardTags.WriteVariableTag extends Tag","summary":"Marks program locations to be considered as writes of variables of the languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.StandardTags.WriteVariableTag.NAME","href":"com/oracle/truffle/api/instrumentation/StandardTags.WriteVariableTag.html#NAME","name":"NAME","kind":"field","signature":"public static final String NAME","summary":"Property of the node object that contains name of the variable.","value":"\"writeVariableName\""}
{"symbol":"com.oracle.truffle.api.instrumentation.Tag","href":"com/oracle/truffle/api/instrumentation/Tag.html","name":"Tag","kind":"class","signature":"public abstract class Tag","summary":"Base class for tags used in the Truffle instrumentation framework."}
{"symbol":"com.oracle.truffle.api.instrumentation.Tag()","href":"com/oracle/truffle/api/instrumentation/Tag.html#%3Cinit%3E()","name":"Tag","kind":"constructor","signature":"protected Tag()","summary":"No instances of tags allowed.","details":"Tags are marker classes."}
{"symbol":"com.oracle.truffle.api.instrumentation.Tag.findProvidedTag(LanguageInfo, String)","href":"com/oracle/truffle/api/instrumentation/Tag.html#findProvidedTag(com.oracle.truffle.api.nodes.LanguageInfo,java.lang.String)","name":"findProvidedTag","kind":"method","signature":"public static Class<? extends Tag> findProvidedTag(LanguageInfo language, String tagId)","summary":"Finds a provided tag by the language using its identifier.","details":"If the language implementation class is not yet loaded then this method will force the loading. Therefore it is not recommended to iterate over the entire list of languages and request all provided tags. It is guaranteed that there is only one provided tag class per tag identifier and language. For different languages the same tag id might refer to different tag classes.","params":[{"name":"language","type":"LanguageInfo"},{"name":"tagId","type":"String"}],"returns":{"type":"Class<? extends Tag>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Tag.getIdentifier(Class)","href":"com/oracle/truffle/api/instrumentation/Tag.html#getIdentifier(java.lang.Class)","name":"getIdentifier","kind":"method","signature":"public static String getIdentifier(Class<? extends Tag> tag)","summary":"Returns the alias of a particular tag or null if no alias was specified for this tag.","params":[{"name":"tag","type":"Class<? extends Tag>","doc":"the tag to return the alias for."}],"returns":{"type":"String","doc":"the alias string"}}
{"symbol":"com.oracle.truffle.api.instrumentation.Tag.Identifier","href":"com/oracle/truffle/api/instrumentation/Tag.Identifier.html","name":"Tag.Identifier","kind":"annotation","signature":"public @interface Tag.Identifier","summary":"Annotation applied to Tag subclasses to specify the tag identifier.","details":"The tag identifier can be used to find and load tag classes used by tools."}
{"symbol":"com.oracle.truffle.api.instrumentation.Tag.Identifier.value()","href":"com/oracle/truffle/api/instrumentation/Tag.Identifier.html#value()","name":"value","kind":"annotationElement","signature":"String value()","summary":"Returns the identifier value as string.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.instrumentation.ThreadsActivationListener","href":"com/oracle/truffle/api/instrumentation/ThreadsActivationListener.html","name":"ThreadsActivationListener","kind":"interface","signature":"public interface ThreadsActivationListener","summary":"Listener that allows to be notified when threads become active and deactivated.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.ThreadsActivationListener.onEnterThread(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/ThreadsActivationListener.html#onEnterThread(com.oracle.truffle.api.TruffleContext)","name":"onEnterThread","kind":"method","signature":"void onEnterThread(TruffleContext context)","summary":"Notified when a context is entered on the current thread.","details":"Entering a thread indicates that the context is currently active. A context maybe entered multiple times per thread. This method is executed frequently and must be designed for compilation. If this method throws an com.oracle.truffle.api.exception.AbstractTruffleException the exception interop messages may be executed without a context being entered.","params":[{"name":"context","type":"TruffleContext","doc":"the context being entered on the current thread"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ThreadsActivationListener.onLeaveThread(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/ThreadsActivationListener.html#onLeaveThread(com.oracle.truffle.api.TruffleContext)","name":"onLeaveThread","kind":"method","signature":"void onLeaveThread(TruffleContext context)","summary":"Notified when a context is entered on the current thread.","details":"Leaving a thread indicates that the context is no longer active on that thread. A context maybe left multiple times per thread. This method is executed frequently and must be designed for compilation.","params":[{"name":"context","type":"TruffleContext","doc":"the context being left on the current thread"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ThreadsListener","href":"com/oracle/truffle/api/instrumentation/ThreadsListener.html","name":"ThreadsListener","kind":"interface","signature":"public interface ThreadsListener","summary":"Listener to be notified about changes of threads in guest language application.","details":"Use Instrumenter.attachThreadsListener(com.oracle.truffle.api.instrumentation.ThreadsListener, boolean) to register an implementation of this listener. Use EventBinding.dispose() to unregister. The listener gets called when a thread is initialized for use in a context or thread-related resources are disposed in a context. The notification calls do not say anything about the actual life-time of the thread as such, which may live before the initialization and may continue to live after the disposal."}
{"symbol":"com.oracle.truffle.api.instrumentation.ThreadsListener.onThreadInitialized(TruffleContext, Thread)","href":"com/oracle/truffle/api/instrumentation/ThreadsListener.html#onThreadInitialized(com.oracle.truffle.api.TruffleContext,java.lang.Thread)","name":"onThreadInitialized","kind":"method","signature":"void onThreadInitialized(TruffleContext context, Thread thread)","summary":"Notifies about initialization of a thread to be used for a guest language execution in a TruffleContext.","details":"If this method throws an com.oracle.truffle.api.exception.AbstractTruffleException the exception interop messages may be executed without a context being entered.","params":[{"name":"context","type":"TruffleContext","doc":"the context the thread is initialized in"},{"name":"thread","type":"Thread","doc":"the initialized thread"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.ThreadsListener.onThreadDisposed(TruffleContext, Thread)","href":"com/oracle/truffle/api/instrumentation/ThreadsListener.html#onThreadDisposed(com.oracle.truffle.api.TruffleContext,java.lang.Thread)","name":"onThreadDisposed","kind":"method","signature":"void onThreadDisposed(TruffleContext context, Thread thread)","summary":"Notifies about disposal of thread-related resources that were used for a guest language execution in a TruffleContext.","params":[{"name":"context","type":"TruffleContext","doc":"the context the thread is disposed from"},{"name":"thread","type":"Thread","doc":"the thread"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html","name":"TruffleInstrument","kind":"class","signature":"public abstract class TruffleInstrument","summary":"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.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#%3Cinit%3E()","name":"TruffleInstrument","kind":"constructor","signature":"protected TruffleInstrument()","summary":"Constructor for subclasses."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.locals","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#locals","name":"locals","kind":"field","signature":"protected final TruffleInstrument.ContextLocalProvider locals","summary":"Provider for creating context local and context thread local references."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.onCreate(TruffleInstrument.Env)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env)","name":"onCreate","kind":"method","signature":"protected abstract void onCreate(TruffleInstrument.Env env)","summary":"Invoked once on each newly allocated TruffleInstrument instance.","detailsOmitted":true,"params":[{"name":"env","type":"TruffleInstrument.Env","doc":"environment information for the instrument"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.onPreinitialize(TruffleInstrument.Env)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#onPreinitialize(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env)","name":"onPreinitialize","kind":"method","signature":"protected boolean onPreinitialize(TruffleInstrument.Env env)","summary":"Invoked once on an initialized instrument when its engine is preinitialized.","details":"This method is called after all contexts have been prepared and without an entered context. Services of other instruments may be looked up; instruments initialized by such lookups receive this callback as well. When an explicitly preinitialized engine is consumed, the instrument's options must match, including which options were explicitly set. There is no consumption-time patch callback. By default, instruments do not support preinitialization.","params":[{"name":"env","type":"TruffleInstrument.Env","doc":"environment information for the instrument"}],"returns":{"type":"boolean","doc":"true if the instrument state can be retained in the preinitialized engine, or false to fail engine preinitialization"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.onFinalize(TruffleInstrument.Env)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#onFinalize(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env)","name":"onFinalize","kind":"method","signature":"protected void onFinalize(TruffleInstrument.Env env)","summary":"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.","details":"This method is called before onDispose(Env) and the instrument must remain usable after finalization. The instrument can prepare for disposal while still having other instruments not disposed yet. In the event of VM shutdown, onDispose(Env) for active instruments on unclosed engines is not called, and so in case the instrument is supposed to do some specific action before its disposal, e.g. print some kind of summary, it should be done in this method.","params":[{"name":"env","type":"TruffleInstrument.Env","doc":"environment information for the instrument"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.onDispose(TruffleInstrument.Env)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#onDispose(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env)","name":"onDispose","kind":"method","signature":"protected void onDispose(TruffleInstrument.Env env)","summary":"Invoked once on an instance when it becomes disabled, possibly because the underlying engine has been closed.","details":"A disposed instance is no longer usable. If the instrument is re-enabled, the engine will create a new instance. In the event of VM shutdown, this method is not called for active instruments on unclosed engines. The unclosed engines are not closed automatically on VM shutdown, they just die with the VM.","params":[{"name":"env","type":"TruffleInstrument.Env","doc":"environment information for the instrument"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.getOptionDescriptors()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#getOptionDescriptors()","name":"getOptionDescriptors","kind":"method","signature":"protected OptionDescriptors getOptionDescriptors()","summary":"Returns a set of option descriptors that are supported by this instrument.","detailsOmitted":true,"returns":{"type":"OptionDescriptors"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.getContextOptionDescriptors()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#getContextOptionDescriptors()","name":"getContextOptionDescriptors","kind":"method","signature":"protected OptionDescriptors getContextOptionDescriptors()","summary":"Returns a set of option descriptors for instrument options that can be specified per context.","detailsOmitted":true,"returns":{"type":"OptionDescriptors"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.getSourceOptionDescriptors()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#getSourceOptionDescriptors()","name":"getSourceOptionDescriptors","kind":"method","signature":"protected OptionDescriptors getSourceOptionDescriptors()","summary":"Returns a set of source option descriptors that are supported by this language.","details":"Option values are accessible using the environment. Languages must always return the same option descriptors independent of the language instance or side-effects.","returns":{"type":"OptionDescriptors"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.createContextLocal(TruffleInstrument.ContextLocalFactory)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#createContextLocal(com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory)","name":"createContextLocal","kind":"method","signature":"protected final <T> ContextLocal<T> createContextLocal(TruffleInstrument.ContextLocalFactory<T> factory)","summary":"Creates a new context local reference for this Truffle instrument.","details":"Starting with JDK 21, using this method leads to a this-escape warning. Use TruffleInstrument.ContextLocalProvider.createContextLocal(TruffleInstrument.ContextLocalFactory) instead.","deprecated":{"doc":"in 23.1, use TruffleInstrument.ContextLocalProvider.createContextLocal(TruffleInstrument.ContextLocalFactory) instead"},"params":[{"name":"factory","type":"TruffleInstrument.ContextLocalFactory<T>"}],"returns":{"type":"ContextLocal<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.html#createContextThreadLocal(com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory)","name":"createContextThreadLocal","kind":"method","signature":"protected final <T> ContextThreadLocal<T> createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T> factory)","summary":"Creates a new context thread local reference for this Truffle instrument.","details":"Starting with JDK 21, using this method leads to a this-escape warning. Use TruffleInstrument.ContextLocalProvider.createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory) instead.","deprecated":{"doc":"in 23.1, use TruffleInstrument.ContextLocalProvider.createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory) instead"},"params":[{"name":"factory","type":"TruffleInstrument.ContextThreadLocalFactory<T>"}],"returns":{"type":"ContextThreadLocal<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextLocalFactory.html","name":"TruffleInstrument.ContextLocalFactory","kind":"interface","signature":"protected interface TruffleInstrument.ContextLocalFactory<T>","summary":"Context local factory for Truffle instruments.","details":"Creates a new value per context."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory.create(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextLocalFactory.html#create(com.oracle.truffle.api.TruffleContext)","name":"create","kind":"method","signature":"T create(TruffleContext context)","summary":"Returns a new value for a context local of an instrument.","details":"The returned value must not be null and must return a stable and exact type per registered instrument. A thread local must always return the same class, even for multiple instances of the same TruffleInstrument. If this method throws an com.oracle.truffle.api.exception.AbstractTruffleException the exception interop messages may be executed without a context being entered.","params":[{"name":"context","type":"TruffleContext"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextLocalProvider.html","name":"TruffleInstrument.ContextLocalProvider","kind":"class","signature":"protected static final class TruffleInstrument.ContextLocalProvider","summary":"Provider for creating context local and context thread local references."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider.createContextLocal(TruffleInstrument.ContextLocalFactory)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextLocalProvider.html#createContextLocal(com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalFactory)","name":"createContextLocal","kind":"method","signature":"public <T> ContextLocal<T> createContextLocal(TruffleInstrument.ContextLocalFactory<T> factory)","summary":"Creates a new context local reference for this instrument.","detailsOmitted":true,"params":[{"name":"factory","type":"TruffleInstrument.ContextLocalFactory<T>"}],"returns":{"type":"ContextLocal<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextLocalProvider.createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextLocalProvider.html#createContextThreadLocal(com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory)","name":"createContextThreadLocal","kind":"method","signature":"public <T> ContextThreadLocal<T> createContextThreadLocal(TruffleInstrument.ContextThreadLocalFactory<T> factory)","summary":"Creates a new context thread local reference for this Truffle language.","detailsOmitted":true,"params":[{"name":"factory","type":"TruffleInstrument.ContextThreadLocalFactory<T>"}],"returns":{"type":"ContextThreadLocal<T>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextThreadLocalFactory.html","name":"TruffleInstrument.ContextThreadLocalFactory","kind":"interface","signature":"protected interface TruffleInstrument.ContextThreadLocalFactory<T>","summary":"Context local factory for Truffle instruments.","details":"Creates a new value per context and thread."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.ContextThreadLocalFactory.create(TruffleContext, Thread)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.ContextThreadLocalFactory.html#create(com.oracle.truffle.api.TruffleContext,java.lang.Thread)","name":"create","kind":"method","signature":"T create(TruffleContext context, Thread thread)","summary":"Returns a new value for a context thread local for a context and thread.","details":"The returned value must not be null and must return a stable and exact type per registered instrument. A thread local must always return the same class, even for multiple instances of the same TruffleInstrument. If this method throws an com.oracle.truffle.api.exception.AbstractTruffleException the exception interop messages may be executed without a context being entered.","params":[{"name":"context","type":"TruffleContext"},{"name":"thread","type":"Thread"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html","name":"TruffleInstrument.Env","kind":"class","signature":"public static final class TruffleInstrument.Env","summary":"Access to instrumentation services as well as input, output, and error streams."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getInstrumenter()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getInstrumenter()","name":"getInstrumenter","kind":"method","signature":"public Instrumenter getInstrumenter()","summary":"Returns the instrumenter which lets you instrument guest language ASTs.","returns":{"type":"Instrumenter"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.in()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#in()","name":"in","kind":"method","signature":"public InputStream in()","summary":"Input associated with org.graalvm.polyglot.Engine this instrument is being executed in.","returns":{"type":"InputStream","doc":"reader, never null"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.out()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#out()","name":"out","kind":"method","signature":"public OutputStream out()","summary":"Standard output writer for org.graalvm.polyglot.Engine this instrument is being executed in.","returns":{"type":"OutputStream","doc":"writer, never null"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.err()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#err()","name":"err","kind":"method","signature":"public OutputStream err()","summary":"Standard error writer for org.graalvm.polyglot.Engine this instrument is being executed in.","returns":{"type":"OutputStream","doc":"writer, never null"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.startServer(URI, MessageEndpoint)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#startServer(java.net.URI,org.graalvm.polyglot.io.MessageEndpoint)","name":"startServer","kind":"method","signature":"public MessageEndpoint startServer(URI uri, MessageEndpoint server) throws IOException, MessageTransport.VetoException","summary":"Start a server at the provided URI via the MessageTransport service.","detailsOmitted":true,"params":[{"name":"uri","type":"URI","doc":"the URI of the server endpoint"},{"name":"server","type":"MessageEndpoint","doc":"the handler of messages at the server side"}],"returns":{"type":"MessageEndpoint","doc":"an implementation of MessageEndpoint call back representing the client side, or null when no virtual transport is available"},"throws":[{"type":"MessageTransport.VetoException","doc":"if creation of a server at that URI is not allowed"},{"type":"IOException"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.registerService(Object)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#registerService(java.lang.Object)","name":"registerService","kind":"method","signature":"public void registerService(Object service)","summary":"Registers additional service.","details":"This method can be called multiple time, but only during initialization of the instrument. These services are made available to users via org.graalvm.polyglot.Instrument.lookup query method. This method can only be called from onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env) method - then the services are collected and cannot be changed anymore.","params":[{"name":"service","type":"Object","doc":"a service to be returned from associated org.graalvm.polyglot.Instrument.lookup"}],"throws":[{"type":"IllegalStateException","doc":"if the method is called later than from onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument.Env) method"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.lookup(LanguageInfo, Class)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#lookup(com.oracle.truffle.api.nodes.LanguageInfo,java.lang.Class)","name":"lookup","kind":"method","signature":"public <S> S lookup(LanguageInfo language, Class<S> type)","summary":"Queries a language implementation for a special service.","details":"The services can be provided by the language by directly implementing them when subclassing TruffleLanguage. The truffle language needs to be entered on the current Thread otherwise an AssertionError is thrown.","params":[{"name":"language","type":"LanguageInfo","doc":"identification of the language to query"},{"name":"type","type":"Class<S>","doc":"the class of the requested type"}],"returns":{"type":"S","doc":"the registered service or null if none is found"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.lookup(InstrumentInfo, Class)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#lookup(com.oracle.truffle.api.InstrumentInfo,java.lang.Class)","name":"lookup","kind":"method","signature":"public <S> S lookup(InstrumentInfo instrument, Class<S> type)","summary":"Returns an additional service provided by this instrument, specified by type.","details":"If an instrument is not enabled, it will be enabled automatically by requesting a supported service. If the instrument does not provide a service for a given type it will not be enabled automatically. An IllegalArgumentException is thrown if a service is looked up from the current instrument.","params":[{"name":"instrument","type":"InstrumentInfo","doc":"identification of the instrument to query"},{"name":"type","type":"Class<S>","doc":"the class of the requested type"}],"returns":{"type":"S","doc":"the registered service or null if none is found"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getLanguages()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getLanguages()","name":"getLanguages","kind":"method","signature":"public Map<String, LanguageInfo> getLanguages()","summary":"Returns a map language id to language info of all languages that are installed in the environment.","returns":{"type":"Map<String, LanguageInfo>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getHostLanguage()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getHostLanguage()","name":"getHostLanguage","kind":"method","signature":"public LanguageInfo getHostLanguage()","summary":"Retrieves the host language used in this environment.","details":"The returned language can be used to obtain the host language top scope object using getScope(LanguageInfo) method.","returns":{"type":"LanguageInfo"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getInstruments()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getInstruments()","name":"getInstruments","kind":"method","signature":"public Map<String, InstrumentInfo> getInstruments()","summary":"Returns a map instrument id to instrument info of all instruments that are installed in the environment.","returns":{"type":"Map<String, InstrumentInfo>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getOptions()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getOptions()","name":"getOptions","kind":"method","signature":"public OptionValues getOptions()","summary":"Returns the context independent option values for the options described in TruffleInstrument.getOptionDescriptors().","details":"The returned options are never null.","returns":{"type":"OptionValues"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getOptions(TruffleContext)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getOptions(com.oracle.truffle.api.TruffleContext)","name":"getOptions","kind":"method","signature":"public OptionValues getOptions(TruffleContext context)","summary":"Returns the context specific option values for the options described in TruffleInstrument.getContextOptionDescriptors() and TruffleInstrument.getOptionDescriptors().","details":"Instrument context options can be different for each TruffleContext, whereas regular options cannot.","params":[{"name":"context","type":"TruffleContext"}],"returns":{"type":"OptionValues"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getOptions(Source)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getOptions(com.oracle.truffle.api.source.Source)","name":"getOptions","kind":"method","signature":"public OptionValues getOptions(Source source)","summary":"Returns the parsed option values of the given source for the current instrument.","details":"Options can be specified by implementing TruffleInstrument.getSourceOptionDescriptors(). Note that options may not be validated beforehand, which can result in an IllegalArgumentException if validation fails. If the source was parsed previously, all options are guaranteed to have been validated. Otherwise, this method validates only the options of the current instrument.","params":[{"name":"source","type":"Source","doc":"the source whose option values are to be retrieved"}],"returns":{"type":"OptionValues","doc":"the parsed OptionValues for the specified source"},"throws":[{"type":"IllegalArgumentException","doc":"if option validation fails"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.parse(Source, String...)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#parse(com.oracle.truffle.api.source.Source,java.lang.String...)","name":"parse","kind":"method","signature":"public CallTarget parse(Source source, String... argumentNames) throws IOException","summary":"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...).","params":[{"name":"source","type":"Source","doc":"the source to evaluate"},{"name":"argumentNames","type":"String...","doc":"the names of CallTarget.call(java.lang.Object...) arguments that can be referenced from the source"}],"returns":{"type":"CallTarget","doc":"the call target representing the parsed result"},"throws":[{"type":"IOException","doc":"if the parsing or evaluation fails for some reason"},{"type":"SecurityException"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.parseInline(Source, Node, MaterializedFrame)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#parseInline(com.oracle.truffle.api.source.Source,com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.MaterializedFrame)","name":"parseInline","kind":"method","signature":"public ExecutableNode parseInline(Source source, Node node, MaterializedFrame frame)","summary":"Parses source snippet of the node's language at the provided node location.","details":"The result is an AST fragment represented by ExecutableNode that accepts frames valid at the provided node location, or null when inline parsing is not supported by the language.","params":[{"name":"source","type":"Source","doc":"a source snippet to parse at the provided node location"},{"name":"node","type":"Node","doc":"a context location where the source is parsed at, must not be null"},{"name":"frame","type":"MaterializedFrame","doc":"a frame location where the source is parsed at, can be null"}],"returns":{"type":"ExecutableNode","doc":"the executable fragment representing the parsed result, or null"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getTruffleFile(TruffleContext, String)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getTruffleFile(com.oracle.truffle.api.TruffleContext,java.lang.String)","name":"getTruffleFile","kind":"method","signature":"public TruffleFile getTruffleFile(TruffleContext context, String path)","summary":"Returns a TruffleFile for given path and context.","params":[{"name":"context","type":"TruffleContext","doc":"the TruffleContext, or null to use a current entered context."},{"name":"path","type":"String","doc":"the absolute or relative path to create TruffleFile for"}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when the FileSystem supports only URI"},{"type":"IllegalArgumentException","doc":"if the path string cannot be converted to a Path"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getTruffleFile(TruffleContext, URI)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getTruffleFile(com.oracle.truffle.api.TruffleContext,java.net.URI)","name":"getTruffleFile","kind":"method","signature":"public TruffleFile getTruffleFile(TruffleContext context, URI uri)","summary":"Returns a TruffleFile for given URI and context.","params":[{"name":"context","type":"TruffleContext","doc":"the TruffleContext, or null to use a current entered context."},{"name":"uri","type":"URI","doc":"the URI to create TruffleFile for"}],"returns":{"type":"TruffleFile","doc":"TruffleFile"},"throws":[{"type":"UnsupportedOperationException","doc":"when URI scheme is not supported"},{"type":"IllegalArgumentException","doc":"if preconditions on the uri do not hold."},{"type":"FileSystemNotFoundException","doc":"is the file system, identified by the uri, does not exist and cannot be created automatically"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getEnteredContext()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getEnteredContext()","name":"getEnteredContext","kind":"method","signature":"public TruffleContext getEnteredContext()","summary":"Returns the entered TruffleContext or null when no context is entered.","returns":{"type":"TruffleContext"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.isEngineRoot(RootNode)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#isEngineRoot(com.oracle.truffle.api.nodes.RootNode)","name":"isEngineRoot","kind":"method","signature":"public boolean isEngineRoot(RootNode root)","summary":"Returns true if the given root node is considered an engine evaluation root for the current execution context.","details":"Multiple such root nodes can appear on stack frames returned by TruffleRuntime.iterateFrames(com.oracle.truffle.api.frame.FrameInstanceVisitor). A debugger implementation might use this information to hide stack frames of other engines.","params":[{"name":"root","type":"RootNode","doc":"the root node to check"}],"returns":{"type":"boolean","doc":"true if engine root else false"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.setAsynchronousStackDepth(int)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#setAsynchronousStackDepth(int)","name":"setAsynchronousStackDepth","kind":"method","signature":"public void setAsynchronousStackDepth(int depth)","summary":"Request for languages to provide stack frames of scheduled asynchronous execution.","detailsOmitted":true,"params":[{"name":"depth","type":"int","doc":"the requested stack depth, 0 means no asynchronous stack frames are required."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getLanguageInfo(Class)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getLanguageInfo(java.lang.Class)","name":"getLanguageInfo","kind":"method","signature":"public LanguageInfo getLanguageInfo(Class<? extends TruffleLanguage<?>> languageClass)","summary":"Returns the language info for a given language class if available.","details":"Language classes are typically obtained by invoking the InteropLibrary.getLanguage(Object) message. Throws an IllegalArgumentException if the provided language is not registered. Note that languages may be returned that are not contained in getLanguages(). For example, values originating from the embedder like Java classes or polyglot proxies.","params":[{"name":"languageClass","type":"Class<? extends TruffleLanguage<?>>","doc":"the language class to convert"}],"returns":{"type":"LanguageInfo","doc":"the associated language info"},"throws":[{"type":"IllegalArgumentException","doc":"if the language class is not valid."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getLanguageView(LanguageInfo, Object)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getLanguageView(com.oracle.truffle.api.nodes.LanguageInfo,java.lang.Object)","name":"getLanguageView","kind":"method","signature":"public Object getLanguageView(LanguageInfo language, Object value)","summary":"Wraps the provided value to provide language specific information for primitive and foreign values.","detailsOmitted":true,"params":[{"name":"language","type":"LanguageInfo","doc":"the language to provide the view for"},{"name":"value","type":"Object","doc":"the value to language specific information for."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getPolyglotBindings()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getPolyglotBindings()","name":"getPolyglotBindings","kind":"method","signature":"public Object getPolyglotBindings()","summary":"Returns the polyglot scope - symbols explicitly exported by languages.","details":"The polyglot bindings of the current entered context are returned.","returns":{"type":"Object","doc":"an interop object having the symbol names as properties"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getScope(LanguageInfo)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getScope(com.oracle.truffle.api.nodes.LanguageInfo)","name":"getScope","kind":"method","signature":"public Object getScope(LanguageInfo language)","summary":"Provides top scope object of the language, if any.","details":"Uses the current context to find the language scope associated with. The returned object is an interop scope object, or null.","params":[{"name":"language","type":"LanguageInfo","doc":"a language"}],"returns":{"type":"Object","doc":"the top scope, or null if the language does not support such concept"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getInternalResource(Class)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getInternalResource(java.lang.Class)","name":"getInternalResource","kind":"method","signature":"public TruffleFile getInternalResource(Class<? extends InternalResource> resource) throws IOException","summary":"Returns the TruffleFile representing the target directory of an internal resource.","detailsOmitted":true,"params":[{"name":"resource","type":"Class<? extends InternalResource>","doc":"the resource class to load"}],"returns":{"type":"TruffleFile"},"throws":[{"type":"IllegalArgumentException","doc":"if resource is not associated with this instrument"},{"type":"IOException","doc":"in case of IO error"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getInternalResource(String)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getInternalResource(java.lang.String)","name":"getInternalResource","kind":"method","signature":"public TruffleFile getInternalResource(String resourceId) throws IOException","summary":"Returns the TruffleFile representing the target directory of an internal resource.","details":"Unlike the getInternalResource(Class), this method can be used for optional resources whose classes may not exist at runtime. In this case the optional resource must be unpacked at build time, see Engine.copyResources(Path, String...). If the resource with the specified resourceId is not associated to this instrument, the function returns null.","params":[{"name":"resourceId","type":"String","doc":"unique id of the resource to be loaded"}],"returns":{"type":"TruffleFile","doc":"internal resource directory or null if resource with the resourceId is not associated with this instrument"},"throws":[{"type":"IOException","doc":"in case of IO error"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getLogger(String)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getLogger(java.lang.String)","name":"getLogger","kind":"method","signature":"public TruffleLogger getLogger(String loggerName)","summary":"Find or create an engine bound logger for an instrument.","detailsOmitted":true,"params":[{"name":"loggerName","type":"String","doc":"the name of a TruffleLogger, if a loggerName is null or empty a root logger for language or instrument is returned"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getLogger(Class)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getLogger(java.lang.Class)","name":"getLogger","kind":"method","signature":"public TruffleLogger getLogger(Class<?> forClass)","summary":"Find or create an engine bound logger for an instrument.","detailsOmitted":true,"params":[{"name":"forClass","type":"Class<?>","doc":"the Class to create a logger for"}],"returns":{"type":"TruffleLogger","doc":"a TruffleLogger"},"throws":[{"type":"NullPointerException","doc":"if forClass is null"}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.isSameFrame(RootNode, Frame, Frame)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#isSameFrame(com.oracle.truffle.api.nodes.RootNode,com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.frame.Frame)","name":"isSameFrame","kind":"method","signature":"public boolean isSameFrame(RootNode root, Frame frame1, Frame frame2)","summary":"Tests if two frames are the same.","details":"This method is mainly used by instruments in case of yield of the execution and later resume. Frame comparison is used to match the particular yielded and resumed execution. The frames must correspond to the root.","params":[{"name":"root","type":"RootNode"},{"name":"frame1","type":"Frame"},{"name":"frame2","type":"Frame"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.calculateContextHeapSize(TruffleContext, long, AtomicBoolean)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#calculateContextHeapSize(com.oracle.truffle.api.TruffleContext,long,java.util.concurrent.atomic.AtomicBoolean)","name":"calculateContextHeapSize","kind":"method","signature":"public long calculateContextHeapSize(TruffleContext truffleContext, long stopAtBytes, AtomicBoolean cancelled)","summary":"Returns heap memory size retained by a polyglot context.","params":[{"name":"truffleContext","type":"TruffleContext","doc":"specifies the polyglot context for which retained size is calculated."},{"name":"stopAtBytes","type":"long","doc":"when the calculated size exceeds stopAtBytes, calculation is stopped and only size calculated up to that point is returned, i.e., if the retained size is greater than stopAtBytes, a value greater than stopAtBytes will be returned, not the total retained size which might be much greater."},{"name":"cancelled","type":"AtomicBoolean","doc":"when cancelled returns true, calculation is cancelled and java.util.concurrent.CancellationException is thrown. The message of the exception specifies the number of bytes calculated up to that point."}],"returns":{"type":"long","doc":"calculated heap memory size retained by the specified polyglot context, or a value greater than stopAtBytes if the calculated size is greater than stopAtBytes."},"throws":[{"type":"UnsupportedOperationException","doc":"in case heap size calculation is not supported on current runtime."},{"type":"CancellationException","doc":"in case the heap size calculation is cancelled based on the cancelled parameter. The message of the exception specifies the number of bytes calculated up to that point."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.submitThreadLocal(TruffleContext, Thread[], ThreadLocalAction)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#submitThreadLocal(com.oracle.truffle.api.TruffleContext,java.lang.Thread[],com.oracle.truffle.api.ThreadLocalAction)","name":"submitThreadLocal","kind":"method","signature":"public Future<Void> submitThreadLocal(TruffleContext context, Thread[] threads, ThreadLocalAction action)","summary":"Submits a thread local action to be performed at the next guest language safepoint on a provided set of threads, once for each thread.","detailsOmitted":true,"params":[{"name":"context","type":"TruffleContext","doc":"the context in which the action should be performed. Non null ."},{"name":"threads","type":"Thread[]","doc":"the threads to execute the action on. null for all threads"},{"name":"action","type":"ThreadLocalAction","doc":"the action to perform on that thread."}],"returns":{"type":"Future<Void>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.createSystemThread(Runnable)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#createSystemThread(java.lang.Runnable)","name":"createSystemThread","kind":"method","signature":"public Thread createSystemThread(Runnable runnable)","summary":"Creates a new thread designed to process instrument tasks in the background.","details":"See createSystemThread(Runnable, ThreadGroup) for a detailed description of the parameters.","params":[{"name":"runnable","type":"Runnable"}],"returns":{"type":"Thread"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.createSystemThread(Runnable, ThreadGroup)","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#createSystemThread(java.lang.Runnable,java.lang.ThreadGroup)","name":"createSystemThread","kind":"method","signature":"public Thread createSystemThread(Runnable runnable, ThreadGroup threadGroup)","summary":"Creates a new thread designed to process instrument tasks in the background.","detailsOmitted":true,"params":[{"name":"runnable","type":"Runnable","doc":"the runnable to run on this thread."},{"name":"threadGroup","type":"ThreadGroup","doc":"the thread group, passed on to the underlying Thread."}],"returns":{"type":"Thread"},"throws":[{"type":"IllegalStateException","doc":"if the engine is already closed."}]}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Env.getSandboxPolicy()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Env.html#getSandboxPolicy()","name":"getSandboxPolicy","kind":"method","signature":"public SandboxPolicy getSandboxPolicy()","summary":"Returns the engine's SandboxPolicy.","details":"An instrument can use the returned sandbox policy to make instrument-specific verifications that the sandbox requirements are met. These verifications should be made as early as possible in the TruffleInstrument.onCreate(Env) method.","returns":{"type":"SandboxPolicy"}}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html","name":"TruffleInstrument.Registration","kind":"annotation","signature":"public @interface TruffleInstrument.Registration","summary":"Annotation that registers an instrument implementations for automatic discovery."}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.id()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#id()","name":"id","kind":"annotationElement","signature":"String id() default \"\"","summary":"A custom machine identifier for this instrument.","details":"If not defined then the fully qualified class name is used.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.name()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"The name of the instrument in an arbitrary format for humans.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.version()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#version()","name":"version","kind":"annotationElement","signature":"String version() default \"inherit\"","summary":"The version for instrument in an arbitrary format.","details":"It inherits from org.graalvm.polyglot.Engine.getVersion() by default.","returns":{"type":"String"},"defaultValue":"\"inherit\""}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.internal()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#internal()","name":"internal","kind":"annotationElement","signature":"boolean internal() default false","summary":"Specifies whether the instrument is accessible using the polyglot API.","details":"Internal instruments are only accessible from other instruments or guest languages.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.services()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#services()","name":"services","kind":"annotationElement","signature":"Class<?>[] services() default {}","summary":"Declarative list of classes this instrument is known to provide.","details":"The instrument is supposed to override its onCreate method and instantiate and register all here in defined services. Instruments automatically get created when their registered service is requested.","returns":{"type":"Class<?>[]","doc":"list of service types that this instrument can provide"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.website()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#website()","name":"website","kind":"annotationElement","signature":"String website() default \"\"","summary":"A link to a website with more information about the instrument.","details":"Will be shown in the help text of GraalVM launchers. The link can contain the following substitutions: ${graalvm-version} the current GraalVM version. Optionally, a format string can be provided for the version using ${graalvm-version:format}. See Version.format. ${graalvm-website-version} the current GraalVM version in a format suitable for links to the GraalVM reference manual. The exact format may change without notice.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.sandbox()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#sandbox()","name":"sandbox","kind":"annotationElement","signature":"SandboxPolicy sandbox() default TRUSTED","summary":"Specifies the most strict sandbox policy in which the instrument can be used.","details":"The instrument can be used in an engine with the specified sandbox policy or a weaker one. For example, if an instrument specifies ISOLATED policy, it can be used in an engine configured with sandbox policy TRUSTED, CONSTRAINED or ISOLATED. But it cannot be used in an engine configured with the UNTRUSTED sandbox policy.","returns":{"type":"SandboxPolicy"},"defaultValue":"TRUSTED"}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.internalResources()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#internalResources()","name":"internalResources","kind":"annotationElement","signature":"Class<? extends InternalResource>[] internalResources() default {}","summary":"Declarative list of InternalResource classes that is associated with this instrument.","details":"Use the internalResources attribute solely for registering required internal resources. Optional internal resources should provide the associated instrument identifier using the Id.componentId() method. To unpack all resources of an instrument embedders may use Engine.copyResources(Path, String...).","returns":{"type":"Class<? extends InternalResource>[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.instrumentation.TruffleInstrument.Registration.optionalResources()","href":"com/oracle/truffle/api/instrumentation/TruffleInstrument.Registration.html#optionalResources()","name":"optionalResources","kind":"annotationElement","signature":"String[] optionalResources() default {}","summary":"A declarative list of optional InternalResource identifiers associated with this instrument.","details":"It is recommended to register all optional resource identifiers here. Specifying the resource identifier allows the instrument use the resource even if its implementation was omitted at runtime. To use the resource when its implementation was omitted the polyglot.engine.resourcePath.instrumentId system property must be specified and point to a path with the resources. This allows to omit the resource implementation class in standalone distributions.","returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html","name":"TruffleInstrumentProvider","kind":"class","signature":"public abstract class TruffleInstrumentProvider","summary":"Used to register a TruffleInstrument using a ServiceLoader.","details":"This interface is not intended to be implemented directly by an instrument developer, rather the implementation is generated by the Truffle DSL. The generated implementation has to inherit the Registration annotations from the TruffleInstrument."}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider()","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html#%3Cinit%3E()","name":"TruffleInstrumentProvider","kind":"constructor","signature":"protected TruffleInstrumentProvider()","summary":"Constructor to be called by subclasses."}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider.getInstrumentClassName()","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html#getInstrumentClassName()","name":"getInstrumentClassName","kind":"method","signature":"protected abstract String getInstrumentClassName()","summary":"Returns the name of a class implementing the TruffleInstrument.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider.create()","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html#create()","name":"create","kind":"method","signature":"protected abstract Object create()","summary":"Creates a new instance of a TruffleInstrument.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider.getServicesClassNames()","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html#getServicesClassNames()","name":"getServicesClassNames","kind":"method","signature":"protected abstract Collection<String> getServicesClassNames()","summary":"Returns the class names of provided services.","returns":{"type":"Collection<String>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider.getInternalResourceIds()","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html#getInternalResourceIds()","name":"getInternalResourceIds","kind":"method","signature":"protected List<String> getInternalResourceIds()","summary":"Returns ids of provided internal resources.","returns":{"type":"List<String>"}}
{"symbol":"com.oracle.truffle.api.instrumentation.provider.TruffleInstrumentProvider.createInternalResource(String)","href":"com/oracle/truffle/api/instrumentation/provider/TruffleInstrumentProvider.html#createInternalResource(java.lang.String)","name":"createInternalResource","kind":"method","signature":"protected Object createInternalResource(String resourceId)","summary":"Creates an instrument InternalResource identified by the resourceId.","params":[{"name":"resourceId","type":"String"}],"returns":{"type":"Object"},"throws":[{"type":"IllegalArgumentException","doc":"if resourceId is not supported by this instrument"}]}
{"symbol":"com.oracle.truffle.api.interop.ArityException","href":"com/oracle/truffle/api/interop/ArityException.html","name":"ArityException","kind":"class","signature":"public final class ArityException extends InteropException","summary":"An exception thrown if a executable or instantiable object was provided with the wrong number of arguments."}
{"symbol":"com.oracle.truffle.api.interop.ArityException.getMessage()","href":"com/oracle/truffle/api/interop/ArityException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.ArityException.getExpectedMinArity()","href":"com/oracle/truffle/api/interop/ArityException.html#getExpectedMinArity()","name":"getExpectedMinArity","kind":"method","signature":"public int getExpectedMinArity()","summary":"Returns the minimum number of arguments that are expected.","details":"The returned minimum arity might be less conservative than the actual specification of the executable or instantiable invoked.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.interop.ArityException.getExpectedMaxArity()","href":"com/oracle/truffle/api/interop/ArityException.html#getExpectedMaxArity()","name":"getExpectedMaxArity","kind":"method","signature":"public int getExpectedMaxArity()","summary":"Returns the maximum number of arguments that are expected.","details":"Returns a negative number if infinite arguments can be provided.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.interop.ArityException.getActualArity()","href":"com/oracle/truffle/api/interop/ArityException.html#getActualArity()","name":"getActualArity","kind":"method","signature":"public int getActualArity()","summary":"Returns the actual number of arguments provided by the foreign access.","details":"If a negative value is returned then the actual arity is unknown.","returns":{"type":"int","doc":"the number of provided arguments"}}
{"symbol":"com.oracle.truffle.api.interop.ArityException.create(int, int, int)","href":"com/oracle/truffle/api/interop/ArityException.html#create(int,int,int)","name":"create","kind":"method","signature":"public static ArityException create(int expectedMinArity, int expectedMaxArity, int actualArity)","summary":"Creates an ArityException to indicate that the wrong number of arguments were provided.","details":"Throws an IllegalArgumentException if the arguments are invalid and assertions (-ea) are enabled. This method is designed to be used in compiled code paths.","params":[{"name":"expectedMinArity","type":"int","doc":"(inclusive) the minimum number of arguments expected by the executable. Must be greater or equal to zero."},{"name":"expectedMaxArity","type":"int","doc":"(inclusive) the maximum number of arguments expected by the executable. If the maximum is negative then an infinite number of arguments is expected. If the number is positive then the maximum must be greater or equal to expectedMinArity."},{"name":"actualArity","type":"int","doc":"the number of provided by the executable. The actual arity must not be within range of the expected min and max arity."}],"returns":{"type":"ArityException"}}
{"symbol":"com.oracle.truffle.api.interop.ArityException.create(int, int, int, Throwable)","href":"com/oracle/truffle/api/interop/ArityException.html#create(int,int,int,java.lang.Throwable)","name":"create","kind":"method","signature":"public static ArityException create(int expectedMinArity, int expectedMaxArity, int actualArity, Throwable cause)","summary":"Creates an ArityException to indicate that the wrong number of arguments were provided.","detailsOmitted":true,"params":[{"name":"expectedMinArity","type":"int","doc":"(inclusive) the minimum number of arguments expected by the executable. Must be greater or equal to zero."},{"name":"expectedMaxArity","type":"int","doc":"(inclusive) the maximum number of arguments expected by the executable. If the maximum is negative then an infinite number of arguments is expected. If the number is positive then the maximum must be greater or equal to expectedMinArity."},{"name":"actualArity","type":"int","doc":"the number of provided by the executable. The actual arity must not be within range of the expected min and max arity."},{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"ArityException"}}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType","href":"com/oracle/truffle/api/interop/ExceptionType.html","name":"ExceptionType","kind":"enum","signature":"public enum ExceptionType","summary":"Represents a type of a Truffle exception."}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType.values()","href":"com/oracle/truffle/api/interop/ExceptionType.html#values()","name":"values","kind":"method","signature":"public static ExceptionType[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"ExceptionType[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType.valueOf(String)","href":"com/oracle/truffle/api/interop/ExceptionType.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static ExceptionType valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"ExceptionType","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType.EXIT","href":"com/oracle/truffle/api/interop/ExceptionType.html#EXIT","name":"EXIT","kind":"enumConstant","signature":"EXIT","summary":"Indicates that the application was soft-exited within the guest language program.","details":"To obtain the exit status use getExceptionExitStatus. See Context Exit for further information. If a language uses hard exits, it should not use soft exits, i.e. throw exceptions of this type on its own. If a language that does not use soft exits sees an exception of this type, it should re-throw it like other foreign exceptions, triggering finally blocks."}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType.INTERRUPT","href":"com/oracle/truffle/api/interop/ExceptionType.html#INTERRUPT","name":"INTERRUPT","kind":"enumConstant","signature":"INTERRUPT","summary":"Indicates that the application thread was interrupted by an InterruptedException."}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType.RUNTIME_ERROR","href":"com/oracle/truffle/api/interop/ExceptionType.html#RUNTIME_ERROR","name":"RUNTIME_ERROR","kind":"enumConstant","signature":"RUNTIME_ERROR","summary":"Indicates a guest language error."}
{"symbol":"com.oracle.truffle.api.interop.ExceptionType.PARSE_ERROR","href":"com/oracle/truffle/api/interop/ExceptionType.html#PARSE_ERROR","name":"PARSE_ERROR","kind":"enumConstant","signature":"PARSE_ERROR","summary":"Indicates a parser or syntax error.","details":"Syntax errors typically occur while parsing of guest language source code. Use isExceptionIncompleteSource to find out if the parse error happened due to incomplete source."}
{"symbol":"com.oracle.truffle.api.interop.HeapIsolationException","href":"com/oracle/truffle/api/interop/HeapIsolationException.html","name":"HeapIsolationException","kind":"class","signature":"public final class HeapIsolationException extends InteropException","summary":"Exception thrown when a TruffleObject cannot unbox a host object because the object resides in a foreign heap."}
{"symbol":"com.oracle.truffle.api.interop.HeapIsolationException.getMessage()","href":"com/oracle/truffle/api/interop/HeapIsolationException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.HeapIsolationException.create()","href":"com/oracle/truffle/api/interop/HeapIsolationException.html#create()","name":"create","kind":"method","signature":"public static HeapIsolationException create()","summary":"Creates a new HeapIsolationException indicating that a host object cannot be unboxed because it was allocated in a foreign heap.","details":"For example, when InteropLibrary.asHostObject(Object) is invoked from within a polyglot isolate. This factory method is intended for use in compiled code paths.","returns":{"type":"HeapIsolationException"}}
{"symbol":"com.oracle.truffle.api.interop.HeapIsolationException.create(Throwable)","href":"com/oracle/truffle/api/interop/HeapIsolationException.html#create(java.lang.Throwable)","name":"create","kind":"method","signature":"public static HeapIsolationException create(Throwable cause)","summary":"Creates a new HeapIsolationException indicating that a host object cannot be unboxed because it was allocated in a foreign heap.","detailsOmitted":true,"params":[{"name":"cause","type":"Throwable"}],"returns":{"type":"HeapIsolationException"}}
{"symbol":"com.oracle.truffle.api.interop.InteropException","href":"com/oracle/truffle/api/interop/InteropException.html","name":"InteropException","kind":"class","signature":"public abstract class InteropException extends Exception","summary":"Common super class for exceptions that can occur when sending interop messages.","details":"This super class is used to catch any kind of these exceptions."}
{"symbol":"com.oracle.truffle.api.interop.InteropException.getCause()","href":"com/oracle/truffle/api/interop/InteropException.html#getCause()","name":"getCause","kind":"method","signature":"public final Throwable getCause()","summary":"Returns the cause of an interop exception.","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.interop.InteropException.fillInStackTrace()","href":"com/oracle/truffle/api/interop/InteropException.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public final Throwable fillInStackTrace()","summary":"No stack trace for interop exceptions.","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary","href":"com/oracle/truffle/api/interop/InteropLibrary.html","name":"InteropLibrary","kind":"class","signature":"public abstract class InteropLibrary extends Library","summary":"Represents the library that specifies the interoperability message protocol between Truffle languages, tools and embedders.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary()","href":"com/oracle/truffle/api/interop/InteropLibrary.html#%3Cinit%3E()","name":"InteropLibrary","kind":"constructor","signature":"protected InteropLibrary()"}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isNull(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isNull(java.lang.Object)","name":"isNull","kind":"method","signature":"public boolean isNull(Object receiver)","summary":"Returns true if the receiver represents a null like value, else false.","details":"Most object oriented languages have one or many values representing null values. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isBoolean(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isBoolean(java.lang.Object)","name":"isBoolean","kind":"method","signature":"public boolean isBoolean(Object receiver)","summary":"Returns true if the receiver represents a boolean like value, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asBoolean(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asBoolean(java.lang.Object)","name":"asBoolean","kind":"method","signature":"public boolean asBoolean(Object receiver) throws UnsupportedMessageException","summary":"Returns the Java boolean value if the receiver represents a boolean like value.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isBoolean(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isExecutable(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isExecutable(java.lang.Object)","name":"isExecutable","kind":"method","signature":"public boolean isExecutable(Object receiver)","summary":"Returns true if the receiver represents an executable value, else false.","details":"Functions, methods or closures are common examples of executable values. Invoking this message does not cause any observable side-effects. Note that receiver values which are executable might also be instantiable.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.execute(Object, Object...)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#execute(java.lang.Object,java.lang.Object...)","name":"execute","kind":"method","signature":"public Object execute(Object receiver, Object... arguments) throws UnsupportedTypeException, ArityException, UnsupportedMessageException","summary":"Executes an executable value with the given arguments.","params":[{"name":"receiver","type":"Object"},{"name":"arguments","type":"Object..."}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedTypeException","doc":"if one of the arguments is not compatible to the executable signature. The exception is thrown on best effort basis, dynamic languages may throw their own exceptions if the arguments are wrong."},{"type":"ArityException","doc":"if the number of expected arguments does not match the number of actual arguments."},{"type":"UnsupportedMessageException","doc":"if and only if isExecutable(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasExecutableName(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasExecutableName(java.lang.Object)","name":"hasExecutableName","kind":"method","signature":"public boolean hasExecutableName(Object receiver)","summary":"Returns true if the receiver has an executable name.","details":"Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getExecutableName(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getExecutableName(java.lang.Object)","name":"getExecutableName","kind":"method","signature":"public Object getExecutableName(Object receiver) throws UnsupportedMessageException","summary":"Returns executable name of the receiver.","details":"Throws UnsupportedMessageException when the receiver is has no executable name. The return value is an interop value that is guaranteed to return true for isString(Object). This method must not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasDeclaringMetaObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasDeclaringMetaObject(java.lang.Object)","name":"hasDeclaringMetaObject","kind":"method","signature":"public boolean hasDeclaringMetaObject(Object receiver)","summary":"Returns true if the receiver has a declaring meta object.","details":"The declaring meta object is the meta object of the executable or meta object that declares the receiver value. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getDeclaringMetaObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getDeclaringMetaObject(java.lang.Object)","name":"getDeclaringMetaObject","kind":"method","signature":"public Object getDeclaringMetaObject(Object receiver) throws UnsupportedMessageException","summary":"Returns declaring meta object.","details":"The declaring meta object is the meta object of declaring executable or meta object. Throws UnsupportedMessageException when the receiver is has no declaring meta object. The return value is an interop value that is guaranteed to return true for isMetaObject(Object).","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isInstantiable(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isInstantiable(java.lang.Object)","name":"isInstantiable","kind":"method","signature":"public boolean isInstantiable(Object receiver)","summary":"Returns true if the receiver represents an instantiable value, else false.","details":"Contructors or metaobjects are typical examples of instantiable values. Invoking this message does not cause any observable side-effects. Note that receiver values which are executable might also be instantiable.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.instantiate(Object, Object...)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#instantiate(java.lang.Object,java.lang.Object...)","name":"instantiate","kind":"method","signature":"public Object instantiate(Object receiver, Object... arguments) throws UnsupportedTypeException, ArityException, UnsupportedMessageException","summary":"Instantiates the receiver value with the given arguments.","details":"The returned object must be initialized correctly according to the language specification (e.g. by calling the constructor or initialization routine).","params":[{"name":"receiver","type":"Object"},{"name":"arguments","type":"Object..."}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedTypeException","doc":"if one of the arguments is not compatible to the executable signature"},{"type":"ArityException","doc":"if the number of expected arguments does not match the number of actual arguments."},{"type":"UnsupportedMessageException","doc":"if and only if isInstantiable(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isString(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isString(java.lang.Object)","name":"isString","kind":"method","signature":"public boolean isString(Object receiver)","summary":"Returns true if the receiver represents a string value, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asString(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asString(java.lang.Object)","name":"asString","kind":"method","signature":"public String asString(Object receiver) throws UnsupportedMessageException","summary":"Returns the Java string value if the receiver represents a string like value.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"String"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isString(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asTruffleString(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asTruffleString(java.lang.Object)","name":"asTruffleString","kind":"method","signature":"public TruffleString asTruffleString(Object receiver) throws UnsupportedMessageException","summary":"Returns the TruffleString value if the receiver represents a string like value.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"TruffleString"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isString(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isNumber(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isNumber(java.lang.Object)","name":"isNumber","kind":"method","signature":"public boolean isNumber(Object receiver)","summary":"Returns true if the receiver represents a number value, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInByte(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInByte(java.lang.Object)","name":"fitsInByte","kind":"method","signature":"public boolean fitsInByte(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java byte primitive without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInShort(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInShort(java.lang.Object)","name":"fitsInShort","kind":"method","signature":"public boolean fitsInShort(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java short primitive without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInInt(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInInt(java.lang.Object)","name":"fitsInInt","kind":"method","signature":"public boolean fitsInInt(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java int primitive without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInLong(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInLong(java.lang.Object)","name":"fitsInLong","kind":"method","signature":"public boolean fitsInLong(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java long primitive without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInBigInteger(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInBigInteger(java.lang.Object)","name":"fitsInBigInteger","kind":"method","signature":"public boolean fitsInBigInteger(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java BigInteger without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInFloat(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInFloat(java.lang.Object)","name":"fitsInFloat","kind":"method","signature":"public boolean fitsInFloat(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java float primitive without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.fitsInDouble(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#fitsInDouble(java.lang.Object)","name":"fitsInDouble","kind":"method","signature":"public boolean fitsInDouble(Object receiver)","summary":"Returns true if the receiver represents a number and its value fits in a Java double primitive without loss of precision, else false.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asByte(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asByte(java.lang.Object)","name":"asByte","kind":"method","signature":"public byte asByte(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java byte primitive if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"byte"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asShort(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asShort(java.lang.Object)","name":"asShort","kind":"method","signature":"public short asShort(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java short primitive if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"short"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asInt(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asInt(java.lang.Object)","name":"asInt","kind":"method","signature":"public int asInt(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java int primitive if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asLong(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asLong(java.lang.Object)","name":"asLong","kind":"method","signature":"public long asLong(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java long primitive if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"long"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asBigInteger(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asBigInteger(java.lang.Object)","name":"asBigInteger","kind":"method","signature":"public BigInteger asBigInteger(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java BigInteger if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"BigInteger"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asFloat(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asFloat(java.lang.Object)","name":"asFloat","kind":"method","signature":"public float asFloat(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java float primitive if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"float"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asDouble(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asDouble(java.lang.Object)","name":"asDouble","kind":"method","signature":"public double asDouble(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver value as Java double primitive if the number fits without loss of precision.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"double"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver is not a isNumber(Object) or it does not fit without loss of precision."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasMembers(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasMembers(java.lang.Object)","name":"hasMembers","kind":"method","signature":"public boolean hasMembers(Object receiver)","summary":"Returns true if the receiver may have members.","details":"Therefore, at least one of readMember(Object, String), writeMember(Object, String, Object), removeMember(Object, String), invokeMember(Object, String, Object...) must not throw UnsupportedMessageException. Members are structural elements of a class. For example, a method or field is a member of a class. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasBytecodeIndex(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasBytecodeIndex(java.lang.Object)","name":"hasBytecodeIndex","kind":"method","signature":"public boolean hasBytecodeIndex(Object receiver)","summary":"Determines whether the given receiver provides a bytecode index.","details":"For example, a stack frame object may provide a bytecode index. Calling this message does not produce any observable side effects. The default implementation returns false.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getBytecodeIndex(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getBytecodeIndex(java.lang.Object)","name":"getBytecodeIndex","kind":"method","signature":"public int getBytecodeIndex(Object receiver) throws UnsupportedMessageException","summary":"Returns bytecode index of the receiver.","details":"Throws UnsupportedMessageException when the receiver does not provide a bytecode index or has no bytecode index.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isInternal(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isInternal(java.lang.Object)","name":"isInternal","kind":"method","signature":"public boolean isInternal(Object receiver)","summary":"Determines whether the given receiver represents an internal object.","details":"For example, a stack frame object may be marked as internal so that it can be excluded from a stack trace shown to the user. Calling this message does not produce any observable side effects. The default implementation returns false.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getMembers(Object, boolean)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getMembers(java.lang.Object,boolean)","name":"getMembers","kind":"method","signature":"public Object getMembers(Object receiver, boolean includeInternal) throws UnsupportedMessageException","summary":"Returns an array of member name strings.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"},{"name":"includeInternal","type":"boolean"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver does not have any members."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getMembers(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getMembers(java.lang.Object)","name":"getMembers","kind":"method","signature":"public final Object getMembers(Object receiver) throws UnsupportedMessageException","summary":"Short-cut for getMembers(receiver, false).","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver has no members."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberReadable(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberReadable(java.lang.Object,java.lang.String)","name":"isMemberReadable","kind":"method","signature":"public boolean isMemberReadable(Object receiver, String member)","summary":"Returns true if a given member is readable.","details":"This method may only return true if hasMembers(Object) returns true as well and isMemberInsertable(Object, String) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readMember(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readMember(java.lang.Object,java.lang.String)","name":"readMember","kind":"method","signature":"public Object readMember(Object receiver, String member) throws UnsupportedMessageException, UnknownIdentifierException","summary":"Reads the value of a given member.","details":"In case of a method-like member, we recommend that languages return a bound method (or an artificial receiver-method binding) to improve cross-language portability. In this case, the member should be readable and invocable and the result of reading the member should be executable and bound to the receiver. This message must have not observable side-effects unless hasMemberReadSideEffects(Object, String) returns true.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if when the receiver does not support reading at all. An empty receiver with no readable members supports the read operation (even though there is nothing to read), therefore it throws UnknownIdentifierException for all arguments instead."},{"type":"UnknownIdentifierException","doc":"if the given member cannot be read, e.g. because it is not (or no longer) readable such as when the member with the given name does not exist or has been removed."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberModifiable(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberModifiable(java.lang.Object,java.lang.String)","name":"isMemberModifiable","kind":"method","signature":"public boolean isMemberModifiable(Object receiver, String member)","summary":"Returns true if a given member is existing and writable.","details":"This method may only return true if hasMembers(Object) returns true as well and isMemberInsertable(Object, String) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberInsertable(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberInsertable(java.lang.Object,java.lang.String)","name":"isMemberInsertable","kind":"method","signature":"public boolean isMemberInsertable(Object receiver, String member)","summary":"Returns true if a given member is not existing and writable.","details":"This method may only return true if hasMembers(Object) returns true as well and isMemberExisting(Object, String) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeMember(Object, String, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeMember(java.lang.Object,java.lang.String,java.lang.Object)","name":"writeMember","kind":"method","signature":"public void writeMember(Object receiver, String member, Object value) throws UnsupportedMessageException, UnknownIdentifierException, UnsupportedTypeException","summary":"Writes the value of a given member.","details":"Writing a member is allowed if is existing and modifiable, or not existing and insertable. This method must have no observable side-effects other than the changed member unless side-effects are allowed.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"},{"name":"value","type":"Object"}],"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support writing at all, e.g. when it is immutable."},{"type":"UnknownIdentifierException","doc":"if the given member is not modifiable nor insertable."},{"type":"UnsupportedTypeException","doc":"if the provided value type is not allowed to be written."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberRemovable(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberRemovable(java.lang.Object,java.lang.String)","name":"isMemberRemovable","kind":"method","signature":"public boolean isMemberRemovable(Object receiver, String member)","summary":"Returns true if a given member is existing and removable.","details":"This method may only return true if hasMembers(Object) returns true as well and isMemberInsertable(Object, String) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.removeMember(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#removeMember(java.lang.Object,java.lang.String)","name":"removeMember","kind":"method","signature":"public void removeMember(Object receiver, String member) throws UnsupportedMessageException, UnknownIdentifierException","summary":"Removes a member from the receiver object.","details":"Removing member is allowed if is removable. This method does not have not observable side-effects other than the removed member.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support removing at all, e.g. when it is immutable."},{"type":"UnknownIdentifierException","doc":"if the given member is not isMemberRemovable(Object, String) removable}, e.g. the receiver does not have a member with the given name."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberInvocable(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberInvocable(java.lang.Object,java.lang.String)","name":"isMemberInvocable","kind":"method","signature":"public boolean isMemberInvocable(Object receiver, String member)","summary":"Returns true if a given member is invocable.","details":"This method may only return true if hasMembers(Object) returns true as well and isMemberInsertable(Object, String) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.invokeMember(Object, String, Object...)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#invokeMember(java.lang.Object,java.lang.String,java.lang.Object...)","name":"invokeMember","kind":"method","signature":"public Object invokeMember(Object receiver, String member, Object... arguments) throws UnsupportedMessageException, ArityException, UnknownIdentifierException, UnsupportedTypeException","summary":"Invokes a member for a given receiver and arguments.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"},{"name":"arguments","type":"Object..."}],"returns":{"type":"Object"},"throws":[{"type":"UnknownIdentifierException","doc":"if the given member does not exist or is not invocable."},{"type":"UnsupportedTypeException","doc":"if one of the arguments is not compatible to the executable signature. The exception is thrown on best effort basis, dynamic languages may throw their own exceptions if the arguments are wrong."},{"type":"ArityException","doc":"if the number of expected arguments does not match the number of actual arguments."},{"type":"UnsupportedMessageException","doc":"when the receiver does not support invoking at all, e.g. when storing executable members is not allowed."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberInternal(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberInternal(java.lang.Object,java.lang.String)","name":"isMemberInternal","kind":"method","signature":"public boolean isMemberInternal(Object receiver, String member)","summary":"Returns true if a member is internal.","details":"Internal members are not enumerated by getMembers(Object, boolean) by default. Internal members are only relevant to guest language implementations and tools, but not to guest applications or embedders. An example of internal members are internal slots in ECMAScript. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberWritable(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberWritable(java.lang.Object,java.lang.String)","name":"isMemberWritable","kind":"method","signature":"public final boolean isMemberWritable(Object receiver, String member)","summary":"Returns true if the member is modifiable or insertable.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMemberExisting(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMemberExisting(java.lang.Object,java.lang.String)","name":"isMemberExisting","kind":"method","signature":"public final boolean isMemberExisting(Object receiver, String member)","summary":"Returns true if the member is existing.","details":"A member is existing if it is modifiable, readable, removable or invocable.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasMemberReadSideEffects(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasMemberReadSideEffects(java.lang.Object,java.lang.String)","name":"hasMemberReadSideEffects","kind":"method","signature":"public boolean hasMemberReadSideEffects(Object receiver, String member)","summary":"Returns true if reading a member may cause a side-effect.","details":"Invoking this message does not cause any observable side-effects. A member read does not cause any side-effects by default. For instance in JavaScript a property read may have side-effects if the property has a getter function.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasMemberWriteSideEffects(Object, String)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasMemberWriteSideEffects(java.lang.Object,java.lang.String)","name":"hasMemberWriteSideEffects","kind":"method","signature":"public boolean hasMemberWriteSideEffects(Object receiver, String member)","summary":"Returns true if writing a member may cause a side-effect, besides the write operation of the member.","details":"Invoking this message does not cause any observable side-effects. A member write does not cause any side-effects by default. For instance in JavaScript a property write may have side-effects if the property has a setter function.","params":[{"name":"receiver","type":"Object"},{"name":"member","type":"String"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasStaticScope(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasStaticScope(java.lang.Object)","name":"hasStaticScope","kind":"method","signature":"public boolean hasStaticScope(Object receiver)","summary":"Returns true if the given receiver is a meta object that provides a static scope.","details":"A static scope represents the static or class-level members associated with the receiver's type, such as static fields or methods. Invoking this message must not cause any observable side effects. Only meta objects are permitted to expose a static scope, for all non-meta objects this method must return false. By default, this method returns false.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getStaticScope(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getStaticScope(java.lang.Object)","name":"getStaticScope","kind":"method","signature":"public Object getStaticScope(Object receiver) throws UnsupportedMessageException","summary":"Returns the static scope associated with the given receiver.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if the receiver does not have a static scope"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasHashEntries(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasHashEntries(java.lang.Object)","name":"hasHashEntries","kind":"method","signature":"public boolean hasHashEntries(Object receiver)","summary":"Returns true if the receiver may have hash entries.","details":"Therefore, at least one of readHashValue(Object, Object), writeHashEntry(Object, Object, Object), removeHashEntry(Object, Object) must not throw UnsupportedMessageException. For example, the contents of a map data structure could be interpreted as hash elements. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getHashSize(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getHashSize(java.lang.Object)","name":"getHashSize","kind":"method","signature":"public long getHashSize(Object receiver) throws UnsupportedMessageException","summary":"Returns the number of receiver entries.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"long"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasHashEntries(Object) returns false."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHashEntryReadable(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHashEntryReadable(java.lang.Object,java.lang.Object)","name":"isHashEntryReadable","kind":"method","signature":"public boolean isHashEntryReadable(Object receiver, Object key)","summary":"Returns true if mapping for the specified key exists and is readable.","details":"This method may only return true if hasHashEntries(Object) returns true as well and isHashEntryInsertable(Object, Object) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readHashValue(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readHashValue(java.lang.Object,java.lang.Object)","name":"readHashValue","kind":"method","signature":"public Object readHashValue(Object receiver, Object key) throws UnsupportedMessageException, UnknownKeyException","summary":"Reads the value for the specified key.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if the receiver does not support reading at all. An empty receiver with no readable hash entries supports the read operation (even though there is nothing to read), therefore it throws UnknownKeyException for all arguments instead."},{"type":"UnknownKeyException","doc":"if mapping for the specified key is not readable, e.g. when the hash does not contain specified key."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readHashValueOrDefault(Object, Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readHashValueOrDefault(java.lang.Object,java.lang.Object,java.lang.Object)","name":"readHashValueOrDefault","kind":"method","signature":"public Object readHashValueOrDefault(Object receiver, Object key, Object defaultValue) throws UnsupportedMessageException","summary":"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.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"},{"name":"defaultValue","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if the receiver does not support reading at all. An empty receiver with no readable hash entries supports the read operation (even though there is nothing to read), therefore it returns the defaultValue for all arguments instead."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHashEntryModifiable(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHashEntryModifiable(java.lang.Object,java.lang.Object)","name":"isHashEntryModifiable","kind":"method","signature":"public boolean isHashEntryModifiable(Object receiver, Object key)","summary":"Returns true if mapping for the specified key exists and is writable.","details":"This method may only return true if hasHashEntries(Object) returns true as well and isHashEntryInsertable(Object, Object) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHashEntryInsertable(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHashEntryInsertable(java.lang.Object,java.lang.Object)","name":"isHashEntryInsertable","kind":"method","signature":"public boolean isHashEntryInsertable(Object receiver, Object key)","summary":"Returns true if mapping for the specified key does not exist and is writable.","details":"This method may only return true if hasHashEntries(Object) returns true as well and isHashEntryExisting(Object, Object) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHashEntryWritable(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHashEntryWritable(java.lang.Object,java.lang.Object)","name":"isHashEntryWritable","kind":"method","signature":"public boolean isHashEntryWritable(Object receiver, Object key)","summary":"Returns true if mapping for the specified key is modifiable or insertable.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeHashEntry(Object, Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeHashEntry(java.lang.Object,java.lang.Object,java.lang.Object)","name":"writeHashEntry","kind":"method","signature":"public void writeHashEntry(Object receiver, Object key, Object value) throws UnsupportedMessageException, UnknownKeyException, UnsupportedTypeException","summary":"Associates the specified value with the specified key in the receiver.","details":"Writing the entry is allowed if is existing and modifiable, or not existing and insertable.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"},{"name":"value","type":"Object"}],"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support writing at all, e.g. when it is immutable."},{"type":"UnknownKeyException","doc":"if mapping for the specified key is not modifiable nor insertable."},{"type":"UnsupportedTypeException","doc":"if the provided key type or value type is not allowed to be written."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHashEntryRemovable(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHashEntryRemovable(java.lang.Object,java.lang.Object)","name":"isHashEntryRemovable","kind":"method","signature":"public boolean isHashEntryRemovable(Object receiver, Object key)","summary":"Returns true if mapping for the specified key exists and is removable.","details":"This method may only return true if hasHashEntries(Object) returns true as well and isHashEntryInsertable(Object, Object) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.removeHashEntry(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#removeHashEntry(java.lang.Object,java.lang.Object)","name":"removeHashEntry","kind":"method","signature":"public void removeHashEntry(Object receiver, Object key) throws UnsupportedMessageException, UnknownKeyException","summary":"Removes the mapping for a given key from the receiver.","details":"Mapping removing is allowed if it is removable.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support removing at all, e.g. when it is immutable."},{"type":"UnknownKeyException","doc":"if the given mapping is not removable, e.g. the receiver does not have a mapping for given key."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHashEntryExisting(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHashEntryExisting(java.lang.Object,java.lang.Object)","name":"isHashEntryExisting","kind":"method","signature":"public boolean isHashEntryExisting(Object receiver, Object key)","summary":"Returns true if mapping for a given key is existing.","details":"The mapping is existing if it is modifiable, readable or removable.","params":[{"name":"receiver","type":"Object"},{"name":"key","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getHashEntriesIterator(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getHashEntriesIterator(java.lang.Object)","name":"getHashEntriesIterator","kind":"method","signature":"public Object getHashEntriesIterator(Object receiver) throws UnsupportedMessageException","summary":"Returns the hash entries iterator for the receiver.","details":"The return value is always an iterator of array elements. The first array element is a key, the second array element is an associated value. Array returned by the iterator may be modifiable but detached from the hash, updating the array elements may not update the hash. So even if array elements are modifiable always use writeHashEntry(Object, Object, Object) to update the hash mapping.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasHashEntries(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getHashKeysIterator(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getHashKeysIterator(java.lang.Object)","name":"getHashKeysIterator","kind":"method","signature":"public Object getHashKeysIterator(Object receiver) throws UnsupportedMessageException","summary":"Returns the hash keys iterator for the receiver.","details":"The return value is always an iterator.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasHashEntries(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getHashValuesIterator(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getHashValuesIterator(java.lang.Object)","name":"getHashValuesIterator","kind":"method","signature":"public Object getHashValuesIterator(Object receiver) throws UnsupportedMessageException","summary":"Returns the hash values iterator for the receiver.","details":"The return value is always an iterator.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasHashEntries(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasArrayElements(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasArrayElements(java.lang.Object)","name":"hasArrayElements","kind":"method","signature":"public boolean hasArrayElements(Object receiver)","summary":"Returns true if the receiver may have array elements.","details":"Therefore, At least one of readArrayElement(Object, long), writeArrayElement(Object, long, Object), removeArrayElement(Object, long) must not throw {#link UnsupportedMessageException. For example, the contents of an array or list datastructure could be interpreted as array elements. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readArrayElement(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readArrayElement(java.lang.Object,long)","name":"readArrayElement","kind":"method","signature":"public Object readArrayElement(Object receiver, long index) throws UnsupportedMessageException, InvalidArrayIndexException","summary":"Reads the value of an array element by index.","details":"This method must have not observable side-effect.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support reading at all. An empty receiver with no readable array elements supports the read operation (even though there is nothing to read), therefore it throws UnknownIdentifierException for all arguments instead."},{"type":"InvalidArrayIndexException","doc":"if the given index is not readable, e.g. when the index is invalid or the index is out of bounds."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getArraySize(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getArraySize(java.lang.Object)","name":"getArraySize","kind":"method","signature":"public long getArraySize(Object receiver) throws UnsupportedMessageException","summary":"Returns the array size of the receiver.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"long"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasArrayElements(Object) returns false."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isArrayElementReadable(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isArrayElementReadable(java.lang.Object,long)","name":"isArrayElementReadable","kind":"method","signature":"public boolean isArrayElementReadable(Object receiver, long index)","summary":"Returns true if a given array element is readable.","details":"This method may only return true if hasArrayElements(Object) returns true as well. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeArrayElement(Object, long, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeArrayElement(java.lang.Object,long,java.lang.Object)","name":"writeArrayElement","kind":"method","signature":"public void writeArrayElement(Object receiver, long index, Object value) throws UnsupportedMessageException, UnsupportedTypeException, InvalidArrayIndexException","summary":"Writes the value of an array element by index.","details":"Writing an array element is allowed if is existing and modifiable, or not existing and insertable. This method must have not observable side-effects other than the changed array element.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"},{"name":"value","type":"Object"}],"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support writing at all, e.g. when it is immutable."},{"type":"InvalidArrayIndexException","doc":"if the given index is not insertable nor modifiable, e.g. when the index is invalid or the index is out of bounds and the array does not support growing."},{"type":"UnsupportedTypeException","doc":"if the provided value type is not allowed to be written."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.removeArrayElement(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#removeArrayElement(java.lang.Object,long)","name":"removeArrayElement","kind":"method","signature":"public void removeArrayElement(Object receiver, long index) throws UnsupportedMessageException, InvalidArrayIndexException","summary":"Remove an array element from the receiver object.","details":"Removing member is allowed if the array element is removable. This method may only return true if hasArrayElements(Object) returns true as well and isArrayElementInsertable(Object, long) returns false. This method does not have observable side-effects other than the removed array element and shift of remaining elements. If shifting is not supported then the array might allow only removal of last element.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"throws":[{"type":"UnsupportedMessageException","doc":"when the receiver does not support removing at all, e.g. when it is immutable."},{"type":"InvalidArrayIndexException","doc":"if the given index is not removable, e.g. when the index is invalid, the index is out of bounds, or the array does not support shifting of remaining elements."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isArrayElementModifiable(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isArrayElementModifiable(java.lang.Object,long)","name":"isArrayElementModifiable","kind":"method","signature":"public boolean isArrayElementModifiable(Object receiver, long index)","summary":"Returns true if a given array element index is existing and writable.","details":"This method may only return true if hasArrayElements(Object) returns true as well and isArrayElementInsertable(Object, long) returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isArrayElementInsertable(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isArrayElementInsertable(java.lang.Object,long)","name":"isArrayElementInsertable","kind":"method","signature":"public boolean isArrayElementInsertable(Object receiver, long index)","summary":"Returns true if a given array element index is not existing and insertable.","details":"This method may only return true if hasArrayElements(Object) returns true as well and isArrayElementExisting(Object, long)} returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isArrayElementRemovable(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isArrayElementRemovable(java.lang.Object,long)","name":"isArrayElementRemovable","kind":"method","signature":"public boolean isArrayElementRemovable(Object receiver, long index)","summary":"Returns true if a given array element index is existing and removable.","details":"This method may only return true if hasArrayElements(Object) returns true as well and isArrayElementInsertable(Object, long)} returns false. Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isArrayElementWritable(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isArrayElementWritable(java.lang.Object,long)","name":"isArrayElementWritable","kind":"method","signature":"public final boolean isArrayElementWritable(Object receiver, long index)","summary":"Returns true if the array element is modifiable or insertable.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isArrayElementExisting(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isArrayElementExisting(java.lang.Object,long)","name":"isArrayElementExisting","kind":"method","signature":"public final boolean isArrayElementExisting(Object receiver, long index)","summary":"Returns true if the array element is existing.","details":"An array element is existing if it is, modifiable, readable or removable.","params":[{"name":"receiver","type":"Object"},{"name":"index","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasBufferElements(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasBufferElements(java.lang.Object)","name":"hasBufferElements","kind":"method","signature":"public boolean hasBufferElements(Object receiver)","summary":"Returns true if the receiver may have buffer elements.","details":"If this message returns true, then getBufferSize(Object), readBufferByte(Object, long), readBufferShort(Object, ByteOrder, long), readBufferInt(Object, ByteOrder, long), readBufferLong(Object, ByteOrder, long), readBufferFloat(Object, ByteOrder, long) and readBufferDouble(Object, ByteOrder, long) must not throw UnsupportedMessageException. Invoking this message does not cause any observable side-effects. By default, it returns false.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isBufferWritable(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isBufferWritable(java.lang.Object)","name":"isBufferWritable","kind":"method","signature":"public boolean isBufferWritable(Object receiver) throws UnsupportedMessageException","summary":"Returns true if the receiver is a modifiable buffer.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getBufferSize(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getBufferSize(java.lang.Object)","name":"getBufferSize","kind":"method","signature":"public long getBufferSize(Object receiver) throws UnsupportedMessageException","summary":"Returns the buffer size of the receiver, in bytes.","details":"Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"long"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBufferByte(Object, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBufferByte(java.lang.Object,long)","name":"readBufferByte","kind":"method","signature":"public byte readBufferByte(Object receiver, long byteOffset) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads the byte from the receiver object at the given byte offset from the start of the buffer.","details":"The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"byteOffset","type":"long"}],"returns":{"type":"byte","doc":"the byte at the given index"},"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object)"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBuffer(Object, long, byte[], int, int)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBuffer(java.lang.Object,long,byte[],int,int)","name":"readBuffer","kind":"method","signature":"public void readBuffer(Object receiver, long byteOffset, byte[] destination, int destinationOffset, int length) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads bytes from the receiver object into the specified byte array.","details":"The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"byteOffset","type":"long","doc":"offset in the buffer to start reading from."},{"name":"destination","type":"byte[]","doc":"byte array to write the read bytes into."},{"name":"destinationOffset","type":"int","doc":"offset in the destination array to start writing from."},{"name":"length","type":"int","doc":"number of bytes to read."}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || length < 0 || byteOffset + length > getBufferSize(Object)"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeBufferByte(Object, long, byte)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeBufferByte(java.lang.Object,long,byte)","name":"writeBufferByte","kind":"method","signature":"public void writeBufferByte(Object receiver, long byteOffset, byte value) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Writes the given byte from the receiver object at the given byte offset from the start of the buffer.","details":"The access is not guaranteed to be atomic. Therefore, this message is not thread-safe.","params":[{"name":"receiver","type":"Object"},{"name":"byteOffset","type":"long"},{"name":"value","type":"byte"}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object)"},{"type":"UnsupportedMessageException","doc":"if and only if either hasBufferElements(Object) or isBufferWritable returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBufferShort(Object, ByteOrder, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBufferShort(java.lang.Object,java.nio.ByteOrder,long)","name":"readBufferShort","kind":"method","signature":"public short readBufferShort(Object receiver, ByteOrder order, long byteOffset) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads the short from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"}],"returns":{"type":"short","doc":"the short at the given byte offset from the start of the buffer"},"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 1"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeBufferShort(Object, ByteOrder, long, short)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeBufferShort(java.lang.Object,java.nio.ByteOrder,long,short)","name":"writeBufferShort","kind":"method","signature":"public void writeBufferShort(Object receiver, ByteOrder order, long byteOffset, short value) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Writes the given short from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"},{"name":"value","type":"short"}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 1"},{"type":"UnsupportedMessageException","doc":"if and only if either hasBufferElements(Object) or isBufferWritable returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBufferInt(Object, ByteOrder, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBufferInt(java.lang.Object,java.nio.ByteOrder,long)","name":"readBufferInt","kind":"method","signature":"public int readBufferInt(Object receiver, ByteOrder order, long byteOffset) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads the int from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"}],"returns":{"type":"int","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 3"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeBufferInt(Object, ByteOrder, long, int)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeBufferInt(java.lang.Object,java.nio.ByteOrder,long,int)","name":"writeBufferInt","kind":"method","signature":"public void writeBufferInt(Object receiver, ByteOrder order, long byteOffset, int value) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Writes the given int from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"},{"name":"value","type":"int"}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 3"},{"type":"UnsupportedMessageException","doc":"if and only if either hasBufferElements(Object) or isBufferWritable returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBufferLong(Object, ByteOrder, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBufferLong(java.lang.Object,java.nio.ByteOrder,long)","name":"readBufferLong","kind":"method","signature":"public long readBufferLong(Object receiver, ByteOrder order, long byteOffset) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads the long from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"}],"returns":{"type":"long","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 7"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeBufferLong(Object, ByteOrder, long, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeBufferLong(java.lang.Object,java.nio.ByteOrder,long,long)","name":"writeBufferLong","kind":"method","signature":"public void writeBufferLong(Object receiver, ByteOrder order, long byteOffset, long value) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Writes the given long from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"},{"name":"value","type":"long"}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 7"},{"type":"UnsupportedMessageException","doc":"if and only if either hasBufferElements(Object) or isBufferWritable returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBufferFloat(Object, ByteOrder, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBufferFloat(java.lang.Object,java.nio.ByteOrder,long)","name":"readBufferFloat","kind":"method","signature":"public float readBufferFloat(Object receiver, ByteOrder order, long byteOffset) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads the float from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"}],"returns":{"type":"float","doc":"the float at the given byte offset from the start of the buffer"},"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 3"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeBufferFloat(Object, ByteOrder, long, float)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeBufferFloat(java.lang.Object,java.nio.ByteOrder,long,float)","name":"writeBufferFloat","kind":"method","signature":"public void writeBufferFloat(Object receiver, ByteOrder order, long byteOffset, float value) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Writes the given float from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"},{"name":"value","type":"float"}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 3"},{"type":"UnsupportedMessageException","doc":"if and only if either hasBufferElements(Object) or isBufferWritable returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.readBufferDouble(Object, ByteOrder, long)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#readBufferDouble(java.lang.Object,java.nio.ByteOrder,long)","name":"readBufferDouble","kind":"method","signature":"public double readBufferDouble(Object receiver, ByteOrder order, long byteOffset) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Reads the double from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"}],"returns":{"type":"double","doc":"the double at the given byte offset from the start of the buffer"},"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 7"},{"type":"UnsupportedMessageException","doc":"if and only if hasBufferElements(Object) returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.writeBufferDouble(Object, ByteOrder, long, double)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#writeBufferDouble(java.lang.Object,java.nio.ByteOrder,long,double)","name":"writeBufferDouble","kind":"method","signature":"public void writeBufferDouble(Object receiver, ByteOrder order, long byteOffset, double value) throws UnsupportedMessageException, InvalidBufferOffsetException","summary":"Writes the given double from the receiver object in the given byte order at the given byte offset from the start of the buffer.","details":"Unaligned accesses are supported. The access is not guaranteed to be atomic. Therefore, this message is not thread-safe.","params":[{"name":"receiver","type":"Object"},{"name":"order","type":"ByteOrder"},{"name":"byteOffset","type":"long"},{"name":"value","type":"double"}],"throws":[{"type":"InvalidBufferOffsetException","doc":"if and only if byteOffset < 0 || byteOffset >= getBufferSize(Object) - 7"},{"type":"UnsupportedMessageException","doc":"if and only if either hasBufferElements(Object) or isBufferWritable returns false"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isPointer(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isPointer(java.lang.Object)","name":"isPointer","kind":"method","signature":"public boolean isPointer(Object receiver)","summary":"Returns true if the receiver value represents a native pointer.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asPointer(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asPointer(java.lang.Object)","name":"asPointer","kind":"method","signature":"public long asPointer(Object receiver) throws UnsupportedMessageException","summary":"Returns the pointer value as long value if the receiver represents a pointer like value.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"long"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isPointer(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.toNative(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#toNative(java.lang.Object)","name":"toNative","kind":"method","signature":"public void toNative(Object receiver)","summary":"Attempts to transform a receiver to a value that represents a raw native pointer.","details":"After a successful transformation, the provided receiver returns true for isPointer(Object) and can be unwrapped using the asPointer(Object) message. If transformation cannot be done isPointer(Object) will keep returning false.","params":[{"name":"receiver","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asInstant(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asInstant(java.lang.Object)","name":"asInstant","kind":"method","signature":"public Instant asInstant(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver as instant if this object represents an instant.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Instant"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isInstant(Object) returns false."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isInstant(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isInstant(java.lang.Object)","name":"isInstant","kind":"method","signature":"public final boolean isInstant(Object receiver)","summary":"Returns true if the receiver represents an instant.","details":"If a value is an instant then it is also a date, time and timezone. This method is short-hand for: isDate(v) && isTime(v) && isTimeZone(v)","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isTimeZone(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isTimeZone(java.lang.Object)","name":"isTimeZone","kind":"method","signature":"public boolean isTimeZone(Object receiver)","summary":"Returns true if this object represents a timezone, else false.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asTimeZone(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asTimeZone(java.lang.Object)","name":"asTimeZone","kind":"method","signature":"public ZoneId asTimeZone(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver as timestamp if this object represents a timezone.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"ZoneId"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isTimeZone(Object) returns false ."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isDate(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isDate(java.lang.Object)","name":"isDate","kind":"method","signature":"public boolean isDate(Object receiver)","summary":"Returns true if this object represents a date, else false.","details":"If the receiver is also a timezone then the date is aware, otherwise it is naive.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asDate(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asDate(java.lang.Object)","name":"asDate","kind":"method","signature":"public LocalDate asDate(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver as date if this object represents a date.","details":"The returned date is either aware if the receiver has a timezone otherwise it is naive.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"LocalDate"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isDate(Object) returns false."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isTime(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isTime(java.lang.Object)","name":"isTime","kind":"method","signature":"public boolean isTime(Object receiver)","summary":"Returns true if this object represents a time, else false.","details":"If the receiver is also a timezone then the time is aware, otherwise it is naive.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asTime(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asTime(java.lang.Object)","name":"asTime","kind":"method","signature":"public LocalTime asTime(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver as time if this object represents a time.","details":"The returned time is either aware if the receiver has a timezone otherwise it is naive.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"LocalTime"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isTime(Object) returns false."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isDuration(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isDuration(java.lang.Object)","name":"isDuration","kind":"method","signature":"public boolean isDuration(Object receiver)","summary":"Returns true if this object represents a duration, else false.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asDuration(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asDuration(java.lang.Object)","name":"asDuration","kind":"method","signature":"public Duration asDuration(Object receiver) throws UnsupportedMessageException","summary":"Returns the receiver as duration if this object represents a duration.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Duration"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isDuration(Object) returns false ."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isException(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isException(java.lang.Object)","name":"isException","kind":"method","signature":"public boolean isException(Object receiver)","summary":"Returns true if the receiver value represents a throwable exception/error.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.throwException(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#throwException(java.lang.Object)","name":"throwException","kind":"method","signature":"public RuntimeException throwException(Object receiver) throws UnsupportedMessageException","summary":"Throws the receiver object as an exception of the source language, as if it was thrown by the source language itself.","details":"Allows rethrowing exceptions caught by another language. If this method is implemented then also isException(Object) must be implemented. Any interop value can be an exception value and export throwException(Object). The exception thrown by this message must extend com.oracle.truffle.api.exception.AbstractTruffleException. In future versions this contract will be enforced using an assertion. For a sample TryCatchNode implementation see isException.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"RuntimeException"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isException(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getExceptionType(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getExceptionType(java.lang.Object)","name":"getExceptionType","kind":"method","signature":"public ExceptionType getExceptionType(Object receiver) throws UnsupportedMessageException","summary":"Returns exception type of the receiver.","details":"Throws UnsupportedMessageException when the receiver is not an exception. For a sample TryCatchNode implementation see isException.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"ExceptionType"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isExceptionIncompleteSource(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isExceptionIncompleteSource(java.lang.Object)","name":"isExceptionIncompleteSource","kind":"method","signature":"public boolean isExceptionIncompleteSource(Object receiver) throws UnsupportedMessageException","summary":"Returns true if receiver value represents an incomplete source exception.","details":"Throws UnsupportedMessageException when the receiver is not an exception or the exception is not a ExceptionType.PARSE_ERROR.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getExceptionExitStatus(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getExceptionExitStatus(java.lang.Object)","name":"getExceptionExitStatus","kind":"method","signature":"public int getExceptionExitStatus(Object receiver) throws UnsupportedMessageException","summary":"Returns exception exit status of the receiver.","details":"Throws UnsupportedMessageException when the receiver is not an exception of the exit type. See Context Exit for further information. A return value zero indicates that the execution of the application was successful, a non-zero value that it failed. The individual interpretation of non-zero values depends on the application.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasExceptionCause(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasExceptionCause(java.lang.Object)","name":"hasExceptionCause","kind":"method","signature":"public boolean hasExceptionCause(Object receiver)","summary":"Returns true if the receiver is an exception with an attached internal cause.","details":"Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getExceptionCause(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getExceptionCause(java.lang.Object)","name":"getExceptionCause","kind":"method","signature":"public Object getExceptionCause(Object receiver) throws UnsupportedMessageException","summary":"Returns the internal cause of the receiver.","details":"Throws UnsupportedMessageException when the receiver is not an exception or if the exception does not support an exception cause. The returned value of this message is guaranteed to represent either an exception or an null object. An null object is returned if the exception supports a cause but the cause itself is null.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasExceptionMessage(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasExceptionMessage(java.lang.Object)","name":"hasExceptionMessage","kind":"method","signature":"public boolean hasExceptionMessage(Object receiver)","summary":"Returns true if the receiver is an exception that has an exception message.","details":"Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getExceptionMessage(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getExceptionMessage(java.lang.Object)","name":"getExceptionMessage","kind":"method","signature":"public Object getExceptionMessage(Object receiver) throws UnsupportedMessageException","summary":"Returns exception message of the receiver.","details":"Throws UnsupportedMessageException when the receiver is not an exception or has no exception message. The return value of this message is guaranteed to return true for isString(Object).","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasExceptionStackTrace(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasExceptionStackTrace(java.lang.Object)","name":"hasExceptionStackTrace","kind":"method","signature":"public boolean hasExceptionStackTrace(Object receiver)","summary":"Returns true if the receiver is an exception and has a stack trace.","details":"Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getExceptionStackTrace(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getExceptionStackTrace(java.lang.Object)","name":"getExceptionStackTrace","kind":"method","signature":"public Object getExceptionStackTrace(Object receiver) throws UnsupportedMessageException","summary":"Returns the exception stack trace of the receiver that is of type exception.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasIterator(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasIterator(java.lang.Object)","name":"hasIterator","kind":"method","signature":"public boolean hasIterator(Object receiver)","summary":"Returns true if the receiver provides an iterator.","details":"For example, an array or a list provide an iterator over their content. Invoking this message does not cause any observable side-effects. By default returns true for receivers that have array elements.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getIterator(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getIterator(java.lang.Object)","name":"getIterator","kind":"method","signature":"public Object getIterator(Object receiver) throws UnsupportedMessageException","summary":"Returns the iterator for the receiver.","details":"The return value is always an iterator. Invoking this message does not cause any observable side-effects.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasIterator(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isIterator(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isIterator(java.lang.Object)","name":"isIterator","kind":"method","signature":"public boolean isIterator(Object receiver)","summary":"Returns true if the receiver represents an iterator.","details":"Invoking this message does not cause any observable side-effects. Returns false by default.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasIteratorNextElement(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasIteratorNextElement(java.lang.Object)","name":"hasIteratorNextElement","kind":"method","signature":"public boolean hasIteratorNextElement(Object receiver) throws UnsupportedMessageException","summary":"Returns true if the receiver is an iterator which has more elements, else false.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isIterator(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getIteratorNextElement(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getIteratorNextElement(java.lang.Object)","name":"getIteratorNextElement","kind":"method","signature":"public Object getIteratorNextElement(Object receiver) throws UnsupportedMessageException, StopIterationException","summary":"Returns the next element in the iteration.","details":"When the underlying data structure is modified the getIteratorNextElement(Object) may throw the StopIterationException despite the hasIteratorNextElement(Object) returned true.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if isIterator(Object) returns false for the same receiver or when the underlying iterator element exists but is not readable."},{"type":"StopIterationException","doc":"if the iteration has no more elements. Even if the StopIterationException was thrown it might not be thrown again by a next getIteratorNextElement(Object) invocation on the same receiver due to a modification of an underlying iterable."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasSourceLocation(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasSourceLocation(java.lang.Object)","name":"hasSourceLocation","kind":"method","signature":"public boolean hasSourceLocation(Object receiver)","summary":"Returns true if the receiver value has a declared source location attached, else false.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getSourceLocation(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getSourceLocation(java.lang.Object)","name":"getSourceLocation","kind":"method","signature":"public SourceSection getSourceLocation(Object receiver) throws UnsupportedMessageException","summary":"Returns the declared source location of the receiver value.","details":"Throws an UnsupportedMessageException if the value does not have a declared source location. See hasSourceLocation(Object) for further details on potential interpretations. Throws UnsupportedMessageException by default. This method must not cause any observable side-effects. If this method is implemented then also hasSourceLocation(Object) must be implemented.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"SourceSection"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasSourceLocation(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasLanguage(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasLanguage(java.lang.Object)","name":"hasLanguage","kind":"method","signature":"public boolean hasLanguage(Object receiver)","summary":"Returns true if the receiver originates from a language, else false .","detailsOmitted":true,"deprecated":{"since":"25.1","doc":"Use hasLanguageId(Object)."},"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getLanguage(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getLanguage(java.lang.Object)","name":"getLanguage","kind":"method","signature":"public Class<? extends TruffleLanguage<?>> getLanguage(Object receiver) throws UnsupportedMessageException","summary":"Returns the original language of the receiver value.","details":"The returned language class must be non-null and represent a valid registered language class. For more details see hasLanguage(Object). This method must not cause any observable side-effects. If this method is implemented then also hasLanguage(Object) must be implemented.","deprecated":{"since":"25.1","doc":"Use getLanguageId(Object)."},"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Class<? extends TruffleLanguage<?>>"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasLanguage(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasLanguageId(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasLanguageId(java.lang.Object)","name":"hasLanguageId","kind":"method","signature":"public boolean hasLanguageId(Object receiver)","summary":"Returns true if the receiver originates from a language, else false.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasLanguageLegacy(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasLanguageLegacy(java.lang.Object)","name":"hasLanguageLegacy","kind":"method","signature":"protected final boolean hasLanguageLegacy(Object receiver)","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getLanguageId(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getLanguageId(java.lang.Object)","name":"getLanguageId","kind":"method","signature":"public String getLanguageId(Object receiver) throws UnsupportedMessageException","summary":"Returns the language id of the receiver value.","details":"The returned language id must be non-null and represent a valid id of a registered language. For more details see hasLanguageId(Object). This method must not cause any observable side-effects. If this method is implemented then also hasLanguageId(Object) must be implemented.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"String"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasLanguageId(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getLanguageLegacy(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getLanguageLegacy(java.lang.Object)","name":"getLanguageLegacy","kind":"method","signature":"protected final Class<? extends TruffleLanguage<?>> getLanguageLegacy(Object receiver) throws UnsupportedMessageException","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Class<? extends TruffleLanguage<?>>"},"throws":[{"type":"UnsupportedMessageException"}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasMetaObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasMetaObject(java.lang.Object)","name":"hasMetaObject","kind":"method","signature":"public boolean hasMetaObject(Object receiver)","summary":"Returns true if the receiver value has a metaobject associated.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getMetaObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getMetaObject(java.lang.Object)","name":"getMetaObject","kind":"method","signature":"public Object getMetaObject(Object receiver) throws UnsupportedMessageException","summary":"Returns the metaobject that is associated with this value.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasMetaObject(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.toDisplayString(Object, boolean)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#toDisplayString(java.lang.Object,boolean)","name":"toDisplayString","kind":"method","signature":"public Object toDisplayString(Object receiver, boolean allowSideEffects)","summary":"Converts the receiver to a human readable string.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"},{"name":"allowSideEffects","type":"boolean","doc":"whether side-effects are allowed in the production of the string."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.toDisplayString(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#toDisplayString(java.lang.Object)","name":"toDisplayString","kind":"method","signature":"public final Object toDisplayString(Object receiver)","summary":"Converts the receiver to a human readable string of the language.","details":"Short-cut for toDisplayString(Object, true).","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMetaObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMetaObject(java.lang.Object)","name":"isMetaObject","kind":"method","signature":"public boolean isMetaObject(Object receiver)","summary":"Returns true if the receiver value represents a metaobject.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getMetaQualifiedName(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getMetaQualifiedName(java.lang.Object)","name":"getMetaQualifiedName","kind":"method","signature":"public Object getMetaQualifiedName(Object metaObject) throws UnsupportedMessageException","summary":"Returns the qualified name of a metaobject as string.","details":"Sample interpretations: The qualified name of a Java class includes the package name and its class name. JavaScript does not have the notion of qualified name and therefore returns the simple name instead. This method must not cause any observable side-effects. If this method is implemented then also isMetaObject(Object) must be implemented as well.","params":[{"name":"metaObject","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isMetaObject(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getMetaSimpleName(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getMetaSimpleName(java.lang.Object)","name":"getMetaSimpleName","kind":"method","signature":"public Object getMetaSimpleName(Object metaObject) throws UnsupportedMessageException","summary":"Returns the simple name of a metaobject as string.","details":"Sample interpretations: The simple name of a Java class is the class name. This method must not cause any observable side-effects. If this method is implemented then also isMetaObject(Object) must be implemented as well.","params":[{"name":"metaObject","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isMetaObject(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isMetaInstance(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isMetaInstance(java.lang.Object,java.lang.Object)","name":"isMetaInstance","kind":"method","signature":"public boolean isMetaInstance(Object receiver, Object instance) throws UnsupportedMessageException","summary":"Returns true if the given instance is of the provided receiver metaobject, else false.","details":"Sample interpretations: A Java object is an instance of its returned class. This method must not cause any observable side-effects. If this method is implemented then also isMetaObject(Object) must be implemented as well.","params":[{"name":"receiver","type":"Object"},{"name":"instance","type":"Object","doc":"the instance object to check."}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if isMetaObject(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasMetaParents(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasMetaParents(java.lang.Object)","name":"hasMetaParents","kind":"method","signature":"public boolean hasMetaParents(Object receiver)","summary":"Returns true if the receiver value is a metaobject which has parents (super types).","details":"This method must not cause any observable side-effects. If this method is implemented then also getMetaParents(Object) must be implemented.","params":[{"name":"receiver","type":"Object","doc":"a metaobject"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getMetaParents(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getMetaParents(java.lang.Object)","name":"getMetaParents","kind":"method","signature":"public Object getMetaParents(Object receiver) throws UnsupportedMessageException","summary":"Returns an array like hasArrayElements(Object) of metaobjects that are direct parents (super types) of this metaobject.","details":"The returned object is an array of objects that return true from isMetaObject(Object).","params":[{"name":"receiver","type":"Object","doc":"a metaobject"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasMetaParents(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isIdenticalOrUndefined(Object, Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isIdenticalOrUndefined(java.lang.Object,java.lang.Object)","name":"isIdenticalOrUndefined","kind":"method","signature":"protected TriState isIdenticalOrUndefined(Object receiver, Object other)","summary":"Returns TRUE if the receiver is or FALSE if the receiver is not identical to the other value.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"},{"name":"other","type":"Object","doc":"the other value to compare to"}],"returns":{"type":"TriState"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isIdentical(Object, Object, InteropLibrary)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isIdentical(java.lang.Object,java.lang.Object,com.oracle.truffle.api.interop.InteropLibrary)","name":"isIdentical","kind":"method","signature":"public boolean isIdentical(Object receiver, Object other, InteropLibrary otherInterop)","summary":"Returns true if two values represent the identical value, else false.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"},{"name":"other","type":"Object"},{"name":"otherInterop","type":"InteropLibrary"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasIdentity(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasIdentity(java.lang.Object)","name":"hasIdentity","kind":"method","signature":"public final boolean hasIdentity(Object receiver)","summary":"Returns true if and only if the receiver specifies identity, else false.","details":"This method is a short-cut for this.isIdentical(receiver, receiver, this) != TriState.UNDEFINED. This message cannot be exported. To add identity support to the receiver export isIdenticalOrUndefined(Object, Object) instead.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.identityHashCode(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#identityHashCode(java.lang.Object)","name":"identityHashCode","kind":"method","signature":"public int identityHashCode(Object receiver) throws UnsupportedMessageException","summary":"Returns an identity hash code for the receiver if it has identity.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasIdentity(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isScope(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isScope(java.lang.Object)","name":"isScope","kind":"method","signature":"public boolean isScope(Object receiver)","summary":"Returns true if the value represents a scope object, else false.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.hasScopeParent(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#hasScopeParent(java.lang.Object)","name":"hasScopeParent","kind":"method","signature":"public boolean hasScopeParent(Object receiver)","summary":"Returns true if this scope has an enclosing parent scope, else false.","details":"This method must not cause any observable side-effects. If this method is implemented then also isScope(Object) and getScopeParent(Object) must be implemented.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getScopeParent(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getScopeParent(java.lang.Object)","name":"getScopeParent","kind":"method","signature":"public Object getScopeParent(Object receiver) throws UnsupportedMessageException","summary":"Returns the parent scope object if it has the parent.","details":"The returned object must be a scope and must provide a reduced list of member variables, omitting all variables that are local to the current scope. This method must not cause any observable side-effects. If this method is implemented then also isScope(Object) and getScopeParent(Object) must be implemented.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasScopeParent(Object) returns false for the same receiver."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isHostObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isHostObject(java.lang.Object)","name":"isHostObject","kind":"method","signature":"public boolean isHostObject(Object receiver)","summary":"Returns true if the argument is wrapped Java host language object.","details":"This method must not cause any observable side-effects. If this method is implemented then also asHostObject(Object) must be implemented.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.asHostObject(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#asHostObject(java.lang.Object)","name":"asHostObject","kind":"method","signature":"public Object asHostObject(Object receiver) throws UnsupportedMessageException, HeapIsolationException","summary":"Returns the Java host object representation of the given Truffle guest object.","details":"Implementations of this method must not produce any observable side effects. If this method is implemented, isHostObject(Object) must also be implemented and return true for the same receiver.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"},"throws":[{"type":"UnsupportedMessageException","doc":"if isHostObject(Object) returns false for the given receiver."},{"type":"HeapIsolationException","doc":"if the guest object represents a host object located in a foreign heap, for example in a polyglot isolate."}]}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getFactory()","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getFactory()","name":"getFactory","kind":"method","signature":"public static LibraryFactory<InteropLibrary> getFactory()","summary":"Returns the library factory for the interop library.","details":"Short-cut for ResolvedLibrary.resolve(InteropLibrary.class).","returns":{"type":"LibraryFactory<InteropLibrary>"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getUncached()","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InteropLibrary getUncached()","summary":"Returns the uncached automatically dispatched version of the interop library.","details":"This is a short-cut for calling InteropLibrary.getFactory().getUncached().","returns":{"type":"InteropLibrary"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.getUncached(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#getUncached(java.lang.Object)","name":"getUncached","kind":"method","signature":"public static InteropLibrary getUncached(Object v)","summary":"Returns the uncached manually dispatched version of the interop library.","details":"This is a short-cut for calling InteropLibrary.getFactory().getUncached(v).","params":[{"name":"v","type":"Object"}],"returns":{"type":"InteropLibrary"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.assertAdopted()","href":"com/oracle/truffle/api/interop/InteropLibrary.html#assertAdopted()","name":"assertAdopted","kind":"method","signature":"protected final boolean assertAdopted()","summary":"Utility for libraries to require adoption before cached versions of nodes can be executed.","details":"Only fails if assertions (-ea) are enabled.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isValidValue(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isValidValue(java.lang.Object)","name":"isValidValue","kind":"method","signature":"public static boolean isValidValue(Object receiver)","summary":"Utility to check whether a value is a valid interop value.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InteropLibrary.isValidProtocolValue(Object)","href":"com/oracle/truffle/api/interop/InteropLibrary.html#isValidProtocolValue(java.lang.Object)","name":"isValidProtocolValue","kind":"method","signature":"public static boolean isValidProtocolValue(Object value)","summary":"Utility to check whether a value is a valid interop protocol value.","details":"An interop protocol value is either an interop value or a value that might be returned or passed as parameter by any of the methods in InteropLibrary. This can be useful to validate all values received or returned by a wrapper that uses ReflectionLibrary to delegate all interop protocol parameters and return values. This method will be extended with more checked types as interop is extended with further allowed values.","params":[{"name":"value","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidArrayIndexException","href":"com/oracle/truffle/api/interop/InvalidArrayIndexException.html","name":"InvalidArrayIndexException","kind":"class","signature":"public final class InvalidArrayIndexException extends InteropException","summary":"An exception thrown if an array does not contain a element with an index.","details":"Interop exceptions are supposed to be caught and converted into a guest language error by the caller."}
{"symbol":"com.oracle.truffle.api.interop.InvalidArrayIndexException.getMessage()","href":"com/oracle/truffle/api/interop/InvalidArrayIndexException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidArrayIndexException.getInvalidIndex()","href":"com/oracle/truffle/api/interop/InvalidArrayIndexException.html#getInvalidIndex()","name":"getInvalidIndex","kind":"method","signature":"public long getInvalidIndex()","summary":"Returns the invalid index that was used.","returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidArrayIndexException.create(long)","href":"com/oracle/truffle/api/interop/InvalidArrayIndexException.html#create(long)","name":"create","kind":"method","signature":"public static InvalidArrayIndexException create(long invalidIndex)","summary":"Creates an InvalidArrayIndexException to indicate that an array index is invalid.","details":"This method is designed to be used in compiled code paths.","params":[{"name":"invalidIndex","type":"long","doc":"the index that could not be accessed"}],"returns":{"type":"InvalidArrayIndexException"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidArrayIndexException.create(long, Throwable)","href":"com/oracle/truffle/api/interop/InvalidArrayIndexException.html#create(long,java.lang.Throwable)","name":"create","kind":"method","signature":"public static InvalidArrayIndexException create(long invalidIndex, Throwable cause)","summary":"Creates an InvalidArrayIndexException to indicate that an array index is invalid.","detailsOmitted":true,"params":[{"name":"invalidIndex","type":"long","doc":"the index that could not be accessed"},{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"InvalidArrayIndexException"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidBufferOffsetException","href":"com/oracle/truffle/api/interop/InvalidBufferOffsetException.html","name":"InvalidBufferOffsetException","kind":"class","signature":"public final class InvalidBufferOffsetException extends InteropException","summary":"An exception thrown if a buffer access if out of bounds.","details":"Interop exceptions are supposed to be caught and converted into a guest language error by the caller."}
{"symbol":"com.oracle.truffle.api.interop.InvalidBufferOffsetException.getByteOffset()","href":"com/oracle/truffle/api/interop/InvalidBufferOffsetException.html#getByteOffset()","name":"getByteOffset","kind":"method","signature":"public long getByteOffset()","summary":"Returns the start byte offset of the invalid access from the start of the buffer.","returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidBufferOffsetException.getLength()","href":"com/oracle/truffle/api/interop/InvalidBufferOffsetException.html#getLength()","name":"getLength","kind":"method","signature":"public long getLength()","summary":"Returns the length of the accessed memory region in bytes starting from the start byte offset.","returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidBufferOffsetException.getMessage()","href":"com/oracle/truffle/api/interop/InvalidBufferOffsetException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidBufferOffsetException.create(long, long)","href":"com/oracle/truffle/api/interop/InvalidBufferOffsetException.html#create(long,long)","name":"create","kind":"method","signature":"public static InvalidBufferOffsetException create(long byteOffset, long length)","summary":"Creates an InvalidBufferOffsetException to indicate that a buffer access is invalid.","details":"This method is designed to be used in compiled code paths.","params":[{"name":"byteOffset","type":"long","doc":"the start byteOffset of the invalid access"},{"name":"length","type":"long","doc":"the length of the accessed memory region in bytes starting from byteOffset"}],"returns":{"type":"InvalidBufferOffsetException"}}
{"symbol":"com.oracle.truffle.api.interop.InvalidBufferOffsetException.create(long, long, Throwable)","href":"com/oracle/truffle/api/interop/InvalidBufferOffsetException.html#create(long,long,java.lang.Throwable)","name":"create","kind":"method","signature":"public static InvalidBufferOffsetException create(long byteOffset, long length, Throwable cause)","summary":"Creates an InvalidBufferOffsetException to indicate that a buffer access is invalid.","detailsOmitted":true,"params":[{"name":"byteOffset","type":"long","doc":"the start byteOffset of the invalid access"},{"name":"length","type":"long","doc":"the length of the accessed memory region in bytes starting from byteOffset."},{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"InvalidBufferOffsetException"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary","href":"com/oracle/truffle/api/interop/NodeLibrary.html","name":"NodeLibrary","kind":"class","signature":"public abstract class NodeLibrary extends Library","summary":"Node Library provides access to guest language information associated with a particular Node location.","details":"The receiver of this library must be an instrumentable Node that has a root node."}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary()","href":"com/oracle/truffle/api/interop/NodeLibrary.html#%3Cinit%3E()","name":"NodeLibrary","kind":"constructor","signature":"protected NodeLibrary()"}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.hasScope(Object, Frame)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#hasScope(java.lang.Object,com.oracle.truffle.api.frame.Frame)","name":"hasScope","kind":"method","signature":"public boolean hasScope(Object node, Frame frame)","summary":"Returns true, if the node is in a scope containing local variables, else false.","details":"This method must not cause any observable side-effects. If this method is implemented then also getScope(Object, Frame, boolean) must be implemented.","params":[{"name":"node","type":"Object","doc":"a Node, never null"},{"name":"frame","type":"Frame","doc":"a Frame, can be null in case of lexical access."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getScope(Object, Frame, boolean)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getScope(java.lang.Object,com.oracle.truffle.api.frame.Frame,boolean)","name":"getScope","kind":"method","signature":"public Object getScope(Object node, Frame frame, boolean nodeEnter) throws UnsupportedMessageException","summary":"Get an object representing a local scope containing variables visible at the node location.","detailsOmitted":true,"params":[{"name":"node","type":"Object","doc":"a Node, never null"},{"name":"frame","type":"Frame","doc":"a Frame, can be null in case of lexical access."},{"name":"nodeEnter","type":"boolean","doc":"when true, the location that determines scope variables is at the enter to the node execution, else false. Use true when called e.g. by instruments from com.oracle.truffle.api.instrumentation.ExecutionEventNode.onEnter(VirtualFrame) and false when called e.g. from com.oracle.truffle.api.instrumentation.ExecutionEventNode.onReturnValue(VirtualFrame, Object). This argument helps to determine visible variables in case that some variables are added during the node execution."}],"returns":{"type":"Object","doc":"An interop object with InteropLibrary.isScope(Object) being true."},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasScope(Object, Frame) returns false for the same node and frame."}]}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.hasReceiverMember(Object, Frame)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#hasReceiverMember(java.lang.Object,com.oracle.truffle.api.frame.Frame)","name":"hasReceiverMember","kind":"method","signature":"public boolean hasReceiverMember(Object node, Frame frame)","summary":"Returns true, if there is a named receiver object, else false.","details":"This method must not cause any observable side-effects. If this method is implemented then also getReceiverMember(Object, Frame) must be implemented.","params":[{"name":"node","type":"Object","doc":"a Node, never null"},{"name":"frame","type":"Frame","doc":"a Frame, can be null in case of lexical access."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getReceiverMember(Object, Frame)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getReceiverMember(java.lang.Object,com.oracle.truffle.api.frame.Frame)","name":"getReceiverMember","kind":"method","signature":"public Object getReceiverMember(Object node, Frame frame) throws UnsupportedMessageException","summary":"Returns an object that represents the receiver name when available.","detailsOmitted":true,"params":[{"name":"node","type":"Object","doc":"a Node, never null"},{"name":"frame","type":"Frame","doc":"a Frame, can be null in case of lexical access."}],"returns":{"type":"Object","doc":"an interop string object."},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasReceiverMember(Object, Frame) returns false for the same node and frame."}]}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.hasRootInstance(Object, Frame)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#hasRootInstance(java.lang.Object,com.oracle.truffle.api.frame.Frame)","name":"hasRootInstance","kind":"method","signature":"public boolean hasRootInstance(Object node, Frame frame)","summary":"Returns true, if a current instance of the guest language representation of the root node (e.g.","details":"the enclosing guest language function) is available, else false. Guest languages will likely require a context lookup to resolve the root instance object. This method must not cause any observable side-effects. If this method is implemented then also getRootInstance(Object, Frame) must be implemented.","params":[{"name":"node","type":"Object","doc":"a Node, never null"},{"name":"frame","type":"Frame","doc":"a Frame, can be null in case of lexical access, in which case the instance would likely not be available."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getRootInstance(Object, Frame)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getRootInstance(java.lang.Object,com.oracle.truffle.api.frame.Frame)","name":"getRootInstance","kind":"method","signature":"public Object getRootInstance(Object node, Frame frame) throws UnsupportedMessageException","summary":"Returns the current instance of guest language representation of the root node (e.g.","details":"the enclosing guest language function), when available. This method must not cause any observable side-effects. If this method is implemented then also hasRootInstance(Object, Frame) must be implemented.","params":[{"name":"node","type":"Object","doc":"a Node, never null"},{"name":"frame","type":"Frame","doc":"a Frame, can be null in case of lexical access, in which case the instance would likely not be available."}],"returns":{"type":"Object","doc":"the root instance value which must be an interop and executable value."},"throws":[{"type":"UnsupportedMessageException","doc":"if and only if hasRootInstance(Object, Frame) returns false for the same node and frame."}]}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getView(Object, Frame, Object)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getView(java.lang.Object,com.oracle.truffle.api.frame.Frame,java.lang.Object)","name":"getView","kind":"method","signature":"public Object getView(Object node, Frame frame, Object value)","summary":"Wraps the value to filter or add scoping specific information for values associated with the current language and location in the code.","detailsOmitted":true,"params":[{"name":"node","type":"Object","doc":"the current source location. Guaranteed to be a node from a RootNode associated with this language. Never null."},{"name":"frame","type":"Frame","doc":"the current active frame. Guaranteed to be a frame from a RootNode associated with this language. Never null."},{"name":"value","type":"Object","doc":"the value to provide scope information for. Never null. Always associated with this language."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getFactory()","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getFactory()","name":"getFactory","kind":"method","signature":"public static LibraryFactory<NodeLibrary> getFactory()","summary":"Returns the library factory for the node library.","details":"Short-cut for ResolvedLibrary.resolve(NodeLibrary.class).","returns":{"type":"LibraryFactory<NodeLibrary>"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getUncached()","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getUncached()","name":"getUncached","kind":"method","signature":"public static NodeLibrary getUncached()","summary":"Returns the uncached automatically dispatched version of the node library.","details":"This is a short-cut for calling NodeLibrary.getFactory().getUncached().","returns":{"type":"NodeLibrary"}}
{"symbol":"com.oracle.truffle.api.interop.NodeLibrary.getUncached(Object)","href":"com/oracle/truffle/api/interop/NodeLibrary.html#getUncached(java.lang.Object)","name":"getUncached","kind":"method","signature":"public static NodeLibrary getUncached(Object node)","summary":"Returns the uncached manually dispatched version of the node library.","details":"This is a short-cut for calling NodeLibrary.getFactory().getUncached(v).","params":[{"name":"node","type":"Object"}],"returns":{"type":"NodeLibrary"}}
{"symbol":"com.oracle.truffle.api.interop.StopIterationException","href":"com/oracle/truffle/api/interop/StopIterationException.html","name":"StopIterationException","kind":"class","signature":"public final class StopIterationException extends InteropException","summary":"An exception thrown if an iterator is finished.","details":"This exception is thrown by the getIteratorNextElement when the iterator has no more elements to return. Interop exceptions are supposed to be caught and converted into a guest language error by the caller."}
{"symbol":"com.oracle.truffle.api.interop.StopIterationException.getMessage()","href":"com/oracle/truffle/api/interop/StopIterationException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.StopIterationException.create()","href":"com/oracle/truffle/api/interop/StopIterationException.html#create()","name":"create","kind":"method","signature":"public static StopIterationException create()","summary":"Creates an StopIterationException to indicate that iteration was stopped.","details":"This method is designed to be used in compiled code paths.","returns":{"type":"StopIterationException"}}
{"symbol":"com.oracle.truffle.api.interop.StopIterationException.create(Throwable)","href":"com/oracle/truffle/api/interop/StopIterationException.html#create(java.lang.Throwable)","name":"create","kind":"method","signature":"public static StopIterationException create(Throwable cause)","summary":"Creates an StopIterationException to indicate that iteration was stopped.","detailsOmitted":true,"params":[{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"StopIterationException"}}
{"symbol":"com.oracle.truffle.api.interop.TruffleObject","href":"com/oracle/truffle/api/interop/TruffleObject.html","name":"TruffleObject","kind":"interface","signature":"public interface TruffleObject","summary":"Interface for any entity of a Truffle guest language implementations that can be shared across other language implementations."}
{"symbol":"com.oracle.truffle.api.interop.UnknownIdentifierException","href":"com/oracle/truffle/api/interop/UnknownIdentifierException.html","name":"UnknownIdentifierException","kind":"class","signature":"public final class UnknownIdentifierException extends InteropException","summary":"An exception thrown if an object does not contain a member with such an identifier.","details":"Interop exceptions are supposed to be caught and converted into a guest language error by the caller."}
{"symbol":"com.oracle.truffle.api.interop.UnknownIdentifierException.getMessage()","href":"com/oracle/truffle/api/interop/UnknownIdentifierException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownIdentifierException.getUnknownIdentifier()","href":"com/oracle/truffle/api/interop/UnknownIdentifierException.html#getUnknownIdentifier()","name":"getUnknownIdentifier","kind":"method","signature":"public String getUnknownIdentifier()","summary":"Returns the identifier that could not be accessed.","returns":{"type":"String","doc":"the unaccessible identifier"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownIdentifierException.create(String)","href":"com/oracle/truffle/api/interop/UnknownIdentifierException.html#create(java.lang.String)","name":"create","kind":"method","signature":"public static UnknownIdentifierException create(String unknownIdentifier)","summary":"Creates an UnknownIdentifierException to indicate that an identifier is missing.","details":"This method is designed to be used in compiled code paths.","params":[{"name":"unknownIdentifier","type":"String","doc":"the identifier that could not be accessed"}],"returns":{"type":"UnknownIdentifierException"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownIdentifierException.create(String, Throwable)","href":"com/oracle/truffle/api/interop/UnknownIdentifierException.html#create(java.lang.String,java.lang.Throwable)","name":"create","kind":"method","signature":"public static UnknownIdentifierException create(String unknownIdentifier, Throwable cause)","summary":"Creates an UnknownIdentifierException to indicate that an identifier is missing.","detailsOmitted":true,"params":[{"name":"unknownIdentifier","type":"String","doc":"the identifier that could not be accessed"},{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"UnknownIdentifierException"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownKeyException","href":"com/oracle/truffle/api/interop/UnknownKeyException.html","name":"UnknownKeyException","kind":"class","signature":"public final class UnknownKeyException extends InteropException","summary":"An exception thrown if an object does not contain a hash entry with such a key.","details":"Interop exceptions are supposed to be caught and converted into a guest language error by the caller."}
{"symbol":"com.oracle.truffle.api.interop.UnknownKeyException.getMessage()","href":"com/oracle/truffle/api/interop/UnknownKeyException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownKeyException.getUnknownKey()","href":"com/oracle/truffle/api/interop/UnknownKeyException.html#getUnknownKey()","name":"getUnknownKey","kind":"method","signature":"public Object getUnknownKey()","summary":"Returns the hash key that could not be accessed.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownKeyException.create(Object)","href":"com/oracle/truffle/api/interop/UnknownKeyException.html#create(java.lang.Object)","name":"create","kind":"method","signature":"public static UnknownKeyException create(Object unknownKey)","summary":"Creates an UnknownKeyException to indicate that a key is missing in the hash object.","details":"This method is designed to be used in compiled code paths.","params":[{"name":"unknownKey","type":"Object","doc":"the key that could not be accessed"}],"returns":{"type":"UnknownKeyException"}}
{"symbol":"com.oracle.truffle.api.interop.UnknownKeyException.create(Object, Throwable)","href":"com/oracle/truffle/api/interop/UnknownKeyException.html#create(java.lang.Object,java.lang.Throwable)","name":"create","kind":"method","signature":"public static UnknownKeyException create(Object unknownKey, Throwable cause)","summary":"Creates an UnknownKeyException to indicate that a key is missing in the hash object.","detailsOmitted":true,"params":[{"name":"unknownKey","type":"Object","doc":"the key that could not be accessed"},{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error"}],"returns":{"type":"UnknownKeyException"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedMessageException","href":"com/oracle/truffle/api/interop/UnsupportedMessageException.html","name":"UnsupportedMessageException","kind":"class","signature":"public final class UnsupportedMessageException extends InteropException","summary":"An exception thrown if a TruffleObject does not support a interop message.","details":"If this exception is thrown then the receiver does not support the message at all and it is not supported for any arguments given to the message."}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedMessageException.getMessage()","href":"com/oracle/truffle/api/interop/UnsupportedMessageException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedMessageException.create()","href":"com/oracle/truffle/api/interop/UnsupportedMessageException.html#create()","name":"create","kind":"method","signature":"public static UnsupportedMessageException create()","summary":"Creates an UnsupportedMessageException to indicate that an interop message is not supported.","details":"This method is designed to be used in compiled code paths.","returns":{"type":"UnsupportedMessageException"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedMessageException.create(Throwable)","href":"com/oracle/truffle/api/interop/UnsupportedMessageException.html#create(java.lang.Throwable)","name":"create","kind":"method","signature":"public static UnsupportedMessageException create(Throwable cause)","summary":"Creates an UnsupportedMessageException to indicate that an interop message is not supported.","detailsOmitted":true,"params":[{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"UnsupportedMessageException"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedTypeException","href":"com/oracle/truffle/api/interop/UnsupportedTypeException.html","name":"UnsupportedTypeException","kind":"class","signature":"public final class UnsupportedTypeException extends InteropException","summary":"An exception thrown if a TruffleObject does not support the type of one or more arguments."}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedTypeException.getSuppliedValues()","href":"com/oracle/truffle/api/interop/UnsupportedTypeException.html#getSuppliedValues()","name":"getSuppliedValues","kind":"method","signature":"public Object[] getSuppliedValues()","summary":"Returns the arguments of the foreign object access that were not supported by the TruffleObject.","returns":{"type":"Object[]","doc":"the unsupported arguments"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedTypeException.create(Object[])","href":"com/oracle/truffle/api/interop/UnsupportedTypeException.html#create(java.lang.Object[])","name":"create","kind":"method","signature":"public static UnsupportedTypeException create(Object[] suppliedValues)","summary":"Creates an UnsupportedTypeException to indicate that an argument type is not supported.","params":[{"name":"suppliedValues","type":"Object[]"}],"returns":{"type":"UnsupportedTypeException"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedTypeException.create(Object[], String)","href":"com/oracle/truffle/api/interop/UnsupportedTypeException.html#create(java.lang.Object[],java.lang.String)","name":"create","kind":"method","signature":"public static UnsupportedTypeException create(Object[] suppliedValues, String hint)","summary":"Creates an UnsupportedTypeException to indicate that an argument type is not supported.","params":[{"name":"suppliedValues","type":"Object[]"},{"name":"hint","type":"String"}],"returns":{"type":"UnsupportedTypeException"}}
{"symbol":"com.oracle.truffle.api.interop.UnsupportedTypeException.create(Object[], String, Throwable)","href":"com/oracle/truffle/api/interop/UnsupportedTypeException.html#create(java.lang.Object[],java.lang.String,java.lang.Throwable)","name":"create","kind":"method","signature":"public static UnsupportedTypeException create(Object[] suppliedValues, String hint, Throwable cause)","summary":"Creates an UnsupportedTypeException to indicate that an argument type is not supported.","detailsOmitted":true,"params":[{"name":"suppliedValues","type":"Object[]"},{"name":"hint","type":"String"},{"name":"cause","type":"Throwable","doc":"the guest language exception that caused the error."}],"returns":{"type":"UnsupportedTypeException"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html","name":"TruffleProcessBuilder","kind":"class","signature":"public final class TruffleProcessBuilder","summary":"A builder used to create an external subprocess.","details":"The TruffleProcessBuilder instance allows to set subprocess attributes. The start() method creates a new Process instance with those attributes. The start() method can be invoked repeatedly from the same instance to create new subprocesses with the same attributes."}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.command(List)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#command(java.util.List)","name":"command","kind":"method","signature":"public TruffleProcessBuilder command(List<String> command)","summary":"Sets the executable and arguments.","params":[{"name":"command","type":"List<String>","doc":"the list containing the executable and its arguments"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.command(String...)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#command(java.lang.String...)","name":"command","kind":"method","signature":"public TruffleProcessBuilder command(String... command)","summary":"Sets the executable and arguments.","params":[{"name":"command","type":"String...","doc":"the string array containing the executable and its arguments"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.directory(TruffleFile)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#directory(com.oracle.truffle.api.TruffleFile)","name":"directory","kind":"method","signature":"public TruffleProcessBuilder directory(TruffleFile currentWorkingDirectory)","summary":"Sets this process current working directory.","details":"The currentWorkingDirectory may be null, in this case the subprocess current working directory is set to file system current working directory.","params":[{"name":"currentWorkingDirectory","type":"TruffleFile","doc":"the new current working directory"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.redirectErrorStream(boolean)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#redirectErrorStream(boolean)","name":"redirectErrorStream","kind":"method","signature":"public TruffleProcessBuilder redirectErrorStream(boolean enabled)","summary":"If true the standard error output is merged into standard output.","params":[{"name":"enabled","type":"boolean","doc":"enables merging of standard error output into standard output"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.redirectInput(ProcessHandler.Redirect)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#redirectInput(org.graalvm.polyglot.io.ProcessHandler.Redirect)","name":"redirectInput","kind":"method","signature":"public TruffleProcessBuilder redirectInput(ProcessHandler.Redirect source)","summary":"Sets the standard input source.","details":"Process started by the start() method obtain its standard input from this source. If the source is PIPE, the default value, then the standard input of a subprocess can be written to using the output stream returned by Process.getOutputStream(). If the source is set to INHERIT, then the Process.getOutputStream() returns a closed output stream.","params":[{"name":"source","type":"ProcessHandler.Redirect","doc":"the new standard input source"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.redirectOutput(ProcessHandler.Redirect)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#redirectOutput(org.graalvm.polyglot.io.ProcessHandler.Redirect)","name":"redirectOutput","kind":"method","signature":"public TruffleProcessBuilder redirectOutput(ProcessHandler.Redirect destination)","summary":"Sets the standard output destination.","details":"Process started by the start() method send its standard output to this destination. If the destination is PIPE, the default value, then the standard output of a subprocess can be read using the input stream returned by Process.getInputStream(). If the destination is set to is set to INHERIT, then Process.getInputStream() returns a closed input stream.","params":[{"name":"destination","type":"ProcessHandler.Redirect","doc":"the new standard output destination"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.redirectError(ProcessHandler.Redirect)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#redirectError(org.graalvm.polyglot.io.ProcessHandler.Redirect)","name":"redirectError","kind":"method","signature":"public TruffleProcessBuilder redirectError(ProcessHandler.Redirect destination)","summary":"Sets the standard error output destination.","details":"Process started by the start() method send its error output to this destination. If the destination is PIPE, the default value, then the standard error of a subprocess can be read using the input stream returned by Process.getErrorStream(). If the destination is set to is set to INHERIT, then Process.getErrorStream() returns a closed input stream.","params":[{"name":"destination","type":"ProcessHandler.Redirect","doc":"the new error output destination"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.inheritIO(boolean)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#inheritIO(boolean)","name":"inheritIO","kind":"method","signature":"public TruffleProcessBuilder inheritIO(boolean enabled)","summary":"If true the subprocess standard input, output and error output are the same as those of the current Java process.","params":[{"name":"enabled","type":"boolean","doc":"enables standard I/O inheritance"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.clearEnvironment(boolean)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#clearEnvironment(boolean)","name":"clearEnvironment","kind":"method","signature":"public TruffleProcessBuilder clearEnvironment(boolean clear)","summary":"If true the environment variables are not inherited by the subprocess.","params":[{"name":"clear","type":"boolean","doc":"disables inheritance of environment variables"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.environment(String, String)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#environment(java.lang.String,java.lang.String)","name":"environment","kind":"method","signature":"public TruffleProcessBuilder environment(String name, String value)","summary":"Sets the subprocess environment variable.","params":[{"name":"name","type":"String","doc":"the variable name"},{"name":"value","type":"String","doc":"the value"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.environment(Map)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#environment(java.util.Map)","name":"environment","kind":"method","signature":"public TruffleProcessBuilder environment(Map<String, String> environment)","summary":"Shortcut for setting multiple environment variables using a map.","details":"All values of the provided map must be non-null.","params":[{"name":"environment","type":"Map<String, String>","doc":"environment variables"}],"returns":{"type":"TruffleProcessBuilder","doc":"this builder"}}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.createRedirectToStream(OutputStream)","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#createRedirectToStream(java.io.OutputStream)","name":"createRedirectToStream","kind":"method","signature":"public ProcessHandler.Redirect createRedirectToStream(OutputStream stream)","summary":"Creates a redirect to write into the given OutputStream.","details":"It is guaranteed that the process output (error output) is copied into the given stream before the call to Process.waitFor() method ends. The stream is not closed when the process terminates.","params":[{"name":"stream","type":"OutputStream","doc":"the OutputStream to write into"}],"returns":{"type":"ProcessHandler.Redirect"},"throws":[{"type":"NullPointerException","doc":"if the given stream is null"}]}
{"symbol":"com.oracle.truffle.api.io.TruffleProcessBuilder.start()","href":"com/oracle/truffle/api/io/TruffleProcessBuilder.html#start()","name":"start","kind":"method","signature":"public Process start() throws IOException","summary":"Starts a new subprocess using the attributes of this builder.","details":"The new process invokes the command with arguments given by command(java.lang.String...), in a working directory given by directory(com.oracle.truffle.api.TruffleFile), with a process environment inherited from Context and possibly extended by environment(java.lang.String, java.lang.String).","returns":{"type":"Process","doc":"a new Process instance"},"throws":[{"type":"NullPointerException","doc":"if an element of the command list is null"},{"type":"IndexOutOfBoundsException","doc":"if the command is an empty list"},{"type":"SecurityException","doc":"when process creation is forbidden by ProcessHandler"},{"type":"IOException","doc":"if the process fails to execute"}]}
{"symbol":"com.oracle.truffle.api.library.CachedLibrary","href":"com/oracle/truffle/api/library/CachedLibrary.html","name":"CachedLibrary","kind":"annotation","signature":"public @interface CachedLibrary","summary":"The cached library annotation allows to use Truffle Libraries conveniently in specializations or exported messages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.CachedLibrary.value()","href":"com/oracle/truffle/api/library/CachedLibrary.html#value()","name":"value","kind":"annotationElement","signature":"String value() default \"\"","summary":"Sets the specialized value expression when using specialized libraries.","details":"The same syntax applies as for Cached value expressions.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.CachedLibrary.limit()","href":"com/oracle/truffle/api/library/CachedLibrary.html#limit()","name":"limit","kind":"annotationElement","signature":"String limit() default \"\"","summary":"Sets the limit expression when using dispatched libraries.","details":"The limit expression sets the number of internally dispatched specialized libraries until an uncached version of the library will be used.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.DynamicDispatchLibrary","href":"com/oracle/truffle/api/library/DynamicDispatchLibrary.html","name":"DynamicDispatchLibrary","kind":"class","signature":"public abstract class DynamicDispatchLibrary extends Library","summary":"A library that allows to dynamically dispatch to export library classes.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.DynamicDispatchLibrary()","href":"com/oracle/truffle/api/library/DynamicDispatchLibrary.html#%3Cinit%3E()","name":"DynamicDispatchLibrary","kind":"constructor","signature":"protected DynamicDispatchLibrary()","summary":"Constructor for generated subclasses.","details":"Subclasses of this class are generated, do not extend this class directly."}
{"symbol":"com.oracle.truffle.api.library.DynamicDispatchLibrary.dispatch(Object)","href":"com/oracle/truffle/api/library/DynamicDispatchLibrary.html#dispatch(java.lang.Object)","name":"dispatch","kind":"method","signature":"public Class<?> dispatch(Object receiver)","summary":"Returns a class that exports at least one library with an explicit receiver.","details":"Returns null to indicate that the default dispatch of the library should be used.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.DynamicDispatchLibrary.cast(Object)","href":"com/oracle/truffle/api/library/DynamicDispatchLibrary.html#cast(java.lang.Object)","name":"cast","kind":"method","signature":"public abstract Object cast(Object receiver)","summary":"Cast the object receiver type to the dispatched type.","details":"This is not supposed to be implemented by dynamic dispatch implementer but is automatically implemented when implementing dynamic dispatch.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.library.DynamicDispatchLibrary.getFactory()","href":"com/oracle/truffle/api/library/DynamicDispatchLibrary.html#getFactory()","name":"getFactory","kind":"method","signature":"public static LibraryFactory<DynamicDispatchLibrary> getFactory()","summary":"Returns the library factory for DynamicDispatchLibrary.","returns":{"type":"LibraryFactory<DynamicDispatchLibrary>"}}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary","href":"com/oracle/truffle/api/library/ExportLibrary.html","name":"ExportLibrary","kind":"annotation","signature":"public @interface ExportLibrary","summary":"Allows to export messages of Truffle libraries.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.value()","href":"com/oracle/truffle/api/library/ExportLibrary.html#value()","name":"value","kind":"annotationElement","signature":"Class<? extends Library> value()","summary":"The library class that specifies the messages that are exported.","returns":{"type":"Class<? extends Library>"}}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.receiverType()","href":"com/oracle/truffle/api/library/ExportLibrary.html#receiverType()","name":"receiverType","kind":"annotationElement","signature":"Class<?> receiverType() default java.lang.Void.class","summary":"The explicit receiver type to use if specified.","detailsOmitted":true,"returns":{"type":"Class<?>"},"defaultValue":"java.lang.Void.class"}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.delegateTo()","href":"com/oracle/truffle/api/library/ExportLibrary.html#delegateTo()","name":"delegateTo","kind":"annotationElement","signature":"String delegateTo() default \"\"","summary":"Automatically forwards all messages of the library which are not exported to the value of a delegate field.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.priority()","href":"com/oracle/truffle/api/library/ExportLibrary.html#priority()","name":"priority","kind":"annotationElement","signature":"int priority() default 0","summary":"Specifies the priority for service provider lookup based default exports.","details":"Needs to be specified for exports with explicit receiver type, that are not declared as default exports. Positive values indicate a priority higher than library builtin default exports, negative values lower than default exports. A priority equal to 0 is invalid.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.transitionLimit()","href":"com/oracle/truffle/api/library/ExportLibrary.html#transitionLimit()","name":"transitionLimit","kind":"annotationElement","signature":"String transitionLimit() default \"\"","summary":"By default export libraries don't allow changes in the behavior of accepts for a receiver instance.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.useForAOT()","href":"com/oracle/truffle/api/library/ExportLibrary.html#useForAOT()","name":"useForAOT","kind":"annotationElement","signature":"boolean useForAOT() default false","summary":"Enables AOT preparation for this export.","detailsOmitted":true,"returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.useForAOTPriority()","href":"com/oracle/truffle/api/library/ExportLibrary.html#useForAOTPriority()","name":"useForAOTPriority","kind":"annotationElement","signature":"int useForAOTPriority() default 0","summary":"Specifies the priority for the export when used for AOT preparation.","details":"A higher priority indicates that this export should be ordered earlier in the code rather than later. For example if a library has two exports and one has a higher priority then the export with the higher priority with be inserted first in the inline cache. Consequently, the library export accepts method will be invoked earlier for a higher priority.","returns":{"type":"int"},"defaultValue":"0"}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.Repeat","href":"com/oracle/truffle/api/library/ExportLibrary.Repeat.html","name":"ExportLibrary.Repeat","kind":"annotation","signature":"public @interface ExportLibrary.Repeat","summary":"Repeat annotation for ExportLibrary."}
{"symbol":"com.oracle.truffle.api.library.ExportLibrary.Repeat.value()","href":"com/oracle/truffle/api/library/ExportLibrary.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"ExportLibrary[] value()","summary":"Repeat value for ExportLibrary.","returns":{"type":"ExportLibrary[]"}}
{"symbol":"com.oracle.truffle.api.library.ExportMessage","href":"com/oracle/truffle/api/library/ExportMessage.html","name":"ExportMessage","kind":"annotation","signature":"public @interface ExportMessage","summary":"Exports the annotated method or class as library message.","details":"The annotation can only be applied to method or classes with an enclosing class annotated by ExportLibrary. Exported messages are inherited to subclasses of the enclosing class. If they are redeclared in the sub-class then the semantics of the overridden message is replaced by the semantics of the sub-class. A class and a method cannot be exported at the same time for a single message and enclosing class."}
{"symbol":"com.oracle.truffle.api.library.ExportMessage.name()","href":"com/oracle/truffle/api/library/ExportMessage.html#name()","name":"name","kind":"annotationElement","signature":"String name() default \"\"","summary":"Returns the message simple name to export.","details":"If not specified, the exported message name is inherited from the enclosing method name or class. In case of an exported class the first letter is automatically translated to lower-case. The name attribute should be specified if the exported message does not match the exported method or class name or if multiple messages need to be exported for a method or class.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.ExportMessage.library()","href":"com/oracle/truffle/api/library/ExportMessage.html#library()","name":"library","kind":"annotationElement","signature":"Class<? extends Library> library() default com.oracle.truffle.api.library.Library.class","summary":"Returns the library to export by this method or class.","details":"Automatically selected if the name of the message is unique. Needs to be specified if the name is not unique when implementing multiple libraries.","returns":{"type":"Class<? extends Library>"},"defaultValue":"com.oracle.truffle.api.library.Library.class"}
{"symbol":"com.oracle.truffle.api.library.ExportMessage.limit()","href":"com/oracle/truffle/api/library/ExportMessage.html#limit()","name":"limit","kind":"annotationElement","signature":"String limit() default \"\"","summary":"Specifies the limit of an exported message.","details":"The limit specifies the number of specialized instances of cached library should be used until the library rewrites itself to an uncached case.","returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.ExportMessage.Ignore","href":"com/oracle/truffle/api/library/ExportMessage.Ignore.html","name":"ExportMessage.Ignore","kind":"annotation","signature":"public @interface ExportMessage.Ignore","summary":"Explicitly ignores warning messages originating from the ExportLibrary annotation."}
{"symbol":"com.oracle.truffle.api.library.ExportMessage.Repeat","href":"com/oracle/truffle/api/library/ExportMessage.Repeat.html","name":"ExportMessage.Repeat","kind":"annotation","signature":"public @interface ExportMessage.Repeat"}
{"symbol":"com.oracle.truffle.api.library.ExportMessage.Repeat.value()","href":"com/oracle/truffle/api/library/ExportMessage.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"ExportMessage[] value()","returns":{"type":"ExportMessage[]"}}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary","href":"com/oracle/truffle/api/library/GenerateLibrary.html","name":"GenerateLibrary","kind":"annotation","signature":"public @interface GenerateLibrary","summary":"Libraries are specified with public and abstract Java classes that extend the Library class and are annotated by @GenerateLibrary.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.assertions()","href":"com/oracle/truffle/api/library/GenerateLibrary.html#assertions()","name":"assertions","kind":"annotationElement","signature":"Class<? extends Library> assertions() default com.oracle.truffle.api.library.Library.class","summary":"Specifies an assertion wrapper class that can be used to verify pre and post conditions of a library.","detailsOmitted":true,"returns":{"type":"Class<? extends Library>"},"defaultValue":"com.oracle.truffle.api.library.Library.class"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.receiverType()","href":"com/oracle/truffle/api/library/GenerateLibrary.html#receiverType()","name":"receiverType","kind":"annotationElement","signature":"Class<?> receiverType() default java.lang.Object.class","summary":"Restricts the receiver type for exports that implement this library.","details":"This allows to have different receiver type in message methods, but require export receiver types to implement or extend a declared class. Default exports are not affected by this restriction and can therefore export the library for any receiver type the message methods first parameter is compatible with.","returns":{"type":"Class<?>"},"defaultValue":"java.lang.Object.class"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.defaultExportLookupEnabled()","href":"com/oracle/truffle/api/library/GenerateLibrary.html#defaultExportLookupEnabled()","name":"defaultExportLookupEnabled","kind":"annotationElement","signature":"boolean defaultExportLookupEnabled() default false","summary":"Allows the library to lookup additional default exports using a service provider interface.","details":"Exports for this library with explicit receiver type will automatically be interpreted as additional default exports. External default exports may specify with the priority whether they are looked up before or after existing default exports specified for the library. Default exports always have a lower priority than explicit exports on the receiver type or exports that use dynamic dispatch.","returns":{"type":"boolean"},"defaultValue":"false"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.dynamicDispatchEnabled()","href":"com/oracle/truffle/api/library/GenerateLibrary.html#dynamicDispatchEnabled()","name":"dynamicDispatchEnabled","kind":"annotationElement","signature":"boolean dynamicDispatchEnabled() default true","summary":"Allows the use of DynamicDispatchLibrary with this library.","details":"By default, dynamic dispatch is enabled. If this flag is set to false then the dispatch method will not be used for this library. Only default exports and exports declared with the receiver type will be used instead for this library.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.pushEncapsulatingNode()","href":"com/oracle/truffle/api/library/GenerateLibrary.html#pushEncapsulatingNode()","name":"pushEncapsulatingNode","kind":"annotationElement","signature":"boolean pushEncapsulatingNode() default true","summary":"Enables push and pop of the encapsulating node when a library transitions from cached to uncached.","details":"The current encapsulating node is needed for correct stack trace location when library exports perform guest language calls. If a library is known to never need correct stack trace information, e.g. if all exports are known to not perform guest language calls, then pushing and popping of encapsulating nodes can be disabled. By default pushing and popping of encapsulating nodes is enabled.","returns":{"type":"boolean"},"defaultValue":"true"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.Abstract","href":"com/oracle/truffle/api/library/GenerateLibrary.Abstract.html","name":"GenerateLibrary.Abstract","kind":"annotation","signature":"public @interface GenerateLibrary.Abstract","summary":"Makes a library message abstract, but allows to keep a default implementation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.Abstract.ifExported()","href":"com/oracle/truffle/api/library/GenerateLibrary.Abstract.html#ifExported()","name":"ifExported","kind":"annotationElement","signature":"String[] ifExported() default {}","summary":"Specifies a message to be abstract only if another message is implemented.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.Abstract.ifExportedAsWarning()","href":"com/oracle/truffle/api/library/GenerateLibrary.Abstract.html#ifExportedAsWarning()","name":"ifExportedAsWarning","kind":"annotationElement","signature":"String[] ifExportedAsWarning() default {}","summary":"Specifies a message to be abstract only if another message is implemented.","detailsOmitted":true,"returns":{"type":"String[]"},"defaultValue":"{}"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.Abstract.replacementOf()","href":"com/oracle/truffle/api/library/GenerateLibrary.Abstract.html#replacementOf()","name":"replacementOf","kind":"annotationElement","signature":"String replacementOf() default \"\"","summary":"A tool to deprecate and replace messages during library evolution.","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.Abstract.replacementMethod()","href":"com/oracle/truffle/api/library/GenerateLibrary.Abstract.html#replacementMethod()","name":"replacementMethod","kind":"annotationElement","signature":"String replacementMethod() default \"\"","summary":"Specifies a custom replacement method to handle delegation for a message declared with replacementOf().","detailsOmitted":true,"returns":{"type":"String"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.DefaultExport","href":"com/oracle/truffle/api/library/GenerateLibrary.DefaultExport.html","name":"GenerateLibrary.DefaultExport","kind":"annotation","signature":"public @interface GenerateLibrary.DefaultExport","summary":"Specifies library implementations provided by default as a fallback.","details":"May only be used on classes annotated with Library."}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.DefaultExport.value()","href":"com/oracle/truffle/api/library/GenerateLibrary.DefaultExport.html#value()","name":"value","kind":"annotationElement","signature":"Class<?> value()","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.DefaultExport.Repeat","href":"com/oracle/truffle/api/library/GenerateLibrary.DefaultExport.Repeat.html","name":"GenerateLibrary.DefaultExport.Repeat","kind":"annotation","signature":"public @interface GenerateLibrary.DefaultExport.Repeat"}
{"symbol":"com.oracle.truffle.api.library.GenerateLibrary.DefaultExport.Repeat.value()","href":"com/oracle/truffle/api/library/GenerateLibrary.DefaultExport.Repeat.html#value()","name":"value","kind":"annotationElement","signature":"GenerateLibrary.DefaultExport[] value()","returns":{"type":"GenerateLibrary.DefaultExport[]"}}
{"symbol":"com.oracle.truffle.api.library.Library","href":"com/oracle/truffle/api/library/Library.html","name":"Library","kind":"class","signature":"public abstract class Library extends Node","summary":"Base class for all Truffle library specifications.","details":"Required base class for classes annotated with GenerateLibrary. Implementations for the abstract methods specified in this classes are not supposed to be implemented manually."}
{"symbol":"com.oracle.truffle.api.library.Library()","href":"com/oracle/truffle/api/library/Library.html#%3Cinit%3E()","name":"Library","kind":"constructor","signature":"protected Library()","summary":"Default constructor for sub-classes.","details":"Libraries always have a no-arg protected constructor."}
{"symbol":"com.oracle.truffle.api.library.Library.accepts(Object)","href":"com/oracle/truffle/api/library/Library.html#accepts(java.lang.Object)","name":"accepts","kind":"method","signature":"public abstract boolean accepts(Object receiver)","summary":"Returns true if this library instance supports sending messages with the given receiver.","detailsOmitted":true,"params":[{"name":"receiver","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport","href":"com/oracle/truffle/api/library/LibraryExport.html","name":"LibraryExport","kind":"class","signature":"public abstract class LibraryExport<T extends Library>","summary":"Base class for generated export classes.","details":"This class is not intended to be sub-classed or used manually."}
{"symbol":"com.oracle.truffle.api.library.LibraryExport(Class, Class, boolean)","href":"com/oracle/truffle/api/library/LibraryExport.html#%3Cinit%3E(java.lang.Class,java.lang.Class,boolean)","name":"LibraryExport","kind":"constructor","signature":"protected LibraryExport(Class<? extends T> library, Class<?> receiverClass, boolean defaultExport)","summary":"Constructor for generated code.","details":"Do not call manually.","params":[{"name":"library","type":"Class<? extends T>"},{"name":"receiverClass","type":"Class<?>"},{"name":"defaultExport","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.library.LibraryExport(Class, Class, boolean, boolean, int)","href":"com/oracle/truffle/api/library/LibraryExport.html#%3Cinit%3E(java.lang.Class,java.lang.Class,boolean,boolean,int)","name":"LibraryExport","kind":"constructor","signature":"protected LibraryExport(Class<? extends T> library, Class<?> receiverClass, boolean defaultExport, boolean aot, int aotPriority)","summary":"Constructor for generated code.","details":"Do not call manually.","params":[{"name":"library","type":"Class<? extends T>"},{"name":"receiverClass","type":"Class<?>"},{"name":"defaultExport","type":"boolean"},{"name":"aot","type":"boolean"},{"name":"aotPriority","type":"int"}]}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.createUncached(Object)","href":"com/oracle/truffle/api/library/LibraryExport.html#createUncached(java.lang.Object)","name":"createUncached","kind":"method","signature":"protected abstract T createUncached(Object receiver)","summary":"Implemented generated by ExportLibrary.","details":"Do not implement manually.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.createCached(Object)","href":"com/oracle/truffle/api/library/LibraryExport.html#createCached(java.lang.Object)","name":"createCached","kind":"method","signature":"protected abstract T createCached(Object receiver)","summary":"Implemented generated by ExportLibrary.","details":"Do not implement manually.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.assertAdopted(Node)","href":"com/oracle/truffle/api/library/LibraryExport.html#assertAdopted(com.oracle.truffle.api.nodes.Node)","name":"assertAdopted","kind":"method","signature":"protected static boolean assertAdopted(Node node)","summary":"Internal method for generated code only.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.createDelegate(LibraryFactory, T)","href":"com/oracle/truffle/api/library/LibraryExport.html#createDelegate(com.oracle.truffle.api.library.LibraryFactory,T)","name":"createDelegate","kind":"method","signature":"protected static <T extends Library> T createDelegate(LibraryFactory<T> factory, T delegate)","summary":"Internal method for generated code only.","params":[{"name":"factory","type":"LibraryFactory<T>"},{"name":"delegate","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.createMessageBitSet(LibraryFactory, String...)","href":"com/oracle/truffle/api/library/LibraryExport.html#createMessageBitSet(com.oracle.truffle.api.library.LibraryFactory,java.lang.String...)","name":"createMessageBitSet","kind":"method","signature":"protected static FinalBitSet createMessageBitSet(LibraryFactory<?> factory, String... messageNames)","summary":"Internal method for generated code only.","params":[{"name":"factory","type":"LibraryFactory<?>"},{"name":"messageNames","type":"String..."}],"returns":{"type":"FinalBitSet"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.toString()","href":"com/oracle/truffle/api/library/LibraryExport.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.register(Class, LibraryExport...)","href":"com/oracle/truffle/api/library/LibraryExport.html#register(java.lang.Class,com.oracle.truffle.api.library.LibraryExport...)","name":"register","kind":"method","signature":"public static <T extends Library> void register(Class<?> receiverClass, LibraryExport<?>... libs)","summary":"Called only by code generated by ExportLibrary.","details":"Do not call manually. Multiple calls with the same receiver class will lead to an IllegalStateException.","params":[{"name":"receiverClass","type":"Class<?>"},{"name":"libs","type":"LibraryExport<?>..."}]}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.DelegateExport","href":"com/oracle/truffle/api/library/LibraryExport.DelegateExport.html","name":"LibraryExport.DelegateExport","kind":"interface","signature":"protected interface LibraryExport.DelegateExport","summary":"Internal interface for generated code only."}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.DelegateExport.readDelegateExport(Object)","href":"com/oracle/truffle/api/library/LibraryExport.DelegateExport.html#readDelegateExport(java.lang.Object)","name":"readDelegateExport","kind":"method","signature":"Object readDelegateExport(Object receiver)","summary":"Internal method for generated code only.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.DelegateExport.getDelegateExportMessages()","href":"com/oracle/truffle/api/library/LibraryExport.DelegateExport.html#getDelegateExportMessages()","name":"getDelegateExportMessages","kind":"method","signature":"FinalBitSet getDelegateExportMessages()","summary":"Internal method for generated code only.","returns":{"type":"FinalBitSet"}}
{"symbol":"com.oracle.truffle.api.library.LibraryExport.DelegateExport.getDelegateExportLibrary(Object)","href":"com/oracle/truffle/api/library/LibraryExport.DelegateExport.html#getDelegateExportLibrary(java.lang.Object)","name":"getDelegateExportLibrary","kind":"method","signature":"Library getDelegateExportLibrary(Object delegate)","summary":"Internal method for generated code only.","params":[{"name":"delegate","type":"Object"}],"returns":{"type":"Library"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory","href":"com/oracle/truffle/api/library/LibraryFactory.html","name":"LibraryFactory","kind":"class","signature":"public abstract class LibraryFactory<T extends Library>","summary":"Library factories allow to create instances of libraries used to call library messages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory(Class, List)","href":"com/oracle/truffle/api/library/LibraryFactory.html#%3Cinit%3E(java.lang.Class,java.util.List)","name":"LibraryFactory","kind":"constructor","signature":"protected LibraryFactory(Class<T> libraryClass, List<Message> messages)","summary":"Constructor for generated subclasses.","details":"Do not sub-class LibraryFactory manually.","deprecated":{"doc":"new versions of the library generator won't use this constructor anymore"},"params":[{"name":"libraryClass","type":"Class<T>"},{"name":"messages","type":"List<Message>"}]}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory(Class, List, boolean)","href":"com/oracle/truffle/api/library/LibraryFactory.html#%3Cinit%3E(java.lang.Class,java.util.List,boolean)","name":"LibraryFactory","kind":"constructor","signature":"protected LibraryFactory(Class<T> libraryClass, List<Message> messages, boolean dynamicDispatchEnabled)","summary":"Constructor for generated subclasses.","details":"Do not sub-class LibraryFactory manually.","params":[{"name":"libraryClass","type":"Class<T>"},{"name":"messages","type":"List<Message>"},{"name":"dynamicDispatchEnabled","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createDispatched(int)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createDispatched(int)","name":"createDispatched","kind":"method","signature":"public final T createDispatched(int limit)","summary":"Creates a new cached and automatically dispatched library given a limit.","detailsOmitted":true,"params":[{"name":"limit","type":"int"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.create(Object)","href":"com/oracle/truffle/api/library/LibraryFactory.html#create(java.lang.Object)","name":"create","kind":"method","signature":"public final T create(Object receiver)","summary":"Creates a new manually dispatched cached library for a given receiver.","details":"The receiver must not be null. The returned library must be adopted before used. For calling manually dispatched libraries it is recommended to use CachedLibrary instead using the factory manually.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createAOT(LibraryExport)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createAOT(com.oracle.truffle.api.library.LibraryExport)","name":"createAOT","kind":"method","signature":"protected final T createAOT(LibraryExport<T> lib)","summary":"Creates an AOT version for a library export.","details":"Intended to be used by generated code, do not use manually.","params":[{"name":"lib","type":"LibraryExport<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getUncached()","href":"com/oracle/truffle/api/library/LibraryFactory.html#getUncached()","name":"getUncached","kind":"method","signature":"public final T getUncached()","summary":"Returns an uncached automatically dispatched version of the library.","details":"This is version of a library is used for slow-path calls.","returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getUncached(Object)","href":"com/oracle/truffle/api/library/LibraryFactory.html#getUncached(java.lang.Object)","name":"getUncached","kind":"method","signature":"public final T getUncached(Object receiver)","summary":"Returns an uncached manually dispatched library for a given receiver.","details":"The receiver must not be null.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getMessages()","href":"com/oracle/truffle/api/library/LibraryFactory.html#getMessages()","name":"getMessages","kind":"method","signature":"public final List<Message> getMessages()","summary":"Returns an unmodifiable list of messages that this library provides.","details":"The returned list is ordered by message ids.","returns":{"type":"List<Message>"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.assertAdopted(Node)","href":"com/oracle/truffle/api/library/LibraryFactory.html#assertAdopted(com.oracle.truffle.api.nodes.Node)","name":"assertAdopted","kind":"method","signature":"protected static boolean assertAdopted(Node node)","summary":"Internal method for generated code only.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createDispatchImpl(int)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createDispatchImpl(int)","name":"createDispatchImpl","kind":"method","signature":"protected abstract T createDispatchImpl(int limit)","summary":"Creates a cached automatically dispatched version of this library.","details":"An implementation for this method is generated, do not implement or call manually.","params":[{"name":"limit","type":"int"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getAOTExports()","href":"com/oracle/truffle/api/library/LibraryFactory.html#getAOTExports()","name":"getAOTExports","kind":"method","signature":"protected final List<LibraryExport<T>> getAOTExports()","summary":"Returns a list of ordered exports to be used for AOT preparation if supported.","details":"Intended to be used by generated code only, do not use manually.","returns":{"type":"List<LibraryExport<T>>"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createUncachedDispatch()","href":"com/oracle/truffle/api/library/LibraryFactory.html#createUncachedDispatch()","name":"createUncachedDispatch","kind":"method","signature":"protected abstract T createUncachedDispatch()","summary":"Creates a uncached automatically dispatched version of this library.","details":"An implementation for this method is generated, do not implement or call manually.","returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createProxy(ReflectionLibrary)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createProxy(com.oracle.truffle.api.library.ReflectionLibrary)","name":"createProxy","kind":"method","signature":"protected abstract T createProxy(ReflectionLibrary lib)","summary":"Creates a proxy version of this library.","details":"A proxy version is responsible for dispatching to reflective implementations of messages. An implementation for this method is generated, do not implement manually.","params":[{"name":"lib","type":"ReflectionLibrary"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createDelegate(T)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createDelegate(T)","name":"createDelegate","kind":"method","signature":"protected T createDelegate(T original)","summary":"Creates a delegate version of a library.","details":"May be used for cached or uncached versions of a library. Intended to be used by generated code only, do not use manually.","params":[{"name":"original","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createAssertions(T)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createAssertions(T)","name":"createAssertions","kind":"method","signature":"protected T createAssertions(T delegate)","summary":"Creates an assertion version of this library.","details":"An implementation for this method is generated, do not implement manually.","params":[{"name":"delegate","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getDefaultClass(Object)","href":"com/oracle/truffle/api/library/LibraryFactory.html#getDefaultClass(java.lang.Object)","name":"getDefaultClass","kind":"method","signature":"protected abstract Class<?> getDefaultClass(Object receiver)","summary":"Returns default exported used for a given receiver.","details":"An implementation for this method is generated, do not implement manually.","params":[{"name":"receiver","type":"Object"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getLookup()","href":"com/oracle/truffle/api/library/LibraryFactory.html#getLookup()","name":"getLookup","kind":"method","signature":"protected MethodHandles.Lookup getLookup()","summary":"Returns a method handle lookup used to initialize the library class.","returns":{"type":"MethodHandles.Lookup"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.genericDispatch(Library, Object, Message, Object[], int)","href":"com/oracle/truffle/api/library/LibraryFactory.html#genericDispatch(com.oracle.truffle.api.library.Library,java.lang.Object,com.oracle.truffle.api.library.Message,java.lang.Object[],int)","name":"genericDispatch","kind":"method","signature":"protected abstract Object genericDispatch(Library library, Object receiver, Message message, Object[] arguments, int parameterOffset) throws Exception","summary":"Performs a generic dispatch for this library.","details":"An implementation for this method is generated, do not implement manually.","params":[{"name":"library","type":"Library"},{"name":"receiver","type":"Object"},{"name":"message","type":"Message"},{"name":"arguments","type":"Object[]"},{"name":"parameterOffset","type":"int"}],"returns":{"type":"Object"},"throws":[{"type":"Exception"}]}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.createMessageBitSet(Message...)","href":"com/oracle/truffle/api/library/LibraryFactory.html#createMessageBitSet(com.oracle.truffle.api.library.Message...)","name":"createMessageBitSet","kind":"method","signature":"protected FinalBitSet createMessageBitSet(Message... enabledMessages)","summary":"Creates a final bitset of the given messages.","details":"Uses an internal index for the messages. An implementation for this method is generated, do not implement manually.","params":[{"name":"enabledMessages","type":"Message..."}],"returns":{"type":"FinalBitSet"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.isDelegated(Library, int)","href":"com/oracle/truffle/api/library/LibraryFactory.html#isDelegated(com.oracle.truffle.api.library.Library,int)","name":"isDelegated","kind":"method","signature":"protected static boolean isDelegated(Library lib, int index)","summary":"Returns true if a message is delegated, otherwise false.","details":"Intended to be used by generated code only, do not use manually.","params":[{"name":"lib","type":"Library"},{"name":"index","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.readDelegate(Library, Object)","href":"com/oracle/truffle/api/library/LibraryFactory.html#readDelegate(com.oracle.truffle.api.library.Library,java.lang.Object)","name":"readDelegate","kind":"method","signature":"protected static Object readDelegate(Library lib, Object receiver)","summary":"Reads the delegate for a receiver.","details":"Intended to be used by generated code only, do not use manually.","params":[{"name":"lib","type":"Library"},{"name":"receiver","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.getDelegateLibrary(T, Object)","href":"com/oracle/truffle/api/library/LibraryFactory.html#getDelegateLibrary(T,java.lang.Object)","name":"getDelegateLibrary","kind":"method","signature":"protected static <T extends Library> T getDelegateLibrary(T lib, Object delegate)","summary":"Returns the delegated library to use when messages are delegated.","details":"Intended to be used by generated code only, do not use manually.","params":[{"name":"lib","type":"T"},{"name":"delegate","type":"Object"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.resolve(Class)","href":"com/oracle/truffle/api/library/LibraryFactory.html#resolve(java.lang.Class)","name":"resolve","kind":"method","signature":"public static <T extends Library> LibraryFactory<T> resolve(Class<T> library)","summary":"Looks up the resolved library instance for a library class.","details":"If a library class was not yet loaded it will be initialized automatically. If the passed library class is not a valid library then a IllegalArgumentException is thrown.","params":[{"name":"library","type":"Class<T>"}],"returns":{"type":"LibraryFactory<T>"}}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.register(Class, LibraryFactory)","href":"com/oracle/truffle/api/library/LibraryFactory.html#register(java.lang.Class,com.oracle.truffle.api.library.LibraryFactory)","name":"register","kind":"method","signature":"protected static <T extends Library> void register(Class<T> libraryClass, LibraryFactory<T> library)","params":[{"name":"libraryClass","type":"Class<T>"},{"name":"library","type":"LibraryFactory<T>"}]}
{"symbol":"com.oracle.truffle.api.library.LibraryFactory.toString()","href":"com/oracle/truffle/api/library/LibraryFactory.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.Message","href":"com/oracle/truffle/api/library/Message.html","name":"Message","kind":"class","signature":"public abstract class Message","summary":"Represents a description of library message.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.Message(Class, String, int, Class, Class...)","href":"com/oracle/truffle/api/library/Message.html#%3Cinit%3E(java.lang.Class,java.lang.String,int,java.lang.Class,java.lang.Class...)","name":"Message","kind":"constructor","signature":"protected Message(Class<? extends Library> libraryClass, String messageName, int id, Class<?> returnType, Class<?>... parameterTypes)","params":[{"name":"libraryClass","type":"Class<? extends Library>"},{"name":"messageName","type":"String"},{"name":"id","type":"int"},{"name":"returnType","type":"Class<?>"},{"name":"parameterTypes","type":"Class<?>..."}]}
{"symbol":"com.oracle.truffle.api.library.Message(Class, String, int, boolean, Class, Class...)","href":"com/oracle/truffle/api/library/Message.html#%3Cinit%3E(java.lang.Class,java.lang.String,int,boolean,java.lang.Class,java.lang.Class...)","name":"Message","kind":"constructor","signature":"protected Message(Class<? extends Library> libraryClass, String messageName, int id, boolean deprecated, Class<?> returnType, Class<?>... parameterTypes)","params":[{"name":"libraryClass","type":"Class<? extends Library>"},{"name":"messageName","type":"String"},{"name":"id","type":"int"},{"name":"deprecated","type":"boolean"},{"name":"returnType","type":"Class<?>"},{"name":"parameterTypes","type":"Class<?>..."}]}
{"symbol":"com.oracle.truffle.api.library.Message.getId()","href":"com/oracle/truffle/api/library/Message.html#getId()","name":"getId","kind":"method","signature":"public final int getId()","summary":"Returns a unique message id within a library.","returns":{"type":"int","doc":"a non-negative message id or -1 if the message is not assigned a unique id."}}
{"symbol":"com.oracle.truffle.api.library.Message.getQualifiedName()","href":"com/oracle/truffle/api/library/Message.html#getQualifiedName()","name":"getQualifiedName","kind":"method","signature":"public final String getQualifiedName()","summary":"Returns a qualified and unique name of this message.","details":"The qualified name is specified as getLibraryName() + \".\" + getSimpleName(). The returned name is interned can safely be compared by identity. The returned name is never null.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.Message.getSimpleName()","href":"com/oracle/truffle/api/library/Message.html#getSimpleName()","name":"getSimpleName","kind":"method","signature":"public final String getSimpleName()","summary":"Returns the simple name of this message.","details":"The simple name is unique per library and equals the method name of the method in the library specification class. The returned name is interned can safely be compared by identity. The returned name is never null.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.Message.getLibraryName()","href":"com/oracle/truffle/api/library/Message.html#getLibraryName()","name":"getLibraryName","kind":"method","signature":"public final String getLibraryName()","summary":"Returns the name of the library of this message.","details":"The name of the library is specified as the name of the library class. The returned name is never null.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.Message.getReturnType()","href":"com/oracle/truffle/api/library/Message.html#getReturnType()","name":"getReturnType","kind":"method","signature":"public final Class<?> getReturnType()","summary":"Returns the return type of the message.","details":"The return type can be useful for reflective invocations of the message.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.Message.getReceiverType()","href":"com/oracle/truffle/api/library/Message.html#getReceiverType()","name":"getReceiverType","kind":"method","signature":"public final Class<?> getReceiverType()","summary":"Returns the receiver type of the message.","details":"The receiver type is always the same as the first parameter type. In many cases the receiver type of a message is Object. However, it possible for libraries to restrict the receiver type to sub-types. The receiver type may be useful for reflective invocations of the message.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.Message.getParameterTypes()","href":"com/oracle/truffle/api/library/Message.html#getParameterTypes()","name":"getParameterTypes","kind":"method","signature":"public final List<Class<?>> getParameterTypes()","summary":"Returns all parameter types including the receiver type of the message.","details":"The returned immutable parameter types list corresponds to the Method.getParameterTypes() parameter types of the declared library method. The parameter types may be useful for reflective invocations of the message.","returns":{"type":"List<Class<?>>"}}
{"symbol":"com.oracle.truffle.api.library.Message.getParameterType(int)","href":"com/oracle/truffle/api/library/Message.html#getParameterType(int)","name":"getParameterType","kind":"method","signature":"public final Class<?> getParameterType(int index)","summary":"Just like getParameterTypes() but returns the parameter of a given index in a partial evaluation safe way.","params":[{"name":"index","type":"int"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.Message.getParameterCount()","href":"com/oracle/truffle/api/library/Message.html#getParameterCount()","name":"getParameterCount","kind":"method","signature":"public final int getParameterCount()","summary":"Returns the number of parameters including the receiver type.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.library.Message.isDeprecated()","href":"com/oracle/truffle/api/library/Message.html#isDeprecated()","name":"isDeprecated","kind":"method","signature":"public final boolean isDeprecated()","summary":"Returns true if this message is deprecated.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.library.Message.getLibraryClass()","href":"com/oracle/truffle/api/library/Message.html#getLibraryClass()","name":"getLibraryClass","kind":"method","signature":"public final Class<? extends Library> getLibraryClass()","summary":"Returns the library class of this message.","details":"The library class may be used to resolve other messages of the same library.","returns":{"type":"Class<? extends Library>"}}
{"symbol":"com.oracle.truffle.api.library.Message.getFactory()","href":"com/oracle/truffle/api/library/Message.html#getFactory()","name":"getFactory","kind":"method","signature":"public final LibraryFactory<?> getFactory()","returns":{"type":"LibraryFactory<?>"}}
{"symbol":"com.oracle.truffle.api.library.Message.clone()","href":"com/oracle/truffle/api/library/Message.html#clone()","name":"clone","kind":"method","signature":"protected final Object clone() throws CloneNotSupportedException","returns":{"type":"Object"},"throws":[{"type":"CloneNotSupportedException"}]}
{"symbol":"com.oracle.truffle.api.library.Message.toString()","href":"com/oracle/truffle/api/library/Message.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.Message.resolve(Class, String)","href":"com/oracle/truffle/api/library/Message.html#resolve(java.lang.Class,java.lang.String)","name":"resolve","kind":"method","signature":"public static Message resolve(Class<? extends Library> libraryClass, String messageName)","deprecated":{"since":"25.1","doc":"since 25.1, use resolveExact(Class, String, Class...) instead. Since library messages can now be deprecated and replaced, they need to be resolved with argument types."},"params":[{"name":"libraryClass","type":"Class<? extends Library>"},{"name":"messageName","type":"String"}],"returns":{"type":"Message"}}
{"symbol":"com.oracle.truffle.api.library.Message.resolve(Class, String, boolean)","href":"com/oracle/truffle/api/library/Message.html#resolve(java.lang.Class,java.lang.String,boolean)","name":"resolve","kind":"method","signature":"public static Message resolve(Class<? extends Library> libraryClass, String messageName, boolean fail)","deprecated":{"since":"25.1","doc":"since 25.1, use resolveExact(Class, String, boolean, Class...) instead. Since library messages can now be deprecated and replaced, they need to be resolved with argument types."},"params":[{"name":"libraryClass","type":"Class<? extends Library>"},{"name":"messageName","type":"String"},{"name":"fail","type":"boolean"}],"returns":{"type":"Message"}}
{"symbol":"com.oracle.truffle.api.library.Message.resolveExact(Class, String, Class...)","href":"com/oracle/truffle/api/library/Message.html#resolveExact(java.lang.Class,java.lang.String,java.lang.Class...)","name":"resolveExact","kind":"method","signature":"public static Message resolveExact(Class<? extends Library> libraryClass, String messageName, Class<?>... argumentTypes)","summary":"Resolves a message globally for a given library class, message name and argument types.","details":"The message name corresponds to the method name of the library message. The returned message always returns the same instance for a combination of library class, message and argument types. The provided library class and message name must not be null. If the library or message is invalid or not found an IllegalArgumentException is thrown.","params":[{"name":"libraryClass","type":"Class<? extends Library>","doc":"the class of the library this message is contained in."},{"name":"messageName","type":"String","doc":"the simple name of this message."},{"name":"argumentTypes","type":"Class<?>..."}],"returns":{"type":"Message"}}
{"symbol":"com.oracle.truffle.api.library.Message.resolveExact(Class, String, boolean, Class...)","href":"com/oracle/truffle/api/library/Message.html#resolveExact(java.lang.Class,java.lang.String,boolean,java.lang.Class...)","name":"resolveExact","kind":"method","signature":"public static Message resolveExact(Class<? extends Library> libraryClass, String messageName, boolean fail, Class<?>... argumentTypes)","summary":"Resolves a message globally for a given library class and message name.","details":"The message name corresponds to the method name of the library message. The returned message always returns the same instance for a combination of library class, message and argument types. The provided library class and message name must not be null.","params":[{"name":"libraryClass","type":"Class<? extends Library>","doc":"the class of the library this message is contained in."},{"name":"messageName","type":"String","doc":"the simple name of this message."},{"name":"fail","type":"boolean","doc":"whether to fail with an IllegalArgumentException or return null if the message was not found."},{"name":"argumentTypes","type":"Class<?>...","doc":"the parameter types of the message"}],"returns":{"type":"Message"}}
{"symbol":"com.oracle.truffle.api.library.ReflectionLibrary","href":"com/oracle/truffle/api/library/ReflectionLibrary.html","name":"ReflectionLibrary","kind":"class","signature":"public abstract class ReflectionLibrary extends Library","summary":"The reflection library allows to send to and proxy messages of receivers.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.library.ReflectionLibrary()","href":"com/oracle/truffle/api/library/ReflectionLibrary.html#%3Cinit%3E()","name":"ReflectionLibrary","kind":"constructor","signature":"protected ReflectionLibrary()","summary":"Constructor for generated subclasses.","details":"Subclasses of this class are generated, do not extend this class directly."}
{"symbol":"com.oracle.truffle.api.library.ReflectionLibrary.send(Object, Message, Object...)","href":"com/oracle/truffle/api/library/ReflectionLibrary.html#send(java.lang.Object,com.oracle.truffle.api.library.Message,java.lang.Object...)","name":"send","kind":"method","signature":"public Object send(Object receiver, Message message, Object... args) throws Exception","summary":"Sends a given message to the target receiver with the provided arguments.","details":"The provided receiver and message must not be null. If the argument types don't match the expected message signature then an IllegalArgumentException will be thrown.","params":[{"name":"receiver","type":"Object"},{"name":"message","type":"Message"},{"name":"args","type":"Object..."}],"returns":{"type":"Object"},"throws":[{"type":"Exception"}]}
{"symbol":"com.oracle.truffle.api.library.ReflectionLibrary.getFactory()","href":"com/oracle/truffle/api/library/ReflectionLibrary.html#getFactory()","name":"getFactory","kind":"method","signature":"public static LibraryFactory<ReflectionLibrary> getFactory()","summary":"Returns the library factory for ReflectionLibrary.","returns":{"type":"LibraryFactory<ReflectionLibrary>"}}
{"symbol":"com.oracle.truffle.api.library.ReflectionLibrary.getUncached()","href":"com/oracle/truffle/api/library/ReflectionLibrary.html#getUncached()","name":"getUncached","kind":"method","signature":"public static ReflectionLibrary getUncached()","summary":"Returns the uncached automatically dispatched version of the reflection library.","details":"This is a short-cut for calling ReflectionLibrary.getFactory().getUncached().","returns":{"type":"ReflectionLibrary"}}
{"symbol":"com.oracle.truffle.api.library.ReflectionLibrary.getUncached(Object)","href":"com/oracle/truffle/api/library/ReflectionLibrary.html#getUncached(java.lang.Object)","name":"getUncached","kind":"method","signature":"public static ReflectionLibrary getUncached(Object v)","summary":"Returns the uncached manually dispatched version of the reflection library.","details":"This is a short-cut for calling ReflectionLibrary.getFactory().getUncached(v).","params":[{"name":"v","type":"Object"}],"returns":{"type":"ReflectionLibrary"}}
{"symbol":"com.oracle.truffle.api.library.provider.DefaultExportProvider","href":"com/oracle/truffle/api/library/provider/DefaultExportProvider.html","name":"DefaultExportProvider","kind":"interface","signature":"public interface DefaultExportProvider","summary":"Service provider interface implemented by external default exports of a library.","details":"This class is not intended to be implemented manually but automatically generated by the annotation processor when needed."}
{"symbol":"com.oracle.truffle.api.library.provider.DefaultExportProvider.getLibraryClassName()","href":"com/oracle/truffle/api/library/provider/DefaultExportProvider.html#getLibraryClassName()","name":"getLibraryClassName","kind":"method","signature":"String getLibraryClassName()","summary":"Returns the class name of the library to be used.","details":"Uses a string to avoid triggering class loading for all libraries.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.library.provider.DefaultExportProvider.getDefaultExport()","href":"com/oracle/truffle/api/library/provider/DefaultExportProvider.html#getDefaultExport()","name":"getDefaultExport","kind":"method","signature":"Class<?> getDefaultExport()","summary":"Returns the default export class to be used for this provider.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.provider.DefaultExportProvider.getReceiverClass()","href":"com/oracle/truffle/api/library/provider/DefaultExportProvider.html#getReceiverClass()","name":"getReceiverClass","kind":"method","signature":"Class<?> getReceiverClass()","summary":"Returns the receiver class of the default export.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.library.provider.DefaultExportProvider.getPriority()","href":"com/oracle/truffle/api/library/provider/DefaultExportProvider.html#getPriority()","name":"getPriority","kind":"method","signature":"int getPriority()","summary":"Returns the priority used when multiple default exports would be applicable.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.library.provider.EagerExportProvider","href":"com/oracle/truffle/api/library/provider/EagerExportProvider.html","name":"EagerExportProvider","kind":"interface","signature":"public interface EagerExportProvider","summary":"Service provider interface implemented by library exports if they needed to be loaded eagerly with a library.","details":"For example, this is used for exports that are marked to be used for AOT. On SVM we can rely that the closed world analysis registers all exports at image generation time, so there is no need to use these service providers. Service provider interface implementations and uses are intended to be automatically generated by the Truffle DSL annotation processor. Do not declare custom eager export providers or call ensureRegistered()."}
{"symbol":"com.oracle.truffle.api.library.provider.EagerExportProvider.ensureRegistered()","href":"com/oracle/truffle/api/library/provider/EagerExportProvider.html#ensureRegistered()","name":"ensureRegistered","kind":"method","signature":"void ensureRegistered()","summary":"Ensures that the export is registered and usable.","details":"This method has no effect if already registered."}
{"symbol":"com.oracle.truffle.api.library.provider.EagerExportProvider.getLibraryClassName()","href":"com/oracle/truffle/api/library/provider/EagerExportProvider.html#getLibraryClassName()","name":"getLibraryClassName","kind":"method","signature":"String getLibraryClassName()","summary":"Returns the class name of the library to be used.","details":"Uses a string to avoid triggering class loading for all libraries.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport","href":"com/oracle/truffle/api/memory/ByteArraySupport.html","name":"ByteArraySupport","kind":"class","signature":"public abstract class ByteArraySupport","summary":"Utility methods to write to and read from arrays of bytes.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.littleEndian()","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#littleEndian()","name":"littleEndian","kind":"method","signature":"public static ByteArraySupport littleEndian()","summary":"Enables accessing multibyte Java primitives from byte arrays in little-endian order.","details":"Example usage: byte[] buffer = new byte[]{0, 0, 0, 0}; ByteArraySupport.littleEndian().putShort(buffer, 2, (short) 1); // buffer[2] == (byte) 1 // buffer[3] == (byte) 0 ByteArraySupport.littleEndian().putShort(buffer, 3, (short) 1); // throws IndexOutOfBoundsException exception","returns":{"type":"ByteArraySupport"}}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.bigEndian()","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#bigEndian()","name":"bigEndian","kind":"method","signature":"public static ByteArraySupport bigEndian()","summary":"Enables accessing multibyte Java primitives from byte arrays in big-endian order.","details":"Example usage: byte[] buffer = new byte[]{0, 0, 0, 0}; ByteArraySupport.bigEndian().putShort(buffer, 0, (short) 1); // buffer[0] == (byte) 0 // buffer[1] == (byte) 1","returns":{"type":"ByteArraySupport"}}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.inBounds(byte[], int, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#inBounds(byte[],int,int)","name":"inBounds","kind":"method","signature":"public final boolean inBounds(byte[] buffer, int startByteOffset, int length)","summary":"Checks if an access is in bounds of the given buffer.","details":"If out-of-bounds accesses are expected to happen frequently, it is faster (~1.2x in interpreter mode) to use this method to check for them than catching IndexOutOfBoundsExceptions.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array"},{"name":"startByteOffset","type":"int","doc":"the start byte offset of the access"},{"name":"length","type":"int","doc":"the number of bytes accessed"}],"returns":{"type":"boolean","doc":"True if the access is in bounds, false otherwise"}}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.inBounds(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#inBounds(byte[],long,long)","name":"inBounds","kind":"method","signature":"public final boolean inBounds(byte[] buffer, long startByteOffset, long length)","summary":"Checks if an access is in bounds of the given buffer.","details":"If out-of-bounds accesses are expected to happen frequently, it is faster (~1.2x in interpreter mode) to use this method to check for them than catching IndexOutOfBoundsExceptions.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array"},{"name":"startByteOffset","type":"long","doc":"the start byte offset of the access"},{"name":"length","type":"long","doc":"the number of bytes accessed"}],"returns":{"type":"boolean","doc":"True if the access is in bounds, false otherwise"}}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getByte(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getByte(byte[],int)","name":"getByte","kind":"method","signature":"public abstract byte getByte(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset at which the byte will be read"}],"returns":{"type":"byte","doc":"the byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getByte(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getByte(byte[],long)","name":"getByte","kind":"method","signature":"public abstract byte getByte(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read"}],"returns":{"type":"byte","doc":"the byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putByte(byte[], int, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putByte(byte[],int,byte)","name":"putByte","kind":"method","signature":"public abstract void putByte(byte[] buffer, int byteOffset, byte value) throws IndexOutOfBoundsException","summary":"Writes the given byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"int","doc":"the byte offset at which the byte will be written"},{"name":"value","type":"byte","doc":"the byte value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putByte(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putByte(byte[],long,byte)","name":"putByte","kind":"method","signature":"public abstract void putByte(byte[] buffer, long byteOffset, byte value) throws IndexOutOfBoundsException","summary":"Writes the given byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be written"},{"name":"value","type":"byte","doc":"the byte value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getShort(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getShort(byte[],int)","name":"getShort","kind":"method","signature":"public abstract short getShort(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the short will be read"}],"returns":{"type":"short","doc":"the short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getShort(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getShort(byte[],long)","name":"getShort","kind":"method","signature":"public abstract short getShort(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the short will be read"}],"returns":{"type":"short","doc":"the short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putShort(byte[], int, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putShort(byte[],int,short)","name":"putShort","kind":"method","signature":"public abstract void putShort(byte[] buffer, int byteOffset, short value) throws IndexOutOfBoundsException","summary":"Writes the given short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the short will be written"},{"name":"value","type":"short","doc":"the short value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putShort(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putShort(byte[],long,short)","name":"putShort","kind":"method","signature":"public abstract void putShort(byte[] buffer, long byteOffset, short value) throws IndexOutOfBoundsException","summary":"Writes the given short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the short will be written"},{"name":"value","type":"short","doc":"the short value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getInt(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getInt(byte[],int)","name":"getInt","kind":"method","signature":"public abstract int getInt(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the int will be read"}],"returns":{"type":"int","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getInt(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getInt(byte[],long)","name":"getInt","kind":"method","signature":"public abstract int getInt(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the int will be read"}],"returns":{"type":"int","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putInt(byte[], int, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putInt(byte[],int,int)","name":"putInt","kind":"method","signature":"public abstract void putInt(byte[] buffer, int byteOffset, int value) throws IndexOutOfBoundsException","summary":"Writes the given int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the int will be written"},{"name":"value","type":"int","doc":"the int value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putInt(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putInt(byte[],long,int)","name":"putInt","kind":"method","signature":"public abstract void putInt(byte[] buffer, long byteOffset, int value) throws IndexOutOfBoundsException","summary":"Writes the given int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the int will be written"},{"name":"value","type":"int","doc":"the int value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getLong(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getLong(byte[],int)","name":"getLong","kind":"method","signature":"public abstract long getLong(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the int will be read"}],"returns":{"type":"long","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getLong(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getLong(byte[],long)","name":"getLong","kind":"method","signature":"public abstract long getLong(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the int will be read"}],"returns":{"type":"long","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putLong(byte[], int, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putLong(byte[],int,long)","name":"putLong","kind":"method","signature":"public abstract void putLong(byte[] buffer, int byteOffset, long value) throws IndexOutOfBoundsException","summary":"Writes the given long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the int will be written"},{"name":"value","type":"long","doc":"the int value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putLong(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putLong(byte[],long,long)","name":"putLong","kind":"method","signature":"public abstract void putLong(byte[] buffer, long byteOffset, long value) throws IndexOutOfBoundsException","summary":"Writes the given long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the int will be written"},{"name":"value","type":"long","doc":"the int value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getFloat(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getFloat(byte[],int)","name":"getFloat","kind":"method","signature":"public abstract float getFloat(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the float at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the float will be read"}],"returns":{"type":"float","doc":"the float at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getFloat(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getFloat(byte[],long)","name":"getFloat","kind":"method","signature":"public abstract float getFloat(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the float at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the float will be read"}],"returns":{"type":"float","doc":"the float at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putFloat(byte[], int, float)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putFloat(byte[],int,float)","name":"putFloat","kind":"method","signature":"public abstract void putFloat(byte[] buffer, int byteOffset, float value) throws IndexOutOfBoundsException","summary":"Writes the given float at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the float will be written"},{"name":"value","type":"float","doc":"the float value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putFloat(byte[], long, float)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putFloat(byte[],long,float)","name":"putFloat","kind":"method","signature":"public abstract void putFloat(byte[] buffer, long byteOffset, float value) throws IndexOutOfBoundsException","summary":"Writes the given float at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the float will be written"},{"name":"value","type":"float","doc":"the float value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getDouble(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getDouble(byte[],int)","name":"getDouble","kind":"method","signature":"public abstract double getDouble(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the double at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the double will be read"}],"returns":{"type":"double","doc":"the double at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getDouble(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getDouble(byte[],long)","name":"getDouble","kind":"method","signature":"public abstract double getDouble(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the double at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the double will be read"}],"returns":{"type":"double","doc":"the double at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putDouble(byte[], int, double)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putDouble(byte[],int,double)","name":"putDouble","kind":"method","signature":"public abstract void putDouble(byte[] buffer, int byteOffset, double value) throws IndexOutOfBoundsException","summary":"Writes the given double at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the double will be written"},{"name":"value","type":"double","doc":"the double value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putDouble(byte[], long, double)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putDouble(byte[],long,double)","name":"putDouble","kind":"method","signature":"public abstract void putDouble(byte[] buffer, long byteOffset, double value) throws IndexOutOfBoundsException","summary":"Writes the given double at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to write in"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the double will be written"},{"name":"value","type":"double","doc":"the double value to be written"}],"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getShortUnaligned(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getShortUnaligned(byte[],int)","name":"getShortUnaligned","kind":"method","signature":"public abstract short getShortUnaligned(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the short at the given byte offset from the start of the buffer.","details":"Unlike getShort(byte[], int), the byte offset does not need to be short-aligned. The platform may not support atomic unaligned reads, so this method should not be used with shared mutable data.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the short will be read"}],"returns":{"type":"short","doc":"the short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getShortUnaligned(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getShortUnaligned(byte[],long)","name":"getShortUnaligned","kind":"method","signature":"public abstract short getShortUnaligned(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the short at the given byte offset from the start of the buffer.","details":"Unlike getShort(byte[], long), the byte offset does not need to be short-aligned. The platform may not support atomic unaligned reads, so this method should not be used with shared mutable data.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the short will be read"}],"returns":{"type":"short","doc":"the short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getIntUnaligned(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getIntUnaligned(byte[],int)","name":"getIntUnaligned","kind":"method","signature":"public abstract int getIntUnaligned(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the int at the given byte offset from the start of the buffer.","details":"Unlike getInt(byte[], int), the byte offset does not need to be int-aligned. The platform may not support atomic unaligned reads, so this method should not be used with shared mutable data.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the int will be read"}],"returns":{"type":"int","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getIntUnaligned(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getIntUnaligned(byte[],long)","name":"getIntUnaligned","kind":"method","signature":"public abstract int getIntUnaligned(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the int at the given byte offset from the start of the buffer.","details":"Unlike getInt(byte[], long), the byte offset does not need to be int-aligned. The platform may not support atomic unaligned reads, so this method should not be used with shared mutable data.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the int will be read"}],"returns":{"type":"int","doc":"the int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getLongUnaligned(byte[], int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getLongUnaligned(byte[],int)","name":"getLongUnaligned","kind":"method","signature":"public abstract long getLongUnaligned(byte[] buffer, int byteOffset) throws IndexOutOfBoundsException","summary":"Reads the long at the given byte offset from the start of the buffer.","details":"Unlike getLong(byte[], int), the byte offset does not need to be long-aligned. The platform may not support atomic unaligned reads, so this method should not be used with shared mutable data.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"int","doc":"the byte offset from which the long will be read"}],"returns":{"type":"long","doc":"the long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getLongUnaligned(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getLongUnaligned(byte[],long)","name":"getLongUnaligned","kind":"method","signature":"public abstract long getLongUnaligned(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Reads the long at the given byte offset from the start of the buffer.","details":"Unlike getLong(byte[], long), the byte offset does not need to be long-aligned. The platform may not support atomic unaligned reads, so this method should not be used with shared mutable data.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset from which the long will be read"}],"returns":{"type":"long","doc":"the long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getByteVolatile(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getByteVolatile(byte[],long)","name":"getByteVolatile","kind":"method","signature":"public abstract byte getByteVolatile(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Volatile version of getByte(byte[], long).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"}],"returns":{"type":"byte"},"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putByteVolatile(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putByteVolatile(byte[],long,byte)","name":"putByteVolatile","kind":"method","signature":"public abstract void putByteVolatile(byte[] buffer, long byteOffset, byte value) throws IndexOutOfBoundsException","summary":"Volatile version of putByte(byte[], long, byte).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"},{"name":"value","type":"byte"}],"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getShortVolatile(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getShortVolatile(byte[],long)","name":"getShortVolatile","kind":"method","signature":"public abstract short getShortVolatile(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Volatile version of getShort(byte[], long).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"}],"returns":{"type":"short"},"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putShortVolatile(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putShortVolatile(byte[],long,short)","name":"putShortVolatile","kind":"method","signature":"public abstract void putShortVolatile(byte[] buffer, long byteOffset, short value) throws IndexOutOfBoundsException","summary":"Volatile version of putShort(byte[], long, short).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"},{"name":"value","type":"short"}],"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getIntVolatile(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getIntVolatile(byte[],long)","name":"getIntVolatile","kind":"method","signature":"public abstract int getIntVolatile(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Volatile version of getInt(byte[], long).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"}],"returns":{"type":"int"},"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putIntVolatile(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putIntVolatile(byte[],long,int)","name":"putIntVolatile","kind":"method","signature":"public abstract void putIntVolatile(byte[] buffer, long byteOffset, int value) throws IndexOutOfBoundsException","summary":"Volatile version of putInt(byte[], long, int).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"},{"name":"value","type":"int"}],"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getLongVolatile(byte[], long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getLongVolatile(byte[],long)","name":"getLongVolatile","kind":"method","signature":"public abstract long getLongVolatile(byte[] buffer, long byteOffset) throws IndexOutOfBoundsException","summary":"Volatile version of getLong(byte[], long).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"}],"returns":{"type":"long"},"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.putLongVolatile(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#putLongVolatile(byte[],long,long)","name":"putLongVolatile","kind":"method","signature":"public abstract void putLongVolatile(byte[] buffer, long byteOffset, long value) throws IndexOutOfBoundsException","summary":"Volatile version of putLong(byte[], long, long).","params":[{"name":"buffer","type":"byte[]"},{"name":"byteOffset","type":"long"},{"name":"value","type":"long"}],"throws":[{"type":"IndexOutOfBoundsException"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndAddByte(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndAddByte(byte[],long,byte)","name":"getAndAddByte","kind":"method","signature":"public abstract byte getAndAddByte(byte[] buffer, long byteOffset, byte delta) throws IndexOutOfBoundsException","summary":"Atomically adds the given byte to the current byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read and written to"},{"name":"delta","type":"byte","doc":"the byte value to add"}],"returns":{"type":"byte","doc":"the previous byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndAddShort(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndAddShort(byte[],long,short)","name":"getAndAddShort","kind":"method","signature":"public abstract short getAndAddShort(byte[] buffer, long byteOffset, short delta) throws IndexOutOfBoundsException","summary":"Atomically adds the given short to the current short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the short will be read and written to"},{"name":"delta","type":"short","doc":"the short value to add"}],"returns":{"type":"short","doc":"the previous short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndAddInt(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndAddInt(byte[],long,int)","name":"getAndAddInt","kind":"method","signature":"public abstract int getAndAddInt(byte[] buffer, long byteOffset, int delta) throws IndexOutOfBoundsException","summary":"Atomically adds the given int to the current int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the int will be read and written to"},{"name":"delta","type":"int","doc":"the int value to add"}],"returns":{"type":"int","doc":"the previous int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndAddLong(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndAddLong(byte[],long,long)","name":"getAndAddLong","kind":"method","signature":"public abstract long getAndAddLong(byte[] buffer, long byteOffset, long delta) throws IndexOutOfBoundsException","summary":"Atomically adds the given long to the current long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the long will be read and written to"},{"name":"delta","type":"long","doc":"the long value to add"}],"returns":{"type":"long","doc":"the previous long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseAndByte(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseAndByte(byte[],long,byte)","name":"getAndBitwiseAndByte","kind":"method","signature":"public abstract byte getAndBitwiseAndByte(byte[] buffer, long byteOffset, byte mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ANDs the given byte to the current byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read and written to"},{"name":"mask","type":"byte","doc":"the byte value to bitwise-AND"}],"returns":{"type":"byte","doc":"the previous byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseAndShort(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseAndShort(byte[],long,short)","name":"getAndBitwiseAndShort","kind":"method","signature":"public abstract short getAndBitwiseAndShort(byte[] buffer, long byteOffset, short mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ANDs the given short to the current short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the short will be read and written to"},{"name":"mask","type":"short","doc":"the short value to bitwise-AND"}],"returns":{"type":"short","doc":"the previous short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseAndInt(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseAndInt(byte[],long,int)","name":"getAndBitwiseAndInt","kind":"method","signature":"public abstract int getAndBitwiseAndInt(byte[] buffer, long byteOffset, int mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ANDs the given int to the current int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the int will be read and written to"},{"name":"mask","type":"int","doc":"the int value to bitwise-AND"}],"returns":{"type":"int","doc":"the previous int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseAndLong(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseAndLong(byte[],long,long)","name":"getAndBitwiseAndLong","kind":"method","signature":"public abstract long getAndBitwiseAndLong(byte[] buffer, long byteOffset, long mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ANDs the given long to the current long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the long will be read and written to"},{"name":"mask","type":"long","doc":"the long value to bitwise-AND"}],"returns":{"type":"long","doc":"the previous long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseOrByte(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseOrByte(byte[],long,byte)","name":"getAndBitwiseOrByte","kind":"method","signature":"public abstract byte getAndBitwiseOrByte(byte[] buffer, long byteOffset, byte mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ORs the given byte to the current byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read and written to"},{"name":"mask","type":"byte","doc":"the byte value to bitwise-OR"}],"returns":{"type":"byte","doc":"the previous byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseOrShort(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseOrShort(byte[],long,short)","name":"getAndBitwiseOrShort","kind":"method","signature":"public abstract short getAndBitwiseOrShort(byte[] buffer, long byteOffset, short mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ORs the given short to the current short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the short will be read and written to"},{"name":"mask","type":"short","doc":"the short value to bitwise-OR"}],"returns":{"type":"short","doc":"the previous short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseOrInt(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseOrInt(byte[],long,int)","name":"getAndBitwiseOrInt","kind":"method","signature":"public abstract int getAndBitwiseOrInt(byte[] buffer, long byteOffset, int mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ORs the given int to the current int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the int will be read and written to"},{"name":"mask","type":"int","doc":"the int value to bitwise-OR"}],"returns":{"type":"int","doc":"the previous int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseOrLong(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseOrLong(byte[],long,long)","name":"getAndBitwiseOrLong","kind":"method","signature":"public abstract long getAndBitwiseOrLong(byte[] buffer, long byteOffset, long mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-ORs the given long to the current long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the long will be read and written to"},{"name":"mask","type":"long","doc":"the long value to bitwise-OR"}],"returns":{"type":"long","doc":"the previous long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseXorByte(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseXorByte(byte[],long,byte)","name":"getAndBitwiseXorByte","kind":"method","signature":"public abstract byte getAndBitwiseXorByte(byte[] buffer, long byteOffset, byte mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-XORs the given byte to the current byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read and written to"},{"name":"mask","type":"byte","doc":"the byte value to bitwise-XOR"}],"returns":{"type":"byte","doc":"the previous byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseXorShort(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseXorShort(byte[],long,short)","name":"getAndBitwiseXorShort","kind":"method","signature":"public abstract short getAndBitwiseXorShort(byte[] buffer, long byteOffset, short mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-XORs the given short to the current short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the short will be read and written to"},{"name":"mask","type":"short","doc":"the short value to bitwise-XOR"}],"returns":{"type":"short","doc":"the previous short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseXorInt(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseXorInt(byte[],long,int)","name":"getAndBitwiseXorInt","kind":"method","signature":"public abstract int getAndBitwiseXorInt(byte[] buffer, long byteOffset, int mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-XORs the given int to the current int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the int will be read and written to"},{"name":"mask","type":"int","doc":"the int value to bitwise-XOR"}],"returns":{"type":"int","doc":"the previous int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndBitwiseXorLong(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndBitwiseXorLong(byte[],long,long)","name":"getAndBitwiseXorLong","kind":"method","signature":"public abstract long getAndBitwiseXorLong(byte[] buffer, long byteOffset, long mask) throws IndexOutOfBoundsException","summary":"Atomically bitwise-XORs the given long to the current long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the long will be read and written to"},{"name":"mask","type":"long","doc":"the long value to bitwise-XOR"}],"returns":{"type":"long","doc":"the previous long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndSetByte(byte[], long, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndSetByte(byte[],long,byte)","name":"getAndSetByte","kind":"method","signature":"public abstract byte getAndSetByte(byte[] buffer, long byteOffset, byte newValue) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given byte with the current byte at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read and written to"},{"name":"newValue","type":"byte","doc":"the new byte value"}],"returns":{"type":"byte","doc":"the previous byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndSetShort(byte[], long, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndSetShort(byte[],long,short)","name":"getAndSetShort","kind":"method","signature":"public abstract short getAndSetShort(byte[] buffer, long byteOffset, short newValue) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the short will be read and written to"},{"name":"newValue","type":"short","doc":"the new short value"}],"returns":{"type":"short","doc":"the previous short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndSetInt(byte[], long, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndSetInt(byte[],long,int)","name":"getAndSetInt","kind":"method","signature":"public abstract int getAndSetInt(byte[] buffer, long byteOffset, int newValue) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given int with the current int at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the int will be read and written to"},{"name":"newValue","type":"int","doc":"the new int value"}],"returns":{"type":"int","doc":"the previous int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.getAndSetLong(byte[], long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#getAndSetLong(byte[],long,long)","name":"getAndSetLong","kind":"method","signature":"public abstract long getAndSetLong(byte[] buffer, long byteOffset, long newValue) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given long with the current long at the given byte offset from the start of the buffer.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the long will be read and written to"},{"name":"newValue","type":"long","doc":"the new long value"}],"returns":{"type":"long","doc":"the previous long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.compareAndExchangeByte(byte[], long, byte, byte)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#compareAndExchangeByte(byte[],long,byte,byte)","name":"compareAndExchangeByte","kind":"method","signature":"public abstract byte compareAndExchangeByte(byte[] buffer, long byteOffset, byte expected, byte x) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given byte with the current byte at the given byte offset from the start of the buffer, if and only if the current byte equals the expected byte.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the byte will be read and written to"},{"name":"expected","type":"byte","doc":"the expected byte value"},{"name":"x","type":"byte","doc":"the replacement byte value"}],"returns":{"type":"byte","doc":"the previous byte at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.compareAndExchangeShort(byte[], long, short, short)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#compareAndExchangeShort(byte[],long,short,short)","name":"compareAndExchangeShort","kind":"method","signature":"public abstract short compareAndExchangeShort(byte[] buffer, long byteOffset, short expected, short x) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given short with the current short at the given byte offset from the start of the buffer, if and only if the current short equals the expected short.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the short will be read and written to"},{"name":"expected","type":"short","doc":"the expected short value"},{"name":"x","type":"short","doc":"the replacement short value"}],"returns":{"type":"short","doc":"the previous short at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 1"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.compareAndExchangeInt(byte[], long, int, int)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#compareAndExchangeInt(byte[],long,int,int)","name":"compareAndExchangeInt","kind":"method","signature":"public abstract int compareAndExchangeInt(byte[] buffer, long byteOffset, int expected, int x) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given int with the current int at the given byte offset from the start of the buffer, if and only if the current int equals the expected int.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the int will be read and written to"},{"name":"expected","type":"int","doc":"the expected int value"},{"name":"x","type":"int","doc":"the replacement int value"}],"returns":{"type":"int","doc":"the previous int at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 3"}]}
{"symbol":"com.oracle.truffle.api.memory.ByteArraySupport.compareAndExchangeLong(byte[], long, long, long)","href":"com/oracle/truffle/api/memory/ByteArraySupport.html#compareAndExchangeLong(byte[],long,long,long)","name":"compareAndExchangeLong","kind":"method","signature":"public abstract long compareAndExchangeLong(byte[] buffer, long byteOffset, long expected, long x) throws IndexOutOfBoundsException","summary":"Atomically exchanges the given long with the current long at the given byte offset from the start of the buffer, if and only if the current long equals the expected long.","params":[{"name":"buffer","type":"byte[]","doc":"the byte array to read from"},{"name":"byteOffset","type":"long","doc":"the byte offset at which the long will be read and written to"},{"name":"expected","type":"long","doc":"the expected long value"},{"name":"x","type":"long","doc":"the replacement long value"}],"returns":{"type":"long","doc":"the previous long at the given byte offset from the start of the buffer"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if and only if byteOffset < 0 || byteOffset >= buffer.length - 7"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode","href":"com/oracle/truffle/api/nodes/BlockNode.html","name":"BlockNode","kind":"class","signature":"public abstract class BlockNode<T extends Node> extends Node","summary":"Represents a standard node for guest language blocks.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.NO_ARGUMENT","href":"com/oracle/truffle/api/nodes/BlockNode.html#NO_ARGUMENT","name":"NO_ARGUMENT","kind":"field","signature":"public static final int NO_ARGUMENT","summary":"Use when no argument is needed for the block node.","value":"0"}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode(T[])","href":"com/oracle/truffle/api/nodes/BlockNode.html#%3Cinit%3E(T[])","name":"BlockNode","kind":"constructor","signature":"protected BlockNode(T[] elements)","summary":"Internal constructor for implementations.","details":"Do not use.","params":[{"name":"elements","type":"T[]"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeVoid(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeVoid(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeVoid","kind":"method","signature":"public abstract void executeVoid(VirtualFrame frame, int argument)","summary":"Executes the block and returns no value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom argument that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeGeneric(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeGeneric(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeGeneric","kind":"method","signature":"public abstract Object executeGeneric(VirtualFrame frame, int argument)","summary":"Executes the block and returns a generic value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeGeneric(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeByte(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeByte(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeByte","kind":"method","signature":"public abstract byte executeByte(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a byte value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeByte(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeShort(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeShort(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeShort","kind":"method","signature":"public abstract short executeShort(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a short value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeShort(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"short"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeInt(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeInt(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeInt","kind":"method","signature":"public abstract int executeInt(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns an int value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeInt(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeChar(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeChar(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeChar","kind":"method","signature":"public abstract char executeChar(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a char value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeChar(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"char"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeFloat(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeFloat(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeFloat","kind":"method","signature":"public abstract float executeFloat(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a float value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeFloat(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeDouble(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeDouble(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeDouble","kind":"method","signature":"public abstract double executeDouble(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a double value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeDouble(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeLong(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeLong(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeLong","kind":"method","signature":"public abstract long executeLong(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a long value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeLong(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.executeBoolean(VirtualFrame, int)","href":"com/oracle/truffle/api/nodes/BlockNode.html#executeBoolean(com.oracle.truffle.api.frame.VirtualFrame,int)","name":"executeBoolean","kind":"method","signature":"public abstract boolean executeBoolean(VirtualFrame frame, int argument) throws UnexpectedResultException","summary":"Executes the block and returns a boolean value.","details":"The block implementation calls ElementExecutor.executeVoid(VirtualFrame, Node, int, int) for all elements of the block except the last element. The last element is executed using ElementExecutor.executeBoolean(VirtualFrame, Node, int, int).","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame to execute the block in."},{"name":"argument","type":"int","doc":"a custom value that is forwarded to the executor as is. If no argument is needed then BlockNode.NO_ARGUMENT should be used."}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.getElements()","href":"com/oracle/truffle/api/nodes/BlockNode.html#getElements()","name":"getElements","kind":"method","signature":"public final T[] getElements()","summary":"Returns the elements of the block node.","details":"Elements of block nodes are provided using create(Node[], ElementExecutor).","returns":{"type":"T[]"}}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.create(T[], BlockNode.ElementExecutor)","href":"com/oracle/truffle/api/nodes/BlockNode.html#create(T[],com.oracle.truffle.api.nodes.BlockNode.ElementExecutor)","name":"create","kind":"method","signature":"public static <T extends Node> BlockNode<T> create(T[] elements, BlockNode.ElementExecutor<T> executor)","summary":"Creates a new block node.","details":"The elements array of the block node must not be empty or an IllegalArgumentException is thrown. Elements of a block must at least extend Node. An executor must be provided that allows the block node implementation to execute the block elements. The executor must not be null.","params":[{"name":"elements","type":"T[]"},{"name":"executor","type":"BlockNode.ElementExecutor<T>"}],"returns":{"type":"BlockNode<T>"}}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html","name":"BlockNode.ElementExecutor","kind":"interface","signature":"public interface BlockNode.ElementExecutor<T extends Node>","summary":"Represents a contract how block element nodes can be executed.","details":"Designed for the block node only."}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeVoid(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeVoid(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeVoid","kind":"method","signature":"void executeVoid(VirtualFrame frame, T node, int index, int argument)","summary":"Executes the block node element without expecting any return value.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeGeneric(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeGeneric(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeGeneric","kind":"method","signature":"default Object executeGeneric(VirtualFrame frame, T node, int index, int argument)","summary":"Executes the block node element and expects a generic value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeVoid(VirtualFrame, Node, int, int) by default.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeBoolean(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeBoolean(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeBoolean","kind":"method","signature":"default boolean executeBoolean(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a boolean value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a boolean.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"boolean"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeByte(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeByte(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeByte","kind":"method","signature":"default byte executeByte(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a byte value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a byte.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"byte"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeShort(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeShort(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeShort","kind":"method","signature":"default short executeShort(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a short value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a short.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"short"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeChar(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeChar(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeChar","kind":"method","signature":"default char executeChar(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a char value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a char.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"char"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeInt(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeInt(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeInt","kind":"method","signature":"default int executeInt(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects an int value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not an int.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeLong(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeLong(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeLong","kind":"method","signature":"default long executeLong(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a long value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a long.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeFloat(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeFloat(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeFloat","kind":"method","signature":"default float executeFloat(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a float value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a float.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"float"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BlockNode.ElementExecutor.executeDouble(VirtualFrame, T, int, int)","href":"com/oracle/truffle/api/nodes/BlockNode.ElementExecutor.html#executeDouble(com.oracle.truffle.api.frame.VirtualFrame,T,int,int)","name":"executeDouble","kind":"method","signature":"default double executeDouble(VirtualFrame frame, T node, int index, int argument) throws UnexpectedResultException","summary":"Executes the block node element and expects a double value.","details":"This method is used for the last element of the block, to provide a value to the block execute method. Forwards to executeGeneric(VirtualFrame, Node, int, int) by default and throws an UnexpectedResultException if the value is not a double.","params":[{"name":"frame","type":"VirtualFrame"},{"name":"node","type":"T"},{"name":"index","type":"int"},{"name":"argument","type":"int"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException"}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html","name":"BytecodeOSRNode","kind":"interface","signature":"public interface BytecodeOSRNode extends NodeInterface","summary":"Interface for Truffle bytecode nodes which can be on-stack replaced (OSR).","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.executeOSR(VirtualFrame, int, Object)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#executeOSR(com.oracle.truffle.api.frame.VirtualFrame,int,java.lang.Object)","name":"executeOSR","kind":"method","signature":"default Object executeOSR(VirtualFrame osrFrame, int target, Object interpreterState)","summary":"Entrypoint to invoke this node through OSR.","detailsOmitted":true,"params":[{"name":"osrFrame","type":"VirtualFrame","doc":"the frame to use for OSR."},{"name":"target","type":"int","doc":"the target location to execute from (e.g., bytecode index)."},{"name":"interpreterState","type":"Object","doc":"other interpreter state used to resume execution. See tryOSR(BytecodeOSRNode, int, Object, Runnable, VirtualFrame) for more details."}],"returns":{"type":"Object","doc":"the result of execution."}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.executeOSR(VirtualFrame, long, Object)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#executeOSR(com.oracle.truffle.api.frame.VirtualFrame,long,java.lang.Object)","name":"executeOSR","kind":"method","signature":"default Object executeOSR(VirtualFrame osrFrame, long target, Object interpreterState)","summary":"Overload of executeOSR(VirtualFrame, int, Object) with a long target.","details":"An interpreter that uses long targets must override this method.","params":[{"name":"osrFrame","type":"VirtualFrame"},{"name":"target","type":"long"},{"name":"interpreterState","type":"Object"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.getOSRMetadata()","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#getOSRMetadata()","name":"getOSRMetadata","kind":"method","signature":"Object getOSRMetadata()","summary":"Gets the OSR metadata for this instance.","details":"The metadata must be stored on a @CompilationFinal instance field. Refer to the documentation for this interface for a more complete description.","returns":{"type":"Object","doc":"the OSR metadata."}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.setOSRMetadata(Object)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#setOSRMetadata(java.lang.Object)","name":"setOSRMetadata","kind":"method","signature":"void setOSRMetadata(Object osrMetadata)","summary":"Sets the OSR metadata for this instance.","details":"The metadata must be stored on a @CompilationFinal instance field. Refer to the documentation for this interface for a more complete description.","params":[{"name":"osrMetadata","type":"Object","doc":"the OSR metadata."}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.copyIntoOSRFrame(VirtualFrame, VirtualFrame, int, Object)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#copyIntoOSRFrame(com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.frame.VirtualFrame,int,java.lang.Object)","name":"copyIntoOSRFrame","kind":"method","signature":"default void copyIntoOSRFrame(VirtualFrame osrFrame, VirtualFrame parentFrame, int target, Object targetMetadata)","summary":"Copies the contents of the parentFrame into the osrFrame used to execute OSR.","details":"By default, performs a slot-wise copy of the frame. NOTE: This method is only used if the Truffle runtime decides to copy the frame. OSR may also reuse the parent frame directly.","params":[{"name":"osrFrame","type":"VirtualFrame","doc":"the frame to use for OSR."},{"name":"parentFrame","type":"VirtualFrame","doc":"the frame used before performing OSR."},{"name":"target","type":"int","doc":"the target location OSR will execute from (e.g., bytecode index)."},{"name":"targetMetadata","type":"Object","doc":"Additional metadata associated with this target for the default frame transfer behavior."}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.copyIntoOSRFrame(VirtualFrame, VirtualFrame, long, Object)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#copyIntoOSRFrame(com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.frame.VirtualFrame,long,java.lang.Object)","name":"copyIntoOSRFrame","kind":"method","signature":"default void copyIntoOSRFrame(VirtualFrame osrFrame, VirtualFrame parentFrame, long target, Object targetMetadata)","summary":"Overload of copyIntoOSRFrame(VirtualFrame, VirtualFrame, int, Object) with a long target.","details":"An interpreter that uses long targets must override this method.","params":[{"name":"osrFrame","type":"VirtualFrame"},{"name":"parentFrame","type":"VirtualFrame"},{"name":"target","type":"long"},{"name":"targetMetadata","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.transferOSRFrame(VirtualFrame, VirtualFrame, long, Object)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#transferOSRFrame(com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.frame.VirtualFrame,long,java.lang.Object)","name":"transferOSRFrame","kind":"method","signature":"default void transferOSRFrame(VirtualFrame osrFrame, VirtualFrame parentFrame, long target, Object targetMetadata)","summary":"Helper method that can be called by implementations of copyIntoOSRFrame(VirtualFrame, VirtualFrame, long, Object).","details":"Should not be overridden.","params":[{"name":"osrFrame","type":"VirtualFrame"},{"name":"parentFrame","type":"VirtualFrame"},{"name":"target","type":"long"},{"name":"targetMetadata","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.restoreParentFrame(VirtualFrame, VirtualFrame)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#restoreParentFrame(com.oracle.truffle.api.frame.VirtualFrame,com.oracle.truffle.api.frame.VirtualFrame)","name":"restoreParentFrame","kind":"method","signature":"default void restoreParentFrame(VirtualFrame osrFrame, VirtualFrame parentFrame)","summary":"Restores the contents of the osrFrame back into the parentFrame after OSR.","details":"By default, performs a slot-wise copy of the frame. Though a bytecode interpreter might not explicitly use parentFrame after OSR, it is necessary to restore the state into parentFrame if it may be accessed through instrumentation. NOTE: This method is only used if the Truffle runtime decided to copy the frame using BytecodeOSRNode.copyIntoOSRFrame(VirtualFrame, VirtualFrame, int, Object).","params":[{"name":"osrFrame","type":"VirtualFrame","doc":"the frame which was used for OSR."},{"name":"parentFrame","type":"VirtualFrame","doc":"the frame which will be used by the parent after returning from OSR."}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.prepareOSR(int)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#prepareOSR(int)","name":"prepareOSR","kind":"method","signature":"default void prepareOSR(int target)","summary":"Initialization hook which will be invoked before OSR compilation.","detailsOmitted":true,"params":[{"name":"target","type":"int","doc":"the target location OSR will execute from (e.g., bytecode index)."}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.prepareOSR(long)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#prepareOSR(long)","name":"prepareOSR","kind":"method","signature":"default void prepareOSR(long target)","summary":"Overload of prepareOSR(int) with a long target.","details":"An interpreter that uses long targets must override this method.","params":[{"name":"target","type":"long"}]}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.pollOSRBackEdge(BytecodeOSRNode)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#pollOSRBackEdge(com.oracle.truffle.api.nodes.BytecodeOSRNode)","name":"pollOSRBackEdge","kind":"method","signature":"static boolean pollOSRBackEdge(BytecodeOSRNode osrNode)","summary":"Reports a back edge, returning whether to try performing OSR.","details":"An interpreter must ensure this method returns true immediately before calling BytecodeOSRNode.tryOSR. For example: if (BytecodeOSRNode.pollOSRBackEdge(this)) { Object osrResult = BytecodeOSRNode.tryOSR(...); ... }","deprecated":{"since":"25.0","doc":"use pollOSRBackEdge(BytecodeOSRNode, int) instead. It is recommended to batch up polls in the interpreter implementation. Important note: pollOSRBackEdge(BytecodeOSRNode) did implicitly poll Truffle safepoints. The new method is no longer doing that. Make sure your bytecode interpreter contains a call to TruffleSafepoint.poll(Node) on loop back-edges when migrating."},"params":[{"name":"osrNode","type":"BytecodeOSRNode","doc":"the node to report a back-edge for."}],"returns":{"type":"boolean","doc":"whether to try OSR."}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.pollOSRBackEdge(BytecodeOSRNode, int)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#pollOSRBackEdge(com.oracle.truffle.api.nodes.BytecodeOSRNode,int)","name":"pollOSRBackEdge","kind":"method","signature":"static boolean pollOSRBackEdge(BytecodeOSRNode osrNode, int loopCountIncrement)","summary":"Reports a back edge, returning whether to try performing OSR.","details":"An interpreter must ensure this method returns true immediately before calling BytecodeOSRNode.tryOSR. For example: if (BytecodeOSRNode.pollOSRBackEdge(this, 1)) { Object osrResult = BytecodeOSRNode.tryOSR(...); ... }","params":[{"name":"osrNode","type":"BytecodeOSRNode","doc":"the node to report a back-edge for."},{"name":"loopCountIncrement","type":"int","doc":"the number iterations incremented. Value must be > 0."}],"returns":{"type":"boolean","doc":"whether to try OSR."}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.tryOSR(BytecodeOSRNode, int, Object, Runnable, VirtualFrame)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#tryOSR(com.oracle.truffle.api.nodes.BytecodeOSRNode,int,java.lang.Object,java.lang.Runnable,com.oracle.truffle.api.frame.VirtualFrame)","name":"tryOSR","kind":"method","signature":"static Object tryOSR(BytecodeOSRNode osrNode, int target, Object interpreterState, Runnable beforeTransfer, VirtualFrame parentFrame)","summary":"Tries to perform OSR.","detailsOmitted":true,"params":[{"name":"osrNode","type":"BytecodeOSRNode","doc":"the node to try OSR for."},{"name":"target","type":"int","doc":"the target location OSR will execute from (e.g., bytecode index)."},{"name":"interpreterState","type":"Object","doc":"other interpreter state used to resume execution."},{"name":"beforeTransfer","type":"Runnable","doc":"a callback invoked before OSR. Can be null."},{"name":"parentFrame","type":"VirtualFrame","doc":"frame at the current point of execution."}],"returns":{"type":"Object","doc":"the result if OSR was performed, or null otherwise."}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.tryOSR(BytecodeOSRNode, long, Object, Runnable, VirtualFrame)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#tryOSR(com.oracle.truffle.api.nodes.BytecodeOSRNode,long,java.lang.Object,java.lang.Runnable,com.oracle.truffle.api.frame.VirtualFrame)","name":"tryOSR","kind":"method","signature":"static Object tryOSR(BytecodeOSRNode osrNode, long target, Object interpreterState, Runnable beforeTransfer, VirtualFrame parentFrame)","summary":"Overload of tryOSR(BytecodeOSRNode, int, Object, Runnable, VirtualFrame) with a long target.","details":"An interpreter that uses long targets should call this method. If an interpreter uses a long representation, it must override the hooks that define long overloads, namely executeOSR(VirtualFrame, long, Object), copyIntoOSRFrame(VirtualFrame, VirtualFrame, long, Object), and prepareOSR(long). Overriding is necessary because the default long overloads call their int overloads for backwards compatibility, and these calls will fail for long-sized targets.","params":[{"name":"osrNode","type":"BytecodeOSRNode"},{"name":"target","type":"long"},{"name":"interpreterState","type":"Object"},{"name":"beforeTransfer","type":"Runnable"},{"name":"parentFrame","type":"VirtualFrame"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.storeParentFrameInArguments(VirtualFrame)","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#storeParentFrameInArguments(com.oracle.truffle.api.frame.VirtualFrame)","name":"storeParentFrameInArguments","kind":"method","signature":"default Object[] storeParentFrameInArguments(VirtualFrame parentFrame)","summary":"Produce the arguments that will be used to perform the call to the new OSR root.","detailsOmitted":true,"params":[{"name":"parentFrame","type":"VirtualFrame","doc":"the frame object to be stored in the resulting arguments array"}],"returns":{"type":"Object[]","doc":"arguments array containing parentFrame"}}
{"symbol":"com.oracle.truffle.api.nodes.BytecodeOSRNode.restoreParentFrameFromArguments(Object[])","href":"com/oracle/truffle/api/nodes/BytecodeOSRNode.html#restoreParentFrameFromArguments(java.lang.Object[])","name":"restoreParentFrameFromArguments","kind":"method","signature":"default Frame restoreParentFrameFromArguments(Object[] arguments)","summary":"Return the parent frame that was stored in an arguments array by a previous call to storeParentFrameInArguments.","params":[{"name":"arguments","type":"Object[]","doc":"frame arguments originally produced by storeParentFrameInArguments."}],"returns":{"type":"Frame","doc":"stored parent frame"}}
{"symbol":"com.oracle.truffle.api.nodes.ControlFlowException","href":"com/oracle/truffle/api/nodes/ControlFlowException.html","name":"ControlFlowException","kind":"class","signature":"public class ControlFlowException extends RuntimeException","summary":"An exception thrown to model control flow in a Truffle interpreter.","details":"The Truffle optimizer has special knowledge of this exception class for performance optimizations."}
{"symbol":"com.oracle.truffle.api.nodes.ControlFlowException()","href":"com/oracle/truffle/api/nodes/ControlFlowException.html#%3Cinit%3E()","name":"ControlFlowException","kind":"constructor","signature":"public ControlFlowException()","summary":"Creates an exception thrown to model control flow."}
{"symbol":"com.oracle.truffle.api.nodes.ControlFlowException.fillInStackTrace()","href":"com/oracle/truffle/api/nodes/ControlFlowException.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public final Throwable fillInStackTrace()","summary":"For performance reasons, this exception does not record any stack trace information.","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.nodes.DenyReplace","href":"com/oracle/truffle/api/nodes/DenyReplace.html","name":"DenyReplace","kind":"annotation","signature":"public @interface DenyReplace","summary":"If a Node subtype is annotated with this annotation then replacement is denied.","details":"When replacement is denied an IllegalArgumentException will be thrown on replace. Only final subtypes of type Node may be annotated. DenyReplace is recommended for uncached or not adoptable nodes that should never be replaceable. Truffle DSL automatically applies this annotation to all uncached versions of specialized nodes and libraries."}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode","href":"com/oracle/truffle/api/nodes/DirectCallNode.html","name":"DirectCallNode","kind":"class","signature":"public abstract class DirectCallNode extends Node","summary":"Represents a direct call to a CallTarget.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.callTarget","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#callTarget","name":"callTarget","kind":"field","signature":"protected final CallTarget callTarget"}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode(CallTarget)","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#%3Cinit%3E(com.oracle.truffle.api.CallTarget)","name":"DirectCallNode","kind":"constructor","signature":"protected DirectCallNode(CallTarget callTarget)","params":[{"name":"callTarget","type":"CallTarget"}]}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.call(Object...)","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#call(java.lang.Object...)","name":"call","kind":"method","signature":"public abstract Object call(Object... arguments)","summary":"Calls the inner CallTarget returned by getCurrentCallTarget().","params":[{"name":"arguments","type":"Object...","doc":"the arguments that should be passed to the callee"}],"returns":{"type":"Object","doc":"the return result of the call"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.call(int, Object[])","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#call(int,java.lang.Object[])","name":"call","kind":"method","signature":"public abstract Object call(int bytecodeIndex, Object[] arguments)","summary":"Calls the inner CallTarget returned by getCurrentCallTarget() with an explicit bytecode index.","details":"This call node identifies the location of the call. Callers that do not have an explicit bytecode index should pass -1.","params":[{"name":"bytecodeIndex","type":"int","doc":"the bytecode index associated with this call, or -1 if no explicit bytecode index is available"},{"name":"arguments","type":"Object[]","doc":"the arguments that should be passed to the callee"}],"returns":{"type":"Object","doc":"the return result of the call"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.call(Class, int, Object[])","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#call(java.lang.Class,int,java.lang.Object[])","name":"call","kind":"method","signature":"public abstract Object call(Class<? extends RootNode> rootType, int bytecodeIndex, Object[] arguments)","summary":"Calls the current root node with an explicit root type, bytecode index, and arguments.","details":"A concrete rootType allows the host compiler to optimize the call boundary further, including inlining into RootNode.execute. Pass a compile-time-constant class literal assignable from the current root node. This call node identifies the location of the call. Callers that do not have an explicit bytecode index should pass -1.","params":[{"name":"rootType","type":"Class<? extends RootNode>","doc":"the expected type of the current root node"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index associated with this call, or -1 if no explicit bytecode index is available"},{"name":"arguments","type":"Object[]","doc":"the arguments that should be passed to the callee"}],"returns":{"type":"Object","doc":"the return result of the call"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.getCallTarget()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#getCallTarget()","name":"getCallTarget","kind":"method","signature":"public CallTarget getCallTarget()","summary":"Returns the originally supplied CallTarget when this call node was created.","details":"Please note that the returned CallTarget is not necessarily the CallTarget that is called. For that use getCurrentCallTarget() instead.","returns":{"type":"CallTarget","doc":"the CallTarget provided."}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.isInlinable()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#isInlinable()","name":"isInlinable","kind":"method","signature":"public abstract boolean isInlinable()","summary":"Returns true if the underlying runtime system supports inlining for the CallTarget in this DirectCallNode.","returns":{"type":"boolean","doc":"true if inlining is supported."}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.isInliningForced()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#isInliningForced()","name":"isInliningForced","kind":"method","signature":"public abstract boolean isInliningForced()","summary":"Returns true if the CallTarget is forced to be inlined.","details":"A DirectCallNode can either be inlined manually by invoking forceInlining() or by the runtime system which may at any point decide to inline.","returns":{"type":"boolean","doc":"true if this method was inlined else false."}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.forceInlining()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#forceInlining()","name":"forceInlining","kind":"method","signature":"public abstract void forceInlining()","summary":"Enforces the runtime system to inline the CallTarget at this call site.","details":"If the runtime system does not support inlining or it is already inlined this method has no effect. The runtime system may decide to not inline calls which were forced to inline."}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.isCallTargetCloningAllowed()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#isCallTargetCloningAllowed()","name":"isCallTargetCloningAllowed","kind":"method","signature":"public abstract boolean isCallTargetCloningAllowed()","summary":"Returns true if the runtime system supports cloning and the RootNode returns true in RootNode.isCloningAllowed().","returns":{"type":"boolean","doc":"true if the target is allowed to be cloned."}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.cloneCallTarget()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#cloneCallTarget()","name":"cloneCallTarget","kind":"method","signature":"public abstract boolean cloneCallTarget()","summary":"Clones the CallTarget instance returned by getCallTarget() in an uninitialized state for this DirectCallNode.","details":"This can be sensible to gather call site sensitive profiling information for this DirectCallNode. If isCallTargetCloningAllowed() returns false this method has no effect and returns false.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.isCallTargetCloned()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#isCallTargetCloned()","name":"isCallTargetCloned","kind":"method","signature":"public final boolean isCallTargetCloned()","summary":"Returns true if the target of the DirectCallNode was cloned by the runtime system or by the guest language implementation.","returns":{"type":"boolean","doc":"if the target was split"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.getClonedCallTarget()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#getClonedCallTarget()","name":"getClonedCallTarget","kind":"method","signature":"public abstract CallTarget getClonedCallTarget()","summary":"Returns the split CallTarget if this call site's CallTarget is cloned.","returns":{"type":"CallTarget","doc":"the split CallTarget"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.getCurrentCallTarget()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#getCurrentCallTarget()","name":"getCurrentCallTarget","kind":"method","signature":"public CallTarget getCurrentCallTarget()","summary":"Returns the used call target when call(java.lang.Object[]) is invoked.","details":"If the CallTarget was split this method returns the CallTarget returned by getClonedCallTarget().","returns":{"type":"CallTarget","doc":"the used CallTarget when node is called"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.getCurrentRootNode()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#getCurrentRootNode()","name":"getCurrentRootNode","kind":"method","signature":"public final RootNode getCurrentRootNode()","summary":"Returns the RootNode associated with CallTarget returned by getCurrentCallTarget().","details":"If the stored CallTarget does not contain a RootNode this method returns null.","returns":{"type":"RootNode","doc":"the root node of the used call target"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.toString()","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Converts this node to a textual representation useful for debugging.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.DirectCallNode.create(CallTarget)","href":"com/oracle/truffle/api/nodes/DirectCallNode.html#create(com.oracle.truffle.api.CallTarget)","name":"create","kind":"method","signature":"public static DirectCallNode create(CallTarget target)","summary":"Creates cached direct call node using bytecode index -1.","params":[{"name":"target","type":"CallTarget"}],"returns":{"type":"DirectCallNode"}}
{"symbol":"com.oracle.truffle.api.nodes.EncapsulatingNodeReference","href":"com/oracle/truffle/api/nodes/EncapsulatingNodeReference.html","name":"EncapsulatingNodeReference","kind":"class","signature":"public final class EncapsulatingNodeReference","summary":"Thread local reference class to remember the current encapsulating node of an interpreter on the stack.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.EncapsulatingNodeReference.set(Node)","href":"com/oracle/truffle/api/nodes/EncapsulatingNodeReference.html#set(com.oracle.truffle.api.nodes.Node)","name":"set","kind":"method","signature":"public Node set(Node node)","summary":"Sets the current encapsulating node for the current thread and returns its previous value.","details":"The passed node may be null. The set node must be adoptable and be adopted by a RootNode otherwise an AssertionError is thrown. This method must only be used from the thread it was requested for. This method is safe to be called from compiled code paths.","params":[{"name":"node","type":"Node"}],"returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.nodes.EncapsulatingNodeReference.get()","href":"com/oracle/truffle/api/nodes/EncapsulatingNodeReference.html#get()","name":"get","kind":"method","signature":"public Node get()","summary":"Returns the current encapsulating node for the current thread.","details":"Returned node may be null. If the returned node is non-null then it is guaranteed to be adoptable and adopted by a RootNode. This method must only be used from the thread it was requested for. This method is safe to be called from compiled code paths.","returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.nodes.EncapsulatingNodeReference.getCurrent()","href":"com/oracle/truffle/api/nodes/EncapsulatingNodeReference.html#getCurrent()","name":"getCurrent","kind":"method","signature":"public static EncapsulatingNodeReference getCurrent()","summary":"Returns the encapsulating node reference of the current thread.","details":"The returned value is never null. This method is safe to be called from compiled code paths.","returns":{"type":"EncapsulatingNodeReference"}}
{"symbol":"com.oracle.truffle.api.nodes.ExecutableNode","href":"com/oracle/truffle/api/nodes/ExecutableNode.html","name":"ExecutableNode","kind":"class","signature":"public abstract class ExecutableNode extends Node","summary":"Represents an executable node in a Truffle AST.","details":"The executable node represents an AST fragment that can be executed using a frame instance created by the framework."}
{"symbol":"com.oracle.truffle.api.nodes.ExecutableNode(TruffleLanguage)","href":"com/oracle/truffle/api/nodes/ExecutableNode.html#%3Cinit%3E(com.oracle.truffle.api.TruffleLanguage)","name":"ExecutableNode","kind":"constructor","signature":"protected ExecutableNode(TruffleLanguage<?> language)","summary":"Creates new executable node with a given language instance.","details":"The language instance is obtainable while TruffleLanguage.parse(InlineParsingRequest) is executed.","params":[{"name":"language","type":"TruffleLanguage<?>","doc":"the language this executable node is associated with"}]}
{"symbol":"com.oracle.truffle.api.nodes.ExecutableNode.execute(VirtualFrame)","href":"com/oracle/truffle/api/nodes/ExecutableNode.html#execute(com.oracle.truffle.api.frame.VirtualFrame)","name":"execute","kind":"method","signature":"public abstract Object execute(VirtualFrame frame)","summary":"Execute this fragment at the place where it was parsed.","params":[{"name":"frame","type":"VirtualFrame","doc":"the actual frame valid at the parsed location"}],"returns":{"type":"Object","doc":"the result of the execution, must be an interop type (i.e. either implementing TruffleObject or be a primitive value), or null."}}
{"symbol":"com.oracle.truffle.api.nodes.ExecutableNode.getLanguageInfo()","href":"com/oracle/truffle/api/nodes/ExecutableNode.html#getLanguageInfo()","name":"getLanguageInfo","kind":"method","signature":"public final LanguageInfo getLanguageInfo()","summary":"Returns public information about the language.","details":"The language can be assumed equal if the instances of the language info instance are the same. To access internal details of the language within the language implementation use a LanguageReference.","returns":{"type":"LanguageInfo"}}
{"symbol":"com.oracle.truffle.api.nodes.ExecutableNode.getLanguage(Class)","href":"com/oracle/truffle/api/nodes/ExecutableNode.html#getLanguage(java.lang.Class)","name":"getLanguage","kind":"method","signature":"public final <C extends TruffleLanguage> C getLanguage(Class<C> languageClass)","summary":"Returns the language instance associated with this executable node.","details":"The language instance is intended for internal use in languages and is only accessible if the concrete type of the language is known. Public information about the language can be accessed using getLanguageInfo(). The language is null if the executable node is not associated with a language. This method is guaranteed to return a PE constant if the root node is also a PE constant.","params":[{"name":"languageClass","type":"Class<C>"}],"returns":{"type":"C"}}
{"symbol":"com.oracle.truffle.api.nodes.ExecutionSignature","href":"com/oracle/truffle/api/nodes/ExecutionSignature.html","name":"ExecutionSignature","kind":"class","signature":"public final class ExecutionSignature","summary":"Represents an execution signature of a RootNode.","details":"This is used to represent AOT signatures."}
{"symbol":"com.oracle.truffle.api.nodes.ExecutionSignature.GENERIC","href":"com/oracle/truffle/api/nodes/ExecutionSignature.html#GENERIC","name":"GENERIC","kind":"field","signature":"public static final ExecutionSignature GENERIC","summary":"Returns a generic return profile where return and argument types are unknown."}
{"symbol":"com.oracle.truffle.api.nodes.ExecutionSignature.getArgumentTypes()","href":"com/oracle/truffle/api/nodes/ExecutionSignature.html#getArgumentTypes()","name":"getArgumentTypes","kind":"method","signature":"public Class<?>[] getArgumentTypes()","summary":"Returns the argument types of the execution signature.","details":"The returned types may be null to indicate that nothing is known about argument types. If the argument returns a non-null value then the length of the array will be used for the number of expected arguments. Each value of the return array specifies the expected argument type of the execution. If an argument type is null then this indicates that the argument type is unknown.","returns":{"type":"Class<?>[]"}}
{"symbol":"com.oracle.truffle.api.nodes.ExecutionSignature.getReturnType()","href":"com/oracle/truffle/api/nodes/ExecutionSignature.html#getReturnType()","name":"getReturnType","kind":"method","signature":"public Class<?> getReturnType()","summary":"Returns the return type of the execution signature.","details":"The return type may be null to indicate that the type is unknown.","returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.nodes.ExecutionSignature.create(Class, Class[])","href":"com/oracle/truffle/api/nodes/ExecutionSignature.html#create(java.lang.Class,java.lang.Class[])","name":"create","kind":"method","signature":"public static ExecutionSignature create(Class<?> returnType, Class<?>[] argumentTypes)","summary":"Creates a new execution signature of a RootNode.","details":"The return type or the argument types may be null to indicate that they are unknown. Individual argument type array values may also be null to indicate they are unknown.","params":[{"name":"returnType","type":"Class<?>"},{"name":"argumentTypes","type":"Class<?>[]"}],"returns":{"type":"ExecutionSignature"}}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop","href":"com/oracle/truffle/api/nodes/ExplodeLoop.html","name":"ExplodeLoop","kind":"annotation","signature":"public @interface ExplodeLoop","summary":"Specifies that loops originating from within this method should be fully unrolled.","details":"This is only compatible with loops that have a partial-evaluation-constant number of iterations - loops without a constant number of iterations will cause the compiler to bailout due to the graph exceeding maximum size. The annotation does not apply to loops from within other methods that are inlined into this method."}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.kind()","href":"com/oracle/truffle/api/nodes/ExplodeLoop.html#kind()","name":"kind","kind":"annotationElement","signature":"ExplodeLoop.LoopExplosionKind kind() default FULL_UNROLL_UNTIL_RETURN","summary":"The loop explosion kind.","returns":{"type":"ExplodeLoop.LoopExplosionKind"},"defaultValue":"FULL_UNROLL_UNTIL_RETURN"}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html","name":"ExplodeLoop.LoopExplosionKind","kind":"enum","signature":"public enum ExplodeLoop.LoopExplosionKind","summary":"Controls the behavior of the ExplodeLoop annotation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.values()","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#values()","name":"values","kind":"method","signature":"public static ExplodeLoop.LoopExplosionKind[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"ExplodeLoop.LoopExplosionKind[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.valueOf(String)","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static ExplodeLoop.LoopExplosionKind valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"ExplodeLoop.LoopExplosionKind","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.FULL_UNROLL","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#FULL_UNROLL","name":"FULL_UNROLL","kind":"enumConstant","signature":"FULL_UNROLL","summary":"Fully unroll all loops.","details":"The loops must have a known finite number of iterations. If a loop has multiple loop ends, they are merged so that the subsequent loop iteration is processed only once. For example, a loop with 4 iterations and 2 loop ends leads to 1+1+1+1 = 4 copies of the loop body."}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.FULL_UNROLL_UNTIL_RETURN","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#FULL_UNROLL_UNTIL_RETURN","name":"FULL_UNROLL_UNTIL_RETURN","kind":"enumConstant","signature":"FULL_UNROLL_UNTIL_RETURN","summary":"Like FULL_UNROLL, but in addition loop unrolling duplicates loop exits in every iteration instead of merging them.","details":"Code after a loop exit is duplicated for every loop exit and every loop iteration. For example, a loop with 4 iterations and 2 loop exits (exit1 and exit2, where exit1 is an early return inside a loop, such as untilReturnLoop()) leads to 4 copies of the loop body and 4 copies of exit1 and 1 copy of exit2. After each exit all code until a return is duplicated per iteration. Beware of break statements inside loops since they cause additional loop exits leading to code duplication along exit2."}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.FULL_EXPLODE","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#FULL_EXPLODE","name":"FULL_EXPLODE","kind":"enumConstant","signature":"FULL_EXPLODE","summary":"Fully explode all loops.","details":"The loops must have a known finite number of iterations. If a loop has multiple loop ends, they are not merged so that subsequent loop iterations are processed multiple times. For example, a loop with 4 iterations and 2 loop ends leads to 1+2+4+8 = 15 copies of the loop body."}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.FULL_EXPLODE_UNTIL_RETURN","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#FULL_EXPLODE_UNTIL_RETURN","name":"FULL_EXPLODE_UNTIL_RETURN","kind":"enumConstant","signature":"FULL_EXPLODE_UNTIL_RETURN","summary":"Like FULL_EXPLODE, but in addition explosion does not stop at loop exits.","details":"Code after the loop is duplicated for every loop exit of every loop iteration. For example, a loop with 4 iterations and 2 loop exits leads to 4 * 2 = 8 copies of the code after the loop."}
{"symbol":"com.oracle.truffle.api.nodes.ExplodeLoop.LoopExplosionKind.MERGE_EXPLODE","href":"com/oracle/truffle/api/nodes/ExplodeLoop.LoopExplosionKind.html#MERGE_EXPLODE","name":"MERGE_EXPLODE","kind":"enumConstant","signature":"MERGE_EXPLODE","summary":"like FULL_EXPLODE, but copies of the loop body that have the exact same state (all local variables have the same value) are merged.","details":"This reduces the number of copies necessary, but can introduce loops again. This kind is useful for bytecode interpreter loops."}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html","name":"IndirectCallNode","kind":"class","signature":"public abstract class IndirectCallNode extends Node","summary":"Represents an indirect call to a CallTarget.","details":"Indirect calls are calls for which the CallTarget may change dynamically for each consecutive call. This part of the Truffle API enables the runtime system to perform additional optimizations on indirect calls. Please note: This class is not intended to be sub classed by guest language implementations. See DirectCallNode for faster calls with a constantly known CallTarget."}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode()","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html#%3Cinit%3E()","name":"IndirectCallNode","kind":"constructor","signature":"protected IndirectCallNode()","summary":"Constructor for implementation subclasses."}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode.call(CallTarget, Object...)","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html#call(com.oracle.truffle.api.CallTarget,java.lang.Object...)","name":"call","kind":"method","signature":"public abstract Object call(CallTarget target, Object... arguments)","summary":"Performs an indirect call to the given CallTarget target with the provided arguments.","params":[{"name":"target","type":"CallTarget","doc":"the CallTarget to call"},{"name":"arguments","type":"Object...","doc":"the arguments to provide"}],"returns":{"type":"Object","doc":"the return value of the call"}}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode.call(CallTarget, int, Object[])","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html#call(com.oracle.truffle.api.CallTarget,int,java.lang.Object[])","name":"call","kind":"method","signature":"public abstract Object call(CallTarget target, int bytecodeIndex, Object[] arguments)","summary":"Performs an indirect call to the given CallTarget target with an explicit bytecode index and the provided arguments.","details":"Callers that do not have an explicit bytecode index should pass -1.","params":[{"name":"target","type":"CallTarget","doc":"the CallTarget to call"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index associated with this call, or -1 if no explicit bytecode index is available"},{"name":"arguments","type":"Object[]","doc":"the arguments to provide"}],"returns":{"type":"Object","doc":"the return value of the call"}}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode.call(RootNode, int, Object[])","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html#call(com.oracle.truffle.api.nodes.RootNode,int,java.lang.Object[])","name":"call","kind":"method","signature":"public Object call(RootNode root, int bytecodeIndex, Object[] arguments)","summary":"Calls the given root node with an explicit bytecode index and arguments.","details":"A concrete root-node type allows the host compiler to optimize the call boundary further, including inlining into RootNode.execute. Cast root to its concrete type before calling this method, even if the root instance changes between calls. This call node identifies the location of the call. Callers that do not have an explicit bytecode index should pass -1. The root node's call target must already be initialized using RootNode.initializeCallTarget() or RootNode.getCallTarget().","params":[{"name":"root","type":"RootNode","doc":"the root node to call"},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index associated with this call, or -1 if no explicit bytecode index is available"},{"name":"arguments","type":"Object[]","doc":"the arguments to provide"}],"returns":{"type":"Object","doc":"the return value of the call"},"throws":[{"type":"NullPointerException","doc":"if root is null"},{"type":"IllegalStateException","doc":"if the root node's call target has not been initialized"}]}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode.create()","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html#create()","name":"create","kind":"method","signature":"public static IndirectCallNode create()","summary":"Creates a cached indirect call node.","returns":{"type":"IndirectCallNode","doc":"a new call node"}}
{"symbol":"com.oracle.truffle.api.nodes.IndirectCallNode.getUncached()","href":"com/oracle/truffle/api/nodes/IndirectCallNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static IndirectCallNode getUncached()","summary":"Returns an uncached version of an indirect call node.","details":"Uncached versions of an indirect call node use the current encapsulating node as source location.","returns":{"type":"IndirectCallNode"}}
{"symbol":"com.oracle.truffle.api.nodes.InvalidAssumptionException","href":"com/oracle/truffle/api/nodes/InvalidAssumptionException.html","name":"InvalidAssumptionException","kind":"class","signature":"public final class InvalidAssumptionException extends SlowPathException","summary":"An exception that should be thrown if an assumption is checked and the check fails.","details":"The Truffle optimizer has special knowledge of this exception class and will never compile a catch block that catches this exception type."}
{"symbol":"com.oracle.truffle.api.nodes.InvalidAssumptionException()","href":"com/oracle/truffle/api/nodes/InvalidAssumptionException.html#%3Cinit%3E()","name":"InvalidAssumptionException","kind":"constructor","signature":"public InvalidAssumptionException()","summary":"Default constructor."}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo","href":"com/oracle/truffle/api/nodes/LanguageInfo.html","name":"LanguageInfo","kind":"class","signature":"public final class LanguageInfo","summary":"Represents public information about a language."}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.getId()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#getId()","name":"getId","kind":"method","signature":"public String getId()","summary":"Returns the unique id of the language.","details":"This id is equivalent to the id returned by Registration.id().","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.getName()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"Returns the unique name of the language.","details":"This name is equivalent to the name returned by Registration.name().","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.getVersion()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#getVersion()","name":"getVersion","kind":"method","signature":"public String getVersion()","summary":"Returns the version of the language.","details":"This version is equivalent to the name returned by Registration.version().","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.getDefaultMimeType()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#getDefaultMimeType()","name":"getDefaultMimeType","kind":"method","signature":"public String getDefaultMimeType()","summary":"Returns the default MIME type of a language or null if no default mime-type is set.","details":"The default MIME type specifies whether a source is loaded as character or binary based source by default. If no default MIME type is set all sources evaluated with that language will be interpreted as character based sources. This set is equivalent to the set provided by Registration.defaultMimeType().","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.getMimeTypes()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#getMimeTypes()","name":"getMimeTypes","kind":"method","signature":"public Set<String> getMimeTypes()","summary":"Returns the MIME types supported by this language.","details":"This set is equivalent to the set provided by Registration.characterMimeTypes() and Registration.byteMimeTypes().","returns":{"type":"Set<String>"}}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.isInternal()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#isInternal()","name":"isInternal","kind":"method","signature":"public boolean isInternal()","returns":{"type":"boolean","doc":"true if the language is internal, false otherwise"}}
{"symbol":"com.oracle.truffle.api.nodes.LanguageInfo.isInteractive()","href":"com/oracle/truffle/api/nodes/LanguageInfo.html#isInteractive()","name":"isInteractive","kind":"method","signature":"public boolean isInteractive()","returns":{"type":"boolean","doc":"true if the language is interactive, false otherwise"}}
{"symbol":"com.oracle.truffle.api.nodes.LoopNode","href":"com/oracle/truffle/api/nodes/LoopNode.html","name":"LoopNode","kind":"class","signature":"public abstract class LoopNode extends Node","summary":"A loop node calls repeating nodes as long as it returns true.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.LoopNode()","href":"com/oracle/truffle/api/nodes/LoopNode.html#%3Cinit%3E()","name":"LoopNode","kind":"constructor","signature":"protected LoopNode()","summary":"Constructor for subclasses."}
{"symbol":"com.oracle.truffle.api.nodes.LoopNode.execute(VirtualFrame)","href":"com/oracle/truffle/api/nodes/LoopNode.html#execute(com.oracle.truffle.api.frame.VirtualFrame)","name":"execute","kind":"method","signature":"public Object execute(VirtualFrame frame)","summary":"Invokes one loop invocation by repeatedly calling execute) on the repeating node the loop was initialized with.","details":"Any exceptions that occur in the execution of the repeating node will just be forwarded to this method and will cancel the current loop invocation.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current execution frame or null if the repeating node does not require a frame"}],"returns":{"type":"Object","doc":"a value v returned by execute satisfying shouldContinue(v) == false, which can be used in a language-specific way (for example, to encode structured jumps)"}}
{"symbol":"com.oracle.truffle.api.nodes.LoopNode.getRepeatingNode()","href":"com/oracle/truffle/api/nodes/LoopNode.html#getRepeatingNode()","name":"getRepeatingNode","kind":"method","signature":"public abstract RepeatingNode getRepeatingNode()","summary":"Returns the repeating node the loop node was created with.","returns":{"type":"RepeatingNode"}}
{"symbol":"com.oracle.truffle.api.nodes.LoopNode.reportLoopCount(Node, int)","href":"com/oracle/truffle/api/nodes/LoopNode.html#reportLoopCount(com.oracle.truffle.api.nodes.Node,int)","name":"reportLoopCount","kind":"method","signature":"public static void reportLoopCount(Node source, int iterations)","summary":"Reports the execution count of a loop for which no LoopNode was used.","detailsOmitted":true,"params":[{"name":"source","type":"Node","doc":"the Node which invoked the loop."},{"name":"iterations","type":"int","doc":"the number iterations to report to the runtime system, must be >= 0"}]}
{"symbol":"com.oracle.truffle.api.nodes.Node","href":"com/oracle/truffle/api/nodes/Node.html","name":"Node","kind":"class","signature":"public abstract class Node implements NodeInterface, Cloneable","summary":"Abstract base class for all nodes in the Truffle Abstract Syntax Tree (AST).","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.Node()","href":"com/oracle/truffle/api/nodes/Node.html#%3Cinit%3E()","name":"Node","kind":"constructor","signature":"protected Node()"}
{"symbol":"com.oracle.truffle.api.nodes.Node.getCost()","href":"com/oracle/truffle/api/nodes/Node.html#getCost()","name":"getCost","kind":"method","signature":"public NodeCost getCost()","summary":"Returns a rough estimate for the cost of this Node.","details":"This estimate can be used by runtime systems or guest languages to implement heuristics based on Truffle ASTs. This method is intended to be overridden by subclasses. The default implementation returns the value of NodeInfo.cost() of the NodeInfo annotation declared at the subclass. If no NodeInfo annotation is declared the method returns NodeCost.MONOMORPHIC as a default value.","deprecated":{"doc":"in 24.1 without replacement"},"returns":{"type":"NodeCost"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.getSourceSection()","href":"com/oracle/truffle/api/nodes/Node.html#getSourceSection()","name":"getSourceSection","kind":"method","signature":"public SourceSection getSourceSection()","summary":"Retrieves the segment of guest language source code that is represented by this Node.","detailsOmitted":true,"returns":{"type":"SourceSection","doc":"the source code represented by this Node"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.getEncapsulatingSourceSection()","href":"com/oracle/truffle/api/nodes/Node.html#getEncapsulatingSourceSection()","name":"getEncapsulatingSourceSection","kind":"method","signature":"public SourceSection getEncapsulatingSourceSection()","summary":"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.","details":"Can be called on any thread and without a language context.","returns":{"type":"SourceSection","doc":"an approximation of the source code represented by this Node"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.isAdoptable()","href":"com/oracle/truffle/api/nodes/Node.html#isAdoptable()","name":"isAdoptable","kind":"method","signature":"public boolean isAdoptable()","summary":"Returns true if this node can be adopted by a parent.","detailsOmitted":true,"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.insert(T[])","href":"com/oracle/truffle/api/nodes/Node.html#insert(T[])","name":"insert","kind":"method","signature":"public final <T extends Node> T[] insert(T[] newChildren)","summary":"Inserts new node children into an AST that was already adopted by a parent.","details":"The new children need to be assigned to its children field after insert was called.","params":[{"name":"newChildren","type":"T[]","doc":"the array of new children whose parent should be updated"}],"returns":{"type":"T[]","doc":"the array of new children"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.insert(T)","href":"com/oracle/truffle/api/nodes/Node.html#insert(T)","name":"insert","kind":"method","signature":"public final <T extends Node> T insert(T newChild)","summary":"Inserts an new node into an AST that was already adopted by a parent.","details":"The new child needs to be assigned to its child field after insert was called.","params":[{"name":"newChild","type":"T","doc":"the new child whose parent should be updated"}],"returns":{"type":"T","doc":"the new child"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.notifyInserted(Node)","href":"com/oracle/truffle/api/nodes/Node.html#notifyInserted(com.oracle.truffle.api.nodes.Node)","name":"notifyInserted","kind":"method","signature":"protected final void notifyInserted(Node node)","summary":"Notifies the framework about the insertion of one or more nodes during execution.","detailsOmitted":true,"params":[{"name":"node","type":"Node","doc":"the node tree that got inserted."}]}
{"symbol":"com.oracle.truffle.api.nodes.Node.adoptChildren()","href":"com/oracle/truffle/api/nodes/Node.html#adoptChildren()","name":"adoptChildren","kind":"method","signature":"public final void adoptChildren()"}
{"symbol":"com.oracle.truffle.api.nodes.Node.getDebugProperties()","href":"com/oracle/truffle/api/nodes/Node.html#getDebugProperties()","name":"getDebugProperties","kind":"method","signature":"public Map<String, Object> getDebugProperties()","summary":"Returns properties of this node interesting for debugging and can be overwritten by subclasses to add their own custom properties.","details":"This method may be called on a compiler thread without an entered guest context. Implementations must not execute guest code or rely on a guest context being entered. Debug property values should be strings, boxed primitive values, classes, or enums. Other values may be represented using an opaque identity string; their Object.toString() method is not invoked implicitly.","returns":{"type":"Map<String, Object>","doc":"the properties as a key/value hash map"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.getParent()","href":"com/oracle/truffle/api/nodes/Node.html#getParent()","name":"getParent","kind":"method","signature":"public final Node getParent()","summary":"The current parent node of this node.","returns":{"type":"Node","doc":"the parent node"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.replace(T, CharSequence)","href":"com/oracle/truffle/api/nodes/Node.html#replace(T,java.lang.CharSequence)","name":"replace","kind":"method","signature":"public final <T extends Node> T replace(T newNode, CharSequence reason)","summary":"Replaces this node with another node.","details":"If there is a source section (see getSourceSection()) associated with this node, it is transferred to the new node.","params":[{"name":"newNode","type":"T","doc":"the new node that is the replacement"},{"name":"reason","type":"CharSequence","doc":"a description of the reason for the replacement"}],"returns":{"type":"T","doc":"the new node"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.replace(T)","href":"com/oracle/truffle/api/nodes/Node.html#replace(T)","name":"replace","kind":"method","signature":"public final <T extends Node> T replace(T newNode)","summary":"Replaces this node with another node.","details":"If there is a source section (see getSourceSection()) associated with this node, it is transferred to the new node.","params":[{"name":"newNode","type":"T","doc":"the new node that is the replacement"}],"returns":{"type":"T","doc":"the new node"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.isSafelyReplaceableBy(Node)","href":"com/oracle/truffle/api/nodes/Node.html#isSafelyReplaceableBy(com.oracle.truffle.api.nodes.Node)","name":"isSafelyReplaceableBy","kind":"method","signature":"public final boolean isSafelyReplaceableBy(Node newNode)","summary":"Checks if this node can be replaced by another node: tree structure & type.","params":[{"name":"newNode","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.reportReplace(Node, Node, CharSequence)","href":"com/oracle/truffle/api/nodes/Node.html#reportReplace(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node,java.lang.CharSequence)","name":"reportReplace","kind":"method","signature":"protected final void reportReplace(Node oldNode, Node newNode, CharSequence reason)","summary":"Reports that oldNode was replaced with newNode, notifying any replace observers and invalidating any compiled call targets.","details":"This method does not actually replace the nodes. Use Node.replace(Node, CharSequence) to replace nodes.","params":[{"name":"oldNode","type":"Node"},{"name":"newNode","type":"Node"},{"name":"reason","type":"CharSequence"}]}
{"symbol":"com.oracle.truffle.api.nodes.Node.onReplace(Node, CharSequence)","href":"com/oracle/truffle/api/nodes/Node.html#onReplace(com.oracle.truffle.api.nodes.Node,java.lang.CharSequence)","name":"onReplace","kind":"method","signature":"protected void onReplace(Node newNode, CharSequence reason)","summary":"Intended to be implemented by subclasses of Node to receive a notification when the node is rewritten.","details":"This method is invoked before the actual replace has happened.","params":[{"name":"newNode","type":"Node","doc":"the replacement node"},{"name":"reason","type":"CharSequence","doc":"the reason the replace supplied"}]}
{"symbol":"com.oracle.truffle.api.nodes.Node.accept(NodeVisitor)","href":"com/oracle/truffle/api/nodes/Node.html#accept(com.oracle.truffle.api.nodes.NodeVisitor)","name":"accept","kind":"method","signature":"public final void accept(NodeVisitor nodeVisitor)","summary":"Invokes the NodeVisitor.visit(Node) method for this node and recursively also for all child nodes.","params":[{"name":"nodeVisitor","type":"NodeVisitor","doc":"the visitor"}]}
{"symbol":"com.oracle.truffle.api.nodes.Node.getChildren()","href":"com/oracle/truffle/api/nodes/Node.html#getChildren()","name":"getChildren","kind":"method","signature":"public final Iterable<Node> getChildren()","summary":"Iterator over the children of this node.","returns":{"type":"Iterable<Node>","doc":"the iterator"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.copy()","href":"com/oracle/truffle/api/nodes/Node.html#copy()","name":"copy","kind":"method","signature":"public Node copy()","summary":"Creates a shallow copy of this node.","returns":{"type":"Node","doc":"the new copy"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.deepCopy()","href":"com/oracle/truffle/api/nodes/Node.html#deepCopy()","name":"deepCopy","kind":"method","signature":"public Node deepCopy()","summary":"Creates a deep copy of this node.","returns":{"type":"Node","doc":"the new deep copy"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.getRootNode()","href":"com/oracle/truffle/api/nodes/Node.html#getRootNode()","name":"getRootNode","kind":"method","signature":"public final RootNode getRootNode()","summary":"Get the root node of the tree a node belongs to.","returns":{"type":"RootNode","doc":"the RootNode or null if there is none."}}
{"symbol":"com.oracle.truffle.api.nodes.Node.reportPolymorphicSpecialize()","href":"com/oracle/truffle/api/nodes/Node.html#reportPolymorphicSpecialize()","name":"reportPolymorphicSpecialize","kind":"method","signature":"public final void reportPolymorphicSpecialize()","summary":"Notifies the runtime that this node specialized to a polymorphic state.","details":"This includes specializations that increase \"level\" of polymorphism (e.g. Adding another element to an existing inline cache). The runtime can use this information to, if allowed, create a deep copy of the RootNode hosting this node and gather context sensitive profiling feedback."}
{"symbol":"com.oracle.truffle.api.nodes.Node.toString()","href":"com/oracle/truffle/api/nodes/Node.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Converts this node to a textual representation useful for debugging.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.atomic(Runnable)","href":"com/oracle/truffle/api/nodes/Node.html#atomic(java.lang.Runnable)","name":"atomic","kind":"method","signature":"public final void atomic(Runnable closure)","params":[{"name":"closure","type":"Runnable"}]}
{"symbol":"com.oracle.truffle.api.nodes.Node.atomic(Callable)","href":"com/oracle/truffle/api/nodes/Node.html#atomic(java.util.concurrent.Callable)","name":"atomic","kind":"method","signature":"public final <T> T atomic(Callable<T> closure)","params":[{"name":"closure","type":"Callable<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.getLock()","href":"com/oracle/truffle/api/nodes/Node.html#getLock()","name":"getLock","kind":"method","signature":"protected final Lock getLock()","summary":"Returns a lock object that can be used to synchronize modifications to the AST.","details":"Don't lock if you call into foreign code with potential recursions to avoid deadlocks. Use responsibly.","returns":{"type":"Lock"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.getDescription()","href":"com/oracle/truffle/api/nodes/Node.html#getDescription()","name":"getDescription","kind":"method","signature":"public String getDescription()","summary":"Returns a user-readable description of the purpose of the Node, or \"\" if no description is available.","details":"Can be called on any thread and without a language context.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.Node.Child","href":"com/oracle/truffle/api/nodes/Node.Child.html","name":"Node.Child","kind":"annotation","signature":"public @interface Node.Child","summary":"Marks fields that represent child nodes of this node.","details":"This annotation implies the semantics of CompilationFinal."}
{"symbol":"com.oracle.truffle.api.nodes.Node.Children","href":"com/oracle/truffle/api/nodes/Node.Children.html","name":"Node.Children","kind":"annotation","signature":"public @interface Node.Children","summary":"Marks array fields that are children of this node.","details":"This annotation implies the semantics of @CompilationFinal(dimensions = 1)."}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass","href":"com/oracle/truffle/api/nodes/NodeClass.html","name":"NodeClass","kind":"class","signature":"public abstract class NodeClass","summary":"Information about a Node class.","details":"A single instance of this class is allocated for every subclass of Node that is used."}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.get(Class)","href":"com/oracle/truffle/api/nodes/NodeClass.html#get(java.lang.Class)","name":"get","kind":"method","signature":"public static NodeClass get(Class<? extends Node> clazz)","params":[{"name":"clazz","type":"Class<? extends Node>"}],"returns":{"type":"NodeClass"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.get(Node)","href":"com/oracle/truffle/api/nodes/NodeClass.html#get(com.oracle.truffle.api.nodes.Node)","name":"get","kind":"method","signature":"public static NodeClass get(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"NodeClass"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass(Class)","href":"com/oracle/truffle/api/nodes/NodeClass.html#%3Cinit%3E(java.lang.Class)","name":"NodeClass","kind":"constructor","signature":"public NodeClass(Class<? extends Node> clazz)","params":[{"name":"clazz","type":"Class<? extends Node>"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.makeIterator(Node)","href":"com/oracle/truffle/api/nodes/NodeClass.html#makeIterator(com.oracle.truffle.api.nodes.Node)","name":"makeIterator","kind":"method","signature":"public Iterator<Node> makeIterator(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"Iterator<Node>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.isReplaceAllowed()","href":"com/oracle/truffle/api/nodes/NodeClass.html#isReplaceAllowed()","name":"isReplaceAllowed","kind":"method","signature":"protected abstract boolean isReplaceAllowed()","summary":"Returns true if DenyReplace was not set for this node.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.getType()","href":"com/oracle/truffle/api/nodes/NodeClass.html#getType()","name":"getType","kind":"method","signature":"public abstract Class<? extends Node> getType()","summary":"The Class this NodeClass has been created for.","returns":{"type":"Class<? extends Node>","doc":"the clazz of node this NodeClass describes"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.getNodeFieldArray()","href":"com/oracle/truffle/api/nodes/NodeClass.html#getNodeFieldArray()","name":"getNodeFieldArray","kind":"method","signature":"protected abstract Object[] getNodeFieldArray()","returns":{"type":"Object[]"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.putFieldObject(Object, Node, Object)","href":"com/oracle/truffle/api/nodes/NodeClass.html#putFieldObject(java.lang.Object,com.oracle.truffle.api.nodes.Node,java.lang.Object)","name":"putFieldObject","kind":"method","signature":"protected abstract void putFieldObject(Object field, Node receiver, Object value)","params":[{"name":"field","type":"Object"},{"name":"receiver","type":"Node"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.getFieldObject(Object, Node)","href":"com/oracle/truffle/api/nodes/NodeClass.html#getFieldObject(java.lang.Object,com.oracle.truffle.api.nodes.Node)","name":"getFieldObject","kind":"method","signature":"protected abstract Object getFieldObject(Object field, Node receiver)","params":[{"name":"field","type":"Object"},{"name":"receiver","type":"Node"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.getFieldValue(Object, Node)","href":"com/oracle/truffle/api/nodes/NodeClass.html#getFieldValue(java.lang.Object,com.oracle.truffle.api.nodes.Node)","name":"getFieldValue","kind":"method","signature":"protected abstract Object getFieldValue(Object field, Node receiver)","params":[{"name":"field","type":"Object"},{"name":"receiver","type":"Node"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.getFieldType(Object)","href":"com/oracle/truffle/api/nodes/NodeClass.html#getFieldType(java.lang.Object)","name":"getFieldType","kind":"method","signature":"protected abstract Class<?> getFieldType(Object field)","params":[{"name":"field","type":"Object"}],"returns":{"type":"Class<?>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.getFieldName(Object)","href":"com/oracle/truffle/api/nodes/NodeClass.html#getFieldName(java.lang.Object)","name":"getFieldName","kind":"method","signature":"protected abstract String getFieldName(Object field)","params":[{"name":"field","type":"Object"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.isChildField(Object)","href":"com/oracle/truffle/api/nodes/NodeClass.html#isChildField(java.lang.Object)","name":"isChildField","kind":"method","signature":"protected abstract boolean isChildField(Object field)","params":[{"name":"field","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.isChildrenField(Object)","href":"com/oracle/truffle/api/nodes/NodeClass.html#isChildrenField(java.lang.Object)","name":"isChildrenField","kind":"method","signature":"protected abstract boolean isChildrenField(Object field)","params":[{"name":"field","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeClass.isCloneableField(Object)","href":"com/oracle/truffle/api/nodes/NodeClass.html#isCloneableField(java.lang.Object)","name":"isCloneableField","kind":"method","signature":"protected abstract boolean isCloneableField(Object field)","params":[{"name":"field","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeCloneable","href":"com/oracle/truffle/api/nodes/NodeCloneable.html","name":"NodeCloneable","kind":"class","signature":"public abstract class NodeCloneable implements Cloneable","summary":"Declarative base class for node fields that are to be cloned together with the containing node."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCloneable()","href":"com/oracle/truffle/api/nodes/NodeCloneable.html#%3Cinit%3E()","name":"NodeCloneable","kind":"constructor","signature":"protected NodeCloneable()","summary":"Constructor for subclasses."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCloneable.clone()","href":"com/oracle/truffle/api/nodes/NodeCloneable.html#clone()","name":"clone","kind":"method","signature":"protected Object clone()","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost","href":"com/oracle/truffle/api/nodes/NodeCost.html","name":"NodeCost","kind":"enum","signature":"public enum NodeCost","summary":"Represents a rough estimate for the cost of a Node.","details":"This estimate can be used by runtime systems or guest languages to implement heuristics based on Truffle ASTs.","deprecated":{"doc":"in 24.1 without replacement"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.values()","href":"com/oracle/truffle/api/nodes/NodeCost.html#values()","name":"values","kind":"method","signature":"public static NodeCost[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"NodeCost[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.valueOf(String)","href":"com/oracle/truffle/api/nodes/NodeCost.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static NodeCost valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"NodeCost","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.NONE","href":"com/oracle/truffle/api/nodes/NodeCost.html#NONE","name":"NONE","kind":"enumConstant","signature":"NONE","summary":"This node has literally no costs and should be ignored for heuristics.","details":"This is particularly useful for wrapper and profiling nodes which should not influence the heuristics."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.UNINITIALIZED","href":"com/oracle/truffle/api/nodes/NodeCost.html#UNINITIALIZED","name":"UNINITIALIZED","kind":"enumConstant","signature":"UNINITIALIZED","summary":"This node has a CompilerDirectives.transferToInterpreter() or CompilerDirectives.transferToInterpreterAndInvalidate() as its first unconditional statement."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.MONOMORPHIC","href":"com/oracle/truffle/api/nodes/NodeCost.html#MONOMORPHIC","name":"MONOMORPHIC","kind":"enumConstant","signature":"MONOMORPHIC","summary":"This node represents a specialized monomorphic version of an operation."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.POLYMORPHIC","href":"com/oracle/truffle/api/nodes/NodeCost.html#POLYMORPHIC","name":"POLYMORPHIC","kind":"enumConstant","signature":"POLYMORPHIC","summary":"This node represents a polymorphic version of an operation.","details":"For multiple chained polymorphic nodes the first may return MONOMORPHIC and all additional nodes should return POLYMORPHIC."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.MEGAMORPHIC","href":"com/oracle/truffle/api/nodes/NodeCost.html#MEGAMORPHIC","name":"MEGAMORPHIC","kind":"enumConstant","signature":"MEGAMORPHIC","summary":"This node represents a megamorphic version of an operation.","details":"This value should only be used if the operation implementation supports monomorphism and polymorphism otherwise MONOMORPHIC should be used instead."}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.isTrivial()","href":"com/oracle/truffle/api/nodes/NodeCost.html#isTrivial()","name":"isTrivial","kind":"method","signature":"public boolean isTrivial()","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeCost.fromCount(int)","href":"com/oracle/truffle/api/nodes/NodeCost.html#fromCount(int)","name":"fromCount","kind":"method","signature":"public static NodeCost fromCount(int nodeCount)","summary":"Finds the node cost for an associated node count.","details":"Returns NodeCost.UNINITIALIZED for 0, NodeCost.MONOMORPHIC for 1 and NodeCost.POLYMORPHIC for any other value.","params":[{"name":"nodeCount","type":"int"}],"returns":{"type":"NodeCost"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeInfo","href":"com/oracle/truffle/api/nodes/NodeInfo.html","name":"NodeInfo","kind":"annotation","signature":"public @interface NodeInfo","summary":"Annotation for providing additional information on nodes."}
{"symbol":"com.oracle.truffle.api.nodes.NodeInfo.shortName()","href":"com/oracle/truffle/api/nodes/NodeInfo.html#shortName()","name":"shortName","kind":"annotationElement","signature":"String shortName() default \"\"","summary":"Short name representing the node that can be used for debugging.","returns":{"type":"String","doc":"the short name"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.nodes.NodeInfo.cost()","href":"com/oracle/truffle/api/nodes/NodeInfo.html#cost()","name":"cost","kind":"annotationElement","signature":"NodeCost cost() default MONOMORPHIC","summary":"Provides a rough estimate for the cost of the annotated Node.","details":"This estimate can be used by runtime systems or guest languages to implement heuristics based on Truffle ASTs.","deprecated":{"doc":"in 24.1 without replacement"},"returns":{"type":"NodeCost"},"defaultValue":"MONOMORPHIC"}
{"symbol":"com.oracle.truffle.api.nodes.NodeInfo.description()","href":"com/oracle/truffle/api/nodes/NodeInfo.html#description()","name":"description","kind":"annotationElement","signature":"String description() default \"\"","summary":"A human readable explanation of the purpose of the annotated Node.","details":"Can be used e.g. for debugging or visualization purposes.","returns":{"type":"String","doc":"the description"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.nodes.NodeInfo.language()","href":"com/oracle/truffle/api/nodes/NodeInfo.html#language()","name":"language","kind":"annotationElement","signature":"String language() default \"\"","summary":"A description, providing a user-readable explanation of the source language of the annotated Node.","details":"Can be used e.g. for debugging or visualization purposes. Typically this information is set only in an abstract base node for the language implementation.","returns":{"type":"String","doc":"the description"},"defaultValue":"\"\""}
{"symbol":"com.oracle.truffle.api.nodes.NodeInterface","href":"com/oracle/truffle/api/nodes/NodeInterface.html","name":"NodeInterface","kind":"interface","signature":"public interface NodeInterface","summary":"Common base interface for all Truffle nodes."}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil","href":"com/oracle/truffle/api/nodes/NodeUtil.html","name":"NodeUtil","kind":"class","signature":"public final class NodeUtil","summary":"Utility class that manages the special access methods for node instances."}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.cloneNode(T)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#cloneNode(T)","name":"cloneNode","kind":"method","signature":"public static <T extends Node> T cloneNode(T orig)","params":[{"name":"orig","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.assertAdopted(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#assertAdopted(com.oracle.truffle.api.nodes.Node)","name":"assertAdopted","kind":"method","signature":"public static boolean assertAdopted(Node node)","summary":"Asserts that a node is adopted by a RootNode and prints a formatted error message with the error path if it is not adopted.","details":"Provided node must be not null. Throws an AssertionError if it fails and always returns true otherwise for convenient usage with the assert statement.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findNodeChildren(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findNodeChildren(com.oracle.truffle.api.nodes.Node)","name":"findNodeChildren","kind":"method","signature":"public static List<Node> findNodeChildren(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"List<Node>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.nonAtomicReplace(Node, T, CharSequence)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#nonAtomicReplace(com.oracle.truffle.api.nodes.Node,T,java.lang.CharSequence)","name":"nonAtomicReplace","kind":"method","signature":"public static <T extends Node> T nonAtomicReplace(Node oldNode, T newNode, CharSequence reason)","params":[{"name":"oldNode","type":"Node"},{"name":"newNode","type":"T"},{"name":"reason","type":"CharSequence"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.replaceChild(Node, Node, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#replaceChild(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node)","name":"replaceChild","kind":"method","signature":"public static boolean replaceChild(Node parent, Node oldChild, Node newChild)","params":[{"name":"parent","type":"Node"},{"name":"oldChild","type":"Node"},{"name":"newChild","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findChildFieldName(Node, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findChildFieldName(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node)","name":"findChildFieldName","kind":"method","signature":"public static String findChildFieldName(Node parent, Node child)","summary":"Finds the field in a parent node and returns its name.","details":"Utility for debugging and tracing purposes.","params":[{"name":"parent","type":"Node"},{"name":"child","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.collectFieldNames(Class)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#collectFieldNames(java.lang.Class)","name":"collectFieldNames","kind":"method","signature":"public static List<String> collectFieldNames(Class<? extends Node> clazz)","summary":"Finds and retrieves all field names of a node class.","details":"This is a utility intended for debugging and tracing purposes.","params":[{"name":"clazz","type":"Class<? extends Node>"}],"returns":{"type":"List<String>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.collectNodeChildren(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#collectNodeChildren(com.oracle.truffle.api.nodes.Node)","name":"collectNodeChildren","kind":"method","signature":"public static Map<String, Node> collectNodeChildren(Node node)","summary":"Finds and retrieves all Child and Children annotated field names and values.","details":"This is a utility intended for debugging and tracing purposes.","params":[{"name":"node","type":"Node"}],"returns":{"type":"Map<String, Node>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.collectNodeProperties(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#collectNodeProperties(com.oracle.truffle.api.nodes.Node)","name":"collectNodeProperties","kind":"method","signature":"public static Map<String, Object> collectNodeProperties(Node node)","summary":"Finds and retrieves all properties of a node.","details":"Properties of a node are all fields not annotated with Child or Children. This is a utility intended for debugging and tracing purposes.","params":[{"name":"node","type":"Node"}],"returns":{"type":"Map<String, Object>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.isReplacementSafe(Node, Node, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#isReplacementSafe(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node)","name":"isReplacementSafe","kind":"method","signature":"public static boolean isReplacementSafe(Node parent, Node oldChild, Node newChild)","summary":"Determines whether a proposed child replacement would be safe: structurally and type.","params":[{"name":"parent","type":"Node"},{"name":"oldChild","type":"Node"},{"name":"newChild","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.forEachChild(Node, NodeVisitor)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#forEachChild(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.NodeVisitor)","name":"forEachChild","kind":"method","signature":"public static boolean forEachChild(Node parent, NodeVisitor visitor)","summary":"Executes a closure for every non-null child of the parent node.","params":[{"name":"parent","type":"Node"},{"name":"visitor","type":"NodeVisitor"}],"returns":{"type":"boolean","doc":"true if all children were visited, false otherwise"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.concat(T[], T[])","href":"com/oracle/truffle/api/nodes/NodeUtil.html#concat(T[],T[])","name":"concat","kind":"method","signature":"public static <T> T[] concat(T[] first, T[] second)","params":[{"name":"first","type":"T[]"},{"name":"second","type":"T[]"}],"returns":{"type":"T[]"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.getNthParent(Node, int)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#getNthParent(com.oracle.truffle.api.nodes.Node,int)","name":"getNthParent","kind":"method","signature":"public static Node getNthParent(Node node, int n)","summary":"Get the nth parent of a node, where the 0th parent is the node itself.","details":"Returns null if there are less than n ancestors.","params":[{"name":"node","type":"Node"},{"name":"n","type":"int"}],"returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findAnnotation(Class, Class)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findAnnotation(java.lang.Class,java.lang.Class)","name":"findAnnotation","kind":"method","signature":"public static <T extends Annotation> T findAnnotation(Class<?> clazz, Class<T> annotationClass)","summary":"Find annotation in class/interface hierarchy.","params":[{"name":"clazz","type":"Class<?>"},{"name":"annotationClass","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findParent(Node, Class)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findParent(com.oracle.truffle.api.nodes.Node,java.lang.Class)","name":"findParent","kind":"method","signature":"public static <T> T findParent(Node start, Class<T> clazz)","params":[{"name":"start","type":"Node"},{"name":"clazz","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findAllParents(Node, Class)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findAllParents(com.oracle.truffle.api.nodes.Node,java.lang.Class)","name":"findAllParents","kind":"method","signature":"public static <T> List<T> findAllParents(Node start, Class<T> clazz)","params":[{"name":"start","type":"Node"},{"name":"clazz","type":"Class<T>"}],"returns":{"type":"List<T>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.collectNodes(Node, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#collectNodes(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.Node)","name":"collectNodes","kind":"method","signature":"public static List<Node> collectNodes(Node parent, Node child)","params":[{"name":"parent","type":"Node"},{"name":"child","type":"Node"}],"returns":{"type":"List<Node>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findFirstNodeInstance(Node, Class)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findFirstNodeInstance(com.oracle.truffle.api.nodes.Node,java.lang.Class)","name":"findFirstNodeInstance","kind":"method","signature":"public static <T> T findFirstNodeInstance(Node root, Class<T> clazz)","params":[{"name":"root","type":"Node"},{"name":"clazz","type":"Class<T>"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.findAllNodeInstances(Node, Class)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#findAllNodeInstances(com.oracle.truffle.api.nodes.Node,java.lang.Class)","name":"findAllNodeInstances","kind":"method","signature":"public static <T> List<T> findAllNodeInstances(Node root, Class<T> clazz)","params":[{"name":"root","type":"Node"},{"name":"clazz","type":"Class<T>"}],"returns":{"type":"List<T>"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.countNodes(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#countNodes(com.oracle.truffle.api.nodes.Node)","name":"countNodes","kind":"method","signature":"public static int countNodes(Node root)","params":[{"name":"root","type":"Node"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.countNodes(Node, NodeUtil.NodeCountFilter)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#countNodes(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter)","name":"countNodes","kind":"method","signature":"public static int countNodes(Node root, NodeUtil.NodeCountFilter filter)","params":[{"name":"root","type":"Node"},{"name":"filter","type":"NodeUtil.NodeCountFilter"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printCompactTreeToString(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printCompactTreeToString(com.oracle.truffle.api.nodes.Node)","name":"printCompactTreeToString","kind":"method","signature":"public static String printCompactTreeToString(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printCompactTree(OutputStream, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printCompactTree(java.io.OutputStream,com.oracle.truffle.api.nodes.Node)","name":"printCompactTree","kind":"method","signature":"public static void printCompactTree(OutputStream out, Node node)","params":[{"name":"out","type":"OutputStream"},{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printSourceAttributionTree(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printSourceAttributionTree(com.oracle.truffle.api.nodes.Node)","name":"printSourceAttributionTree","kind":"method","signature":"public static String printSourceAttributionTree(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printSourceAttributionTree(OutputStream, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printSourceAttributionTree(java.io.OutputStream,com.oracle.truffle.api.nodes.Node)","name":"printSourceAttributionTree","kind":"method","signature":"public static void printSourceAttributionTree(OutputStream out, Node node)","params":[{"name":"out","type":"OutputStream"},{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printSourceAttributionTree(PrintWriter, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printSourceAttributionTree(java.io.PrintWriter,com.oracle.truffle.api.nodes.Node)","name":"printSourceAttributionTree","kind":"method","signature":"public static void printSourceAttributionTree(PrintWriter out, Node node)","params":[{"name":"out","type":"PrintWriter"},{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printSyntaxTags(Object)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printSyntaxTags(java.lang.Object)","name":"printSyntaxTags","kind":"method","signature":"public static String printSyntaxTags(Object node)","summary":"Originally returned the tags if any, associated with a node; now unsupported.","params":[{"name":"node","type":"Object"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printTree(OutputStream, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printTree(java.io.OutputStream,com.oracle.truffle.api.nodes.Node)","name":"printTree","kind":"method","signature":"public static void printTree(OutputStream out, Node node)","summary":"Prints a human readable form of a Node AST to the given PrintStream.","details":"This print method does not check for cycles in the node structure.","params":[{"name":"out","type":"OutputStream","doc":"the stream to print to."},{"name":"node","type":"Node","doc":"the root node to write"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printTreeToString(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printTreeToString(com.oracle.truffle.api.nodes.Node)","name":"printTreeToString","kind":"method","signature":"public static String printTreeToString(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.printTree(PrintWriter, Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#printTree(java.io.PrintWriter,com.oracle.truffle.api.nodes.Node)","name":"printTree","kind":"method","signature":"public static void printTree(PrintWriter p, Node node)","params":[{"name":"p","type":"PrintWriter"},{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.verify(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#verify(com.oracle.truffle.api.nodes.Node)","name":"verify","kind":"method","signature":"public static boolean verify(Node root)","params":[{"name":"root","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.assertRecursion(Node, int)","href":"com/oracle/truffle/api/nodes/NodeUtil.html#assertRecursion(com.oracle.truffle.api.nodes.Node,int)","name":"assertRecursion","kind":"method","signature":"public static boolean assertRecursion(Node node, int maxRecursion)","summary":"Fails with an assertion if the exact node type is used as a parent.","details":"Returns true if the node is null.","params":[{"name":"node","type":"Node"},{"name":"maxRecursion","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter","href":"com/oracle/truffle/api/nodes/NodeUtil.NodeCountFilter.html","name":"NodeUtil.NodeCountFilter","kind":"interface","signature":"public interface NodeUtil.NodeCountFilter"}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter.NO_FILTER","href":"com/oracle/truffle/api/nodes/NodeUtil.NodeCountFilter.html#NO_FILTER","name":"NO_FILTER","kind":"field","signature":"NodeUtil.NodeCountFilter NO_FILTER"}
{"symbol":"com.oracle.truffle.api.nodes.NodeUtil.NodeCountFilter.isCounted(Node)","href":"com/oracle/truffle/api/nodes/NodeUtil.NodeCountFilter.html#isCounted(com.oracle.truffle.api.nodes.Node)","name":"isCounted","kind":"method","signature":"boolean isCounted(Node node)","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.NodeVisitor","href":"com/oracle/truffle/api/nodes/NodeVisitor.html","name":"NodeVisitor","kind":"interface","signature":"public interface NodeVisitor","summary":"Visitor for trees of nodes."}
{"symbol":"com.oracle.truffle.api.nodes.NodeVisitor.visit(Node)","href":"com/oracle/truffle/api/nodes/NodeVisitor.html#visit(com.oracle.truffle.api.nodes.Node)","name":"visit","kind":"method","signature":"boolean visit(Node node)","summary":"This visitor method is called for every node in the tree.","details":"Its return value determines if the visitation continues i.e. As long as the return value is true the visitation continues.","params":[{"name":"node","type":"Node","doc":"the node that is currently visited"}],"returns":{"type":"boolean","doc":"true if the visitation should continue, false otherwise"}}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode","href":"com/oracle/truffle/api/nodes/RepeatingNode.html","name":"RepeatingNode","kind":"interface","signature":"public interface RepeatingNode extends NodeInterface","summary":"A node that is repeatedly invoked as part of a Truffle loop control structure.","details":"Repeating nodes must extend Node or a subclass of Node. Repeating nodes are intended to be implemented by guest language implementations. For a full usage example please see LoopNode. Note: The result of shouldContinue( executeRepeatingWithValue()) is automatically profiled by the loop node, so the repeating node should not use a loop condition profile."}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode.CONTINUE_LOOP_STATUS","href":"com/oracle/truffle/api/nodes/RepeatingNode.html#CONTINUE_LOOP_STATUS","name":"CONTINUE_LOOP_STATUS","kind":"field","signature":"Object CONTINUE_LOOP_STATUS","summary":"A value indicating that the loop should be repeated."}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode.BREAK_LOOP_STATUS","href":"com/oracle/truffle/api/nodes/RepeatingNode.html#BREAK_LOOP_STATUS","name":"BREAK_LOOP_STATUS","kind":"field","signature":"Object BREAK_LOOP_STATUS","summary":"A value indicating that the loop should not be repeated.","details":"Any other value different than CONTINUE_LOOP_STATUS can also be used to indicate that the loop should not be repeated."}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode.executeRepeating(VirtualFrame)","href":"com/oracle/truffle/api/nodes/RepeatingNode.html#executeRepeating(com.oracle.truffle.api.frame.VirtualFrame)","name":"executeRepeating","kind":"method","signature":"boolean executeRepeating(VirtualFrame frame)","summary":"Repeatedly invoked by a loop node implementation until the method returns false or throws an exception.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current execution frame passed through the interpreter"}],"returns":{"type":"boolean","doc":"true if the method should be executed again to complete the loop and false if it must not."}}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode.executeRepeatingWithValue(VirtualFrame)","href":"com/oracle/truffle/api/nodes/RepeatingNode.html#executeRepeatingWithValue(com.oracle.truffle.api.frame.VirtualFrame)","name":"executeRepeatingWithValue","kind":"method","signature":"default Object executeRepeatingWithValue(VirtualFrame frame)","summary":"Repeatedly invoked by a loop node implementation, but allows returning a language-specific loop exit status.","details":"Only languages that need to return custom loop statuses should override this method.","params":[{"name":"frame","type":"VirtualFrame","doc":"the current execution frame passed through the interpreter"}],"returns":{"type":"Object","doc":"a value v satisfying shouldContinue(v) == true if the method should be executed again to complete the loop and any other value if it must not."}}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode.initialLoopStatus()","href":"com/oracle/truffle/api/nodes/RepeatingNode.html#initialLoopStatus()","name":"initialLoopStatus","kind":"method","signature":"default Object initialLoopStatus()","summary":"Returns a placeholder loop status used internally before the first iteration.","returns":{"type":"Object","doc":"a value satisfying shouldContinue(initialLoopStatus(v)) == true"}}
{"symbol":"com.oracle.truffle.api.nodes.RepeatingNode.shouldContinue(Object)","href":"com/oracle/truffle/api/nodes/RepeatingNode.html#shouldContinue(java.lang.Object)","name":"shouldContinue","kind":"method","signature":"default boolean shouldContinue(Object returnValue)","summary":"Predicate called on values returned by executeRepeatingWithValue().","params":[{"name":"returnValue","type":"Object","doc":"a value returned by executeRepeatingWithValue()"}],"returns":{"type":"boolean","doc":"true if the loop should continue executing or false otherwise"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode","href":"com/oracle/truffle/api/nodes/RootNode.html","name":"RootNode","kind":"class","signature":"public abstract class RootNode extends ExecutableNode","summary":"Represents the root node in a Truffle AST.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.nodes.RootNode(TruffleLanguage)","href":"com/oracle/truffle/api/nodes/RootNode.html#%3Cinit%3E(com.oracle.truffle.api.TruffleLanguage)","name":"RootNode","kind":"constructor","signature":"protected RootNode(TruffleLanguage<?> language)","summary":"Creates new root node with a given language instance.","details":"The language instance is obtainable while TruffleLanguage.createContext(Env) or TruffleLanguage.parse(ParsingRequest) is executed. If no language environment is available, then null can be passed. Please note that root nodes with null language are considered not instrumentable and don't have access to its public language information.","params":[{"name":"language","type":"TruffleLanguage<?>","doc":"the language this root node is associated with"}]}
{"symbol":"com.oracle.truffle.api.nodes.RootNode(TruffleLanguage, FrameDescriptor)","href":"com/oracle/truffle/api/nodes/RootNode.html#%3Cinit%3E(com.oracle.truffle.api.TruffleLanguage,com.oracle.truffle.api.frame.FrameDescriptor)","name":"RootNode","kind":"constructor","signature":"protected RootNode(TruffleLanguage<?> language, FrameDescriptor frameDescriptor)","summary":"Creates new root node given an language environment and frame descriptor.","details":"The language instance is obtainable while TruffleLanguage.createContext(Env) or TruffleLanguage.parse(ParsingRequest) is executed. If no language environment is available, then null can be passed. Please note that root nodes with null language are considered not instrumentable and don't have access to its public language information.","params":[{"name":"language","type":"TruffleLanguage<?>","doc":"the language this root node is associated with"},{"name":"frameDescriptor","type":"FrameDescriptor"}]}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.copy()","href":"com/oracle/truffle/api/nodes/RootNode.html#copy()","name":"copy","kind":"method","signature":"public Node copy()","summary":"Creates a shallow copy of this node.","returns":{"type":"Node","doc":"the new copy"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.getQualifiedName()","href":"com/oracle/truffle/api/nodes/RootNode.html#getQualifiedName()","name":"getQualifiedName","kind":"method","signature":"public String getQualifiedName()","summary":"Returns a qualified name of the AST that in the best case uniquely identifiers the method.","details":"If the qualified name is not specified by the root, then the name is used by default. A root node that represents a Java method could consist of the package name, the class name and the method name. E.g. mypackage.MyClass.myMethod","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.getName()","href":"com/oracle/truffle/api/nodes/RootNode.html#getName()","name":"getName","kind":"method","signature":"public String getName()","summary":"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.","detailsOmitted":true,"returns":{"type":"String","doc":"a name that helps guest language programmers identify code corresponding to the AST, possibly null if the language implementation is unable to provide any useful information."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isInternal()","href":"com/oracle/truffle/api/nodes/RootNode.html#isInternal()","name":"isInternal","kind":"method","signature":"public boolean isInternal()","summary":"Returns true if this root node should be considered internal and not be shown to a guest language programmer.","detailsOmitted":true,"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.countsTowardsStackTraceLimit()","href":"com/oracle/truffle/api/nodes/RootNode.html#countsTowardsStackTraceLimit()","name":"countsTowardsStackTraceLimit","kind":"method","signature":"protected boolean countsTowardsStackTraceLimit()","summary":"Returns true if this root node should count towards com.oracle.truffle.api.exception.AbstractTruffleException.getStackTraceElementLimit.","details":"By default, returns the negation of isInternal(). This method may be invoked on compiled code paths. It is recommended to implement this method or #isInternal() such that it returns a partial evaluation constant.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.findBytecodeIndex(Node, Frame)","href":"com/oracle/truffle/api/nodes/RootNode.html#findBytecodeIndex(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.Frame)","name":"findBytecodeIndex","kind":"method","signature":"protected int findBytecodeIndex(Node node, Frame frame)","summary":"Returns the current byte code index of the root node using a given node location and a frame.","detailsOmitted":true,"params":[{"name":"node","type":"Node","doc":"the top-most node of the activation or null"},{"name":"frame","type":"Frame","doc":"the current frame of the activation or null"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isCaptureFramesForTrace(Node)","href":"com/oracle/truffle/api/nodes/RootNode.html#isCaptureFramesForTrace(com.oracle.truffle.api.nodes.Node)","name":"isCaptureFramesForTrace","kind":"method","signature":"protected boolean isCaptureFramesForTrace(Node compiledFrame)","deprecated":{"doc":"in 24.1, implement and use isCaptureFramesForTrace(boolean) instead"},"params":[{"name":"compiledFrame","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isCaptureFramesForTrace(boolean)","href":"com/oracle/truffle/api/nodes/RootNode.html#isCaptureFramesForTrace(boolean)","name":"isCaptureFramesForTrace","kind":"method","signature":"protected boolean isCaptureFramesForTrace(boolean compiledFrame)","summary":"Returns true if an AbstractTruffleException leaving this node should capture Frame objects in its stack trace in addition to the default information.","details":"This is false by default to avoid the attached overhead. The captured frames are then accessible through TruffleStackTraceElement.getFrame(). Using the compiledFrame argument can be useful to capture the frame only for interpreted frames. This way it is possible to store the bytecode index in the frame only in the interpreter, but never in compiled code. This is more efficient, because capturing the frame is a fast operation in the interpreter, but a slow operation for compiled frames.","params":[{"name":"compiledFrame","type":"boolean","doc":"whether the frame would be from a compiled execution."}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isCaptureFramesForTrace()","href":"com/oracle/truffle/api/nodes/RootNode.html#isCaptureFramesForTrace()","name":"isCaptureFramesForTrace","kind":"method","signature":"public boolean isCaptureFramesForTrace()","deprecated":{"doc":"in 24.1, implement and use isCaptureFramesForTrace(boolean) instead"},"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isCloningAllowed()","href":"com/oracle/truffle/api/nodes/RootNode.html#isCloningAllowed()","name":"isCloningAllowed","kind":"method","signature":"public boolean isCloningAllowed()","summary":"Returns true if this RootNode is allowed to be cloned.","details":"The runtime system might decide to create deep copies of the RootNode in order to gather context sensitive profiling feedback. The default implementation returns false. Guest language specific implementations may want to return true here to indicate that gathering call site specific profiling information might make sense for this RootNode .","returns":{"type":"boolean","doc":"true if cloning is allowed else false."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isCloneUninitializedSupported()","href":"com/oracle/truffle/api/nodes/RootNode.html#isCloneUninitializedSupported()","name":"isCloneUninitializedSupported","kind":"method","signature":"protected boolean isCloneUninitializedSupported()","summary":"Returns true if cloneUninitialized() can be used to create uninitialized copies of an already initialized / executed root node.","details":"By default, or if this method returns false, an optimizing Truffle runtime might need to copy the AST before it is executed for the first time to ensure it is able to create new uninitialized copies when needed. By returning true and therefore supporting uninitialized copies an optimizing runtime does not need to keep a reference to an uninitialized copy on its own and might therefore be able to save memory. The returned boolean needs to be immutable for a RootNode instance.","returns":{"type":"boolean","doc":"true if calls to uninitialized copies are supported."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.cloneUninitialized()","href":"com/oracle/truffle/api/nodes/RootNode.html#cloneUninitialized()","name":"cloneUninitialized","kind":"method","signature":"protected RootNode cloneUninitialized()","summary":"Creates an uninitialized copy of an already initialized/executed root node if it is supported.","detailsOmitted":true,"returns":{"type":"RootNode","doc":"an uninitialized copy of this root node if supported."},"throws":[{"type":"UnsupportedOperationException","doc":"if not supported"}]}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.execute(VirtualFrame)","href":"com/oracle/truffle/api/nodes/RootNode.html#execute(com.oracle.truffle.api.frame.VirtualFrame)","name":"execute","kind":"method","signature":"public abstract Object execute(VirtualFrame frame)","summary":"Executes this function using the specified frame and returns the result value.","params":[{"name":"frame","type":"VirtualFrame","doc":"the frame of the currently executing guest language method"}],"returns":{"type":"Object","doc":"the value of the execution"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.getCallTarget()","href":"com/oracle/truffle/api/nodes/RootNode.html#getCallTarget()","name":"getCallTarget","kind":"method","signature":"public final RootCallTarget getCallTarget()","returns":{"type":"RootCallTarget"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.initializeCallTarget()","href":"com/oracle/truffle/api/nodes/RootNode.html#initializeCallTarget()","name":"initializeCallTarget","kind":"method","signature":"public final void initializeCallTarget()","summary":"Initializes this root node's call target without executing the root node.","details":"This method has the same initialization effects as getCallTarget(), including invoking prepareForCall() when the call target is first created. Repeated calls reuse the existing call target. Call this method after configuring the root node and before using it in the application through call(Node, int, Object[]) or IndirectCallNode.call(RootNode, int, Object[]). These root-based call methods require an initialized call target and do not initialize it implicitly."}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.getFrameDescriptor()","href":"com/oracle/truffle/api/nodes/RootNode.html#getFrameDescriptor()","name":"getFrameDescriptor","kind":"method","signature":"public final FrameDescriptor getFrameDescriptor()","returns":{"type":"FrameDescriptor"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isInstrumentable()","href":"com/oracle/truffle/api/nodes/RootNode.html#isInstrumentable()","name":"isInstrumentable","kind":"method","signature":"protected boolean isInstrumentable()","summary":"Does this contain AST content that it is possible to instrument.","details":"Can be called on any thread and without a language context.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.prepareForCall()","href":"com/oracle/truffle/api/nodes/RootNode.html#prepareForCall()","name":"prepareForCall","kind":"method","signature":"protected void prepareForCall()","summary":"Prepares this RootNode to be called with a CallTarget.","details":"This method will be called exactly once when a call target is first created by getCallTarget() or initializeCallTarget(). This method can be used to lazily initialize parts of a root node, or to validate that a root node can be used as a call target."}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.prepareForCompilation(boolean, int, boolean)","href":"com/oracle/truffle/api/nodes/RootNode.html#prepareForCompilation(boolean,int,boolean)","name":"prepareForCompilation","kind":"method","signature":"protected boolean prepareForCompilation(boolean rootCompilation, int compilationTier, boolean lastTier)","summary":"Prepares this RootNode for compilation.","detailsOmitted":true,"params":[{"name":"rootCompilation","type":"boolean","doc":"true if this is a root compilation; false if inlining this root."},{"name":"compilationTier","type":"int","doc":"the current compilation tier, as per FrameInstance.getCompilationTier()."},{"name":"lastTier","type":"boolean","doc":"true if this is the last compilation tier for which this RootNode is prepared; false otherwise. Useful for performing preparation only at the highest tier."}],"returns":{"type":"boolean","doc":"true if the method is sufficiently profiled; false otherwise."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.visitCloneableNodes(NodeVisitor)","href":"com/oracle/truffle/api/nodes/RootNode.html#visitCloneableNodes(com.oracle.truffle.api.nodes.NodeVisitor)","name":"visitCloneableNodes","kind":"method","signature":"protected void visitCloneableNodes(NodeVisitor visitor)","summary":"Visits nodes that may be cloned with this root node.","details":"The default implementation visits this root and its ordinary children. Overrides must invoke the superclass implementation before visiting additional node trees stored outside of ordinary child fields. Additional node trees must be visited at most once and must not be reachable through ordinary child fields.","params":[{"name":"visitor","type":"NodeVisitor","doc":"the visitor invoked for each node"}]}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isTrivial()","href":"com/oracle/truffle/api/nodes/RootNode.html#isTrivial()","name":"isTrivial","kind":"method","signature":"protected boolean isTrivial()","summary":"Is this root node to be considered trivial by the runtime.","details":"A trivial root node is defined as a root node that: Never increases code size when inlined, i.e. is always less complex then the call. Never performs guest language calls. Never contains loops. Is small (for a language-specific definition of small). An good example of trivial root nodes would be getters and setters in java.","returns":{"type":"boolean","doc":"true if this root node should be considered trivial by the runtime. false otherwise."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.prepareForInstrumentation(Set)","href":"com/oracle/truffle/api/nodes/RootNode.html#prepareForInstrumentation(java.util.Set)","name":"prepareForInstrumentation","kind":"method","signature":"protected void prepareForInstrumentation(Set<Class<?>> tags)","summary":"Prepares a root node for use with the Truffle instrumentation framework.","detailsOmitted":true,"params":[{"name":"tags","type":"Set<Class<?>>"}]}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.findInstrumentableCallNode(Node, Frame, int)","href":"com/oracle/truffle/api/nodes/RootNode.html#findInstrumentableCallNode(com.oracle.truffle.api.nodes.Node,com.oracle.truffle.api.frame.Frame,int)","name":"findInstrumentableCallNode","kind":"method","signature":"protected Node findInstrumentableCallNode(Node callNode, Frame frame, int bytecodeIndex)","summary":"Returns an instrumentable call node from a node and frame.","detailsOmitted":true,"params":[{"name":"callNode","type":"Node","doc":"the top-most node of the activation or null"},{"name":"frame","type":"Frame","doc":"the current frame of the activation or null"},{"name":"bytecodeIndex","type":"int","doc":"the current bytecode index of the activation or a negative number"}],"returns":{"type":"Node"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.findAsynchronousFrames(Frame)","href":"com/oracle/truffle/api/nodes/RootNode.html#findAsynchronousFrames(com.oracle.truffle.api.frame.Frame)","name":"findAsynchronousFrames","kind":"method","signature":"protected List<TruffleStackTraceElement> findAsynchronousFrames(Frame frame)","summary":"Provide a list of stack frames that led to a schedule of asynchronous execution of this root node on the provided frame.","details":"The asynchronous frames are expected to be found here when TruffleLanguage.getAsynchronousStackDepth() is positive. The language is free to provide asynchronous frames or longer list of frames when it's of no performance penalty, or if requested by other options. This method is invoked on slow-paths only and with a context entered.","params":[{"name":"frame","type":"Frame","doc":"A frame, never null"}],"returns":{"type":"List<TruffleStackTraceElement>","doc":"a list of TruffleStackTraceElement, or null when no asynchronous stack is available."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.translateStackTraceElement(TruffleStackTraceElement)","href":"com/oracle/truffle/api/nodes/RootNode.html#translateStackTraceElement(com.oracle.truffle.api.TruffleStackTraceElement)","name":"translateStackTraceElement","kind":"method","signature":"protected Object translateStackTraceElement(TruffleStackTraceElement element)","summary":"Translates the TruffleStackTraceElement into an interop object supporting the hasExecutableName and potentially hasDeclaringMetaObject and hasSourceLocation messages.","detailsOmitted":true,"params":[{"name":"element","type":"TruffleStackTraceElement"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.prepareForAOT()","href":"com/oracle/truffle/api/nodes/RootNode.html#prepareForAOT()","name":"prepareForAOT","kind":"method","signature":"protected ExecutionSignature prepareForAOT()","summary":"Allows languages to perform actions before a root node is attempted to be compiled without prior call to execute(VirtualFrame).","detailsOmitted":true,"returns":{"type":"ExecutionSignature"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.createConstantNode(Object)","href":"com/oracle/truffle/api/nodes/RootNode.html#createConstantNode(java.lang.Object)","name":"createConstantNode","kind":"method","signature":"public static RootNode createConstantNode(Object constant)","summary":"Helper method to create a root node that always returns the same value.","details":"Certain operations (especially inter-operability API) require return of stable root nodes. To simplify creation of such nodes, here is a factory method that can create RootNode that returns always the same value.","params":[{"name":"constant","type":"Object","doc":"the constant to return"}],"returns":{"type":"RootNode","doc":"root node returning the constant"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.getParentFrameDescriptor()","href":"com/oracle/truffle/api/nodes/RootNode.html#getParentFrameDescriptor()","name":"getParentFrameDescriptor","kind":"method","signature":"protected FrameDescriptor getParentFrameDescriptor()","summary":"If this root node has a lexical scope parent, this method returns its frame descriptor.","detailsOmitted":true,"returns":{"type":"FrameDescriptor","doc":"The frame descriptor of the lexical parent scope if it exists. null otherwise."}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.isSameFrame(Frame, Frame)","href":"com/oracle/truffle/api/nodes/RootNode.html#isSameFrame(com.oracle.truffle.api.frame.Frame,com.oracle.truffle.api.frame.Frame)","name":"isSameFrame","kind":"method","signature":"protected boolean isSameFrame(Frame frame1, Frame frame2)","summary":"Tests if two frames are the same.","details":"This method is mainly used by instruments in case of yield of the execution and later resume. Frame comparison is used to match the particular yielded and resumed execution. The default implementation compares the frames identity.","params":[{"name":"frame1","type":"Frame"},{"name":"frame2","type":"Frame"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.computeSize()","href":"com/oracle/truffle/api/nodes/RootNode.html#computeSize()","name":"computeSize","kind":"method","signature":"protected int computeSize()","summary":"Computes a size estimate of this root node.","details":"This is intended to be overwritten if the size of the root node cannot be estimated from the natural AST size. For example, in case the root node is represented by a bytecode interpreter. If -1 is returned, the regular AST size estimate is going to be used. By default this method returns -1. The size estimate is guaranteed to be invoked only once when the CallTarget is created by getCallTarget() or initializeCallTarget(). This method will never be invoked after the root node was already executed.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.nodes.RootNode.call(Node, int, Object[])","href":"com/oracle/truffle/api/nodes/RootNode.html#call(com.oracle.truffle.api.nodes.Node,int,java.lang.Object[])","name":"call","kind":"method","signature":"public final Object call(Node location, int bytecodeIndex, Object[] arguments)","summary":"Calls this root node with an explicit call location, bytecode index, and arguments.","details":"Unlike a generic CallTarget call, a call specialized to a concrete RootNode class exposes its execute implementation to the host compiler. This may allow the host compiler to inline further across the call boundary, including into execute. Callers that do not have an explicit bytecode index should pass -1. The call target must already be initialized using initializeCallTarget() or getCallTarget(). This method does not initialize the call target.","params":[{"name":"location","type":"Node","doc":"a Node that identifies the location of this call. The location may be null if no location is available."},{"name":"bytecodeIndex","type":"int","doc":"the bytecode index associated with this call, or -1 if no explicit bytecode index is available."},{"name":"arguments","type":"Object[]","doc":"the arguments passed to the call, as an object array."}],"returns":{"type":"Object","doc":"the result of the call."},"throws":[{"type":"IllegalStateException","doc":"if the call target has not been initialized"}]}
{"symbol":"com.oracle.truffle.api.nodes.SlowPathException","href":"com/oracle/truffle/api/nodes/SlowPathException.html","name":"SlowPathException","kind":"class","signature":"public class SlowPathException extends Exception","summary":"An exception thrown to enter a slow path.","details":"The Truffle optimizer has special knowledge of this exception class and will never compile a catch block that catches this exception type."}
{"symbol":"com.oracle.truffle.api.nodes.SlowPathException()","href":"com/oracle/truffle/api/nodes/SlowPathException.html#%3Cinit%3E()","name":"SlowPathException","kind":"constructor","signature":"public SlowPathException()","summary":"Creates an exception thrown to enter a slow path."}
{"symbol":"com.oracle.truffle.api.nodes.SlowPathException(String, Throwable)","href":"com/oracle/truffle/api/nodes/SlowPathException.html#%3Cinit%3E(java.lang.String,java.lang.Throwable)","name":"SlowPathException","kind":"constructor","signature":"public SlowPathException(String message, Throwable cause)","summary":"Creates an exception thrown to enter a slow path.","params":[{"name":"message","type":"String"},{"name":"cause","type":"Throwable"}]}
{"symbol":"com.oracle.truffle.api.nodes.SlowPathException(String)","href":"com/oracle/truffle/api/nodes/SlowPathException.html#%3Cinit%3E(java.lang.String)","name":"SlowPathException","kind":"constructor","signature":"public SlowPathException(String message)","summary":"Creates an exception thrown to enter a slow path.","params":[{"name":"message","type":"String"}]}
{"symbol":"com.oracle.truffle.api.nodes.SlowPathException(Throwable)","href":"com/oracle/truffle/api/nodes/SlowPathException.html#%3Cinit%3E(java.lang.Throwable)","name":"SlowPathException","kind":"constructor","signature":"public SlowPathException(Throwable cause)","summary":"Creates an exception thrown to enter a slow path.","params":[{"name":"cause","type":"Throwable"}]}
{"symbol":"com.oracle.truffle.api.nodes.SlowPathException.fillInStackTrace()","href":"com/oracle/truffle/api/nodes/SlowPathException.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public final Throwable fillInStackTrace()","summary":"For performance reasons, this exception does not record any stack trace information.","deprecated":{"since":"19.0","doc":"the method will become final in future releases."},"returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.nodes.UnadoptableNode","href":"com/oracle/truffle/api/nodes/UnadoptableNode.html","name":"UnadoptableNode","kind":"interface","signature":"public interface UnadoptableNode","summary":"Marks a node unadoptable, this means that the parent pointer will never be written by the Truffle framework.","details":"If nodes need to be statically shared then they must not be adoptable, because otherwise the parent reference might cause a memory leak. If a node is not adoptable then then it is guaranteed that the parent pointer remains null at all times, even if the node is tried to be adopted by a parent. Node that unadoptable nodes should usually also be annotated with DenyReplace."}
{"symbol":"com.oracle.truffle.api.nodes.UnexpectedResultException","href":"com/oracle/truffle/api/nodes/UnexpectedResultException.html","name":"UnexpectedResultException","kind":"class","signature":"public final class UnexpectedResultException extends SlowPathException","summary":"An exception that should be thrown if the return value cannot be represented as a value of the return type.","details":"The Truffle optimizer has special knowledge of this exception class and will never compile a catch block that catches this exception type."}
{"symbol":"com.oracle.truffle.api.nodes.UnexpectedResultException(Object)","href":"com/oracle/truffle/api/nodes/UnexpectedResultException.html#%3Cinit%3E(java.lang.Object)","name":"UnexpectedResultException","kind":"constructor","signature":"public UnexpectedResultException(Object result)","summary":"Creates the exception with the alternative result that cannot be represented as a value of the return type.","params":[{"name":"result","type":"Object","doc":"the alternative result"}]}
{"symbol":"com.oracle.truffle.api.nodes.UnexpectedResultException.getResult()","href":"com/oracle/truffle/api/nodes/UnexpectedResultException.html#getResult()","name":"getResult","kind":"method","signature":"public Object getResult()","returns":{"type":"Object","doc":"the unexpected result"}}
{"symbol":"com.oracle.truffle.api.object.DoubleLocation","href":"com/oracle/truffle/api/object/DoubleLocation.html","name":"DoubleLocation","kind":"interface","signature":"public interface DoubleLocation","summary":"Double-typed storage location.","deprecated":{"since":"22.2"}}
{"symbol":"com.oracle.truffle.api.object.DoubleLocation.getDouble(DynamicObject, boolean)","href":"com/oracle/truffle/api/object/DoubleLocation.html#getDouble(com.oracle.truffle.api.object.DynamicObject,boolean)","name":"getDouble","kind":"method","signature":"double getDouble(DynamicObject store, boolean condition)","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject"},{"name":"condition","type":"boolean"}],"returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.object.DoubleLocation.setDouble(DynamicObject, double, Shape)","href":"com/oracle/truffle/api/object/DoubleLocation.html#setDouble(com.oracle.truffle.api.object.DynamicObject,double,com.oracle.truffle.api.object.Shape)","name":"setDouble","kind":"method","signature":"void setDouble(DynamicObject store, double value, Shape shape) throws FinalLocationException","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject"},{"name":"value","type":"double"},{"name":"shape","type":"Shape"}],"throws":[{"type":"FinalLocationException"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject","href":"com/oracle/truffle/api/object/DynamicObject.html","name":"DynamicObject","kind":"class","signature":"public abstract class DynamicObject implements TruffleObject","summary":"Represents a dynamic object, members of which can be dynamically added and removed at run time.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.object.DynamicObject(Shape)","href":"com/oracle/truffle/api/object/DynamicObject.html#%3Cinit%3E(com.oracle.truffle.api.object.Shape)","name":"DynamicObject","kind":"constructor","signature":"protected DynamicObject(Shape shape)","summary":"Constructor for DynamicObject subclasses.","detailsOmitted":true,"params":[{"name":"shape","type":"Shape","doc":"the initial shape of this object"}],"throws":[{"type":"IllegalArgumentException","doc":"if called with an illegal (incompatible) shape"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.getShape()","href":"com/oracle/truffle/api/object/DynamicObject.html#getShape()","name":"getShape","kind":"method","signature":"public final Shape getShape()","summary":"Get the object's current shape.","returns":{"type":"Shape"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.clone()","href":"com/oracle/truffle/api/object/DynamicObject.html#clone()","name":"clone","kind":"method","signature":"protected Object clone() throws CloneNotSupportedException","summary":"The 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.","details":"Subclasses may however override this method and create a copy of this object by constructing a new object and copying any properties over manually.","returns":{"type":"Object"},"throws":[{"type":"CloneNotSupportedException"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ContainsKeyNode","href":"com/oracle/truffle/api/object/DynamicObject.ContainsKeyNode.html","name":"DynamicObject.ContainsKeyNode","kind":"class","signature":"public abstract static class DynamicObject.ContainsKeyNode extends Node","summary":"Checks if this object contains a property with the given key."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ContainsKeyNode.execute(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObject.ContainsKeyNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver, Object key)","summary":"Returns true if this object contains a property with the given key.","details":"Usage example: @ExportMessage(name = \"isMemberReadable\") @ExportMessage(name = \"isMemberRemovable\") boolean isMemberReadable(String member, @Cached @Shared DynamicObject.ContainsKeyNode containsKeyNode) { return containsKeyNode.execute(this, member); } Member name equality check omitted for brevity.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."}],"returns":{"type":"boolean","doc":"true if the object contains a property with this key, else false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ContainsKeyNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.ContainsKeyNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.ContainsKeyNode create()","returns":{"type":"DynamicObject.ContainsKeyNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ContainsKeyNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.ContainsKeyNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.ContainsKeyNode getUncached()","returns":{"type":"DynamicObject.ContainsKeyNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.CopyPropertiesNode","href":"com/oracle/truffle/api/object/DynamicObject.CopyPropertiesNode.html","name":"DynamicObject.CopyPropertiesNode","kind":"class","signature":"public abstract static class DynamicObject.CopyPropertiesNode extends Node","summary":"Copies all properties of a DynamicObject to another, preserving property flags.","details":"Does not copy hidden properties."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.CopyPropertiesNode.execute(DynamicObject, DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.CopyPropertiesNode.html#execute(com.oracle.truffle.api.object.DynamicObject,com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract void execute(DynamicObject from, DynamicObject to)","summary":"Copies all properties of a DynamicObject to another, preserving property flags.","details":"Does not copy hidden properties.","params":[{"name":"from","type":"DynamicObject"},{"name":"to","type":"DynamicObject"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.CopyPropertiesNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.CopyPropertiesNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.CopyPropertiesNode create()","returns":{"type":"DynamicObject.CopyPropertiesNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.CopyPropertiesNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.CopyPropertiesNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.CopyPropertiesNode getUncached()","returns":{"type":"DynamicObject.CopyPropertiesNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.DynamicField","href":"com/oracle/truffle/api/object/DynamicObject.DynamicField.html","name":"DynamicObject.DynamicField","kind":"annotation","signature":"protected @interface DynamicObject.DynamicField","summary":"Using this annotation, subclasses can define additional dynamic fields to be used by the object layout.","details":"Annotated field must be of type Object or long, must not be final, and must not have any direct usages."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetDynamicTypeNode","href":"com/oracle/truffle/api/object/DynamicObject.GetDynamicTypeNode.html","name":"DynamicObject.GetDynamicTypeNode","kind":"class","signature":"public abstract static class DynamicObject.GetDynamicTypeNode extends Node","summary":"Gets the language-specific dynamic type identifier currently associated with this object."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetDynamicTypeNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.GetDynamicTypeNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract Object execute(DynamicObject receiver)","summary":"Gets the dynamic type identifier currently associated with this object.","details":"What this type represents is completely up to the language. For example, it could be a guest-language class.","params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"Object","doc":"the object type"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetDynamicTypeNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetDynamicTypeNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetDynamicTypeNode create()","returns":{"type":"DynamicObject.GetDynamicTypeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetDynamicTypeNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetDynamicTypeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetDynamicTypeNode getUncached()","returns":{"type":"DynamicObject.GetDynamicTypeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetKeyArrayNode","href":"com/oracle/truffle/api/object/DynamicObject.GetKeyArrayNode.html","name":"DynamicObject.GetKeyArrayNode","kind":"class","signature":"public abstract static class DynamicObject.GetKeyArrayNode extends Node","summary":"Gets a snapshot of the object's property keys, in insertion order."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetKeyArrayNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.GetKeyArrayNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract Object[] execute(DynamicObject receiver)","summary":"Gets a snapshot of the object's property keys, in insertion order.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"Object[]","doc":"a read-only array of the object's property keys. Do not modify."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetKeyArrayNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetKeyArrayNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetKeyArrayNode create()","returns":{"type":"DynamicObject.GetKeyArrayNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetKeyArrayNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetKeyArrayNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetKeyArrayNode getUncached()","returns":{"type":"DynamicObject.GetKeyArrayNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html","name":"DynamicObject.GetNode","kind":"class","signature":"public abstract static class DynamicObject.GetNode extends Node","summary":"Gets the value of a property or returns a default value if no such property exists.","details":"Specialized return type variants are available for when a primitive result is expected."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode.execute(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"execute","kind":"method","signature":"public abstract Object execute(DynamicObject receiver, Object key, Object defaultValue)","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"defaultValue","type":"Object","doc":"value to be returned if the property does not exist"}],"returns":{"type":"Object","doc":"the property's value if it exists, else defaultValue."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode.executeInt(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html#executeInt(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeInt","kind":"method","signature":"public abstract int executeInt(DynamicObject receiver, Object key, Object defaultValue) throws UnexpectedResultException","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"defaultValue","type":"Object","doc":"the value to be returned if the property does not exist"}],"returns":{"type":"int","doc":"the property's value if it exists, else defaultValue."},"throws":[{"type":"UnexpectedResultException","doc":"if the value (or default value if the property is missing) is not an int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode.executeLong(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html#executeLong(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeLong","kind":"method","signature":"public abstract long executeLong(DynamicObject receiver, Object key, Object defaultValue) throws UnexpectedResultException","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"defaultValue","type":"Object","doc":"the value to be returned if the property does not exist"}],"returns":{"type":"long","doc":"the property's value if it exists, else defaultValue."},"throws":[{"type":"UnexpectedResultException","doc":"if the value (or default value if the property is missing) is not an long"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode.executeDouble(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html#executeDouble(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeDouble","kind":"method","signature":"public abstract double executeDouble(DynamicObject receiver, Object key, Object defaultValue) throws UnexpectedResultException","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"defaultValue","type":"Object","doc":"the value to be returned if the property does not exist"}],"returns":{"type":"double","doc":"the property's value if it exists, else defaultValue."},"throws":[{"type":"UnexpectedResultException","doc":"if the value (or default value if the property is missing) is not an double"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetNode create()","returns":{"type":"DynamicObject.GetNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetNode getUncached()","returns":{"type":"DynamicObject.GetNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyArrayNode","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyArrayNode.html","name":"DynamicObject.GetPropertyArrayNode","kind":"class","signature":"public abstract static class DynamicObject.GetPropertyArrayNode extends Node","summary":"Gets a snapshot of the object's properties, in insertion order."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyArrayNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyArrayNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract Property[] execute(DynamicObject receiver)","summary":"Gets an array snapshot of the object's properties, in insertion order.","details":"The returned array may have been cached and must not be mutated. Properties with a HiddenKey are not included. Similar to GetKeyArrayNode but allows the properties' flags to be queried simultaneously which may be relevant for quick filtering.","params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"Property[]","doc":"a read-only array of the object's properties. Do not modify."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyArrayNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyArrayNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetPropertyArrayNode create()","returns":{"type":"DynamicObject.GetPropertyArrayNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyArrayNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyArrayNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetPropertyArrayNode getUncached()","returns":{"type":"DynamicObject.GetPropertyArrayNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyFlagsNode.html","name":"DynamicObject.GetPropertyFlagsNode","kind":"class","signature":"public abstract static class DynamicObject.GetPropertyFlagsNode extends Node","summary":"Gets the property flags associated with the requested property key."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode.execute(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyFlagsNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"execute","kind":"method","signature":"public abstract int execute(DynamicObject receiver, Object key, int defaultValue)","summary":"Gets the property flags associated with the requested property key.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"defaultValue","type":"int","doc":"value to return if no such property exists"}],"returns":{"type":"int","doc":"the property flags if the property exists, else defaultValue"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyFlagsNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetPropertyFlagsNode create()","returns":{"type":"DynamicObject.GetPropertyFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyFlagsNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetPropertyFlagsNode getUncached()","returns":{"type":"DynamicObject.GetPropertyFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyNode","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyNode.html","name":"DynamicObject.GetPropertyNode","kind":"class","signature":"public abstract static class DynamicObject.GetPropertyNode extends Node","summary":"Gets a property descriptor for the requested property key or null if no such property exists."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyNode.execute(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"execute","kind":"method","signature":"public abstract Property execute(DynamicObject receiver, Object key)","summary":"Gets a property descriptor for the requested property key.","details":"Returns null if the object contains no such property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"}],"returns":{"type":"Property","doc":"Property if the property exists, else null"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetPropertyNode create()","returns":{"type":"DynamicObject.GetPropertyNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetPropertyNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetPropertyNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetPropertyNode getUncached()","returns":{"type":"DynamicObject.GetPropertyNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetShapeFlagsNode","href":"com/oracle/truffle/api/object/DynamicObject.GetShapeFlagsNode.html","name":"DynamicObject.GetShapeFlagsNode","kind":"class","signature":"public abstract static class DynamicObject.GetShapeFlagsNode extends Node","summary":"Gets the language-specific object shape flags."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetShapeFlagsNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.GetShapeFlagsNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract int execute(DynamicObject receiver)","summary":"Gets the language-specific object shape flags previously set using SetShapeFlagsNode or Shape.Builder.shapeFlags(int).","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"int","doc":"shape flags"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetShapeFlagsNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.GetShapeFlagsNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.GetShapeFlagsNode create()","returns":{"type":"DynamicObject.GetShapeFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.GetShapeFlagsNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.GetShapeFlagsNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.GetShapeFlagsNode getUncached()","returns":{"type":"DynamicObject.GetShapeFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.IsSharedNode","href":"com/oracle/truffle/api/object/DynamicObject.IsSharedNode.html","name":"DynamicObject.IsSharedNode","kind":"class","signature":"public abstract static class DynamicObject.IsSharedNode extends Node","summary":"Checks whether this object is marked as shared."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.IsSharedNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.IsSharedNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver)","summary":"Checks whether this object is marked as shared.","params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"boolean","doc":"true if the object is shared"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.IsSharedNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.IsSharedNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.IsSharedNode create()","returns":{"type":"DynamicObject.IsSharedNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.IsSharedNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.IsSharedNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.IsSharedNode getUncached()","returns":{"type":"DynamicObject.IsSharedNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.MarkSharedNode","href":"com/oracle/truffle/api/object/DynamicObject.MarkSharedNode.html","name":"DynamicObject.MarkSharedNode","kind":"class","signature":"public abstract static class DynamicObject.MarkSharedNode extends Node","summary":"Marks this object as shared."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.MarkSharedNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.MarkSharedNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver)","summary":"Marks this object as shared.","details":"Makes the object use a shared variant of the Shape, to allow safe usage of this object between threads. Objects with a shared Shape will not reuse storage locations for other fields. In combination with careful synchronization on writes, this can prevent reading out-of-thin-air values.","params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if the object is already shared."}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.MarkSharedNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.MarkSharedNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.MarkSharedNode create()","returns":{"type":"DynamicObject.MarkSharedNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.MarkSharedNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.MarkSharedNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.MarkSharedNode getUncached()","returns":{"type":"DynamicObject.MarkSharedNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html","name":"DynamicObject.PutAllNode","kind":"class","signature":"public abstract static class DynamicObject.PutAllNode extends Node","summary":"Adds or sets multiple properties in bulk.","details":"Behaves like PutNode, but is usually more efficient for cases like object initialization where more than a few properties are added at once. Cached nodes may retain the supplied keys array. Its elements must not be modified after being passed to a cached node, including between executions. Use a new array for different keys. Values and property flags arrays are not retained and may be modified between executions. No input array may be modified during execution."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode()","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#%3Cinit%3E()","name":"PutAllNode","kind":"constructor","signature":"public PutAllNode()","summary":"Creates a new PutAllNode instance."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.execute(DynamicObject, Object[], Object[])","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],java.lang.Object[])","name":"execute","kind":"method","signature":"public final void execute(DynamicObject receiver, Object[] keys, Object[] values)","summary":"Adds multiple properties or sets the values of multiple existing properties at once.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]","doc":"the property keys, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"values","type":"Object[]","doc":"the values to be set; needs to be the same length as keys"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.executeIfPresent(DynamicObject, Object[], Object[])","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#executeIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],java.lang.Object[])","name":"executeIfPresent","kind":"method","signature":"public final void executeIfPresent(DynamicObject receiver, Object[] keys, Object[] values)","summary":"Like execute(DynamicObject, Object[], Object[]) but only sets properties that are already present.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"values","type":"Object[]"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.executeIfAbsent(DynamicObject, Object[], Object[])","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#executeIfAbsent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],java.lang.Object[])","name":"executeIfAbsent","kind":"method","signature":"public final void executeIfAbsent(DynamicObject receiver, Object[] keys, Object[] values)","summary":"Like execute(DynamicObject, Object[], Object[]) but only adds properties that are absent.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"values","type":"Object[]"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.executeWithFlags(DynamicObject, Object[], Object[], int[])","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#executeWithFlags(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],java.lang.Object[],int[])","name":"executeWithFlags","kind":"method","signature":"public final void executeWithFlags(DynamicObject receiver, Object[] keys, Object[] values, int[] propertyFlags)","summary":"Like execute(DynamicObject, Object[], Object[]) but additionally sets property flags.","details":"If a property already exists, its flags will be updated before the value is set.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]","doc":"the property keys, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"values","type":"Object[]","doc":"the values to be set; needs to be the same length as keys"},{"name":"propertyFlags","type":"int[]","doc":"the property flags to be set; needs to be the same length as keys"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.executeWithFlagsIfPresent(DynamicObject, Object[], Object[], int[])","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#executeWithFlagsIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],java.lang.Object[],int[])","name":"executeWithFlagsIfPresent","kind":"method","signature":"public final void executeWithFlagsIfPresent(DynamicObject receiver, Object[] keys, Object[] values, int[] propertyFlags)","summary":"Like executeIfPresent(DynamicObject, Object[], Object[]) but also sets property flags when a property is present.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"values","type":"Object[]"},{"name":"propertyFlags","type":"int[]"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.executeWithFlagsIfAbsent(DynamicObject, Object[], Object[], int[])","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#executeWithFlagsIfAbsent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],java.lang.Object[],int[])","name":"executeWithFlagsIfAbsent","kind":"method","signature":"public final void executeWithFlagsIfAbsent(DynamicObject receiver, Object[] keys, Object[] values, int[] propertyFlags)","summary":"Like executeIfAbsent(DynamicObject, Object[], Object[]) but also sets property flags when adding a property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"values","type":"Object[]"},{"name":"propertyFlags","type":"int[]"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.PutAllNode getUncached()","returns":{"type":"DynamicObject.PutAllNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutAllNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.PutAllNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.PutAllNode create()","returns":{"type":"DynamicObject.PutAllNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html","name":"DynamicObject.PutConstantNode","kind":"class","signature":"public abstract static class DynamicObject.PutConstantNode extends Node","summary":"Sets the value of an existing property or adds a new property if no such property exists.","details":"Additional variants allow setting property flags, only setting the property if it's either absent or present, and setting constant properties stored in the shape."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.execute(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"execute","kind":"method","signature":"public final void execute(DynamicObject receiver, Object key, Object value)","summary":"Same as executeWithFlags, except the property is added with 0 flags, and if the property already exists, its flags will not be updated.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.executeIfPresent(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#executeIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeIfPresent","kind":"method","signature":"public final boolean executeIfPresent(DynamicObject receiver, Object key, Object value)","summary":"Like execute(DynamicObject, Object, Object) but only if the property is present.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.executeIfAbsent(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#executeIfAbsent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeIfAbsent","kind":"method","signature":"public final boolean executeIfAbsent(DynamicObject receiver, Object key, Object value)","summary":"Like execute(DynamicObject, Object, Object) but only if the property is absent.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.executeWithFlags(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#executeWithFlags(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"executeWithFlags","kind":"method","signature":"public final void executeWithFlags(DynamicObject receiver, Object key, Object value, int propertyFlags)","summary":"Adds a property with a constant value or replaces an existing one.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"the constant value to be set"},{"name":"propertyFlags","type":"int","doc":"property flags or 0"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.executeWithFlagsIfPresent(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#executeWithFlagsIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"executeWithFlagsIfPresent","kind":"method","signature":"public final boolean executeWithFlagsIfPresent(DynamicObject receiver, Object key, Object value, int propertyFlags)","summary":"Like executeWithFlags(DynamicObject, Object, Object, int) but only if the property is present.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"},{"name":"propertyFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.executeWithFlagsIfAbsent(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#executeWithFlagsIfAbsent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"executeWithFlagsIfAbsent","kind":"method","signature":"public final boolean executeWithFlagsIfAbsent(DynamicObject receiver, Object key, Object value, int propertyFlags)","summary":"Like executeWithFlags(DynamicObject, Object, Object, int) but only if the property is absent.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"},{"name":"propertyFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.PutConstantNode create()","returns":{"type":"DynamicObject.PutConstantNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutConstantNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.PutConstantNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.PutConstantNode getUncached()","returns":{"type":"DynamicObject.PutConstantNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html","name":"DynamicObject.PutNode","kind":"class","signature":"public abstract static class DynamicObject.PutNode extends Node","summary":"Sets the value of an existing property or adds a new property if no such property exists.","details":"Additional variants allow setting property flags, only setting the property if it's either absent or present, and setting constant properties stored in the shape."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.execute(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"execute","kind":"method","signature":"public final void execute(DynamicObject receiver, Object key, Object value)","summary":"Sets the value of an existing property or adds a new property if no such property exists.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"value","type":"Object","doc":"the value to be set"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.executeIfPresent(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#executeIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeIfPresent","kind":"method","signature":"public final boolean executeIfPresent(DynamicObject receiver, Object key, Object value)","summary":"Sets the value of the property if present, otherwise returns false.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"value to be set"}],"returns":{"type":"boolean","doc":"true if the property was present and the value set, otherwise false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.executeIfAbsent(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#executeIfAbsent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"executeIfAbsent","kind":"method","signature":"public final boolean executeIfAbsent(DynamicObject receiver, Object key, Object value)","summary":"Sets the value of the property if absent, otherwise returns false.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"value to be set"}],"returns":{"type":"boolean","doc":"true if the property was absent and the value set, otherwise false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.executeWithFlags(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#executeWithFlags(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"executeWithFlags","kind":"method","signature":"public final void executeWithFlags(DynamicObject receiver, Object key, Object value, int propertyFlags)","summary":"Like execute(DynamicObject, Object, Object), but additionally assigns flags to the property.","details":"If the property already exists, its flags will be updated before the value is set.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"value to be set"},{"name":"propertyFlags","type":"int","doc":"flags to be set"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.executeWithFlagsIfPresent(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#executeWithFlagsIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"executeWithFlagsIfPresent","kind":"method","signature":"public final boolean executeWithFlagsIfPresent(DynamicObject receiver, Object key, Object value, int propertyFlags)","summary":"Like executeIfPresent(DynamicObject, Object, Object) but also sets property flags.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"},{"name":"propertyFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.executeWithFlagsIfAbsent(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#executeWithFlagsIfAbsent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"executeWithFlagsIfAbsent","kind":"method","signature":"public final boolean executeWithFlagsIfAbsent(DynamicObject receiver, Object key, Object value, int propertyFlags)","summary":"Like executeIfAbsent(DynamicObject, Object, Object) but also sets property flags.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"Object"},{"name":"propertyFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.PutNode create()","returns":{"type":"DynamicObject.PutNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.PutNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.PutNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.PutNode getUncached()","returns":{"type":"DynamicObject.PutNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.RemoveKeyNode","href":"com/oracle/truffle/api/object/DynamicObject.RemoveKeyNode.html","name":"DynamicObject.RemoveKeyNode","kind":"class","signature":"public abstract static class DynamicObject.RemoveKeyNode extends Node","summary":"Removes the property with the given key from the object."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.RemoveKeyNode.execute(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObject.RemoveKeyNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver, Object key)","summary":"Removes the property with the given key from the object.","details":"Usage example: @ExportMessage void removeMember(String member, @Cached @Shared DynamicObject.GetShapeFlagsNode getShapeFlagsNode, @Cached DynamicObject.RemoveKeyNode removeKeyNode) throws UnknownIdentifierException, UnsupportedMessageException { if ((getShapeFlagsNode.execute(this) & FROZEN) == FROZEN) { throw UnsupportedMessageException.create(); } if (!removeKeyNode.execute(this, member)) { throw UnknownIdentifierException.create(member); } } Member name equality check omitted for brevity.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."}],"returns":{"type":"boolean","doc":"true if the property was removed or false if property was not found"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.RemoveKeyNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.RemoveKeyNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.RemoveKeyNode create()","returns":{"type":"DynamicObject.RemoveKeyNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.RemoveKeyNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.RemoveKeyNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.RemoveKeyNode getUncached()","returns":{"type":"DynamicObject.RemoveKeyNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ResetShapeNode","href":"com/oracle/truffle/api/object/DynamicObject.ResetShapeNode.html","name":"DynamicObject.ResetShapeNode","kind":"class","signature":"public abstract static class DynamicObject.ResetShapeNode extends Node","summary":"Empties and resets the object to the given root shape."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ResetShapeNode.execute(DynamicObject, Shape)","href":"com/oracle/truffle/api/object/DynamicObject.ResetShapeNode.html#execute(com.oracle.truffle.api.object.DynamicObject,com.oracle.truffle.api.object.Shape)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver, Shape newShape)","summary":"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).","params":[{"name":"receiver","type":"DynamicObject"},{"name":"newShape","type":"Shape","doc":"the desired shape"}],"returns":{"type":"boolean","doc":"true if the object's shape was changed"},"throws":[{"type":"IllegalArgumentException","doc":"if the shape contains instance properties"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ResetShapeNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.ResetShapeNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.ResetShapeNode create()","returns":{"type":"DynamicObject.ResetShapeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.ResetShapeNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.ResetShapeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.ResetShapeNode getUncached()","returns":{"type":"DynamicObject.ResetShapeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html","name":"DynamicObject.SetAllPropertyFlagsNode","kind":"class","signature":"public abstract static class DynamicObject.SetAllPropertyFlagsNode extends Node","summary":"Sets or updates the flags of multiple existing properties.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.execute(DynamicObject, Object[], int)","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],int)","name":"execute","kind":"method","signature":"public final void execute(DynamicObject receiver, Object[] keys, int flags)","summary":"Sets the flags of every supplied, existing key to flags.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"flags","type":"int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.execute(DynamicObject, Object[], int[])","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],int[])","name":"execute","kind":"method","signature":"public final void execute(DynamicObject receiver, Object[] keys, int[] flags)","summary":"Sets each supplied, existing key's flags to the corresponding array element.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"flags","type":"int[]"}],"throws":[{"type":"IllegalArgumentException","doc":"if the keys and flags array lengths differ"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.executeAdd(DynamicObject, Object[], int)","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#executeAdd(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],int)","name":"executeAdd","kind":"method","signature":"public final void executeAdd(DynamicObject receiver, Object[] keys, int addedFlags)","summary":"Adds the given flags to each supplied, existing property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"addedFlags","type":"int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.executeRemove(DynamicObject, Object[], int)","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#executeRemove(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],int)","name":"executeRemove","kind":"method","signature":"public final void executeRemove(DynamicObject receiver, Object[] keys, int removedFlags)","summary":"Removes the given flags from each supplied, existing property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"removedFlags","type":"int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.executeRemoveAndAdd(DynamicObject, Object[], int, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#executeRemoveAndAdd(com.oracle.truffle.api.object.DynamicObject,java.lang.Object[],int,int)","name":"executeRemoveAndAdd","kind":"method","signature":"public final void executeRemoveAndAdd(DynamicObject receiver, Object[] keys, int removedFlags, int addedFlags)","summary":"Removes, then adds flags to each supplied, existing property.","details":"Addition wins when masks overlap.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"keys","type":"Object[]"},{"name":"removedFlags","type":"int"},{"name":"addedFlags","type":"int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.SetAllPropertyFlagsNode create()","returns":{"type":"DynamicObject.SetAllPropertyFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetAllPropertyFlagsNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.SetAllPropertyFlagsNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.SetAllPropertyFlagsNode getUncached()","returns":{"type":"DynamicObject.SetAllPropertyFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetDynamicTypeNode","href":"com/oracle/truffle/api/object/DynamicObject.SetDynamicTypeNode.html","name":"DynamicObject.SetDynamicTypeNode","kind":"class","signature":"public abstract static class DynamicObject.SetDynamicTypeNode extends Node","summary":"Sets the language-specific dynamic type identifier."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetDynamicTypeNode.execute(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObject.SetDynamicTypeNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver, Object type)","summary":"Sets the object's dynamic type identifier.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"type","type":"Object","doc":"a non-null type identifier defined by the guest language."}],"returns":{"type":"boolean","doc":"true if the type (and the object's shape) changed"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetDynamicTypeNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.SetDynamicTypeNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.SetDynamicTypeNode create()","returns":{"type":"DynamicObject.SetDynamicTypeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetDynamicTypeNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.SetDynamicTypeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.SetDynamicTypeNode getUncached()","returns":{"type":"DynamicObject.SetDynamicTypeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html","name":"DynamicObject.SetPropertyFlagsNode","kind":"class","signature":"public abstract static class DynamicObject.SetPropertyFlagsNode extends Node","summary":"Sets or updates property flags associated with the requested property key."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode.execute(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html#execute(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"execute","kind":"method","signature":"public final boolean execute(DynamicObject receiver, Object key, int propertyFlags)","summary":"Sets the property flags associated with the requested property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key, compared by identity (==), not equality (equals). See DynamicObject for more information."},{"name":"propertyFlags","type":"int"}],"returns":{"type":"boolean","doc":"true if the property was found and its flags were changed, else false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode.executeAdd(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html#executeAdd(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"executeAdd","kind":"method","signature":"public final boolean executeAdd(DynamicObject receiver, Object key, int addedFlags)","summary":"Adds property flags associated with the requested property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"addedFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode.executeRemove(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html#executeRemove(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"executeRemove","kind":"method","signature":"public final boolean executeRemove(DynamicObject receiver, Object key, int removedFlags)","summary":"Removes (clears) property flags associated with the requested property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"removedFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode.executeRemoveAndAdd(DynamicObject, Object, int, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html#executeRemoveAndAdd(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int,int)","name":"executeRemoveAndAdd","kind":"method","signature":"public final boolean executeRemoveAndAdd(DynamicObject receiver, Object key, int removedFlags, int addedFlags)","summary":"Removes, then adds property flags associated with the requested property.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"removedFlags","type":"int"},{"name":"addedFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.SetPropertyFlagsNode create()","returns":{"type":"DynamicObject.SetPropertyFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetPropertyFlagsNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.SetPropertyFlagsNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.SetPropertyFlagsNode getUncached()","returns":{"type":"DynamicObject.SetPropertyFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html","name":"DynamicObject.SetShapeFlagsNode","kind":"class","signature":"public abstract static class DynamicObject.SetShapeFlagsNode extends Node","summary":"Sets or updates language-specific object shape flags."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode.execute(DynamicObject, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html#execute(com.oracle.truffle.api.object.DynamicObject,int)","name":"execute","kind":"method","signature":"public final boolean execute(DynamicObject receiver, int newFlags)","summary":"Sets language-specific object shape flags, changing the object's shape if need be.","detailsOmitted":true,"params":[{"name":"receiver","type":"DynamicObject"},{"name":"newFlags","type":"int","doc":"the flags to set; must be in the range from 0 to 65535 (inclusive)."}],"returns":{"type":"boolean","doc":"true if the object's shape changed, false if no change was made."},"throws":[{"type":"IllegalArgumentException","doc":"if the flags are not in the allowed range."}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode.executeAdd(DynamicObject, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html#executeAdd(com.oracle.truffle.api.object.DynamicObject,int)","name":"executeAdd","kind":"method","signature":"public final boolean executeAdd(DynamicObject receiver, int addedFlags)","summary":"Adds language-specific object shape flags, changing the object's shape if need be.","details":"Usage example: Implementing a freeze object operation: abstract static class FreezeNode extends Node { static final int FROZEN = 1; abstract void execute(DynamicObject receiver); @Specialization static void freeze(DynamicObject receiver, @Cached DynamicObject.SetShapeFlagsNode setShapeFlagsNode) { setShapeFlagsNode.executeAdd(receiver, FROZEN); } }","params":[{"name":"receiver","type":"DynamicObject"},{"name":"addedFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode.executeRemove(DynamicObject, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html#executeRemove(com.oracle.truffle.api.object.DynamicObject,int)","name":"executeRemove","kind":"method","signature":"public final boolean executeRemove(DynamicObject receiver, int removedFlags)","summary":"Removes language-specific object shape flags, changing the object's shape if need be.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"removedFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode.executeRemoveAndAdd(DynamicObject, int, int)","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html#executeRemoveAndAdd(com.oracle.truffle.api.object.DynamicObject,int,int)","name":"executeRemoveAndAdd","kind":"method","signature":"public final boolean executeRemoveAndAdd(DynamicObject receiver, int removedFlags, int addedFlags)","summary":"Removes, then adds language-specific object shape flags, changing the object's shape if need be.","params":[{"name":"receiver","type":"DynamicObject"},{"name":"removedFlags","type":"int"},{"name":"addedFlags","type":"int"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.SetShapeFlagsNode create()","returns":{"type":"DynamicObject.SetShapeFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.SetShapeFlagsNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.SetShapeFlagsNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.SetShapeFlagsNode getUncached()","returns":{"type":"DynamicObject.SetShapeFlagsNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.UpdateShapeNode","href":"com/oracle/truffle/api/object/DynamicObject.UpdateShapeNode.html","name":"DynamicObject.UpdateShapeNode","kind":"class","signature":"public abstract static class DynamicObject.UpdateShapeNode extends Node","summary":"Ensures the object's shape is up-to-date."}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.UpdateShapeNode.execute(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObject.UpdateShapeNode.html#execute(com.oracle.truffle.api.object.DynamicObject)","name":"execute","kind":"method","signature":"public abstract boolean execute(DynamicObject receiver)","summary":"Ensures the object's shape is up-to-date.","details":"If the object's shape has been marked as invalid, this method will attempt to bring the object into a valid shape again. If the object's shape is already valid, this method will have no effect. This method does not need to be called normally; all the messages in this library will work on invalid shapes as well, but it can be useful in some cases to avoid such shapes being cached which can cause unnecessary cache polymorphism and invalidations.","params":[{"name":"receiver","type":"DynamicObject"}],"returns":{"type":"boolean","doc":"true if the object's shape was changed, otherwise false."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.UpdateShapeNode.create()","href":"com/oracle/truffle/api/object/DynamicObject.UpdateShapeNode.html#create()","name":"create","kind":"method","signature":"public static DynamicObject.UpdateShapeNode create()","returns":{"type":"DynamicObject.UpdateShapeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObject.UpdateShapeNode.getUncached()","href":"com/oracle/truffle/api/object/DynamicObject.UpdateShapeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObject.UpdateShapeNode getUncached()","returns":{"type":"DynamicObject.UpdateShapeNode"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectFactory","href":"com/oracle/truffle/api/object/DynamicObjectFactory.html","name":"DynamicObjectFactory","kind":"class","signature":"public final class DynamicObjectFactory"}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectFactory()","href":"com/oracle/truffle/api/object/DynamicObjectFactory.html#%3Cinit%3E()","name":"DynamicObjectFactory","kind":"constructor","signature":"public DynamicObjectFactory()","summary":"Creates a new DynamicObjectFactory instance."}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html","name":"DynamicObjectLibrary","kind":"class","signature":"public abstract class DynamicObjectLibrary extends Library","summary":"DynamicObject access library.","detailsOmitted":true,"deprecated":{"since":"25.1","doc":"DynamicObjectLibrary has been replaced by more lightweight DynamicObject nodes. Consult the javadoc of the individual messages for the corresponding API replacement, or see DynamicObject for a list of new node-based APIs. DynamicObjectLibrary will be removed in a future release."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getFactory()","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getFactory()","name":"getFactory","kind":"method","signature":"public static LibraryFactory<DynamicObjectLibrary> getFactory()","summary":"Returns the library factory for DynamicObjectLibrary.","returns":{"type":"LibraryFactory<DynamicObjectLibrary>"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getUncached()","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DynamicObjectLibrary getUncached()","summary":"Gets the shared DynamicObjectLibrary instance for uncached accesses.","details":"Equivalent to DynamicObjectLibrary.getFactory().getUncached().","returns":{"type":"DynamicObjectLibrary","doc":"an uncached automatically dispatched version of the library"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getShape(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getShape(com.oracle.truffle.api.object.DynamicObject)","name":"getShape","kind":"method","signature":"public abstract Shape getShape(DynamicObject object)","summary":"Gets the shape of the object.","details":"Returns the cached shape if the library is a cached library instance.","params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"Shape","doc":"the object's current Shape"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getOrDefault(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getOrDefault(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"getOrDefault","kind":"method","signature":"public abstract Object getOrDefault(DynamicObject object, Object key, Object defaultValue)","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","details":"Usage example: @Specialization(limit = \"3\") static Object read(DynamicObject receiver, Object key, @CachedLibrary(\"receiver\") DynamicObjectLibrary objLib) { return objLib.getOrDefault(receiver, key, NULL_VALUE); }","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"defaultValue","type":"Object","doc":"value to be returned if the property does not exist"}],"returns":{"type":"Object","doc":"the property's value if it exists, else defaultValue."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getIntOrDefault(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getIntOrDefault(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"getIntOrDefault","kind":"method","signature":"public int getIntOrDefault(DynamicObject object, Object key, Object defaultValue) throws UnexpectedResultException","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"defaultValue","type":"Object","doc":"the value to be returned if the property does not exist"}],"returns":{"type":"int","doc":"the property's value if it exists, else defaultValue."},"throws":[{"type":"UnexpectedResultException","doc":"if the (default) value is not an int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getDoubleOrDefault(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getDoubleOrDefault(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"getDoubleOrDefault","kind":"method","signature":"public double getDoubleOrDefault(DynamicObject object, Object key, Object defaultValue) throws UnexpectedResultException","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"defaultValue","type":"Object","doc":"the value to be returned if the property does not exist"}],"returns":{"type":"double","doc":"the property's value if it exists, else defaultValue."},"throws":[{"type":"UnexpectedResultException","doc":"if the (default) value is not a double"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getLongOrDefault(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getLongOrDefault(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"getLongOrDefault","kind":"method","signature":"public long getLongOrDefault(DynamicObject object, Object key, Object defaultValue) throws UnexpectedResultException","summary":"Gets the value of an existing property or returns the provided default value if no such property exists.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"defaultValue","type":"Object","doc":"the value to be returned if the property does not exist"}],"returns":{"type":"long","doc":"the property's value if it exists, else defaultValue."},"throws":[{"type":"UnexpectedResultException","doc":"if the (default) value is not a long"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.put(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#put(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"put","kind":"method","signature":"public abstract void put(DynamicObject object, Object key, Object value)","summary":"Sets the value of an existing property or adds a new property if no such property exists.","details":"A newly added property will have flags 0; flags of existing properties will not be changed. Use putWithFlags to set property flags as well. Usage example: @ExportMessage Object writeMember(String member, Object value, @CachedLibrary(\"this\") DynamicObjectLibrary objLib) { objLib.put(this, member, value); }","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"value","type":"Object","doc":"the value to be set"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.putInt(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#putInt(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"putInt","kind":"method","signature":"public void putInt(DynamicObject object, Object key, int value)","summary":"Int-typed variant of put.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.putDouble(DynamicObject, Object, double)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#putDouble(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,double)","name":"putDouble","kind":"method","signature":"public void putDouble(DynamicObject object, Object key, double value)","summary":"Double-typed variant of put.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"double"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.putLong(DynamicObject, Object, long)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#putLong(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,long)","name":"putLong","kind":"method","signature":"public void putLong(DynamicObject object, Object key, long value)","summary":"Long-typed variant of put.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.putIfPresent(DynamicObject, Object, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#putIfPresent(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object)","name":"putIfPresent","kind":"method","signature":"public abstract boolean putIfPresent(DynamicObject object, Object key, Object value)","summary":"Sets the value of the property if present, otherwise returns false.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"value to be set"}],"returns":{"type":"boolean","doc":"true if the property was present and the value set, otherwise false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.putWithFlags(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#putWithFlags(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"putWithFlags","kind":"method","signature":"public abstract void putWithFlags(DynamicObject object, Object key, Object value, int flags)","summary":"Like put, but additionally assigns flags to the property.","details":"If the property already exists, its flags will be updated before the value is set.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"value to be set"},{"name":"flags","type":"int","doc":"flags to be set"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.putConstant(DynamicObject, Object, Object, int)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#putConstant(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,java.lang.Object,int)","name":"putConstant","kind":"method","signature":"public abstract void putConstant(DynamicObject object, Object key, Object value, int flags)","summary":"Adds a property with a constant value or replaces an existing one.","detailsOmitted":true,"params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"property identifier"},{"name":"value","type":"Object","doc":"the constant value to be set"},{"name":"flags","type":"int","doc":"property flags or 0"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.removeKey(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#removeKey(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"removeKey","kind":"method","signature":"public abstract boolean removeKey(DynamicObject object, Object key)","summary":"Removes the property with the given key from the object.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"}],"returns":{"type":"boolean","doc":"true if the property was removed or false if property was not found"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.setDynamicType(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#setDynamicType(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"setDynamicType","kind":"method","signature":"public abstract boolean setDynamicType(DynamicObject object, Object type)","summary":"Sets the object's dynamic type identifier.","detailsOmitted":true,"params":[{"name":"object","type":"DynamicObject"},{"name":"type","type":"Object","doc":"a non-null type identifier defined by the guest language."}],"returns":{"type":"boolean","doc":"true if the type (and the object's shape) changed"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getDynamicType(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getDynamicType(com.oracle.truffle.api.object.DynamicObject)","name":"getDynamicType","kind":"method","signature":"public abstract Object getDynamicType(DynamicObject object)","summary":"Gets the dynamic type identifier currently associated with this object.","details":"What this type represents is completely up to the language. For example, it could be a guest-language class.","params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"Object","doc":"the object type"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.containsKey(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#containsKey(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"containsKey","kind":"method","signature":"public abstract boolean containsKey(DynamicObject object, Object key)","summary":"Returns true if this object contains a property with the given key.","details":"Usage example: @ExportMessage boolean isMemberReadable(String name, @CachedLibrary(\"this\") DynamicObjectLibrary objLib) { return objLib.containsKey(this, name); }","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"}],"returns":{"type":"boolean","doc":"true if the object contains a property with this key, else false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getShapeFlags(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getShapeFlags(com.oracle.truffle.api.object.DynamicObject)","name":"getShapeFlags","kind":"method","signature":"public abstract int getShapeFlags(DynamicObject object)","summary":"Gets the language-specific object shape flags previously set using DynamicObjectLibrary.setShapeFlags(DynamicObject, int) or Shape.Builder.shapeFlags(int).","detailsOmitted":true,"params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"int","doc":"shape flags"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.setShapeFlags(DynamicObject, int)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#setShapeFlags(com.oracle.truffle.api.object.DynamicObject,int)","name":"setShapeFlags","kind":"method","signature":"public abstract boolean setShapeFlags(DynamicObject object, int flags)","summary":"Sets language-specific object shape flags, changing the object's shape if need be.","detailsOmitted":true,"params":[{"name":"object","type":"DynamicObject"},{"name":"flags","type":"int","doc":"the flags to set; must be in the range from 0 to 255 (inclusive)."}],"returns":{"type":"boolean","doc":"true if the object's shape changed, false if no change was made."},"throws":[{"type":"IllegalArgumentException","doc":"if the flags are not in the allowed range."}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getProperty(DynamicObject, Object)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getProperty(com.oracle.truffle.api.object.DynamicObject,java.lang.Object)","name":"getProperty","kind":"method","signature":"public abstract Property getProperty(DynamicObject object, Object key)","summary":"Gets a property descriptor for the requested property key.","details":"Returns null if the object contains no such property.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object"}],"returns":{"type":"Property","doc":"Property if the property exists, else null"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getPropertyFlagsOrDefault(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getPropertyFlagsOrDefault(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"getPropertyFlagsOrDefault","kind":"method","signature":"public final int getPropertyFlagsOrDefault(DynamicObject object, Object key, int defaultValue)","summary":"Gets the property flags associated with the requested property key.","details":"Returns the defaultValue if the object contains no such property. If the property exists but no flags were explicitly set, returns the default of 0. Convenience method equivalent to: Property property = getProperty(object, key); return property != null ? property.getFlags() : defaultValue;","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"defaultValue","type":"int","doc":"value to return if no such property exists"}],"returns":{"type":"int","doc":"the property flags if the property exists, else defaultValue"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.setPropertyFlags(DynamicObject, Object, int)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#setPropertyFlags(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,int)","name":"setPropertyFlags","kind":"method","signature":"public abstract boolean setPropertyFlags(DynamicObject object, Object key, int propertyFlags)","summary":"Sets the property flags associated with the requested property.","params":[{"name":"object","type":"DynamicObject"},{"name":"key","type":"Object","doc":"the property key"},{"name":"propertyFlags","type":"int"}],"returns":{"type":"boolean","doc":"true if the property was found and its flags were changed, else false"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.markShared(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#markShared(com.oracle.truffle.api.object.DynamicObject)","name":"markShared","kind":"method","signature":"public abstract void markShared(DynamicObject object)","summary":"Marks this object as shared.","details":"Makes the object use a shared variant of the Shape, to allow safe usage of this object between threads. Objects with a shared Shape will not reuse storage locations for other fields. In combination with careful synchronization on writes, this can prevent reading out-of-thin-air values.","params":[{"name":"object","type":"DynamicObject"}],"throws":[{"type":"UnsupportedOperationException","doc":"if the object is already shared."}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.isShared(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#isShared(com.oracle.truffle.api.object.DynamicObject)","name":"isShared","kind":"method","signature":"public abstract boolean isShared(DynamicObject object)","summary":"Checks whether this object is marked as shared.","params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"boolean","doc":"true if the object is shared"}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.updateShape(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#updateShape(com.oracle.truffle.api.object.DynamicObject)","name":"updateShape","kind":"method","signature":"public abstract boolean updateShape(DynamicObject object)","summary":"Ensures the object's shape is up-to-date.","details":"If the object's shape has been marked as invalid, this method will attempt to bring the object into a valid shape again. If the object's shape is already valid, this method will have no effect. This method does not need to be called normally; all the messages in this library will work on invalid shapes as well, but it can be useful in some cases to avoid such shapes being cached which can cause unnecessary cache polymorphism and invalidations.","params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"boolean","doc":"true if the object's shape was changed, otherwise false."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.resetShape(DynamicObject, Shape)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#resetShape(com.oracle.truffle.api.object.DynamicObject,com.oracle.truffle.api.object.Shape)","name":"resetShape","kind":"method","signature":"public abstract boolean resetShape(DynamicObject object, Shape otherShape)","summary":"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).","params":[{"name":"object","type":"DynamicObject"},{"name":"otherShape","type":"Shape","doc":"the desired shape"}],"returns":{"type":"boolean","doc":"true if the object's shape was changed"},"throws":[{"type":"IllegalArgumentException","doc":"if the shape contains instance properties"}]}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getKeyArray(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getKeyArray(com.oracle.truffle.api.object.DynamicObject)","name":"getKeyArray","kind":"method","signature":"public abstract Object[] getKeyArray(DynamicObject object)","summary":"Gets a snapshot of the object's property keys, in insertion order.","detailsOmitted":true,"params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"Object[]","doc":"a read-only array of the object's property keys."}}
{"symbol":"com.oracle.truffle.api.object.DynamicObjectLibrary.getPropertyArray(DynamicObject)","href":"com/oracle/truffle/api/object/DynamicObjectLibrary.html#getPropertyArray(com.oracle.truffle.api.object.DynamicObject)","name":"getPropertyArray","kind":"method","signature":"public abstract Property[] getPropertyArray(DynamicObject object)","summary":"Gets an array snapshot of the object's properties, in insertion order.","details":"The returned array may have been cached and must not be mutated. Properties with a HiddenKey are not included. Similar to getKeyArray but allows the properties' flags to be queried simultaneously which may be relevant for quick filtering.","params":[{"name":"object","type":"DynamicObject"}],"returns":{"type":"Property[]","doc":"a read-only array of the object's properties."}}
{"symbol":"com.oracle.truffle.api.object.FinalLocationException","href":"com/oracle/truffle/api/object/FinalLocationException.html","name":"FinalLocationException","kind":"class","signature":"public final class FinalLocationException extends SlowPathException","summary":"This exception is thrown on an attempt to assign a value to a final location.","deprecated":{"since":"22.2"}}
{"symbol":"com.oracle.truffle.api.object.HiddenKey","href":"com/oracle/truffle/api/object/HiddenKey.html","name":"HiddenKey","kind":"class","signature":"public final class HiddenKey implements TruffleObject","summary":"A unique key to be used for private object fields; excluded from enumeration and compared by object identity."}
{"symbol":"com.oracle.truffle.api.object.HiddenKey(String)","href":"com/oracle/truffle/api/object/HiddenKey.html#%3Cinit%3E(java.lang.String)","name":"HiddenKey","kind":"constructor","signature":"public HiddenKey(String name)","params":[{"name":"name","type":"String"}]}
{"symbol":"com.oracle.truffle.api.object.HiddenKey.getName()","href":"com/oracle/truffle/api/object/HiddenKey.html#getName()","name":"getName","kind":"method","signature":"public String getName()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.object.HiddenKey.toString()","href":"com/oracle/truffle/api/object/HiddenKey.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.object.HiddenKey.equals(Object)","href":"com/oracle/truffle/api/object/HiddenKey.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.HiddenKey.hashCode()","href":"com/oracle/truffle/api/object/HiddenKey.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.IncompatibleLocationException","href":"com/oracle/truffle/api/object/IncompatibleLocationException.html","name":"IncompatibleLocationException","kind":"class","signature":"public final class IncompatibleLocationException extends SlowPathException","summary":"This exception is thrown on an attempt to assign an incompatible value to a location.","deprecated":{"since":"22.2"}}
{"symbol":"com.oracle.truffle.api.object.IntLocation","href":"com/oracle/truffle/api/object/IntLocation.html","name":"IntLocation","kind":"interface","signature":"public interface IntLocation","summary":"Int-typed storage location.","deprecated":{"since":"22.2"}}
{"symbol":"com.oracle.truffle.api.object.IntLocation.getInt(DynamicObject, boolean)","href":"com/oracle/truffle/api/object/IntLocation.html#getInt(com.oracle.truffle.api.object.DynamicObject,boolean)","name":"getInt","kind":"method","signature":"int getInt(DynamicObject store, boolean condition)","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject"},{"name":"condition","type":"boolean"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.IntLocation.setInt(DynamicObject, int, Shape)","href":"com/oracle/truffle/api/object/IntLocation.html#setInt(com.oracle.truffle.api.object.DynamicObject,int,com.oracle.truffle.api.object.Shape)","name":"setInt","kind":"method","signature":"void setInt(DynamicObject store, int value, Shape shape) throws FinalLocationException","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject"},{"name":"value","type":"int"},{"name":"shape","type":"Shape"}],"throws":[{"type":"FinalLocationException"}]}
{"symbol":"com.oracle.truffle.api.object.Location","href":"com/oracle/truffle/api/object/Location.html","name":"Location","kind":"class","signature":"public abstract sealed class Location permits ExtLocations.InstanceLocation, ExtLocations.ValueLocation","summary":"Property location.","details":"Planned to be deprecated."}
{"symbol":"com.oracle.truffle.api.object.Location.get(DynamicObject, Shape)","href":"com/oracle/truffle/api/object/Location.html#get(com.oracle.truffle.api.object.DynamicObject,com.oracle.truffle.api.object.Shape)","name":"get","kind":"method","signature":"public final Object get(DynamicObject store, Shape shape)","summary":"Get object value as object at this location in store.","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject"},{"name":"shape","type":"Shape","doc":"the current shape of the object, which must contain this location"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Location.get(DynamicObject, boolean)","href":"com/oracle/truffle/api/object/Location.html#get(com.oracle.truffle.api.object.DynamicObject,boolean)","name":"get","kind":"method","signature":"public Object get(DynamicObject store, boolean condition)","summary":"Get object value as object at this location in store.","details":"For internal use only and subject to change, use get(DynamicObject, Shape) instead.","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject","doc":"storage object"},{"name":"condition","type":"boolean","doc":"the result of a shape check or false"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Location.get(DynamicObject)","href":"com/oracle/truffle/api/object/Location.html#get(com.oracle.truffle.api.object.DynamicObject)","name":"get","kind":"method","signature":"public final Object get(DynamicObject store)","summary":"Get object value as object at this location in store.","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Location.getInt(DynamicObject, boolean)","href":"com/oracle/truffle/api/object/Location.html#getInt(com.oracle.truffle.api.object.DynamicObject,boolean)","name":"getInt","kind":"method","signature":"protected int getInt(DynamicObject store, boolean guard) throws UnexpectedResultException","summary":"Gets this location's value as int.","params":[{"name":"store","type":"DynamicObject","doc":"storage object"},{"name":"guard","type":"boolean","doc":"the result of a shape check or false"}],"returns":{"type":"int"},"throws":[{"type":"UnexpectedResultException","doc":"if the location does not contain an int value."}]}
{"symbol":"com.oracle.truffle.api.object.Location.getLong(DynamicObject, boolean)","href":"com/oracle/truffle/api/object/Location.html#getLong(com.oracle.truffle.api.object.DynamicObject,boolean)","name":"getLong","kind":"method","signature":"protected long getLong(DynamicObject store, boolean guard) throws UnexpectedResultException","summary":"Gets this location's value as long.","params":[{"name":"store","type":"DynamicObject","doc":"storage object"},{"name":"guard","type":"boolean","doc":"the result of a shape check or false"}],"returns":{"type":"long"},"throws":[{"type":"UnexpectedResultException","doc":"if the location does not contain a long value."}]}
{"symbol":"com.oracle.truffle.api.object.Location.getDouble(DynamicObject, boolean)","href":"com/oracle/truffle/api/object/Location.html#getDouble(com.oracle.truffle.api.object.DynamicObject,boolean)","name":"getDouble","kind":"method","signature":"protected double getDouble(DynamicObject store, boolean guard) throws UnexpectedResultException","summary":"Gets this location's value as double.","params":[{"name":"store","type":"DynamicObject","doc":"storage object"},{"name":"guard","type":"boolean","doc":"the result of a shape check or false"}],"returns":{"type":"double"},"throws":[{"type":"UnexpectedResultException","doc":"if the location does not contain a double value."}]}
{"symbol":"com.oracle.truffle.api.object.Location.set(DynamicObject, Object, Shape)","href":"com/oracle/truffle/api/object/Location.html#set(com.oracle.truffle.api.object.DynamicObject,java.lang.Object,com.oracle.truffle.api.object.Shape)","name":"set","kind":"method","signature":"public void set(DynamicObject store, Object value, Shape shape) throws IncompatibleLocationException, FinalLocationException","summary":"Set object value at this location in store.","deprecated":{"since":"22.2"},"params":[{"name":"store","type":"DynamicObject","doc":"storage object"},{"name":"value","type":"Object","doc":"the value to set"},{"name":"shape","type":"Shape","doc":"the current shape of the storage object"}],"throws":[{"type":"IncompatibleLocationException","doc":"for storage type invalidations"},{"type":"FinalLocationException","doc":"for effectively final fields"}]}
{"symbol":"com.oracle.truffle.api.object.Location.canStore(Object)","href":"com/oracle/truffle/api/object/Location.html#canStore(java.lang.Object)","name":"canStore","kind":"method","signature":"public boolean canStore(Object value)","summary":"Returns true if the location is compatible with the type of the value.","params":[{"name":"value","type":"Object","doc":"the value in question"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.isFinal()","href":"com/oracle/truffle/api/object/Location.html#isFinal()","name":"isFinal","kind":"method","signature":"public boolean isFinal()","summary":"Returns true if this is a final location, i.e.","details":"readonly once set.","deprecated":{"since":"25.1","doc":"Use isAssumedFinal() instead or replace by false."},"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.isConstant()","href":"com/oracle/truffle/api/object/Location.html#isConstant()","name":"isConstant","kind":"method","signature":"public boolean isConstant()","summary":"Returns true if this is a constant value location.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.hashCode()","href":"com/oracle/truffle/api/object/Location.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","summary":"Must be overridden in subclasses.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.Location.equals(Object)","href":"com/oracle/truffle/api/object/Location.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","summary":"Must be overridden in subclasses.","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.toString()","href":"com/oracle/truffle/api/object/Location.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.object.Location.isValue()","href":"com/oracle/truffle/api/object/Location.html#isValue()","name":"isValue","kind":"method","signature":"public boolean isValue()","summary":"Returns true if this is a value location.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.isAssumedFinal()","href":"com/oracle/truffle/api/object/Location.html#isAssumedFinal()","name":"isAssumedFinal","kind":"method","signature":"public boolean isAssumedFinal()","summary":"Returns true if this location is assumed to be final.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.getFinalAssumption()","href":"com/oracle/truffle/api/object/Location.html#getFinalAssumption()","name":"getFinalAssumption","kind":"method","signature":"public Assumption getFinalAssumption()","summary":"Returns the assumption that this location is final.","returns":{"type":"Assumption"}}
{"symbol":"com.oracle.truffle.api.object.Location.isPrimitive()","href":"com/oracle/truffle/api/object/Location.html#isPrimitive()","name":"isPrimitive","kind":"method","signature":"public boolean isPrimitive()","summary":"Returns true if this location can only store primitive types and cannot contain any object references.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Location.getConstantValue()","href":"com/oracle/truffle/api/object/Location.html#getConstantValue()","name":"getConstantValue","kind":"method","signature":"public Object getConstantValue()","summary":"If this is a constant location, returns the constant value bound to this location.","details":"Otherwise, returns null.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Property","href":"com/oracle/truffle/api/object/Property.html","name":"Property","kind":"class","signature":"public final class Property","summary":"Property objects represent the mapping between property identifiers (keys) and storage locations.","details":"Optionally, properties may have metadata attached to them."}
{"symbol":"com.oracle.truffle.api.object.Property.getKey()","href":"com/oracle/truffle/api/object/Property.html#getKey()","name":"getKey","kind":"method","signature":"public Object getKey()","summary":"Get property identifier.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Property.getFlags()","href":"com/oracle/truffle/api/object/Property.html#getFlags()","name":"getFlags","kind":"method","signature":"public int getFlags()","summary":"Get property flags, which are free for language-specific use.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.Property.getLocation()","href":"com/oracle/truffle/api/object/Property.html#getLocation()","name":"getLocation","kind":"method","signature":"public Location getLocation()","summary":"Get the property location.","details":"Planned to be deprecated.","returns":{"type":"Location"}}
{"symbol":"com.oracle.truffle.api.object.Property.isHidden()","href":"com/oracle/truffle/api/object/Property.html#isHidden()","name":"isHidden","kind":"method","signature":"public boolean isHidden()","summary":"Is this property hidden from iteration.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Property.equals(Object)","href":"com/oracle/truffle/api/object/Property.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Property.hashCode()","href":"com/oracle/truffle/api/object/Property.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.Property.toString()","href":"com/oracle/truffle/api/object/Property.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter","href":"com/oracle/truffle/api/object/PropertyGetter.html","name":"PropertyGetter","kind":"class","signature":"public final class PropertyGetter","summary":"A lightweight property getter that allows getting the value of a DynamicObject property without any lookup or cache dispatch.","details":"Only objects of a specific Shape are accepted. Therefore, it should only be used where the object is already known to have the supported shape."}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.accepts(DynamicObject)","href":"com/oracle/truffle/api/object/PropertyGetter.html#accepts(com.oracle.truffle.api.object.DynamicObject)","name":"accepts","kind":"method","signature":"public boolean accepts(DynamicObject receiver)","summary":"Returns true if this PropertyGetter can be used with the given receiver object to get the property's value.","params":[{"name":"receiver","type":"DynamicObject","doc":"the receiver object"}],"returns":{"type":"boolean","doc":"true if the shape of the receiver object is supported by this PropertyGetter."}}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.get(DynamicObject)","href":"com/oracle/truffle/api/object/PropertyGetter.html#get(com.oracle.truffle.api.object.DynamicObject)","name":"get","kind":"method","signature":"public Object get(DynamicObject receiver)","summary":"Gets the property's value from the given receiver object if the object has the supported Shape, i.e.","details":"the shape this property getter was created with. Otherwise, throws an IllegalArgumentException.","params":[{"name":"receiver","type":"DynamicObject","doc":"the receiver object"}],"returns":{"type":"Object","doc":"the property's value"},"throws":[{"type":"IllegalArgumentException","doc":"if the object does not have the expected shape."}]}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.getInt(DynamicObject)","href":"com/oracle/truffle/api/object/PropertyGetter.html#getInt(com.oracle.truffle.api.object.DynamicObject)","name":"getInt","kind":"method","signature":"public int getInt(DynamicObject receiver) throws UnexpectedResultException","summary":"Gets the property's value from the given receiver object if the object has the supported Shape.","details":"Expects an int value or throws an UnexpectedResultException if the value is of a different type. If the object's shape is not supported, throws an IllegalArgumentException.","params":[{"name":"receiver","type":"DynamicObject","doc":"the receiver object"}],"returns":{"type":"int","doc":"the property's value"},"throws":[{"type":"IllegalArgumentException","doc":"if the object does not have the expected shape."},{"type":"UnexpectedResultException","doc":"if the location does not contain an int value."}]}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.getLong(DynamicObject)","href":"com/oracle/truffle/api/object/PropertyGetter.html#getLong(com.oracle.truffle.api.object.DynamicObject)","name":"getLong","kind":"method","signature":"public long getLong(DynamicObject receiver) throws UnexpectedResultException","summary":"Gets the property's value from the given receiver object if the object has the supported Shape.","details":"Expects a long value or throws an UnexpectedResultException if the value is of a different type. If the object's shape is not supported, throws an IllegalArgumentException.","params":[{"name":"receiver","type":"DynamicObject","doc":"the receiver object"}],"returns":{"type":"long","doc":"the property's value"},"throws":[{"type":"IllegalArgumentException","doc":"if the object does not have the expected shape."},{"type":"UnexpectedResultException","doc":"if the location does not contain a long value."}]}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.getDouble(DynamicObject)","href":"com/oracle/truffle/api/object/PropertyGetter.html#getDouble(com.oracle.truffle.api.object.DynamicObject)","name":"getDouble","kind":"method","signature":"public double getDouble(DynamicObject receiver) throws UnexpectedResultException","summary":"Gets the property's value from the given receiver object if the object has the supported Shape.","details":"Expects a double value or throws an UnexpectedResultException if the value is of a different type. If the object's shape is not supported, throws an IllegalArgumentException.","params":[{"name":"receiver","type":"DynamicObject","doc":"the receiver object"}],"returns":{"type":"double","doc":"the property's value"},"throws":[{"type":"IllegalArgumentException","doc":"if the object does not have the expected shape."},{"type":"UnexpectedResultException","doc":"if the location does not contain a double value."}]}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.getKey()","href":"com/oracle/truffle/api/object/PropertyGetter.html#getKey()","name":"getKey","kind":"method","signature":"public Object getKey()","summary":"Returns the key of the property represented by this getter.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.getFlags()","href":"com/oracle/truffle/api/object/PropertyGetter.html#getFlags()","name":"getFlags","kind":"method","signature":"public int getFlags()","summary":"Returns the flags associated with the property represented by this getter.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.PropertyGetter.getShape()","href":"com/oracle/truffle/api/object/PropertyGetter.html#getShape()","name":"getShape","kind":"method","signature":"public Shape getShape()","summary":"Returns the shape this property getter was created with.","detailsOmitted":true,"returns":{"type":"Shape","doc":"the accepted shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape","href":"com/oracle/truffle/api/object/Shape.html","name":"Shape","kind":"class","signature":"public final class Shape","summary":"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.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.object.Shape.newBuilder()","href":"com/oracle/truffle/api/object/Shape.html#newBuilder()","name":"newBuilder","kind":"method","signature":"public static Shape.Builder newBuilder()","summary":"Creates a new initial shape builder.","details":"The builder instance is not thread-safe and must not be used from multiple threads at the same time.","returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.newBuilder(Shape)","href":"com/oracle/truffle/api/object/Shape.html#newBuilder(com.oracle.truffle.api.object.Shape)","name":"newBuilder","kind":"method","signature":"public static Shape.DerivedBuilder newBuilder(Shape baseShape)","summary":"Creates a new derived shape builder that allows changing a root shape's flags and dynamic type and adding constant properties.","details":"The builder instance is not thread-safe and must not be used from multiple threads at the same time.","params":[{"name":"baseShape","type":"Shape","doc":"the shape to be modified"}],"returns":{"type":"Shape.DerivedBuilder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getProperty(Object)","href":"com/oracle/truffle/api/object/Shape.html#getProperty(java.lang.Object)","name":"getProperty","kind":"method","signature":"public Property getProperty(Object key)","summary":"Get a property entry by key.","params":[{"name":"key","type":"Object","doc":"the identifier to look up"}],"returns":{"type":"Property","doc":"a Property object, or null if not found"}}
{"symbol":"com.oracle.truffle.api.object.Shape.addProperty(Property)","href":"com/oracle/truffle/api/object/Shape.html#addProperty(com.oracle.truffle.api.object.Property)","name":"addProperty","kind":"method","signature":"protected Shape addProperty(Property property)","summary":"Add a new property in the map, yielding a new or cached Shape object.","params":[{"name":"property","type":"Property","doc":"the property to add"}],"returns":{"type":"Shape","doc":"the new Shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape.defineProperty(Object, Object, int, int)","href":"com/oracle/truffle/api/object/Shape.html#defineProperty(java.lang.Object,java.lang.Object,int,int)","name":"defineProperty","kind":"method","signature":"protected Shape defineProperty(Object key, Object value, int propertyFlags, int putFlags)","summary":"Add or change property in the map, yielding a new or cached Shape object.","params":[{"name":"key","type":"Object"},{"name":"value","type":"Object"},{"name":"propertyFlags","type":"int"},{"name":"putFlags","type":"int"}],"returns":{"type":"Shape","doc":"the shape after defining the property"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getProperties()","href":"com/oracle/truffle/api/object/Shape.html#getProperties()","name":"getProperties","kind":"method","signature":"public Iterable<Property> getProperties()","summary":"An Iterable over the shape's properties in insertion order.","returns":{"type":"Iterable<Property>"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getPropertyList()","href":"com/oracle/truffle/api/object/Shape.html#getPropertyList()","name":"getPropertyList","kind":"method","signature":"public List<Property> getPropertyList()","summary":"Get a list of all properties that this Shape stores.","details":"Properties with a HiddenKey are not included.","returns":{"type":"List<Property>","doc":"list of properties"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getPropertyListInternal(boolean)","href":"com/oracle/truffle/api/object/Shape.html#getPropertyListInternal(boolean)","name":"getPropertyListInternal","kind":"method","signature":"public List<Property> getPropertyListInternal(boolean ascending)","summary":"Returns all (also hidden) property objects in this shape.","params":[{"name":"ascending","type":"boolean","doc":"desired order (true for insertion order, false for reverse insertion order)"}],"returns":{"type":"List<Property>"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getKeyList()","href":"com/oracle/truffle/api/object/Shape.html#getKeyList()","name":"getKeyList","kind":"method","signature":"public List<Object> getKeyList()","summary":"Get a list of all property keys in insertion order.","details":"Properties with a HiddenKey are not included.","returns":{"type":"List<Object>"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getKeys()","href":"com/oracle/truffle/api/object/Shape.html#getKeys()","name":"getKeys","kind":"method","signature":"public Iterable<Object> getKeys()","summary":"Get all property keys in insertion order.","returns":{"type":"Iterable<Object>"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getValidAssumption()","href":"com/oracle/truffle/api/object/Shape.html#getValidAssumption()","name":"getValidAssumption","kind":"method","signature":"public Assumption getValidAssumption()","summary":"Get an assumption that the shape is valid.","returns":{"type":"Assumption"}}
{"symbol":"com.oracle.truffle.api.object.Shape.isValid()","href":"com/oracle/truffle/api/object/Shape.html#isValid()","name":"isValid","kind":"method","signature":"public boolean isValid()","summary":"Check whether this shape is valid.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getLeafAssumption()","href":"com/oracle/truffle/api/object/Shape.html#getLeafAssumption()","name":"getLeafAssumption","kind":"method","signature":"public Assumption getLeafAssumption()","summary":"Get an assumption that the shape is a leaf.","returns":{"type":"Assumption"}}
{"symbol":"com.oracle.truffle.api.object.Shape.isLeaf()","href":"com/oracle/truffle/api/object/Shape.html#isLeaf()","name":"isLeaf","kind":"method","signature":"public boolean isLeaf()","summary":"Check whether this shape is a leaf in the transition graph, i.e.","details":"transitionless.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Shape.hasProperty(Object)","href":"com/oracle/truffle/api/object/Shape.html#hasProperty(java.lang.Object)","name":"hasProperty","kind":"method","signature":"public boolean hasProperty(Object name)","summary":"Check whether the shape has a property with the given key.","params":[{"name":"name","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Shape.removeProperty(Property)","href":"com/oracle/truffle/api/object/Shape.html#removeProperty(com.oracle.truffle.api.object.Property)","name":"removeProperty","kind":"method","signature":"protected Shape removeProperty(Property property)","summary":"Remove the given property from the shape.","params":[{"name":"property","type":"Property"}],"returns":{"type":"Shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape.replaceProperty(Property, Property)","href":"com/oracle/truffle/api/object/Shape.html#replaceProperty(com.oracle.truffle.api.object.Property,com.oracle.truffle.api.object.Property)","name":"replaceProperty","kind":"method","signature":"protected Shape replaceProperty(Property oldProperty, Property newProperty)","summary":"Replace a property in the shape.","params":[{"name":"oldProperty","type":"Property"},{"name":"newProperty","type":"Property"}],"returns":{"type":"Shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getLastProperty()","href":"com/oracle/truffle/api/object/Shape.html#getLastProperty()","name":"getLastProperty","kind":"method","signature":"public Property getLastProperty()","summary":"Gets the last property.","returns":{"type":"Property","doc":"the last property in the shape or null if empty"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getFirstProperty()","href":"com/oracle/truffle/api/object/Shape.html#getFirstProperty()","name":"getFirstProperty","kind":"method","signature":"public Property getFirstProperty()","summary":"Gets the first property.","returns":{"type":"Property","doc":"the first property in the shape or null if empty"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getFlags()","href":"com/oracle/truffle/api/object/Shape.html#getFlags()","name":"getFlags","kind":"method","signature":"public int getFlags()","summary":"Returns the language-specific shape flags previously set using DynamicObjectLibrary.setShapeFlags(DynamicObject, int) or Shape.Builder.shapeFlags(int).","details":"If no shape flags were explicitly set, the default of 0 is returned. These flags may be used to tag objects that possess characteristics that need to be queried efficiently on fast and slow paths. For example, they can be used to mark objects as frozen.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.Shape.setFlags(int)","href":"com/oracle/truffle/api/object/Shape.html#setFlags(int)","name":"setFlags","kind":"method","signature":"protected Shape setFlags(int objectFlags)","summary":"Returns a copy of the shape, with the shape flags set to newFlags.","params":[{"name":"objectFlags","type":"int","doc":"the new shape flags; an int value in the range from 0 to 65535 (inclusive)"}],"returns":{"type":"Shape"},"throws":[{"type":"IllegalArgumentException","doc":"if the flags value is not in the supported range"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.getPropertyCount()","href":"com/oracle/truffle/api/object/Shape.html#getPropertyCount()","name":"getPropertyCount","kind":"method","signature":"public int getPropertyCount()","summary":"Returns the number of properties in this shape.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getDynamicType()","href":"com/oracle/truffle/api/object/Shape.html#getDynamicType()","name":"getDynamicType","kind":"method","signature":"public Object getDynamicType()","summary":"Get the shape's dynamic object type identifier.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Shape.setDynamicType(Object)","href":"com/oracle/truffle/api/object/Shape.html#setDynamicType(java.lang.Object)","name":"setDynamicType","kind":"method","signature":"protected Shape setDynamicType(Object dynamicType)","summary":"Returns a copy of the shape, with the dynamic object type identifier set to dynamicType.","params":[{"name":"dynamicType","type":"Object","doc":"the new dynamic object type identifier"}],"returns":{"type":"Shape"},"throws":[{"type":"NullPointerException","doc":"if the argument is null."}]}
{"symbol":"com.oracle.truffle.api.object.Shape.getRoot()","href":"com/oracle/truffle/api/object/Shape.html#getRoot()","name":"getRoot","kind":"method","signature":"public Shape getRoot()","summary":"Get the root shape.","details":"Planned to be deprecated.","returns":{"type":"Shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape.check(DynamicObject)","href":"com/oracle/truffle/api/object/Shape.html#check(com.oracle.truffle.api.object.DynamicObject)","name":"check","kind":"method","signature":"public boolean check(DynamicObject subject)","summary":"Checks whether the given object's shape is identical to this shape.","params":[{"name":"subject","type":"DynamicObject"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getLayoutClass()","href":"com/oracle/truffle/api/object/Shape.html#getLayoutClass()","name":"getLayoutClass","kind":"method","signature":"public Class<? extends DynamicObject> getLayoutClass()","summary":"Get the shape's layout class.","returns":{"type":"Class<? extends DynamicObject>"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getSharedData()","href":"com/oracle/truffle/api/object/Shape.html#getSharedData()","name":"getSharedData","kind":"method","signature":"public Object getSharedData()","summary":"Get the shape's shared data.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.object.Shape.tryMerge(Shape)","href":"com/oracle/truffle/api/object/Shape.html#tryMerge(com.oracle.truffle.api.object.Shape)","name":"tryMerge","kind":"method","signature":"public Shape tryMerge(Shape other)","summary":"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.","params":[{"name":"other","type":"Shape"}],"returns":{"type":"Shape","doc":"this, other, or a new shape that is compatible with both shapes"}}
{"symbol":"com.oracle.truffle.api.object.Shape.isShared()","href":"com/oracle/truffle/api/object/Shape.html#isShared()","name":"isShared","kind":"method","signature":"public boolean isShared()","summary":"Returns true if this shape is marked as shared.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Shape.makeSharedShape()","href":"com/oracle/truffle/api/object/Shape.html#makeSharedShape()","name":"makeSharedShape","kind":"method","signature":"public Shape makeSharedShape()","summary":"Make a shared variant of this shape, to allow safe usage of this object between threads.","details":"Shared shapes will not reuse storage locations for other fields. In combination with careful synchronization on writes, this can prevent reading out-of-thin-air values. Note: Where possible, avoid using this method and use DynamicObjectLibrary.markShared(DynamicObject) instead.","returns":{"type":"Shape","doc":"a cached and shared variant of this shape"},"throws":[{"type":"UnsupportedOperationException","doc":"if this shape is already shared"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.hasInstanceProperties()","href":"com/oracle/truffle/api/object/Shape.html#hasInstanceProperties()","name":"hasInstanceProperties","kind":"method","signature":"protected boolean hasInstanceProperties()","summary":"Returns true if this shape has instance properties (i.e., stored in the object).","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.object.Shape.getPropertyAssumption(Object)","href":"com/oracle/truffle/api/object/Shape.html#getPropertyAssumption(java.lang.Object)","name":"getPropertyAssumption","kind":"method","signature":"public Assumption getPropertyAssumption(Object key)","summary":"Gets a stable property assumption for the given property key.","details":"May be invalid. If a valid assumption is returned, it may be used to assume this particular property is still absent or present at the current storage location in objects of this shape. The assumption is invalidated if a shape change is triggered because of a property with the given key was added, removed, or changed, or a resetShape. Only applicable if property assumptions are enabled for this shape, otherwise always returns an invalid assumption.","params":[{"name":"key","type":"Object","doc":"the property key of interest"}],"returns":{"type":"Assumption","doc":"an assumption that the property is stable or an invalid assumption"}}
{"symbol":"com.oracle.truffle.api.object.Shape.allPropertiesMatch(Predicate)","href":"com/oracle/truffle/api/object/Shape.html#allPropertiesMatch(java.util.function.Predicate)","name":"allPropertiesMatch","kind":"method","signature":"public boolean allPropertiesMatch(Predicate<Property> predicate)","summary":"Tests if all properties in the shape match the provided predicate.","details":"May not evaluate the predicate on all properties if a predicate did not match. If the shape does not contain any properties, returns true and does not evaluate the predicate.","params":[{"name":"predicate","type":"Predicate<Property>"}],"returns":{"type":"boolean","doc":"true if the all properties match the predicate, else false"}}
{"symbol":"com.oracle.truffle.api.object.Shape.makePropertyGetter(Object)","href":"com/oracle/truffle/api/object/Shape.html#makePropertyGetter(java.lang.Object)","name":"makePropertyGetter","kind":"method","signature":"public PropertyGetter makePropertyGetter(Object key)","summary":"Makes a property getter for this shape and the given property key, if it exists.","details":"Otherwise, returns null. Note that the returned PropertyGetter only accepts objects of this particular Shape.","params":[{"name":"key","type":"Object","doc":"the identifier to look up"}],"returns":{"type":"PropertyGetter","doc":"a PropertyGetter, or null if the property was not found in this shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape.toString()","href":"com/oracle/truffle/api/object/Shape.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of the object.","returns":{"type":"String","doc":"a string representation of the object"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder","href":"com/oracle/truffle/api/object/Shape.Builder.html","name":"Shape.Builder","kind":"class","signature":"public static final class Shape.Builder extends Shape.AbstractBuilder<Shape.Builder>","summary":"Builder class to construct initial Shape instances.","details":"The builder instance is not thread-safe and must not be used from multiple threads at the same time."}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.layout(Class)","href":"com/oracle/truffle/api/object/Shape.Builder.html#layout(java.lang.Class)","name":"layout","kind":"method","signature":"public Shape.Builder layout(Class<? extends DynamicObject> layoutClass)","summary":"Sets custom object layout class (default: DynamicObject base class).","details":"Enables the use of dynamic object fields declared in subclasses using the DynamicField annotation. Examples: public class MyObject extends DynamicObject implements TruffleObject { @DynamicField private Object _obj1; @DynamicField private Object _obj2; @DynamicField private long _long1; @DynamicField private long _long2; public MyObject(Shape shape) { super(shape); } } Shape myObjShape = Shape.newBuilder().layout(MyObject.class).build(); MyObject obj = new MyObject(myObjShape);","deprecated":{"since":"24.2","doc":"Use layout(Class, MethodHandles.Lookup) instead."},"params":[{"name":"layoutClass","type":"Class<? extends DynamicObject>","doc":"custom object layout class"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.layout(Class, MethodHandles.Lookup)","href":"com/oracle/truffle/api/object/Shape.Builder.html#layout(java.lang.Class,java.lang.invoke.MethodHandles.Lookup)","name":"layout","kind":"method","signature":"public Shape.Builder layout(Class<? extends DynamicObject> layoutClass, MethodHandles.Lookup layoutClassLookup)","summary":"Sets a custom object layout class (default: DynamicObject.class) and a corresponding MethodHandles.Lookup created by the layout class, or a class in the same module, that has full privilege access in order to provide access to its fields.","detailsOmitted":true,"params":[{"name":"layoutClass","type":"Class<? extends DynamicObject>","doc":"a DynamicObject layout subclass or the default DynamicObject.class."},{"name":"layoutClassLookup","type":"MethodHandles.Lookup","doc":"a Lookup that has full privilege access, created using MethodHandles.lookup(), either by the layout class itself, or a class in the same module. If layoutClass == DynamicObject.class, and only then, this parameter is ignored and may be null."}],"returns":{"type":"Shape.Builder"},"throws":[{"type":"IllegalArgumentException","doc":"if layoutClass != DynamicObject.class and the lookup does not have full privilege access or is not from the layout class or a class within the same module as the layout class."},{"type":"NullPointerException","doc":"if layoutClass == null, or lookup == null and layoutClass != DynamicObject.class."}]}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.dynamicType(Object)","href":"com/oracle/truffle/api/object/Shape.Builder.html#dynamicType(java.lang.Object)","name":"dynamicType","kind":"method","signature":"public Shape.Builder dynamicType(Object dynamicType)","summary":"Sets initial dynamic object type identifier.","details":"See DynamicObjectLibrary.setDynamicType(DynamicObject, Object) for more information.","params":[{"name":"dynamicType","type":"Object","doc":"a non-null object type identifier"}],"returns":{"type":"Shape.Builder"},"throws":[{"type":"NullPointerException","doc":"if the type is null"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.shapeFlags(int)","href":"com/oracle/truffle/api/object/Shape.Builder.html#shapeFlags(int)","name":"shapeFlags","kind":"method","signature":"public Shape.Builder shapeFlags(int flags)","summary":"Sets initial shape flags (default: 0).","details":"Currently limited to 16 bits. See DynamicObjectLibrary.setShapeFlags(DynamicObject, int) for more information.","params":[{"name":"flags","type":"int","doc":"an int value in the range from 0 to 65535 (inclusive)"}],"returns":{"type":"Shape.Builder"},"throws":[{"type":"IllegalArgumentException","doc":"if the flags value is not in the supported range"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.shared(boolean)","href":"com/oracle/truffle/api/object/Shape.Builder.html#shared(boolean)","name":"shared","kind":"method","signature":"public Shape.Builder shared(boolean isShared)","summary":"If true, makes the object shared (default: false).","params":[{"name":"isShared","type":"boolean"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.propertyAssumptions(boolean)","href":"com/oracle/truffle/api/object/Shape.Builder.html#propertyAssumptions(boolean)","name":"propertyAssumptions","kind":"method","signature":"public Shape.Builder propertyAssumptions(boolean enable)","summary":"If true, enables the use of property assumptions for this object shape and any derived shapes (default: false).","details":"Property assumptions allow speculating on select properties being absent or stable across shape changes. Use of property assumptions can be beneficial in single-context mode for long-lived objects with stable properties but recurrent shape changes due to properties being added (e.g. global objects of a context), in which case a shape cache would be unstable while the property assumption allows for a stable cache.","params":[{"name":"enable","type":"boolean"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.sharedData(Object)","href":"com/oracle/truffle/api/object/Shape.Builder.html#sharedData(java.lang.Object)","name":"sharedData","kind":"method","signature":"public Shape.Builder sharedData(Object sharedData)","summary":"Sets shared data to be associated with the root shape and any derived shapes (e.g.","details":"a TruffleLanguage instance). May be null (the default).","params":[{"name":"sharedData","type":"Object"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.singleContextAssumption(Assumption)","href":"com/oracle/truffle/api/object/Shape.Builder.html#singleContextAssumption(com.oracle.truffle.api.Assumption)","name":"singleContextAssumption","kind":"method","signature":"public Shape.Builder singleContextAssumption(Assumption assumption)","summary":"Sets an assumption that allows specializations on constant object instances with this shape, as long as the assumption is valid.","details":"The assumption should be valid only if code is not shared across contexts and invalidated when this is no longer true. The assumption may be null in which case this feature is disabled (the default).","params":[{"name":"assumption","type":"Assumption"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.addConstantProperty(Object, Object, int)","href":"com/oracle/truffle/api/object/Shape.Builder.html#addConstantProperty(java.lang.Object,java.lang.Object,int)","name":"addConstantProperty","kind":"method","signature":"public Shape.Builder addConstantProperty(Object key, Object value, int flags)","summary":"Adds a property with a constant value to the shape.","details":"The key must not be null and must not be equal to any previously added property's key.","params":[{"name":"key","type":"Object","doc":"the property's key"},{"name":"value","type":"Object","doc":"the property's value"},{"name":"flags","type":"int","doc":"the property's flags"}],"returns":{"type":"Shape.Builder"},"throws":[{"type":"NullPointerException","doc":"if the key is null"},{"type":"IllegalArgumentException","doc":"if a property with the key already exists"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.allowImplicitCastIntToLong(boolean)","href":"com/oracle/truffle/api/object/Shape.Builder.html#allowImplicitCastIntToLong(boolean)","name":"allowImplicitCastIntToLong","kind":"method","signature":"public Shape.Builder allowImplicitCastIntToLong(boolean allow)","summary":"Allows values to be implicitly cast from int to long in this shape and any derived shapes.","params":[{"name":"allow","type":"boolean"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.allowImplicitCastIntToDouble(boolean)","href":"com/oracle/truffle/api/object/Shape.Builder.html#allowImplicitCastIntToDouble(boolean)","name":"allowImplicitCastIntToDouble","kind":"method","signature":"public Shape.Builder allowImplicitCastIntToDouble(boolean allow)","summary":"Allows values to be implicitly cast from int to double in this shape and any derived shapes.","params":[{"name":"allow","type":"boolean"}],"returns":{"type":"Shape.Builder"}}
{"symbol":"com.oracle.truffle.api.object.Shape.Builder.build()","href":"com/oracle/truffle/api/object/Shape.Builder.html#build()","name":"build","kind":"method","signature":"public Shape build()","summary":"Builds a new shape using the configuration of this builder.","returns":{"type":"Shape"}}
{"symbol":"com.oracle.truffle.api.object.Shape.DerivedBuilder","href":"com/oracle/truffle/api/object/Shape.DerivedBuilder.html","name":"Shape.DerivedBuilder","kind":"class","signature":"public static final class Shape.DerivedBuilder extends Shape.AbstractBuilder<Shape.DerivedBuilder>","summary":"Builder class to construct derived Shape instances.","details":"The builder instance is not thread-safe and must not be used from multiple threads at the same time."}
{"symbol":"com.oracle.truffle.api.object.Shape.DerivedBuilder.dynamicType(Object)","href":"com/oracle/truffle/api/object/Shape.DerivedBuilder.html#dynamicType(java.lang.Object)","name":"dynamicType","kind":"method","signature":"public Shape.DerivedBuilder dynamicType(Object dynamicType)","summary":"Sets initial dynamic object type identifier.","details":"See DynamicObjectLibrary.setDynamicType(DynamicObject, Object) for more information.","params":[{"name":"dynamicType","type":"Object","doc":"a non-null object type identifier"}],"returns":{"type":"Shape.DerivedBuilder"},"throws":[{"type":"NullPointerException","doc":"if the type is null"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.DerivedBuilder.shapeFlags(int)","href":"com/oracle/truffle/api/object/Shape.DerivedBuilder.html#shapeFlags(int)","name":"shapeFlags","kind":"method","signature":"public Shape.DerivedBuilder shapeFlags(int flags)","summary":"Sets initial shape flags (default: 0).","details":"Currently limited to 16 bits. See DynamicObjectLibrary.setShapeFlags(DynamicObject, int) for more information.","params":[{"name":"flags","type":"int","doc":"an int value in the range from 0 to 65535 (inclusive)"}],"returns":{"type":"Shape.DerivedBuilder"},"throws":[{"type":"IllegalArgumentException","doc":"if the flags value is not in the supported range"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.DerivedBuilder.addConstantProperty(Object, Object, int)","href":"com/oracle/truffle/api/object/Shape.DerivedBuilder.html#addConstantProperty(java.lang.Object,java.lang.Object,int)","name":"addConstantProperty","kind":"method","signature":"public Shape.DerivedBuilder addConstantProperty(Object key, Object value, int flags)","summary":"Adds a property with a constant value to the shape.","details":"The key must not be null and must not be equal to any previously added property's key.","params":[{"name":"key","type":"Object","doc":"the property's key"},{"name":"value","type":"Object","doc":"the property's value"},{"name":"flags","type":"int","doc":"the property's flags"}],"returns":{"type":"Shape.DerivedBuilder"},"throws":[{"type":"NullPointerException","doc":"if the key is null"},{"type":"IllegalArgumentException","doc":"if a property with the key already exists"}]}
{"symbol":"com.oracle.truffle.api.object.Shape.DerivedBuilder.build()","href":"com/oracle/truffle/api/object/Shape.DerivedBuilder.html#build()","name":"build","kind":"method","signature":"public Shape build()","summary":"Builds a derived shape from the base shape supplied to the constructor using the configuration of this builder.","returns":{"type":"Shape","doc":"a new or cached shape"}}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile","href":"com/oracle/truffle/api/profiles/BranchProfile.html","name":"BranchProfile","kind":"class","signature":"public final class BranchProfile extends Profile","summary":"BranchProfiles are profiles to speculate on branches that are unlikely to be visited.","details":"If the enter() method is invoked first the optimized code is invalidated and the branch where enter() is invoked is enabled for compilation. Otherwise if the enter() method was never invoked the branch will not get compiled. Usage example: class BranchingNode extends Node { final BranchProfile errorProfile = BranchProfile.create(); int execute(int value) { if (value == Integer.MAX_VALUE) { errorProfile.enter(); throw new Error(\"Invalid input value\"); } return value; } }"}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.enter()","href":"com/oracle/truffle/api/profiles/BranchProfile.html#enter()","name":"enter","kind":"method","signature":"public void enter()","summary":"Call when an unlikely branch is entered."}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.disable()","href":"com/oracle/truffle/api/profiles/BranchProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.reset()","href":"com/oracle/truffle/api/profiles/BranchProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.toString()","href":"com/oracle/truffle/api/profiles/BranchProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.create()","href":"com/oracle/truffle/api/profiles/BranchProfile.html#create()","name":"create","kind":"method","signature":"public static BranchProfile create()","summary":"Call to create a new instance of a branch profile.","returns":{"type":"BranchProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/BranchProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedBranchProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedBranchProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.BranchProfile.getUncached()","href":"com/oracle/truffle/api/profiles/BranchProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static BranchProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"BranchProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html","name":"ByteValueProfile","kind":"class","signature":"public final class ByteValueProfile extends Profile","summary":"Specialized value profile to capture certain properties of byte runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.profile(byte)","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#profile(byte)","name":"profile","kind":"method","signature":"public byte profile(byte value)","params":[{"name":"value","type":"byte"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.disable()","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.reset()","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.toString()","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.createIdentityProfile()","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#createIdentityProfile()","name":"createIdentityProfile","kind":"method","signature":"public static ByteValueProfile createIdentityProfile()","summary":"Returns a value profile that profiles the exact value of a byte.","returns":{"type":"ByteValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.create()","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#create()","name":"create","kind":"method","signature":"public static ByteValueProfile create()","summary":"Returns a value profile that profiles the exact value of a byte.","returns":{"type":"ByteValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static ByteValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"ByteValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ByteValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/ByteValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedByteValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedByteValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile","href":"com/oracle/truffle/api/profiles/ConditionProfile.html","name":"ConditionProfile","kind":"class","signature":"public class ConditionProfile extends Profile","summary":"ConditionProfiles are useful to profile the outcome of conditions.","details":"A regular condition profile keeps track of a binary state, for each branch whether a branch was hit or not and communicates this to the compiler. If frequency information for each branch should be collected use CountingConditionProfile instead. Usage example: class AbsoluteNode extends Node { final ConditionProfile greaterZeroProfile = ConditionProfile.create(); void execute(int value) { if (greaterZeroProfile.profile(value >= 0)) { return value; } else { return -value; } } }"}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.profile(boolean)","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#profile(boolean)","name":"profile","kind":"method","signature":"public boolean profile(boolean value)","params":[{"name":"value","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.disable()","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.reset()","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.toString()","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.create()","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#create()","name":"create","kind":"method","signature":"public static ConditionProfile create()","summary":"Returns a ConditionProfile that speculates on conditions to be never true or to be never false.","details":"Condition profiles are intended to be used as part of if conditions.","returns":{"type":"ConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.getUncached()","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static ConditionProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"ConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ConditionProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/ConditionProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedConditionProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html","name":"CountingConditionProfile","kind":"class","signature":"public final class CountingConditionProfile extends Profile","summary":"CountingConditionProfiles are useful to profile the outcome of conditions.","details":"A counting condition profile holds a count for each branch whether a branch was hit or not and communicates this to the compiler as frequency information. If binary information only is desired for each branch should use ConditionProfile instead. Usage example: class AbsoluteNode extends Node { final CountingConditionProfile greaterZeroProfile = CountingConditionProfile.create(); void execute(int value) { if (greaterZeroProfile.profile(value >= 0)) { return value; } else { return -value; } } }"}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.profile(boolean)","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#profile(boolean)","name":"profile","kind":"method","signature":"public boolean profile(boolean value)","params":[{"name":"value","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.disable()","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.reset()","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.toString()","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.getUncached()","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static CountingConditionProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"CountingConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.create()","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#create()","name":"create","kind":"method","signature":"public static CountingConditionProfile create()","summary":"Returns a ConditionProfile that speculates on conditions to be never true or to be never false.","details":"Additionally to a binary profile this method returns a condition profile that also counts the number of times the condition was true and false. This information is reported to the underlying optimization system using CompilerDirectives.injectBranchProbability(double, boolean). Condition profiles are intended to be used as part of if conditions.","returns":{"type":"CountingConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.CountingConditionProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/CountingConditionProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedCountingConditionProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedCountingConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html","name":"DoubleValueProfile","kind":"class","signature":"public final class DoubleValueProfile extends Profile","summary":"Specialized value profile to capture certain properties of double runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.profile(double)","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#profile(double)","name":"profile","kind":"method","signature":"public double profile(double value)","params":[{"name":"value","type":"double"}],"returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.disable()","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.reset()","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.toString()","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.createRawIdentityProfile()","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#createRawIdentityProfile()","name":"createRawIdentityProfile","kind":"method","signature":"public static DoubleValueProfile createRawIdentityProfile()","summary":"Returns a value profile that profiles the exact value of a double using Double.doubleToRawLongBits(double).","returns":{"type":"DoubleValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.create()","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#create()","name":"create","kind":"method","signature":"public static DoubleValueProfile create()","summary":"Returns a value profile that profiles the exact value of a double using Double.doubleToRawLongBits(double).","returns":{"type":"DoubleValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static DoubleValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"DoubleValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.DoubleValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/DoubleValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedDoubleValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedDoubleValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html","name":"FloatValueProfile","kind":"class","signature":"public final class FloatValueProfile extends Profile","summary":"Specialized value profile to capture certain properties of float runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.profile(float)","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#profile(float)","name":"profile","kind":"method","signature":"public float profile(float value)","params":[{"name":"value","type":"float"}],"returns":{"type":"float"}}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.disable()","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.reset()","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.toString()","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.createRawIdentityProfile()","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#createRawIdentityProfile()","name":"createRawIdentityProfile","kind":"method","signature":"public static FloatValueProfile createRawIdentityProfile()","summary":"Returns a value profile that profiles the exact value of a float using Float.floatToRawIntBits(float).","returns":{"type":"FloatValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.create()","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#create()","name":"create","kind":"method","signature":"public static FloatValueProfile create()","summary":"Returns a value profile that profiles the exact value of a float using Float.floatToRawIntBits(float).","returns":{"type":"FloatValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static FloatValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"FloatValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.FloatValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/FloatValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedFloatValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedFloatValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html","name":"InlinedBranchProfile","kind":"class","signature":"public final class InlinedBranchProfile extends InlinedProfile","summary":"BranchProfiles are profiles to speculate on branches that are unlikely to be visited.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.enter(Node)","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#enter(com.oracle.truffle.api.nodes.Node)","name":"enter","kind":"method","signature":"public void enter(Node node)","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.wasEntered(Node)","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#wasEntered(com.oracle.truffle.api.nodes.Node)","name":"wasEntered","kind":"method","signature":"public boolean wasEntered(Node node)","summary":"Returns true if the enter(Node) method was ever called, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.reset(Node)","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#reset(com.oracle.truffle.api.nodes.Node)","name":"reset","kind":"method","signature":"public void reset(Node node)","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.disable(Node)","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#disable(com.oracle.truffle.api.nodes.Node)","name":"disable","kind":"method","signature":"public void disable(Node node)","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedBranchProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedBranchProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedBranchProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedBranchProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedBranchProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedBranchProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedByteValueProfile","href":"com/oracle/truffle/api/profiles/InlinedByteValueProfile.html","name":"InlinedByteValueProfile","kind":"class","signature":"public final class InlinedByteValueProfile extends AbstractInlinedValueProfile","summary":"Specialized value profile to capture certain properties of byte runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedByteValueProfile.profile(Node, byte)","href":"com/oracle/truffle/api/profiles/InlinedByteValueProfile.html#profile(com.oracle.truffle.api.nodes.Node,byte)","name":"profile","kind":"method","signature":"public byte profile(Node node, byte value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"byte"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedByteValueProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedByteValueProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedByteValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedByteValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedByteValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedByteValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedByteValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedByteValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedByteValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedByteValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html","name":"InlinedConditionProfile","kind":"class","signature":"public final class InlinedConditionProfile extends InlinedProfile","summary":"ConditionProfiles are useful to profile the outcome of conditions.","details":"A regular condition profile keeps track of a binary state, for each branch whether a branch was hit or not and communicates this to the compiler. If frequency information for each branch should be collected use InlinedCountingConditionProfile instead. Usage example: abstract class AbsoluteNode extends Node { abstract void execute(int value); @Specialization int doDefault(int value, @Cached InlinedConditionProfile p) { if (p.profile(this, value >= 0)) { return value; } else { return -value; } } }"}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.profile(Node, boolean)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#profile(com.oracle.truffle.api.nodes.Node,boolean)","name":"profile","kind":"method","signature":"public boolean profile(Node node, boolean value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.wasTrue(Node)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#wasTrue(com.oracle.truffle.api.nodes.Node)","name":"wasTrue","kind":"method","signature":"public boolean wasTrue(Node node)","summary":"Returns true if the profile(Node, boolean) method ever received a true value, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.wasFalse(Node)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#wasFalse(com.oracle.truffle.api.nodes.Node)","name":"wasFalse","kind":"method","signature":"public boolean wasFalse(Node node)","summary":"Returns true if the profile(Node, boolean) method ever received a false value, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.disable(Node)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#disable(com.oracle.truffle.api.nodes.Node)","name":"disable","kind":"method","signature":"public void disable(Node node)","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.reset(Node)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#reset(com.oracle.truffle.api.nodes.Node)","name":"reset","kind":"method","signature":"public void reset(Node node)","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedConditionProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedConditionProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedConditionProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedConditionProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html","name":"InlinedCountingConditionProfile","kind":"class","signature":"public final class InlinedCountingConditionProfile extends InlinedProfile","summary":"CountingConditionProfiles are useful to profile the outcome of conditions.","details":"A counting condition profile holds a count for each branch whether a branch was hit or not and communicates this to the compiler as frequency information. If binary information only is desired for each branch should use InlinedConditionProfile instead. Usage example: abstract class AbsoluteNode extends Node { abstract void execute(int value); @Specialization int doDefault(int value, @Cached InlinedCountingConditionProfile p) { if (p.profile(this, value >= 0)) { return value; } else { return -value; } } }"}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.profile(Node, boolean)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#profile(com.oracle.truffle.api.nodes.Node,boolean)","name":"profile","kind":"method","signature":"public boolean profile(Node node, boolean value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.wasTrue(Node)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#wasTrue(com.oracle.truffle.api.nodes.Node)","name":"wasTrue","kind":"method","signature":"public boolean wasTrue(Node node)","summary":"Returns true if the profile(Node, boolean) method ever received a true value, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.wasFalse(Node)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#wasFalse(com.oracle.truffle.api.nodes.Node)","name":"wasFalse","kind":"method","signature":"public boolean wasFalse(Node node)","summary":"Returns true if the profile(Node, boolean) method ever received a false value, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.disable(Node)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#disable(com.oracle.truffle.api.nodes.Node)","name":"disable","kind":"method","signature":"public void disable(Node node)","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.reset(Node)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#reset(com.oracle.truffle.api.nodes.Node)","name":"reset","kind":"method","signature":"public void reset(Node node)","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedCountingConditionProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedCountingConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedCountingConditionProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedCountingConditionProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedCountingConditionProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedCountingConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedDoubleValueProfile","href":"com/oracle/truffle/api/profiles/InlinedDoubleValueProfile.html","name":"InlinedDoubleValueProfile","kind":"class","signature":"public final class InlinedDoubleValueProfile extends AbstractInlinedValueProfile","summary":"Specialized value profile to capture certain properties of byte runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedDoubleValueProfile.profile(Node, double)","href":"com/oracle/truffle/api/profiles/InlinedDoubleValueProfile.html#profile(com.oracle.truffle.api.nodes.Node,double)","name":"profile","kind":"method","signature":"public double profile(Node node, double value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"double"}],"returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedDoubleValueProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedDoubleValueProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedDoubleValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedDoubleValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedDoubleValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedDoubleValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedDoubleValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedDoubleValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedDoubleValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedDoubleValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedExactClassProfile","href":"com/oracle/truffle/api/profiles/InlinedExactClassProfile.html","name":"InlinedExactClassProfile","kind":"class","signature":"public final class InlinedExactClassProfile extends AbstractInlinedValueProfile","summary":"Specialized value profile to capture the exact class of reference runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedExactClassProfile.profile(Node, T)","href":"com/oracle/truffle/api/profiles/InlinedExactClassProfile.html#profile(com.oracle.truffle.api.nodes.Node,T)","name":"profile","kind":"method","signature":"public <T> T profile(Node node, T value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedExactClassProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedExactClassProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedExactClassProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedExactClassProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedExactClassProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedExactClassProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedExactClassProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedExactClassProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedExactClassProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedExactClassProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedFloatValueProfile","href":"com/oracle/truffle/api/profiles/InlinedFloatValueProfile.html","name":"InlinedFloatValueProfile","kind":"class","signature":"public final class InlinedFloatValueProfile extends AbstractInlinedValueProfile","summary":"Specialized value profile to capture certain properties of float runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedFloatValueProfile.profile(Node, float)","href":"com/oracle/truffle/api/profiles/InlinedFloatValueProfile.html#profile(com.oracle.truffle.api.nodes.Node,float)","name":"profile","kind":"method","signature":"public float profile(Node node, float value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"float"}],"returns":{"type":"float"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedFloatValueProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedFloatValueProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedFloatValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedFloatValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedFloatValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedFloatValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedFloatValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedFloatValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedFloatValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedFloatValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedIntValueProfile","href":"com/oracle/truffle/api/profiles/InlinedIntValueProfile.html","name":"InlinedIntValueProfile","kind":"class","signature":"public final class InlinedIntValueProfile extends AbstractInlinedValueProfile","summary":"Specialized value profile to capture certain properties of int runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedIntValueProfile.profile(Node, int)","href":"com/oracle/truffle/api/profiles/InlinedIntValueProfile.html#profile(com.oracle.truffle.api.nodes.Node,int)","name":"profile","kind":"method","signature":"public int profile(Node node, int value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedIntValueProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedIntValueProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedIntValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedIntValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedIntValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedIntValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedIntValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedIntValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedIntValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedIntValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLongValueProfile","href":"com/oracle/truffle/api/profiles/InlinedLongValueProfile.html","name":"InlinedLongValueProfile","kind":"class","signature":"public final class InlinedLongValueProfile extends AbstractInlinedValueProfile","summary":"Specialized value profile to capture certain properties of long runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLongValueProfile.profile(Node, long)","href":"com/oracle/truffle/api/profiles/InlinedLongValueProfile.html#profile(com.oracle.truffle.api.nodes.Node,long)","name":"profile","kind":"method","signature":"public long profile(Node node, long value)","params":[{"name":"node","type":"Node"},{"name":"value","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLongValueProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedLongValueProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLongValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedLongValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedLongValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedLongValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLongValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedLongValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedLongValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedLongValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html","name":"InlinedLoopConditionProfile","kind":"class","signature":"public final class InlinedLoopConditionProfile extends InlinedProfile","summary":"InlinedLoopConditionProfiles are designed to profile the outcome of loop conditions.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.profile(Node, boolean)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#profile(com.oracle.truffle.api.nodes.Node,boolean)","name":"profile","kind":"method","signature":"public boolean profile(Node node, boolean condition)","params":[{"name":"node","type":"Node"},{"name":"condition","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.profileCounted(Node, long)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#profileCounted(com.oracle.truffle.api.nodes.Node,long)","name":"profileCounted","kind":"method","signature":"public void profileCounted(Node node, long length)","summary":"Provides an alternative way to profile counted loops with less interpreter footprint.","details":"Please see InlinedLoopConditionProfile for an usage example.","params":[{"name":"node","type":"Node"},{"name":"length","type":"long"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.inject(Node, boolean)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#inject(com.oracle.truffle.api.nodes.Node,boolean)","name":"inject","kind":"method","signature":"public boolean inject(Node node, boolean condition)","summary":"Provides an alternative way to profile counted loops with less interpreter footprint.","details":"Please see InlinedLoopConditionProfile for an usage example.","params":[{"name":"node","type":"Node"},{"name":"condition","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.wasTrue(Node)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#wasTrue(com.oracle.truffle.api.nodes.Node)","name":"wasTrue","kind":"method","signature":"public boolean wasTrue(Node node)","summary":"Returns true if the profile(Node, boolean) method ever received a true value, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.wasFalse(Node)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#wasFalse(com.oracle.truffle.api.nodes.Node)","name":"wasFalse","kind":"method","signature":"public boolean wasFalse(Node node)","summary":"Returns true if the profile(Node, boolean) method ever received a false value, otherwise false.","details":"For profiles with profiling disabled or uncached profiles this method always returns true.","params":[{"name":"node","type":"Node"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.disable(Node)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#disable(com.oracle.truffle.api.nodes.Node)","name":"disable","kind":"method","signature":"public void disable(Node node)","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.reset(Node)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#reset(com.oracle.truffle.api.nodes.Node)","name":"reset","kind":"method","signature":"public void reset(Node node)","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedLoopConditionProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedLoopConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedLoopConditionProfile.getUncached()","href":"com/oracle/truffle/api/profiles/InlinedLoopConditionProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static InlinedLoopConditionProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does not perform any profiling.","returns":{"type":"InlinedLoopConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedProfile","href":"com/oracle/truffle/api/profiles/InlinedProfile.html","name":"InlinedProfile","kind":"class","signature":"public abstract class InlinedProfile","summary":"A profile is a Truffle utility class that uses the Truffle compiler directives to guard for and/or forward runtime information to the compiler.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.InlinedProfile.disable(Node)","href":"com/oracle/truffle/api/profiles/InlinedProfile.html#disable(com.oracle.truffle.api.nodes.Node)","name":"disable","kind":"method","signature":"public abstract void disable(Node node)","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedProfile.reset(Node)","href":"com/oracle/truffle/api/profiles/InlinedProfile.html#reset(com.oracle.truffle.api.nodes.Node)","name":"reset","kind":"method","signature":"public abstract void reset(Node node)","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile.","params":[{"name":"node","type":"Node"}]}
{"symbol":"com.oracle.truffle.api.profiles.InlinedProfile.toString(Node)","href":"com/oracle/truffle/api/profiles/InlinedProfile.html#toString(com.oracle.truffle.api.nodes.Node)","name":"toString","kind":"method","signature":"public abstract String toString(Node node)","summary":"Prints a string representation of this inlined profile given a target node.","params":[{"name":"node","type":"Node"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.InlinedProfile.toString()","href":"com/oracle/truffle/api/profiles/InlinedProfile.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile","href":"com/oracle/truffle/api/profiles/IntValueProfile.html","name":"IntValueProfile","kind":"class","signature":"public final class IntValueProfile extends Profile","summary":"Specialized value profile to capture certain properties of int runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.profile(int)","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#profile(int)","name":"profile","kind":"method","signature":"public int profile(int value)","params":[{"name":"value","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.disable()","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.reset()","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.toString()","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.createIdentityProfile()","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#createIdentityProfile()","name":"createIdentityProfile","kind":"method","signature":"public static IntValueProfile createIdentityProfile()","summary":"Returns a value profile that profiles the exact value of an int.","returns":{"type":"IntValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.create()","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#create()","name":"create","kind":"method","signature":"public static IntValueProfile create()","summary":"Returns a value profile that profiles the exact value of an int.","returns":{"type":"IntValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static IntValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"IntValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.IntValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/IntValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedIntValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedIntValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile","href":"com/oracle/truffle/api/profiles/LongValueProfile.html","name":"LongValueProfile","kind":"class","signature":"public final class LongValueProfile extends Profile","summary":"Specialized value profile to capture certain properties of long runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.profile(long)","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#profile(long)","name":"profile","kind":"method","signature":"public long profile(long value)","params":[{"name":"value","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.disable()","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.reset()","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.toString()","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.createIdentityProfile()","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#createIdentityProfile()","name":"createIdentityProfile","kind":"method","signature":"public static LongValueProfile createIdentityProfile()","summary":"Returns a value profile that profiles the exact value of an long.","returns":{"type":"LongValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.create()","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#create()","name":"create","kind":"method","signature":"public static LongValueProfile create()","summary":"Returns a value profile that profiles the exact value of an long.","returns":{"type":"LongValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static LongValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"LongValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.LongValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/LongValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedLongValueProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedLongValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html","name":"LoopConditionProfile","kind":"class","signature":"public final class LoopConditionProfile extends ConditionProfile","summary":"LoopConditionProfiles are designed to profile the outcome of loop conditions.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.profile(boolean)","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#profile(boolean)","name":"profile","kind":"method","signature":"public boolean profile(boolean condition)","params":[{"name":"condition","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.profileCounted(long)","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#profileCounted(long)","name":"profileCounted","kind":"method","signature":"public void profileCounted(long length)","summary":"Provides an alternative way to profile counted loops with less interpreter footprint.","details":"Please see LoopConditionProfile for an usage example.","params":[{"name":"length","type":"long"}]}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.inject(boolean)","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#inject(boolean)","name":"inject","kind":"method","signature":"public boolean inject(boolean condition)","summary":"Provides an alternative way to profile counted loops with less interpreter footprint.","details":"Please see LoopConditionProfile for an usage example.","params":[{"name":"condition","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.disable()","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.reset()","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.toString()","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.create()","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#create()","name":"create","kind":"method","signature":"public static LoopConditionProfile create()","summary":"Returns a LoopConditionProfile that speculates on loop conditions to be never true.","details":"It also captures loop probabilities for the compiler. Loop condition profiles are intended to be used for loop conditions.","returns":{"type":"LoopConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.LoopConditionProfile.getUncached()","href":"com/oracle/truffle/api/profiles/LoopConditionProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static LoopConditionProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"LoopConditionProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html","name":"PrimitiveValueProfile","kind":"class","signature":"public final class PrimitiveValueProfile extends ValueProfile","summary":"Represents a ValueProfile that speculates on the primitive equality or object identity of values.","details":"Note that for float and double values we compare primitive equality via Float.floatToRawIntBits and Double.doubleToRawLongBits, so that for example -0.0 is not considered the same as 0.0, even though primitive equality would normally say that it was."}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(T)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(T)","name":"profile","kind":"method","signature":"public <T> T profile(T v)","params":[{"name":"v","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(byte)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(byte)","name":"profile","kind":"method","signature":"public byte profile(byte value)","params":[{"name":"value","type":"byte"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(short)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(short)","name":"profile","kind":"method","signature":"public short profile(short value)","params":[{"name":"value","type":"short"}],"returns":{"type":"short"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(int)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(int)","name":"profile","kind":"method","signature":"public int profile(int value)","params":[{"name":"value","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(long)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(long)","name":"profile","kind":"method","signature":"public long profile(long value)","params":[{"name":"value","type":"long"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(float)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(float)","name":"profile","kind":"method","signature":"public float profile(float value)","params":[{"name":"value","type":"float"}],"returns":{"type":"float"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(double)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(double)","name":"profile","kind":"method","signature":"public double profile(double value)","params":[{"name":"value","type":"double"}],"returns":{"type":"double"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(boolean)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(boolean)","name":"profile","kind":"method","signature":"public boolean profile(boolean value)","params":[{"name":"value","type":"boolean"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.profile(char)","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#profile(char)","name":"profile","kind":"method","signature":"public char profile(char value)","params":[{"name":"value","type":"char"}],"returns":{"type":"char"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.disable()","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.reset()","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.toString()","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.createEqualityProfile()","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#createEqualityProfile()","name":"createEqualityProfile","kind":"method","signature":"public static PrimitiveValueProfile createEqualityProfile()","summary":"Returns a PrimitiveValueProfile that speculates on the primitive equality or object identity of a value.","returns":{"type":"PrimitiveValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.create()","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#create()","name":"create","kind":"method","signature":"public static PrimitiveValueProfile create()","summary":"Returns a PrimitiveValueProfile that speculates on the primitive equality or object identity of a value.","returns":{"type":"PrimitiveValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.PrimitiveValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/PrimitiveValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static PrimitiveValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"PrimitiveValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.Profile","href":"com/oracle/truffle/api/profiles/Profile.html","name":"Profile","kind":"class","signature":"public abstract class Profile extends NodeCloneable","summary":"A profile is a Truffle utility class that uses the Truffle compiler directives to guard for and/or forward runtime information to the compiler.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.Profile.disable()","href":"com/oracle/truffle/api/profiles/Profile.html#disable()","name":"disable","kind":"method","signature":"public void disable()","summary":"Disables this profile by setting it to its generic state.","details":"After disabling it is guaranteed to never deoptimize on any invocation of a profile method. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.Profile.reset()","href":"com/oracle/truffle/api/profiles/Profile.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets this profile to its uninitialized state.","details":"Has no effect if this profile is already in its uninitialized state or a disabled version of this profile is used. This method must not be called on compiled code paths. Note that disabling the profile will not invalidate existing compiled code that uses this profile."}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile","href":"com/oracle/truffle/api/profiles/ValueProfile.html","name":"ValueProfile","kind":"class","signature":"public abstract class ValueProfile extends Profile","summary":"Specialized value profile to capture certain properties of Object runtime values.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile.profile(T)","href":"com/oracle/truffle/api/profiles/ValueProfile.html#profile(T)","name":"profile","kind":"method","signature":"public abstract <T> T profile(T value)","params":[{"name":"value","type":"T"}],"returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile.createClassProfile()","href":"com/oracle/truffle/api/profiles/ValueProfile.html#createClassProfile()","name":"createClassProfile","kind":"method","signature":"public static ValueProfile createClassProfile()","summary":"Returns a value profile that profiles the exact class of a value.","detailsOmitted":true,"returns":{"type":"ValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile.create()","href":"com/oracle/truffle/api/profiles/ValueProfile.html#create()","name":"create","kind":"method","signature":"public static ValueProfile create()","summary":"Returns a value profile that profiles the exact class of a value.","detailsOmitted":true,"returns":{"type":"ValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile.createIdentityProfile()","href":"com/oracle/truffle/api/profiles/ValueProfile.html#createIdentityProfile()","name":"createIdentityProfile","kind":"method","signature":"public static ValueProfile createIdentityProfile()","summary":"Returns a value profile that profiles the object identity of a value.","details":"A single instance can only profile one particular instance. Compilation notes: Identity profiles require a runtime check to verify their profiled object identity. If two identities have been seen on a single profile instance then this profile will transition to a generic state with no overhead.","returns":{"type":"ValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile.getUncached()","href":"com/oracle/truffle/api/profiles/ValueProfile.html#getUncached()","name":"getUncached","kind":"method","signature":"public static ValueProfile getUncached()","summary":"Returns the uncached version of the profile.","details":"The uncached version of a profile does nothing.","returns":{"type":"ValueProfile"}}
{"symbol":"com.oracle.truffle.api.profiles.ValueProfile.inline(InlineSupport.InlineTarget)","href":"com/oracle/truffle/api/profiles/ValueProfile.html#inline(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget)","name":"inline","kind":"method","signature":"public static InlinedExactClassProfile inline(InlineSupport.InlineTarget target)","summary":"Returns an inlined version of the profile.","details":"This version is automatically used by Truffle DSL node inlining.","params":[{"name":"target","type":"InlineSupport.InlineTarget"}],"returns":{"type":"InlinedExactClassProfile"}}
{"symbol":"com.oracle.truffle.api.provider.InternalResourceProvider","href":"com/oracle/truffle/api/provider/InternalResourceProvider.html","name":"InternalResourceProvider","kind":"class","signature":"public abstract class InternalResourceProvider","summary":"Used to register an optional InternalResource using a ServiceLoader.","details":"This interface is not intended to be implemented directly by a language developer, rather the implementation is generated by the Truffle DSL."}
{"symbol":"com.oracle.truffle.api.provider.InternalResourceProvider()","href":"com/oracle/truffle/api/provider/InternalResourceProvider.html#%3Cinit%3E()","name":"InternalResourceProvider","kind":"constructor","signature":"public InternalResourceProvider()","summary":"Creates a new InternalResourceProvider instance."}
{"symbol":"com.oracle.truffle.api.provider.InternalResourceProvider.getComponentId()","href":"com/oracle/truffle/api/provider/InternalResourceProvider.html#getComponentId()","name":"getComponentId","kind":"method","signature":"protected abstract String getComponentId()","summary":"Provides the identifier of the language or instrument to which the resource belongs.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.provider.InternalResourceProvider.getResourceId()","href":"com/oracle/truffle/api/provider/InternalResourceProvider.html#getResourceId()","name":"getResourceId","kind":"method","signature":"protected abstract String getResourceId()","summary":"An internal resource identifier.","details":"The value is derived from Id.value().","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.provider.InternalResourceProvider.createInternalResource()","href":"com/oracle/truffle/api/provider/InternalResourceProvider.html#createInternalResource()","name":"createInternalResource","kind":"method","signature":"protected abstract Object createInternalResource()","summary":"Creates an InternalResource instance.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html","name":"TruffleLanguageProvider","kind":"class","signature":"public abstract class TruffleLanguageProvider","summary":"Used to register a TruffleLanguage using a ServiceLoader.","details":"This interface is not intended to be implemented directly by a language developer, rather the implementation is generated by the Truffle DSL. The generated implementation has to inherit the Registration and ProvidedTags annotations from the TruffleLanguage."}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider()","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#%3Cinit%3E()","name":"TruffleLanguageProvider","kind":"constructor","signature":"protected TruffleLanguageProvider()","summary":"Constructor to be called by subclasses."}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider.getLanguageClassName()","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#getLanguageClassName()","name":"getLanguageClassName","kind":"method","signature":"protected abstract String getLanguageClassName()","summary":"Returns the name of a class implementing the TruffleLanguage.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider.create()","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#create()","name":"create","kind":"method","signature":"protected abstract Object create()","summary":"Creates a new instance of a TruffleLanguage.","returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider.getServicesClassNames()","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#getServicesClassNames()","name":"getServicesClassNames","kind":"method","signature":"protected abstract Collection<String> getServicesClassNames()","summary":"Returns the class names of provided services.","returns":{"type":"Collection<String>"}}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider.createFileTypeDetectors()","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#createFileTypeDetectors()","name":"createFileTypeDetectors","kind":"method","signature":"protected abstract List<?> createFileTypeDetectors()","summary":"Creates file type detectors used by the TruffleLanguage.","returns":{"type":"List<?>"}}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider.getInternalResourceIds()","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#getInternalResourceIds()","name":"getInternalResourceIds","kind":"method","signature":"protected List<String> getInternalResourceIds()","summary":"Returns ids of provided internal resources.","returns":{"type":"List<String>"}}
{"symbol":"com.oracle.truffle.api.provider.TruffleLanguageProvider.createInternalResource(String)","href":"com/oracle/truffle/api/provider/TruffleLanguageProvider.html#createInternalResource(java.lang.String)","name":"createInternalResource","kind":"method","signature":"protected Object createInternalResource(String resourceId)","summary":"Creates a language InternalResource identified by the resourceId.","params":[{"name":"resourceId","type":"String"}],"returns":{"type":"Object"},"throws":[{"type":"IllegalArgumentException","doc":"if resourceId is not supported by this language"}]}
{"symbol":"com.oracle.truffle.api.source.Source","href":"com/oracle/truffle/api/source/Source.html","name":"Source","kind":"class","signature":"public abstract class Source","summary":"Representation of a source code unit and its contents that can be evaluated in a language.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.source.Source.CONTENT_NONE","href":"com/oracle/truffle/api/source/Source.html#CONTENT_NONE","name":"CONTENT_NONE","kind":"field","signature":"public static final CharSequence CONTENT_NONE","summary":"Constant to be used as an argument to SourceBuilder.content(CharSequence) to set no content to the Source built.","details":"The created sections will contain location information only and no characters. That's useful mainly when the source code is not available, but there are relative file paths, like in Java bytecode or LLVM bitcode. It's up to tools to resolve those relative paths and use the section location in resolved sources."}
{"symbol":"com.oracle.truffle.api.source.Source.getLanguage()","href":"com/oracle/truffle/api/source/Source.html#getLanguage()","name":"getLanguage","kind":"method","signature":"public abstract String getLanguage()","summary":"Returns the language this source was created with.","details":"The string returned matches the id of the language.","returns":{"type":"String","doc":"the language of this source."}}
{"symbol":"com.oracle.truffle.api.source.Source.getName()","href":"com/oracle/truffle/api/source/Source.html#getName()","name":"getName","kind":"method","signature":"public abstract String getName()","summary":"Returns the name of this resource holding a guest language program.","details":"An example would be the name of a guest language source code file. Name is supposed to be shorter than getPath().","returns":{"type":"String","doc":"the name of the guest language program"}}
{"symbol":"com.oracle.truffle.api.source.Source.getPath()","href":"com/oracle/truffle/api/source/Source.html#getPath()","name":"getPath","kind":"method","signature":"public abstract String getPath()","summary":"The fully qualified name of the source.","details":"In case this source originates from a File or TruffleFile, then the path is the normalized, canonical path. If canonicalizePath(false) is used when building the source then TruffleFile.getPath() is used instead. If the source originates from an URL, then it's the path component of the URL.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.source.Source.isInternal()","href":"com/oracle/truffle/api/source/Source.html#isInternal()","name":"isInternal","kind":"method","signature":"public abstract boolean isInternal()","summary":"Check whether this source has been marked as internal, meaning that it has been provided by the infrastructure, language implementation, or system library.","details":"Internal sources are presumed to be irrelevant to guest language programmers, as well as possibly confusing and revealing of language implementation details. On the other hand, tools should be free to make internal sources visible in (possibly privileged) modes that are useful for language implementors. One can specify whether a source is internal when building it.","returns":{"type":"boolean","doc":"whether this source is marked as internal"}}
{"symbol":"com.oracle.truffle.api.source.Source.isCached()","href":"com/oracle/truffle/api/source/Source.html#isCached()","name":"isCached","kind":"method","signature":"public abstract boolean isCached()","summary":"Returns true if code caching is enabled for this source.","details":"If true then the source does not require parsing every time this source is evaluated. If false then the source requires parsing every time the source is evaluated but does not remember any state. Disabling caching may be useful if the source is known to only be evaluated once.","returns":{"type":"boolean","doc":"whether this source is allowed to be cached"}}
{"symbol":"com.oracle.truffle.api.source.Source.isInteractive()","href":"com/oracle/truffle/api/source/Source.html#isInteractive()","name":"isInteractive","kind":"method","signature":"public abstract boolean isInteractive()","summary":"Check whether this source has been marked as interactive.","detailsOmitted":true,"returns":{"type":"boolean","doc":"whether this source is marked as interactive"}}
{"symbol":"com.oracle.truffle.api.source.Source.equals(Object)","href":"com/oracle/truffle/api/source/Source.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public final boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.Source.hashCode()","href":"com/oracle/truffle/api/source/Source.html#hashCode()","name":"hashCode","kind":"method","signature":"public final int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.source.Source.subSource(int, int)","href":"com/oracle/truffle/api/source/Source.html#subSource(int,int)","name":"subSource","kind":"method","signature":"public Source subSource(int baseCharIndex, int length)","summary":"Creates a Source instance that represents the contents of a sub-range of an this Source.","params":[{"name":"baseCharIndex","type":"int","doc":"0-based index of the first character of the sub-range"},{"name":"length","type":"int","doc":"the number of characters in the sub-range"}],"returns":{"type":"Source","doc":"a new instance representing a sub-range of another Source"},"throws":[{"type":"IllegalArgumentException","doc":"if the specified sub-range is not contained in the base"},{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."}]}
{"symbol":"com.oracle.truffle.api.source.Source.getCharacters()","href":"com/oracle/truffle/api/source/Source.html#getCharacters()","name":"getCharacters","kind":"method","signature":"public abstract CharSequence getCharacters()","summary":"Returns all characters of the source.","returns":{"type":"CharSequence"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."}]}
{"symbol":"com.oracle.truffle.api.source.Source.hasBytes()","href":"com/oracle/truffle/api/source/Source.html#hasBytes()","name":"hasBytes","kind":"method","signature":"public abstract boolean hasBytes()","summary":"Returns true if this source represents a byte based source, else false.","details":"A source is either a byte based, a character based, or with no content, but never both byte and character based at the same time. The method getBytes() is only supported if this method returns true.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.Source.hasCharacters()","href":"com/oracle/truffle/api/source/Source.html#hasCharacters()","name":"hasCharacters","kind":"method","signature":"public abstract boolean hasCharacters()","summary":"Returns true if this source represents a character based source, else false.","details":"A source is either a byte based, a character based, or with no content, but never both byte and character based at the same time. The following methods are only supported if hasCharacters() is true: getReader() getCharacters() getLineCount() getLineNumber(int) getColumnNumber(int) getLineStartOffset(int) getLineLength(int)","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.Source.getBytes()","href":"com/oracle/truffle/api/source/Source.html#getBytes()","name":"getBytes","kind":"method","signature":"public abstract ByteSequence getBytes()","summary":"Returns the bytes of the source if it is a byte based source.","returns":{"type":"ByteSequence"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain bytes ."}]}
{"symbol":"com.oracle.truffle.api.source.Source.getURL()","href":"com/oracle/truffle/api/source/Source.html#getURL()","name":"getURL","kind":"method","signature":"public abstract URL getURL()","summary":"The URL if the source is retrieved via URL.","returns":{"type":"URL","doc":"URL or null"}}
{"symbol":"com.oracle.truffle.api.source.Source.getURI()","href":"com/oracle/truffle/api/source/Source.html#getURI()","name":"getURI","kind":"method","signature":"public final URI getURI()","summary":"Get URI of the source.","details":"Every source has an associated URI, which can be used as a persistent identification of the source. For example one can register a breakpoint using a URI to a source that isn't loaded yet and it will be activated when the source is evaluated. The URI returned by this method should be as unique as possible, yet it can happen that different sources return the same getURI - for example when content of a file on a disk changes and is re-loaded.","returns":{"type":"URI","doc":"a URI, it's never null"}}
{"symbol":"com.oracle.truffle.api.source.Source.getMimeType()","href":"com/oracle/truffle/api/source/Source.html#getMimeType()","name":"getMimeType","kind":"method","signature":"public abstract String getMimeType()","summary":"Returns the MIME type that is associated with this source.","detailsOmitted":true,"returns":{"type":"String","doc":"MIME type of this source or null, if not explicitly set."}}
{"symbol":"com.oracle.truffle.api.source.Source.getReader()","href":"com/oracle/truffle/api/source/Source.html#getReader()","name":"getReader","kind":"method","signature":"public final Reader getReader()","summary":"Access to the source contents.","returns":{"type":"Reader"}}
{"symbol":"com.oracle.truffle.api.source.Source.getLength()","href":"com/oracle/truffle/api/source/Source.html#getLength()","name":"getLength","kind":"method","signature":"public final int getLength()","summary":"Gets the number of characters or bytes of the source.","returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source does not contain characters, nor bytes."}]}
{"symbol":"com.oracle.truffle.api.source.Source.getCharacters(int)","href":"com/oracle/truffle/api/source/Source.html#getCharacters(int)","name":"getCharacters","kind":"method","signature":"public final CharSequence getCharacters(int lineNumber)","summary":"Gets the text (not including a possible terminating newline) in a (1-based) numbered line.","details":"Causes the contents of this source to be loaded if they are loaded lazily.","params":[{"name":"lineNumber","type":"int"}],"returns":{"type":"CharSequence"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."}]}
{"symbol":"com.oracle.truffle.api.source.Source.getLineCount()","href":"com/oracle/truffle/api/source/Source.html#getLineCount()","name":"getLineCount","kind":"method","signature":"public final int getLineCount()","summary":"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.","details":"Causes the contents of this source to be loaded if they are loaded lazily.","returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."}]}
{"symbol":"com.oracle.truffle.api.source.Source.getLineNumber(int)","href":"com/oracle/truffle/api/source/Source.html#getLineNumber(int)","name":"getLineNumber","kind":"method","signature":"public final int getLineNumber(int offset) throws IllegalArgumentException","summary":"Given a 0-based character offset, return the 1-based number of the line that includes the position.","details":"Causes the contents of this source to be loaded if they are loaded lazily.","params":[{"name":"offset","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."},{"type":"IllegalArgumentException","doc":"if the offset is outside the text contents"}]}
{"symbol":"com.oracle.truffle.api.source.Source.getColumnNumber(int)","href":"com/oracle/truffle/api/source/Source.html#getColumnNumber(int)","name":"getColumnNumber","kind":"method","signature":"public final int getColumnNumber(int offset) throws IllegalArgumentException","summary":"Given a 0-based character offset, return the 1-based number of the column at the position.","details":"Causes the contents of this source to be loaded if they are loaded lazily.","params":[{"name":"offset","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."},{"type":"IllegalArgumentException","doc":"if the offset is outside the text contents"}]}
{"symbol":"com.oracle.truffle.api.source.Source.getLineStartOffset(int)","href":"com/oracle/truffle/api/source/Source.html#getLineStartOffset(int)","name":"getLineStartOffset","kind":"method","signature":"public final int getLineStartOffset(int lineNumber) throws IllegalArgumentException","summary":"Given a 1-based line number, return the 0-based offset of the first character in the line.","params":[{"name":"lineNumber","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."},{"type":"IllegalArgumentException","doc":"if there is no such line in the text"}]}
{"symbol":"com.oracle.truffle.api.source.Source.getLineLength(int)","href":"com/oracle/truffle/api/source/Source.html#getLineLength(int)","name":"getLineLength","kind":"method","signature":"public final int getLineLength(int lineNumber) throws IllegalArgumentException","summary":"The number of characters (not counting a possible terminating newline) in a (1-based) numbered line.","details":"Causes the contents of this source to be loaded if they are loaded lazily.","params":[{"name":"lineNumber","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."},{"type":"IllegalArgumentException","doc":"if there is no such line in the text"}]}
{"symbol":"com.oracle.truffle.api.source.Source.getOptions(TruffleLanguage)","href":"com/oracle/truffle/api/source/Source.html#getOptions(com.oracle.truffle.api.TruffleLanguage)","name":"getOptions","kind":"method","signature":"public final OptionValues getOptions(TruffleLanguage<?> language)","summary":"Returns the parsed option values of the given source for the given language.","details":"Options can be specified by implementing TruffleLanguage.getSourceOptionDescriptors(). When accessing source options during parsing, use ParsingRequest.getOptionValues() instead of this method, to avoid parsing the options twice. Note that options may not be validated beforehand, which can result in an IllegalArgumentException if validation fails. If the source was parsed previously, all options are guaranteed to have been validated. Otherwise, this method validates only the options of the current language.","params":[{"name":"language","type":"TruffleLanguage<?>","doc":"the language accessible via LanguageReference"}],"returns":{"type":"OptionValues","doc":"the parsed OptionValues for the specified source"},"throws":[{"type":"IllegalArgumentException","doc":"if option validation fails"}]}
{"symbol":"com.oracle.truffle.api.source.Source.createUnavailableSection()","href":"com/oracle/truffle/api/source/Source.html#createUnavailableSection()","name":"createUnavailableSection","kind":"method","signature":"public final SourceSection createUnavailableSection()","summary":"Returns an unavailable source section indicating that the source location is not available.","details":"Unavailable source sections have the same characteristics as empty source sections with character index 0, but returns false for SourceSection.isAvailable(). Unavailable source sections may be created for character and byte based sources.","returns":{"type":"SourceSection"}}
{"symbol":"com.oracle.truffle.api.source.Source.createSection(int, int, int, int)","href":"com/oracle/truffle/api/source/Source.html#createSection(int,int,int,int)","name":"createSection","kind":"method","signature":"public final SourceSection createSection(int startLine, int startColumn, int endLine, int endColumn)","summary":"Create representation of a contiguous region in the source that does not have the character content available.","params":[{"name":"startLine","type":"int","doc":"1-based line number of the first character in the section"},{"name":"startColumn","type":"int","doc":"1-based column number of the first character in the section, or -1 when the column is not defined"},{"name":"endLine","type":"int","doc":"1-based line number of the last character in the section"},{"name":"endColumn","type":"int","doc":"1-based column number of the last character in the section, or -1 when the column is not defined"}],"returns":{"type":"SourceSection"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source has bytes."}]}
{"symbol":"com.oracle.truffle.api.source.Source.createSection(int)","href":"com/oracle/truffle/api/source/Source.html#createSection(int)","name":"createSection","kind":"method","signature":"public final SourceSection createSection(int lineNumber)","summary":"Creates a representation of a line of text in the source identified only by line number, from which the character information will be computed.","details":"Please note that calling this method does cause the code of this source to be loaded, if there is any. If no code is available, a SourceSection without character content is created with the start line and the same end line defined only.","params":[{"name":"lineNumber","type":"int","doc":"1-based line number of the first character in the section"}],"returns":{"type":"SourceSection","doc":"newly created object representing the specified line"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source contains bytes."},{"type":"IllegalArgumentException","doc":"if the given lineNumber does not exist the source"}]}
{"symbol":"com.oracle.truffle.api.source.Source.createSection(int, int)","href":"com/oracle/truffle/api/source/Source.html#createSection(int,int)","name":"createSection","kind":"method","signature":"public final SourceSection createSection(int charIndex, int length)","summary":"Creates a representation of a contiguous region of text in the source.","details":"Please note that calling this method does only cause the code of this source to be loaded if assertions enabled. The bounds of the source section are only verified if assertions (-ea) are enabled in the host system. An IllegalArgumentException is thrown if the given indices are out of bounds of the source bounds.","params":[{"name":"charIndex","type":"int","doc":"0-based position of the first character in the section"},{"name":"length","type":"int","doc":"the number of characters in the section"}],"returns":{"type":"SourceSection","doc":"newly created object representing the specified region"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source cannot contain characters."},{"type":"IllegalArgumentException","doc":"if charIndex < 0 or length < 0; in case assertions are enabled also if the given bounds are out of the source bounds."}]}
{"symbol":"com.oracle.truffle.api.source.Source.createSection(int, int, int)","href":"com/oracle/truffle/api/source/Source.html#createSection(int,int,int)","name":"createSection","kind":"method","signature":"public final SourceSection createSection(int startLine, int startColumn, int length)","summary":"Creates a representation of a contiguous region of text in the source.","details":"When character content is available, computes the charIndex value by building a text map of lines in the source. Please note that calling this method does cause the code of this source to be loaded, if there is any. If no code is available, UnsupportedOperationException is thrown. Use createSection(int, int, int, int) to create a SourceSection without character content.","params":[{"name":"startLine","type":"int","doc":"1-based line number of the first character in the section"},{"name":"startColumn","type":"int","doc":"1-based column number of the first character in the section"},{"name":"length","type":"int","doc":"the number of characters in the section"}],"returns":{"type":"SourceSection","doc":"newly created object representing the specified region"},"throws":[{"type":"UnsupportedOperationException","doc":"if this source does not contain characters."},{"type":"IllegalArgumentException","doc":"if arguments are outside the text of the source bounds"}]}
{"symbol":"com.oracle.truffle.api.source.Source.toString()","href":"com/oracle/truffle/api/source/Source.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.source.Source.newBuilder(String, CharSequence, String)","href":"com/oracle/truffle/api/source/Source.html#newBuilder(java.lang.String,java.lang.CharSequence,java.lang.String)","name":"newBuilder","kind":"method","signature":"public static Source.LiteralBuilder newBuilder(String language, CharSequence characters, String name)","summary":"Creates a new character based literal source from a character sequence.","details":"The given characters must not mutate after they were accessed for the first time. Use this method for sources that do originate from a literal. For file or URL sources use the appropriate builder constructor and SourceBuilder.content(CharSequence). Example usage: Source source = Source.newBuilder(\"js\", \"function() {\\n\" + \" return 'Hi';\\n\" + \"}\\n\", \"hi.js\").build(); assert \"hi.js\".equals(source.getName());","params":[{"name":"language","type":"String","doc":"the language id, must not be null"},{"name":"characters","type":"CharSequence","doc":"the character sequence or string, must not be null"},{"name":"name","type":"String","doc":"the name of the source, if null then \"Unnamed\" will be used as name."}],"returns":{"type":"Source.LiteralBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.newBuilder(String, ByteSequence, String)","href":"com/oracle/truffle/api/source/Source.html#newBuilder(java.lang.String,org.graalvm.polyglot.io.ByteSequence,java.lang.String)","name":"newBuilder","kind":"method","signature":"public static Source.LiteralBuilder newBuilder(String language, ByteSequence bytes, String name)","summary":"Creates a new byte based literal source from a byte sequence.","details":"The given bytes must not mutate after they were accessed for the first time. Use this method for sources that do originate from a literal. For file or URL sources use the appropriate builder constructor and SourceBuilder.content(ByteSequence). Example usage: byte[] bytes = new byte[] {/* Binary */}; Source source = Source.newBuilder(\"llvm\", ByteSequence.create(bytes), \"<literal>\").build();","params":[{"name":"language","type":"String","doc":"the language id, must not be null"},{"name":"bytes","type":"ByteSequence","doc":"the byte sequence or string, must not be null"},{"name":"name","type":"String","doc":"the name of the source, if null then \"Unnamed\" will be used as name."}],"returns":{"type":"Source.LiteralBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.newBuilder(String, TruffleFile)","href":"com/oracle/truffle/api/source/Source.html#newBuilder(java.lang.String,com.oracle.truffle.api.TruffleFile)","name":"newBuilder","kind":"method","signature":"public static Source.SourceBuilder newBuilder(String language, TruffleFile file)","summary":"Creates a new file based source builder from a given file.","detailsOmitted":true,"params":[{"name":"language","type":"String","doc":"the language id, must not be null"},{"name":"file","type":"TruffleFile","doc":"the file to use and load, must not be null"}],"returns":{"type":"Source.SourceBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.newBuilder(String, URL)","href":"com/oracle/truffle/api/source/Source.html#newBuilder(java.lang.String,java.net.URL)","name":"newBuilder","kind":"method","signature":"public static Source.SourceBuilder newBuilder(String language, URL url)","summary":"Creates a new URL based source builder from a given URL.","detailsOmitted":true,"params":[{"name":"language","type":"String","doc":"the language id, must not be null"},{"name":"url","type":"URL","doc":"the URL to use and load, must not be null"}],"returns":{"type":"Source.SourceBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.newBuilder(String, Reader, String)","href":"com/oracle/truffle/api/source/Source.html#newBuilder(java.lang.String,java.io.Reader,java.lang.String)","name":"newBuilder","kind":"method","signature":"public static Source.SourceBuilder newBuilder(String language, Reader source, String name)","summary":"Creates new character based literal source from a reader.","details":"Use this method for sources that do originate from a literal. For file or URL sources use the appropriate builder constructor and SourceBuilder.content(CharSequence). Example usage: Reader stream = new InputStreamReader( relativeClass.getResourceAsStream(\"sample.js\") ); Source source = Source.newBuilder(\"js\", stream, \"sample.js\") .build(); assert \"sample.js\".equals(source.getName());","params":[{"name":"language","type":"String"},{"name":"source","type":"Reader"},{"name":"name","type":"String"}],"returns":{"type":"Source.SourceBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.newBuilder(Source)","href":"com/oracle/truffle/api/source/Source.html#newBuilder(com.oracle.truffle.api.source.Source)","name":"newBuilder","kind":"method","signature":"public static Source.LiteralBuilder newBuilder(Source source)","summary":"Creates a new source builder that inherits from the given Source.","details":"The Source properties can be modified using the builder methods.","params":[{"name":"source","type":"Source","doc":"the source to inherit the properties from"}],"returns":{"type":"Source.LiteralBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.findLanguage(TruffleFile)","href":"com/oracle/truffle/api/source/Source.html#findLanguage(com.oracle.truffle.api.TruffleFile)","name":"findLanguage","kind":"method","signature":"public static String findLanguage(TruffleFile file) throws IOException","summary":"Returns the first language that supports evaluating the probed mime type of a given file.","details":"This method is a shortcut for: String mimeType = Source.findMimeType(file); return mimeType != null ? Source.findLanguage(mimeType) : null;","params":[{"name":"file","type":"TruffleFile","doc":"the file to find the first language for"}],"returns":{"type":"String"},"throws":[{"type":"IOException","doc":"if an error opening the file occurred."}]}
{"symbol":"com.oracle.truffle.api.source.Source.findLanguage(URL)","href":"com/oracle/truffle/api/source/Source.html#findLanguage(java.net.URL)","name":"findLanguage","kind":"method","signature":"public static String findLanguage(URL url) throws IOException","summary":"Returns the first language that supports evaluating the probed mime type of a given URL.","details":"This method is a shortcut for: String mimeType = Source.findMimeType(url); return mimeType != null ? Source.findLanguage(mimeType) : null;","params":[{"name":"url","type":"URL","doc":"the url to find the first language for"}],"returns":{"type":"String"},"throws":[{"type":"IOException","doc":"if an error opening the url occurred."}]}
{"symbol":"com.oracle.truffle.api.source.Source.findMimeType(TruffleFile)","href":"com/oracle/truffle/api/source/Source.html#findMimeType(com.oracle.truffle.api.TruffleFile)","name":"findMimeType","kind":"method","signature":"public static String findMimeType(TruffleFile file) throws IOException","summary":"Returns the probed MIME type for a given file, or null if no MIME type could be resolved.","details":"Typically, the MIME type is identified using the file extension and/or using its contents. Probing the MIME type of a TruffleFile may require to opening the file.","params":[{"name":"file","type":"TruffleFile"}],"returns":{"type":"String"},"throws":[{"type":"IOException","doc":"if an error opening the file occurred."},{"type":"SecurityException","doc":"if the used filesystem denied file reading."}]}
{"symbol":"com.oracle.truffle.api.source.Source.findMimeType(URL)","href":"com/oracle/truffle/api/source/Source.html#findMimeType(java.net.URL)","name":"findMimeType","kind":"method","signature":"public static String findMimeType(URL url) throws IOException","summary":"Returns the probed MIME type for a given url, or null if no MIME type could be resolved.","details":"Typically the MIME type is identified using the file extension, connection meta-data and/or using it contents. Returns null if the language of the given file could not be detected. Probing the language of an URL may require to open a new URL connection.","params":[{"name":"url","type":"URL"}],"returns":{"type":"String"},"throws":[{"type":"IOException","doc":"if an error opening the url occurred."},{"type":"SecurityException","doc":"if the used filesystem denied file reading."}]}
{"symbol":"com.oracle.truffle.api.source.Source.findLanguage(String)","href":"com/oracle/truffle/api/source/Source.html#findLanguage(java.lang.String)","name":"findLanguage","kind":"method","signature":"public static String findLanguage(String mimeType)","summary":"Returns the first installed language that supports evaluating sources for a given MIME type.","details":"Returns null if no language was found that supports a given MIME type. The languages are queried in the same order as returned by Engine.getLanguages().","params":[{"name":"mimeType","type":"String"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html","name":"Source.LiteralBuilder","kind":"class","signature":"public final class Source.LiteralBuilder extends Source.SourceBuilder","summary":"Allows one to specify additional attribute before creating new Source instance."}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.content(CharSequence)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#content(java.lang.CharSequence)","name":"content","kind":"method","signature":"public Source.LiteralBuilder content(CharSequence characters)","summary":"Specifies character based content of to-be-built Source.","detailsOmitted":true,"params":[{"name":"characters","type":"CharSequence","doc":"the code to be available via Source.getCharacters(), or CONTENT_NONE"}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder - which's build() method no longer throws an IOException"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.content(ByteSequence)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#content(org.graalvm.polyglot.io.ByteSequence)","name":"content","kind":"method","signature":"public Source.LiteralBuilder content(ByteSequence bytes)","summary":"Specifies byte based content of to-be-built Source.","detailsOmitted":true,"params":[{"name":"bytes","type":"ByteSequence","doc":"the code to be available via Source.getBytes()"}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder - which's build() method no longer throws an IOException"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.name(String)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#name(java.lang.String)","name":"name","kind":"method","signature":"public Source.LiteralBuilder name(String newName)","summary":"Specifies a name to the to-be-built Source.","params":[{"name":"newName","type":"String","doc":"name that replaces the previously given one. If set to null then \"Unnamed\" will be used."}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.mimeType(String)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#mimeType(java.lang.String)","name":"mimeType","kind":"method","signature":"public Source.LiteralBuilder mimeType(String newMimeType)","summary":"Explicitly assigns a MIME type to the to-be-built Source.","details":"If the MIME type is null then the default MIME type of the language will be used to interpret the source. If set explicitly then the language needs to support the MIME type in order to parse a source. If not null then the MIME type will be verified containing no spaces and a '/' between group and sub-group. An example for a valid MIME type is: text/javascript. The MIME type can be guessed by the system based on files or urls.","params":[{"name":"newMimeType","type":"String","doc":"the new mime type to be assigned, or null if default MIME type should be used."}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder ready to create new source"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.cached(boolean)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#cached(boolean)","name":"cached","kind":"method","signature":"public Source.LiteralBuilder cached(boolean cached)","summary":"Enables or disables code caching for this source.","detailsOmitted":true,"params":[{"name":"cached","type":"boolean"}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder ready to create new source"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.internal(boolean)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#internal(boolean)","name":"internal","kind":"method","signature":"public Source.LiteralBuilder internal(boolean enabled)","summary":"Marks the source as internal.","details":"Internal sources are those that aren't created by user, but rather inherently present by the language system. Calling this method influences result of create Source.isInternal()","params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"Source.LiteralBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.interactive(boolean)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#interactive(boolean)","name":"interactive","kind":"method","signature":"public Source.LiteralBuilder interactive(boolean enabled)","summary":"Marks the source as interactive.","details":"Evaluation of interactive sources by an interactive language can use the environment streams to print the result and read an input. However, non-interactive languages are expected to ignore the interactive property of sources and not use the environment streams. Any desired printing of the evaluated result provided by a non-interactive language needs to be handled by the caller. Calling of this method influences the result of Source.isInteractive().","params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"Source.LiteralBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.uri(URI)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#uri(java.net.URI)","name":"uri","kind":"method","signature":"public Source.LiteralBuilder uri(URI ownUri)","summary":"Assigns new URI to the to-be-created Source.","details":"Each source provides Source.getURI() as a persistent identification of its location. A default value for the method is deduced from the location or content, but one can change it by using this method","params":[{"name":"ownUri","type":"URI","doc":"the URL to use instead of default one, cannot be null"}],"returns":{"type":"Source.LiteralBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.canonicalizePath(boolean)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#canonicalizePath(boolean)","name":"canonicalizePath","kind":"method","signature":"public Source.LiteralBuilder canonicalizePath(boolean canonicalize)","summary":"Whether the Source.getPath() (from the TruffleFile) should be canonicalized.","details":"By default the path is canonicalized to improve Source caching. If set to false, then Source.getPath() will be the same as the passed TruffleFile TruffleFile.getPath().","params":[{"name":"canonicalize","type":"boolean","doc":"whether to canonicalize the path from the TruffleFile"}],"returns":{"type":"Source.LiteralBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.encoding(Charset)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#encoding(java.nio.charset.Charset)","name":"encoding","kind":"method","signature":"public Source.LiteralBuilder encoding(Charset encoding)","summary":"Explicitly assigns an encoding used to read the file content.","details":"If the encoding is null then the file contained encoding information is used. If the file doesn't provide an encoding information the default UTF-8 encoding is used.","params":[{"name":"encoding","type":"Charset","doc":"the new file encoding to be used for reading the content"}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder ready to create new source"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.option(String, String)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#option(java.lang.String,java.lang.String)","name":"option","kind":"method","signature":"public Source.LiteralBuilder option(String key, String value)","summary":"Sets a source option key and value for the built source.","detailsOmitted":true,"params":[{"name":"key","type":"String","doc":"the option key (must not be null)"},{"name":"value","type":"String","doc":"the option value (must not be null)"}],"returns":{"type":"Source.LiteralBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.options(Map)","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#options(java.util.Map)","name":"options","kind":"method","signature":"public Source.LiteralBuilder options(Map<String, String> options)","summary":"Shortcut for setting multiple options using a map.","details":"All values of the provided map must be non-null.","params":[{"name":"options","type":"Map<String, String>"}],"returns":{"type":"Source.LiteralBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.LiteralBuilder.build()","href":"com/oracle/truffle/api/source/Source.LiteralBuilder.html#build()","name":"build","kind":"method","signature":"public Source build()","summary":"Uses configuration of this builder to create new Source object.","returns":{"type":"Source","doc":"the source object"},"throws":[{"type":"SecurityException","doc":"if the used filesystem denied file reading"}]}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html","name":"Source.SourceBuilder","kind":"class","signature":"public class Source.SourceBuilder","summary":"Allows one to specify additional attribute before creating new Source instance.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.name(String)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#name(java.lang.String)","name":"name","kind":"method","signature":"public Source.SourceBuilder name(String newName)","summary":"Specifies a name to the to-be-built Source.","params":[{"name":"newName","type":"String","doc":"name that replaces the previously given one. If set to null then \"Unnamed\" will be used."}],"returns":{"type":"Source.SourceBuilder","doc":"instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.content(CharSequence)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#content(java.lang.CharSequence)","name":"content","kind":"method","signature":"public Source.LiteralBuilder content(CharSequence characters)","summary":"Specifies character based content of to-be-built Source.","detailsOmitted":true,"params":[{"name":"characters","type":"CharSequence","doc":"the code to be available via Source.getCharacters(), or CONTENT_NONE"}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder - which's build() method no longer throws an IOException"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.content(ByteSequence)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#content(org.graalvm.polyglot.io.ByteSequence)","name":"content","kind":"method","signature":"public Source.LiteralBuilder content(ByteSequence bytes)","summary":"Specifies byte based content of to-be-built Source.","detailsOmitted":true,"params":[{"name":"bytes","type":"ByteSequence","doc":"the code to be available via Source.getBytes()"}],"returns":{"type":"Source.LiteralBuilder","doc":"instance of this builder - which's build() method no longer throws an IOException"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.mimeType(String)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#mimeType(java.lang.String)","name":"mimeType","kind":"method","signature":"public Source.SourceBuilder mimeType(String mimeType)","summary":"Explicitly assigns a MIME type to the to-be-built Source.","details":"If the MIME type is null then the default MIME type of the language will be used to interpret the source. If set explicitly then the language needs to support the MIME type in order to parse a source. If not null then the MIME type will be verified containing no spaces and a '/' between group and sub-group. An example for a valid MIME type is: text/javascript. The MIME type can be guessed by the system based on files or urls.","params":[{"name":"mimeType","type":"String","doc":"the new mime type to be assigned, or null if default MIME type should be used."}],"returns":{"type":"Source.SourceBuilder","doc":"instance of this builder ready to create new source"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.cached(boolean)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#cached(boolean)","name":"cached","kind":"method","signature":"public Source.SourceBuilder cached(boolean enabled)","summary":"Enables or disables code caching for this source.","detailsOmitted":true,"params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"Source.SourceBuilder","doc":"instance of this builder ready to create new source"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.internal(boolean)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#internal(boolean)","name":"internal","kind":"method","signature":"public Source.SourceBuilder internal(boolean enabled)","summary":"Marks the source as internal.","details":"Internal sources are those that aren't created by user, but rather inherently present by the language system. Calling this method influences result of create Source.isInternal()","params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"Source.SourceBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.interactive(boolean)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#interactive(boolean)","name":"interactive","kind":"method","signature":"public Source.SourceBuilder interactive(boolean enabled)","summary":"Marks the source as interactive.","details":"Evaluation of interactive sources by an interactive language can use the environment streams to print the result and read an input. However, non-interactive languages are expected to ignore the interactive property of sources and not use the environment streams. Any desired printing of the evaluated result provided by a non-interactive language needs to be handled by the caller. Calling of this method influences the result of Source.isInteractive().","params":[{"name":"enabled","type":"boolean"}],"returns":{"type":"Source.SourceBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.uri(URI)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#uri(java.net.URI)","name":"uri","kind":"method","signature":"public Source.SourceBuilder uri(URI ownUri)","summary":"Assigns new URI to the to-be-created Source.","details":"Each source provides Source.getURI() as a persistent identification of its location. A default value for the method is deduced from the location or content, but one can change it by using this method","params":[{"name":"ownUri","type":"URI","doc":"the URL to use instead of default one, cannot be null"}],"returns":{"type":"Source.SourceBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.canonicalizePath(boolean)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#canonicalizePath(boolean)","name":"canonicalizePath","kind":"method","signature":"public Source.SourceBuilder canonicalizePath(boolean canonicalize)","summary":"Whether the Source.getPath() (from the TruffleFile) should be canonicalized.","details":"By default the path is canonicalized to improve Source caching. If set to false, then Source.getPath() will be the same as the passed TruffleFile TruffleFile.getPath().","params":[{"name":"canonicalize","type":"boolean","doc":"whether to canonicalize the path from the TruffleFile"}],"returns":{"type":"Source.SourceBuilder","doc":"the instance of this builder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.encoding(Charset)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#encoding(java.nio.charset.Charset)","name":"encoding","kind":"method","signature":"public Source.SourceBuilder encoding(Charset encoding)","summary":"Explicitly assigns an encoding used to read the file content.","details":"If the encoding is null then the file contained encoding information is used. If the file doesn't provide an encoding information the default UTF-8 encoding is used.","params":[{"name":"encoding","type":"Charset","doc":"the new file encoding to be used for reading the content"}],"returns":{"type":"Source.SourceBuilder","doc":"instance of this builder ready to create new source"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.option(String, String)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#option(java.lang.String,java.lang.String)","name":"option","kind":"method","signature":"public Source.SourceBuilder option(String key, String value)","summary":"Sets a source option key and value for the built source.","detailsOmitted":true,"params":[{"name":"key","type":"String","doc":"the option key (must not be null)"},{"name":"value","type":"String","doc":"the option value (must not be null)"}],"returns":{"type":"Source.SourceBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.options(Map)","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#options(java.util.Map)","name":"options","kind":"method","signature":"public Source.SourceBuilder options(Map<String, String> options)","summary":"Shortcut for setting multiple options using a map.","details":"All values of the provided map must be non-null.","params":[{"name":"options","type":"Map<String, String>"}],"returns":{"type":"Source.SourceBuilder"}}
{"symbol":"com.oracle.truffle.api.source.Source.SourceBuilder.build()","href":"com/oracle/truffle/api/source/Source.SourceBuilder.html#build()","name":"build","kind":"method","signature":"public Source build() throws IOException","summary":"Uses configuration of this builder to create new Source object.","details":"The method throws an IOException if an error loading the source occurred.","returns":{"type":"Source","doc":"the source object"},"throws":[{"type":"IOException","doc":"if an error reading the content occurred"},{"type":"SecurityException","doc":"if the used filesystem denied file reading"}]}
{"symbol":"com.oracle.truffle.api.source.SourceSection","href":"com/oracle/truffle/api/source/SourceSection.html","name":"SourceSection","kind":"class","signature":"public abstract class SourceSection","summary":"Description of contiguous section of text within a Source of program code.; supports multiple modes of access to the text and its location.","details":"Two available source sections are considered equal if their sources, start and length are equal. Unavailable source sections are compared by identity. Source sections can be used as keys in hash maps."}
{"symbol":"com.oracle.truffle.api.source.SourceSection.isAvailable()","href":"com/oracle/truffle/api/source/SourceSection.html#isAvailable()","name":"isAvailable","kind":"method","signature":"public abstract boolean isAvailable()","summary":"Returns whether this is a special instance that signifies that source information is available.","details":"Unavailable source sections can be created using Source.createUnavailableSection(). Available source sections are never equal to unavailable source sections. Unavailable source sections return the same indices and lengths as empty source sections starting at character index 0.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.hasLines()","href":"com/oracle/truffle/api/source/SourceSection.html#hasLines()","name":"hasLines","kind":"method","signature":"public abstract boolean hasLines()","summary":"Returns true if this section has a line number information, false otherwise.","details":"When true, getStartLine() and getEndLine() return valid line numbers, when false, getStartLine() and getEndLine() return 1.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.hasColumns()","href":"com/oracle/truffle/api/source/SourceSection.html#hasColumns()","name":"hasColumns","kind":"method","signature":"public abstract boolean hasColumns()","summary":"Returns true if this section has a column number information, false otherwise.","details":"When true, hasLines() is true as well, getStartColumn() and getEndColumn() return valid column numbers. When false, getStartColumn() and getEndColumn() return 1.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.hasCharIndex()","href":"com/oracle/truffle/api/source/SourceSection.html#hasCharIndex()","name":"hasCharIndex","kind":"method","signature":"public abstract boolean hasCharIndex()","summary":"Returns true if this section has a character index information, false otherwise.","details":"When true, getCharIndex(), getCharEndIndex() and getCharLength() return valid character indices, when false, getCharIndex(), getCharEndIndex() and getCharLength() return 0.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getSource()","href":"com/oracle/truffle/api/source/SourceSection.html#getSource()","name":"getSource","kind":"method","signature":"public final Source getSource()","summary":"Representation of the source program that contains this section.","returns":{"type":"Source","doc":"the source object"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getStartLine()","href":"com/oracle/truffle/api/source/SourceSection.html#getStartLine()","name":"getStartLine","kind":"method","signature":"public abstract int getStartLine()","summary":"Returns 1-based line number of the first character in this section (inclusive).","details":"Returns 1 for out of bounds or unavailable source sections, or source sections not having lines.","returns":{"type":"int","doc":"the starting line number"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getStartColumn()","href":"com/oracle/truffle/api/source/SourceSection.html#getStartColumn()","name":"getStartColumn","kind":"method","signature":"public abstract int getStartColumn()","summary":"Returns the 1-based column number of the first character in this section (inclusive).","details":"Returns 1 for out of bounds or unavailable source sections, or source sections not having columns.","returns":{"type":"int","doc":"the starting column number"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getEndLine()","href":"com/oracle/truffle/api/source/SourceSection.html#getEndLine()","name":"getEndLine","kind":"method","signature":"public abstract int getEndLine()","summary":"Returns 1-based line number of the last character in this section (inclusive).","details":"Returns 1 for out of bounds or unavailable source sections, or source sections not having lines.","returns":{"type":"int","doc":"the starting line number"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getEndColumn()","href":"com/oracle/truffle/api/source/SourceSection.html#getEndColumn()","name":"getEndColumn","kind":"method","signature":"public abstract int getEndColumn()","summary":"Returns the 1-based column number of the last character in this section (inclusive).","details":"Returns 1 for out of bounds or unavailable source sections, or source sections not having columns.","returns":{"type":"int","doc":"the starting column number"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getCharIndex()","href":"com/oracle/truffle/api/source/SourceSection.html#getCharIndex()","name":"getCharIndex","kind":"method","signature":"public abstract int getCharIndex()","summary":"Returns the 0-based index of the first character in this section.","details":"Returns 0 for unavailable source sections, or sections not having character index. The returned index might be out of bounds of the source code if assertions (-ea) are not enabled.","returns":{"type":"int","doc":"the starting character index"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getCharLength()","href":"com/oracle/truffle/api/source/SourceSection.html#getCharLength()","name":"getCharLength","kind":"method","signature":"public abstract int getCharLength()","summary":"Returns the length of this section in characters.","details":"Returns 0 for unavailable source sections, or sections not having character index. The returned length might be out of bounds of the source code if assertions (-ea) are not enabled.","returns":{"type":"int","doc":"the number of characters in the section"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getCharEndIndex()","href":"com/oracle/truffle/api/source/SourceSection.html#getCharEndIndex()","name":"getCharEndIndex","kind":"method","signature":"public abstract int getCharEndIndex()","summary":"Returns the index of the text position immediately following the last character in the section.","details":"Returns 0 for unavailable source sections, or sections not having character index. The returned index might be out of bounds of the source code if assertions (-ea) are not enabled.","returns":{"type":"int","doc":"the end position of the section"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.getCharacters()","href":"com/oracle/truffle/api/source/SourceSection.html#getCharacters()","name":"getCharacters","kind":"method","signature":"public abstract CharSequence getCharacters()","summary":"Returns the source code fragment described by this section.","details":"Returns an empty character sequence for out of bounds or unavailable source sections, or sections whose source does not have characters.","returns":{"type":"CharSequence","doc":"the code as a CharSequence"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.toString()","href":"com/oracle/truffle/api/source/SourceSection.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","summary":"Returns an implementation-defined string representation of this source section to be used for debugging purposes only.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.hashCode()","href":"com/oracle/truffle/api/source/SourceSection.html#hashCode()","name":"hashCode","kind":"method","signature":"public abstract int hashCode()","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.source.SourceSection.equals(Object)","href":"com/oracle/truffle/api/source/SourceSection.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public abstract boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.staticobject.DefaultStaticObjectFactory","href":"com/oracle/truffle/api/staticobject/DefaultStaticObjectFactory.html","name":"DefaultStaticObjectFactory","kind":"interface","signature":"public interface DefaultStaticObjectFactory","summary":"A trivial static object factory that allocates static objects of type Object."}
{"symbol":"com.oracle.truffle.api.staticobject.DefaultStaticObjectFactory.create()","href":"com/oracle/truffle/api/staticobject/DefaultStaticObjectFactory.html#create()","name":"create","kind":"method","signature":"Object create()","summary":"Creates a static object of type Object that have a visible constructor that accepts no arguments.","returns":{"type":"Object","doc":"the new static object instance"}}
{"symbol":"com.oracle.truffle.api.staticobject.DefaultStaticProperty","href":"com/oracle/truffle/api/staticobject/DefaultStaticProperty.html","name":"DefaultStaticProperty","kind":"class","signature":"public final class DefaultStaticProperty extends StaticProperty","summary":"A trivial default implementation of StaticProperty."}
{"symbol":"com.oracle.truffle.api.staticobject.DefaultStaticProperty(String)","href":"com/oracle/truffle/api/staticobject/DefaultStaticProperty.html#%3Cinit%3E(java.lang.String)","name":"DefaultStaticProperty","kind":"constructor","signature":"public DefaultStaticProperty(String id)","summary":"Constructs a new DefaultStaticProperty.","params":[{"name":"id","type":"String","doc":"the id of the static property, which must be immutable and unique for a given shape."}]}
{"symbol":"com.oracle.truffle.api.staticobject.DefaultStaticProperty.getId()","href":"com/oracle/truffle/api/staticobject/DefaultStaticProperty.html#getId()","name":"getId","kind":"method","signature":"public String getId()","summary":"StaticProperty instances must have a String identifier that is unique and constant for that shape.","details":"Subtypes of StaticProperty must make sure that the value returned by this method is constant in time.","returns":{"type":"String","doc":"the static property identifier"}}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty","href":"com/oracle/truffle/api/staticobject/StaticProperty.html","name":"StaticProperty","kind":"class","signature":"public abstract class StaticProperty","summary":"StaticProperty objects represent the mapping between property identifiers and storage locations within static objects.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty()","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#%3Cinit%3E()","name":"StaticProperty","kind":"constructor","signature":"protected StaticProperty()","summary":"Constructor for subclasses."}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getId()","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getId()","name":"getId","kind":"method","signature":"protected abstract String getId()","summary":"StaticProperty instances must have a String identifier that is unique and constant for that shape.","details":"Subtypes of StaticProperty must make sure that the value returned by this method is constant in time.","returns":{"type":"String","doc":"the static property identifier"}}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getObject(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getObject(java.lang.Object)","name":"getObject","kind":"method","signature":"public final Object getObject(Object obj)","summary":"Returns the Object value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"Object","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is primitive, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getObjectVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getObjectVolatile(java.lang.Object)","name":"getObjectVolatile","kind":"method","signature":"public final Object getObjectVolatile(Object obj)","summary":"Returns the Object value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"Object","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is primitive, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setObject(Object, Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setObject(java.lang.Object,java.lang.Object)","name":"setObject","kind":"method","signature":"public final void setObject(Object obj, Object value)","summary":"Sets the Object value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"Object","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not assignable from the type of value, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setObjectVolatile(Object, Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setObjectVolatile(java.lang.Object,java.lang.Object)","name":"setObjectVolatile","kind":"method","signature":"public final void setObjectVolatile(Object obj, Object value)","summary":"Sets the Object value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"Object","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not assignable from the type of value, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapObject(Object, Object, Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapObject(java.lang.Object,java.lang.Object,java.lang.Object)","name":"compareAndSwapObject","kind":"method","signature":"public final boolean compareAndSwapObject(Object obj, Object expect, Object update)","summary":"Atomically sets the Object value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"Object","doc":"the expected value"},{"name":"update","type":"Object","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not assignable from the type of value, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getAndSetObject(Object, Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getAndSetObject(java.lang.Object,java.lang.Object)","name":"getAndSetObject","kind":"method","signature":"public final Object getAndSetObject(Object obj, Object value)","summary":"Atomically sets the Object value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"Object","doc":"the new value"}],"returns":{"type":"Object","doc":"the previous value"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not assignable from the type of value, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeObject(Object, Object, Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeObject(java.lang.Object,java.lang.Object,java.lang.Object)","name":"compareAndExchangeObject","kind":"method","signature":"public final Object compareAndExchangeObject(Object obj, Object expect, Object update)","summary":"Atomically sets the Object value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"Object","doc":"the expected value"},{"name":"update","type":"Object","doc":"the new value"}],"returns":{"type":"Object","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not assignable from the type of value, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getBoolean(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getBoolean(java.lang.Object)","name":"getBoolean","kind":"method","signature":"public final boolean getBoolean(Object obj)","summary":"Returns the boolean value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"boolean","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the boolean class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getBooleanVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getBooleanVolatile(java.lang.Object)","name":"getBooleanVolatile","kind":"method","signature":"public final boolean getBooleanVolatile(Object obj)","summary":"Returns the boolean value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"boolean","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the boolean class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setBoolean(Object, boolean)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setBoolean(java.lang.Object,boolean)","name":"setBoolean","kind":"method","signature":"public final void setBoolean(Object obj, boolean value)","summary":"Sets the boolean value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"boolean","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the boolean class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setBooleanVolatile(Object, boolean)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setBooleanVolatile(java.lang.Object,boolean)","name":"setBooleanVolatile","kind":"method","signature":"public final void setBooleanVolatile(Object obj, boolean value)","summary":"Sets the boolean value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"boolean","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the boolean class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapBoolean(Object, boolean, boolean)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapBoolean(java.lang.Object,boolean,boolean)","name":"compareAndSwapBoolean","kind":"method","signature":"public final boolean compareAndSwapBoolean(Object obj, boolean expect, boolean update)","summary":"Atomically sets the boolean value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"boolean","doc":"the expected value"},{"name":"update","type":"boolean","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the boolean class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeBoolean(Object, boolean, boolean)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeBoolean(java.lang.Object,boolean,boolean)","name":"compareAndExchangeBoolean","kind":"method","signature":"public final boolean compareAndExchangeBoolean(Object obj, boolean expect, boolean update)","summary":"Atomically sets the boolean value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"boolean","doc":"the expected value"},{"name":"update","type":"boolean","doc":"the new value"}],"returns":{"type":"boolean","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the boolean class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getByte(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getByte(java.lang.Object)","name":"getByte","kind":"method","signature":"public final byte getByte(Object obj)","summary":"Returns the byte value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"byte","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the byte class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getByteVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getByteVolatile(java.lang.Object)","name":"getByteVolatile","kind":"method","signature":"public final byte getByteVolatile(Object obj)","summary":"Returns the byte value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"byte","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the byte class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setByte(Object, byte)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setByte(java.lang.Object,byte)","name":"setByte","kind":"method","signature":"public final void setByte(Object obj, byte value)","summary":"Sets the byte value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"byte","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the byte class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setByteVolatile(Object, byte)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setByteVolatile(java.lang.Object,byte)","name":"setByteVolatile","kind":"method","signature":"public final void setByteVolatile(Object obj, byte value)","summary":"Sets the byte value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"byte","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the byte class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapByte(Object, byte, byte)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapByte(java.lang.Object,byte,byte)","name":"compareAndSwapByte","kind":"method","signature":"public final boolean compareAndSwapByte(Object obj, byte expect, byte update)","summary":"Atomically sets the byte value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"byte","doc":"the expected value"},{"name":"update","type":"byte","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the byte class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeByte(Object, byte, byte)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeByte(java.lang.Object,byte,byte)","name":"compareAndExchangeByte","kind":"method","signature":"public final byte compareAndExchangeByte(Object obj, byte expect, byte update)","summary":"Atomically sets the byte value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"byte","doc":"the expected value"},{"name":"update","type":"byte","doc":"the new value"}],"returns":{"type":"byte","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the byte class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getChar(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getChar(java.lang.Object)","name":"getChar","kind":"method","signature":"public final char getChar(Object obj)","summary":"Returns the char value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"char","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the char class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getCharVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getCharVolatile(java.lang.Object)","name":"getCharVolatile","kind":"method","signature":"public final char getCharVolatile(Object obj)","summary":"Returns the char value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"char","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the char class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setChar(Object, char)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setChar(java.lang.Object,char)","name":"setChar","kind":"method","signature":"public final void setChar(Object obj, char value)","summary":"Sets the char value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"char","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the char class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setCharVolatile(Object, char)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setCharVolatile(java.lang.Object,char)","name":"setCharVolatile","kind":"method","signature":"public final void setCharVolatile(Object obj, char value)","summary":"Sets the char value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"char","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the char class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapChar(Object, char, char)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapChar(java.lang.Object,char,char)","name":"compareAndSwapChar","kind":"method","signature":"public final boolean compareAndSwapChar(Object obj, char expect, char update)","summary":"Atomically sets the char value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"char","doc":"the expected value"},{"name":"update","type":"char","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the char class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeChar(Object, char, char)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeChar(java.lang.Object,char,char)","name":"compareAndExchangeChar","kind":"method","signature":"public final char compareAndExchangeChar(Object obj, char expect, char update)","summary":"Atomically sets the char value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"char","doc":"the expected value"},{"name":"update","type":"char","doc":"the new value"}],"returns":{"type":"char","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the char class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getDouble(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getDouble(java.lang.Object)","name":"getDouble","kind":"method","signature":"public final double getDouble(Object obj)","summary":"Returns the double value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"double","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the double class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getDoubleVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getDoubleVolatile(java.lang.Object)","name":"getDoubleVolatile","kind":"method","signature":"public final double getDoubleVolatile(Object obj)","summary":"Returns the double value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"double","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the double class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setDouble(Object, double)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setDouble(java.lang.Object,double)","name":"setDouble","kind":"method","signature":"public final void setDouble(Object obj, double value)","summary":"Sets the double value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"double","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the double class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setDoubleVolatile(Object, double)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setDoubleVolatile(java.lang.Object,double)","name":"setDoubleVolatile","kind":"method","signature":"public final void setDoubleVolatile(Object obj, double value)","summary":"Sets the double value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"double","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the double class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapDouble(Object, double, double)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapDouble(java.lang.Object,double,double)","name":"compareAndSwapDouble","kind":"method","signature":"public final boolean compareAndSwapDouble(Object obj, double expect, double update)","summary":"Atomically sets the double value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"double","doc":"the expected value"},{"name":"update","type":"double","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the double class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeDouble(Object, double, double)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeDouble(java.lang.Object,double,double)","name":"compareAndExchangeDouble","kind":"method","signature":"public final double compareAndExchangeDouble(Object obj, double expect, double update)","summary":"Atomically sets the double value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"double","doc":"the expected value"},{"name":"update","type":"double","doc":"the new value"}],"returns":{"type":"double","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the double class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getFloat(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getFloat(java.lang.Object)","name":"getFloat","kind":"method","signature":"public final float getFloat(Object obj)","summary":"Returns the float value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"float","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the float class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getFloatVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getFloatVolatile(java.lang.Object)","name":"getFloatVolatile","kind":"method","signature":"public final float getFloatVolatile(Object obj)","summary":"Returns the float value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"float","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the float class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setFloat(Object, float)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setFloat(java.lang.Object,float)","name":"setFloat","kind":"method","signature":"public final void setFloat(Object obj, float value)","summary":"Sets the float value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"float","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the float class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setFloatVolatile(Object, float)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setFloatVolatile(java.lang.Object,float)","name":"setFloatVolatile","kind":"method","signature":"public final void setFloatVolatile(Object obj, float value)","summary":"Sets the float value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"float","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the float class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapFloat(Object, float, float)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapFloat(java.lang.Object,float,float)","name":"compareAndSwapFloat","kind":"method","signature":"public final boolean compareAndSwapFloat(Object obj, float expect, float update)","summary":"Atomically sets the float value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"float","doc":"the expected value"},{"name":"update","type":"float","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the float class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeFloat(Object, float, float)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeFloat(java.lang.Object,float,float)","name":"compareAndExchangeFloat","kind":"method","signature":"public final float compareAndExchangeFloat(Object obj, float expect, float update)","summary":"Atomically sets the float value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"float","doc":"the expected value"},{"name":"update","type":"float","doc":"the new value"}],"returns":{"type":"float","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the float class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getInt(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getInt(java.lang.Object)","name":"getInt","kind":"method","signature":"public final int getInt(Object obj)","summary":"Returns the int value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"int","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getIntVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getIntVolatile(java.lang.Object)","name":"getIntVolatile","kind":"method","signature":"public final int getIntVolatile(Object obj)","summary":"Returns the int value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"int","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setInt(Object, int)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setInt(java.lang.Object,int)","name":"setInt","kind":"method","signature":"public final void setInt(Object obj, int value)","summary":"Sets the int value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"int","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setIntVolatile(Object, int)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setIntVolatile(java.lang.Object,int)","name":"setIntVolatile","kind":"method","signature":"public final void setIntVolatile(Object obj, int value)","summary":"Sets the int value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"int","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapInt(Object, int, int)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapInt(java.lang.Object,int,int)","name":"compareAndSwapInt","kind":"method","signature":"public final boolean compareAndSwapInt(Object obj, int expect, int update)","summary":"Atomically sets the int value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"int","doc":"the expected value"},{"name":"update","type":"int","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeInt(Object, int, int)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeInt(java.lang.Object,int,int)","name":"compareAndExchangeInt","kind":"method","signature":"public final int compareAndExchangeInt(Object obj, int expect, int update)","summary":"Atomically sets the int value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"int","doc":"the expected value"},{"name":"update","type":"int","doc":"the new value"}],"returns":{"type":"int","doc":"the witness value, which will be the same as the expected value if successful"}}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getAndAddInt(Object, int)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getAndAddInt(java.lang.Object,int)","name":"getAndAddInt","kind":"method","signature":"public final int getAndAddInt(Object obj, int delta)","summary":"Atomically adds the given value to the current int value represented by this StaticProperty and stored in the specified static object.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"delta","type":"int","doc":"the value to add"}],"returns":{"type":"int","doc":"the previous value"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getAndSetInt(Object, int)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getAndSetInt(java.lang.Object,int)","name":"getAndSetInt","kind":"method","signature":"public final int getAndSetInt(Object obj, int value)","summary":"Atomically sets the int value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"int","doc":"the new value"}],"returns":{"type":"int","doc":"the previous value"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the int class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getLong(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getLong(java.lang.Object)","name":"getLong","kind":"method","signature":"public final long getLong(Object obj)","summary":"Returns the long value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"long","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getLongVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getLongVolatile(java.lang.Object)","name":"getLongVolatile","kind":"method","signature":"public final long getLongVolatile(Object obj)","summary":"Returns the long value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"long","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setLong(Object, long)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setLong(java.lang.Object,long)","name":"setLong","kind":"method","signature":"public final void setLong(Object obj, long value)","summary":"Sets the long value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"long","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setLongVolatile(Object, long)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setLongVolatile(java.lang.Object,long)","name":"setLongVolatile","kind":"method","signature":"public final void setLongVolatile(Object obj, long value)","summary":"Sets the long value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"long","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapLong(Object, long, long)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapLong(java.lang.Object,long,long)","name":"compareAndSwapLong","kind":"method","signature":"public final boolean compareAndSwapLong(Object obj, long expect, long update)","summary":"Atomically sets the long value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"long","doc":"the expected value"},{"name":"update","type":"long","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeLong(Object, long, long)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeLong(java.lang.Object,long,long)","name":"compareAndExchangeLong","kind":"method","signature":"public final long compareAndExchangeLong(Object obj, long expect, long update)","summary":"Atomically sets the long value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"long","doc":"the expected value"},{"name":"update","type":"long","doc":"the new value"}],"returns":{"type":"long","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getAndAddLong(Object, long)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getAndAddLong(java.lang.Object,long)","name":"getAndAddLong","kind":"method","signature":"public final long getAndAddLong(Object obj, long delta)","summary":"Atomically adds the given value to the current long value represented by this StaticProperty and stored in the specified static object.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"delta","type":"long","doc":"the value to add"}],"returns":{"type":"long","doc":"the previous value"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getAndSetLong(Object, long)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getAndSetLong(java.lang.Object,long)","name":"getAndSetLong","kind":"method","signature":"public final long getAndSetLong(Object obj, long value)","summary":"Atomically sets the long value represented by this StaticProperty and stored in the specified static object to the given value and returns the old value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"long","doc":"the new value"}],"returns":{"type":"long","doc":"the previous value"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the long class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getShort(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getShort(java.lang.Object)","name":"getShort","kind":"method","signature":"public final short getShort(Object obj)","summary":"Returns the short value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"short","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the short class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.getShortVolatile(Object)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#getShortVolatile(java.lang.Object)","name":"getShortVolatile","kind":"method","signature":"public final short getShortVolatile(Object obj)","summary":"Returns the short value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of reading as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"}],"returns":{"type":"short","doc":"the value of the static property stored in static object obj"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the short class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setShort(Object, short)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setShort(java.lang.Object,short)","name":"setShort","kind":"method","signature":"public final void setShort(Object obj, short value)","summary":"Sets the short value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared non-volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"short","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the short class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.setShortVolatile(Object, short)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#setShortVolatile(java.lang.Object,short)","name":"setShortVolatile","kind":"method","signature":"public final void setShortVolatile(Object obj, short value)","summary":"Sets the short value represented by this StaticProperty and stored in the specified static object.","details":"This property access has the memory semantics of setting as if the variable was declared volatile.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"value","type":"short","doc":"the new static property value, to be stored in static object obj"}],"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the short class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndSwapShort(Object, short, short)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndSwapShort(java.lang.Object,short,short)","name":"compareAndSwapShort","kind":"method","signature":"public final boolean compareAndSwapShort(Object obj, short expect, short update)","summary":"Atomically sets the short value represented by this StaticProperty and stored in the specified static object to the given updated value if the current value == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"short","doc":"the expected value"},{"name":"update","type":"short","doc":"the new value"}],"returns":{"type":"boolean","doc":"true if successful. False return indicates that the actual value was not equal to the expected value."},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the short class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticProperty.compareAndExchangeShort(Object, short, short)","href":"com/oracle/truffle/api/staticobject/StaticProperty.html#compareAndExchangeShort(java.lang.Object,short,short)","name":"compareAndExchangeShort","kind":"method","signature":"public final short compareAndExchangeShort(Object obj, short expect, short update)","summary":"Atomically sets the short value represented by this StaticProperty and stored in the specified static object to newValue if the current value, referred to as the witness value, == the expected value.","params":[{"name":"obj","type":"Object","doc":"the static object that stores the static property value"},{"name":"expect","type":"short","doc":"the expected value"},{"name":"update","type":"short","doc":"the new value"}],"returns":{"type":"short","doc":"the witness value, which will be the same as the expected value if successful"},"throws":[{"type":"IllegalArgumentException","doc":"if the static property type is not the short class, or obj does not have a StaticShape compatible with this static property"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape","href":"com/oracle/truffle/api/staticobject/StaticShape.html","name":"StaticShape","kind":"class","signature":"public abstract class StaticShape<T>","summary":"A StaticShape is an immutable descriptor of the layout of a static object and is a good entry point to learn about the Static Object Model.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.newBuilder(TruffleLanguage)","href":"com/oracle/truffle/api/staticobject/StaticShape.html#newBuilder(com.oracle.truffle.api.TruffleLanguage)","name":"newBuilder","kind":"method","signature":"public static StaticShape.Builder newBuilder(TruffleLanguage<?> language)","summary":"Creates a new static shape builder.","detailsOmitted":true,"params":[{"name":"language","type":"TruffleLanguage<?>","doc":"an instance of the TruffleLanguage that uses the Static Object Model"}],"returns":{"type":"StaticShape.Builder","doc":"a new static shape builder"},"throws":[{"type":"NullPointerException","doc":"if language is null"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.getFactory()","href":"com/oracle/truffle/api/staticobject/StaticShape.html#getFactory()","name":"getFactory","kind":"method","signature":"public final T getFactory()","summary":"Returns an instance of the default or the user-defined factory interface that must be used to allocate static objects with the current shape.","returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.Builder","href":"com/oracle/truffle/api/staticobject/StaticShape.Builder.html","name":"StaticShape.Builder","kind":"class","signature":"public static final class StaticShape.Builder","summary":"Builder class to construct StaticShape instances.","details":"The builder instance is not thread-safe and must not be used from multiple threads at the same time."}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.Builder.property(StaticProperty, Class, boolean)","href":"com/oracle/truffle/api/staticobject/StaticShape.Builder.html#property(com.oracle.truffle.api.staticobject.StaticProperty,java.lang.Class,boolean)","name":"property","kind":"method","signature":"public StaticShape.Builder property(StaticProperty property, Class<?> type, boolean storeAsFinal)","summary":"Adds a StaticProperty to the static shape to be constructed.","detailsOmitted":true,"params":[{"name":"property","type":"StaticProperty","doc":"the StaticProperty to be added"},{"name":"type","type":"Class<?>","doc":"the type of the StaticProperty to be added."},{"name":"storeAsFinal","type":"boolean","doc":"if this property value can be stored in a final field"}],"returns":{"type":"StaticShape.Builder","doc":"the Builder instance"},"throws":[{"type":"IllegalArgumentException","doc":"if more than 65535 properties are added, or if the property id is an empty string or it is equal to the id of another static property already registered to this builder."},{"type":"IllegalStateException","doc":"if this method is invoked after building a static shape"},{"type":"NullPointerException","doc":"if the property id is null"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.Builder.safetyChecks(boolean)","href":"com/oracle/truffle/api/staticobject/StaticShape.Builder.html#safetyChecks(boolean)","name":"safetyChecks","kind":"method","signature":"public StaticShape.Builder safetyChecks(boolean enabled)","summary":"Configures whether StaticProperty accesses to the StaticShape built by this builder perform safety checks.","detailsOmitted":true,"params":[{"name":"enabled","type":"boolean","doc":"true to enable safety checks, or false to disable them"}],"returns":{"type":"StaticShape.Builder","doc":"the Builder instance"},"throws":[{"type":"IllegalStateException","doc":"if this method is invoked after building a static shape"}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.Builder.build()","href":"com/oracle/truffle/api/staticobject/StaticShape.Builder.html#build()","name":"build","kind":"method","signature":"public StaticShape<DefaultStaticObjectFactory> build()","summary":"Builds a new static shape using the configuration of this builder.","details":"The factory class returned by StaticShape.getFactory() implements DefaultStaticObjectFactory and static objects extend Object.","returns":{"type":"StaticShape<DefaultStaticObjectFactory>","doc":"the new StaticShape"},"throws":[{"type":"IllegalStateException","doc":"if a static property was added to more than one builder or multiple times to the same builder, if this method is invoked more than once, or if one of the static property types is not visible to the class loader that loaded the default factory interface."}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.Builder.build(StaticShape)","href":"com/oracle/truffle/api/staticobject/StaticShape.Builder.html#build(com.oracle.truffle.api.staticobject.StaticShape)","name":"build","kind":"method","signature":"public <T> StaticShape<T> build(StaticShape<T> parentShape)","summary":"Builds a new static shape that extends the provided parent StaticShape.","details":"Static properties of the parent shape can be used to access field values of static objects with the child shape. The factory class returned by StaticShape.getFactory() extends the one of the parent shape and static objects extend the static object class allocated by the factory class of the parent shape.","params":[{"name":"parentShape","type":"StaticShape<T>","doc":"the parent shape"}],"returns":{"type":"StaticShape<T>","doc":"the new StaticShape"},"throws":[{"type":"IllegalStateException","doc":"if a static property was added to more than one builder or multiple times to the same builder, if this method is invoked more than once, or if one of the static property types is not visible to the class loader that loaded the default factory interface."}]}
{"symbol":"com.oracle.truffle.api.staticobject.StaticShape.Builder.build(Class, Class)","href":"com/oracle/truffle/api/staticobject/StaticShape.Builder.html#build(java.lang.Class,java.lang.Class)","name":"build","kind":"method","signature":"public <T> StaticShape<T> build(Class<?> superClass, Class<T> factoryInterface)","summary":"Builds a new static shape using the configuration of this builder.","detailsOmitted":true,"params":[{"name":"superClass","type":"Class<?>","doc":"the class that static objects must extend"},{"name":"factoryInterface","type":"Class<T>","doc":"the factory interface that the factory class returned by StaticShape.getFactory() must implement"}],"returns":{"type":"StaticShape<T>","doc":"the new StaticShape"},"throws":[{"type":"IllegalArgumentException","doc":"if factoryInterface is not an interface, if the arguments of a method in factoryInterface do not match those of a visible constructor in superClass, if the return type of a method in factoryInterface is not assignable from superClass, if StaticShape is not visible to the class loader of factoryInterface, if superClass has abstract methods or if superClass is Cloneable and overrides Object.clone() with a final method"},{"type":"IllegalStateException","doc":"if a static property was added to more than one builder or multiple times to the same builder, if this method is invoked more than once, or if one of the static property types is not visible to the class loader that loaded the factory interface."}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html","name":"AbstractTruffleString","kind":"class","signature":"public abstract sealed class AbstractTruffleString permits TruffleString, MutableTruffleString","summary":"Abstract base class for Truffle strings.","details":"Useful when a value can be both a TruffleString or a MutableTruffleString. Note that values of this type are not valid interop values. They must be converted to TruffleString before passing them to other languages."}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isEmpty()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isEmpty()","name":"isEmpty","kind":"method","signature":"public final boolean isEmpty()","summary":"Returns true if this string is empty.","details":"This method is allowed to be used on fast paths.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteLength(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteLength(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteLength","kind":"method","signature":"public final int byteLength(TruffleString.Encoding expectedEncoding)","summary":"Get this string's length in bytes.","details":"This method is allowed to be used on fast paths.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isCompatibleToUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isCompatibleToUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"isCompatibleToUncached","kind":"method","signature":"public final boolean isCompatibleToUncached(TruffleString.Encoding expectedEncoding)","summary":"Returns true if this string is compatible to the given encoding.","details":"Compatible for TruffleString means it is byte-equivalent in both the encoding used to create this string and the given encoding. For MutableTruffleString this method only returned true if the passed encoding is the same encoding used to create this string.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isManaged()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isManaged()","name":"isManaged","kind":"method","signature":"public final boolean isManaged()","summary":"Returns true if this string is not backed by a native pointer.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isNative()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isNative()","name":"isNative","kind":"method","signature":"public final boolean isNative()","summary":"Returns true if this string is backed by a native pointer.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isImmutable()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isImmutable()","name":"isImmutable","kind":"method","signature":"public final boolean isImmutable()","summary":"Returns true if this string is immutable, i.e.","details":"an instance of TruffleString.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isMutable()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isMutable()","name":"isMutable","kind":"method","signature":"public final boolean isMutable()","summary":"Returns true if this string is mutable, i.e.","details":"an instance of MutableTruffleString.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.asTruffleStringUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#asTruffleStringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"asTruffleStringUncached","kind":"method","signature":"public final TruffleString asTruffleStringUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.FromByteArrayNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.asManagedTruffleStringUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#asManagedTruffleStringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"asManagedTruffleStringUncached","kind":"method","signature":"public final TruffleString asManagedTruffleStringUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.AsManagedNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.asManagedTruffleStringUncached(TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#asManagedTruffleStringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"asManagedTruffleStringUncached","kind":"method","signature":"public final TruffleString asManagedTruffleStringUncached(TruffleString.Encoding expectedEncoding, boolean cacheResult)","summary":"Shorthand for calling the uncached version of TruffleString.AsManagedNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"cacheResult","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.asMutableTruffleStringUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#asMutableTruffleStringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"asMutableTruffleStringUncached","kind":"method","signature":"public final MutableTruffleString asMutableTruffleStringUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of MutableTruffleString.AsMutableTruffleStringNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.asManagedMutableTruffleStringUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#asManagedMutableTruffleStringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"asManagedMutableTruffleStringUncached","kind":"method","signature":"public final MutableTruffleString asManagedMutableTruffleStringUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.AsManagedNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.materializeUncached(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#materializeUncached(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"materializeUncached","kind":"method","signature":"public void materializeUncached(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.MaterializeNode.","deprecated":{"since":"25.1","doc":"since 25.1, use materializeUncached(Encoding) instead."},"params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.materializeUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#materializeUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"materializeUncached","kind":"method","signature":"public void materializeUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.MaterializeNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.materializeSubstringUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#materializeSubstringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"materializeSubstringUncached","kind":"method","signature":"public TruffleString materializeSubstringUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.MaterializeSubstringNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.getCodeRangeUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#getCodeRangeUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"getCodeRangeUncached","kind":"method","signature":"public final TruffleString.CodeRange getCodeRangeUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.GetCodeRangeNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodeRange"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.getCodeRangeImpreciseUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#getCodeRangeImpreciseUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"getCodeRangeImpreciseUncached","kind":"method","signature":"public final TruffleString.CodeRange getCodeRangeImpreciseUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.GetCodeRangeImpreciseNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodeRange"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.getByteCodeRangeUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#getByteCodeRangeUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"getByteCodeRangeUncached","kind":"method","signature":"public final TruffleString.CodeRange getByteCodeRangeUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.GetByteCodeRangeNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodeRange"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codeRangeEqualsUncached(TruffleString.CodeRange)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codeRangeEqualsUncached(com.oracle.truffle.api.strings.TruffleString.CodeRange)","name":"codeRangeEqualsUncached","kind":"method","signature":"public final boolean codeRangeEqualsUncached(TruffleString.CodeRange otherCodeRange)","summary":"Shorthand for calling the uncached version of TruffleString.CodeRangeEqualsNode.","params":[{"name":"otherCodeRange","type":"TruffleString.CodeRange"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.isValidUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#isValidUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"isValidUncached","kind":"method","signature":"public final boolean isValidUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.IsValidNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.getStringCompactionLevelUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#getStringCompactionLevelUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"getStringCompactionLevelUncached","kind":"method","signature":"public final TruffleString.CompactionLevel getStringCompactionLevelUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.GetStringCompactionLevelNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CompactionLevel"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointLengthUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointLengthUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"codePointLengthUncached","kind":"method","signature":"public final int codePointLengthUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointLengthNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.hashCodeUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#hashCodeUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"hashCodeUncached","kind":"method","signature":"public final int hashCodeUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.HashCodeNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.readByteUncached(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#readByteUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"readByteUncached","kind":"method","signature":"public final int readByteUncached(int i, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ReadByteNode.","params":[{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.readCharUTF16Uncached(int)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#readCharUTF16Uncached(int)","name":"readCharUTF16Uncached","kind":"method","signature":"public final int readCharUTF16Uncached(int i)","summary":"Shorthand for calling the uncached version of TruffleString.ReadCharUTF16Node.","params":[{"name":"i","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteLengthOfCodePointUncached(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteLengthOfCodePointUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteLengthOfCodePointUncached","kind":"method","signature":"public final int byteLengthOfCodePointUncached(int byteIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointIndexToByteIndexNode.","params":[{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteLengthOfCodePointUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteLengthOfCodePointUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"byteLengthOfCodePointUncached","kind":"method","signature":"public final int byteLengthOfCodePointUncached(int byteIndex, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointIndexToByteIndexNode.","params":[{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteIndexToCodePointIndexUncached(int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteIndexToCodePointIndexUncached(int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteIndexToCodePointIndexUncached","kind":"method","signature":"public final int byteIndexToCodePointIndexUncached(int byteOffset, int byteIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ByteIndexToCodePointIndexNode.","params":[{"name":"byteOffset","type":"int"},{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointIndexToByteIndexUncached(int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointIndexToByteIndexUncached(int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"codePointIndexToByteIndexUncached","kind":"method","signature":"public final int codePointIndexToByteIndexUncached(int byteOffset, int codepointIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointIndexToByteIndexNode.","params":[{"name":"byteOffset","type":"int"},{"name":"codepointIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointAtIndexUncached(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointAtIndexUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"codePointAtIndexUncached","kind":"method","signature":"public final int codePointAtIndexUncached(int i, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointAtIndexNode.","params":[{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointAtIndexUTF32Uncached(int)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointAtIndexUTF32Uncached(int)","name":"codePointAtIndexUTF32Uncached","kind":"method","signature":"public final int codePointAtIndexUTF32Uncached(int i)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointAtIndexNode.","params":[{"name":"i","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointAtIndexUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointAtIndexUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"codePointAtIndexUncached","kind":"method","signature":"public final int codePointAtIndexUncached(int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointAtIndexNode.","params":[{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointAtByteIndexUncached(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointAtByteIndexUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"codePointAtByteIndexUncached","kind":"method","signature":"public final int codePointAtByteIndexUncached(int i, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointAtByteIndexNode.","params":[{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.codePointAtByteIndexUncached(int, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#codePointAtByteIndexUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"codePointAtByteIndexUncached","kind":"method","signature":"public final int codePointAtByteIndexUncached(int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Shorthand for calling the uncached version of TruffleString.CodePointAtByteIndexNode.","params":[{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteIndexOfAnyByteUncached(int, int, byte[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteIndexOfAnyByteUncached(int,int,byte[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteIndexOfAnyByteUncached","kind":"method","signature":"public final int byteIndexOfAnyByteUncached(int fromByteIndex, int maxByteIndex, byte[] values, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ByteIndexOfAnyByteNode.","params":[{"name":"fromByteIndex","type":"int"},{"name":"maxByteIndex","type":"int"},{"name":"values","type":"byte[]"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.charIndexOfAnyCharUTF16Uncached(int, int, char[])","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#charIndexOfAnyCharUTF16Uncached(int,int,char[])","name":"charIndexOfAnyCharUTF16Uncached","kind":"method","signature":"public final int charIndexOfAnyCharUTF16Uncached(int fromCharIndex, int maxCharIndex, char[] values)","summary":"Shorthand for calling the uncached version of TruffleString.CharIndexOfAnyCharUTF16Node.","params":[{"name":"fromCharIndex","type":"int"},{"name":"maxCharIndex","type":"int"},{"name":"values","type":"char[]"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.intIndexOfAnyIntUTF32Uncached(int, int, int[])","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#intIndexOfAnyIntUTF32Uncached(int,int,int[])","name":"intIndexOfAnyIntUTF32Uncached","kind":"method","signature":"public final int intIndexOfAnyIntUTF32Uncached(int fromIntIndex, int maxIntIndex, int[] values)","summary":"Shorthand for calling the uncached version of TruffleString.IntIndexOfAnyIntUTF32Node.","params":[{"name":"fromIntIndex","type":"int"},{"name":"maxIntIndex","type":"int"},{"name":"values","type":"int[]"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.indexOfCodePointUncached(int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#indexOfCodePointUncached(int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"indexOfCodePointUncached","kind":"method","signature":"public final int indexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.IndexOfCodePointNode.","params":[{"name":"cp","type":"int"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteIndexOfCodePointUncached(int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteIndexOfCodePointUncached(int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteIndexOfCodePointUncached","kind":"method","signature":"public final int byteIndexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ByteIndexOfCodePointNode.","params":[{"name":"cp","type":"int"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.lastIndexOfCodePointUncached(int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#lastIndexOfCodePointUncached(int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"lastIndexOfCodePointUncached","kind":"method","signature":"public final int lastIndexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.LastIndexOfCodePointNode.","params":[{"name":"cp","type":"int"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.lastByteIndexOfCodePointUncached(int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#lastByteIndexOfCodePointUncached(int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"lastByteIndexOfCodePointUncached","kind":"method","signature":"public final int lastByteIndexOfCodePointUncached(int cp, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.LastByteIndexOfCodePointNode.","params":[{"name":"cp","type":"int"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.indexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#indexOfStringUncached(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"indexOfStringUncached","kind":"method","signature":"public final int indexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.IndexOfStringNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteIndexOfStringUncached(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteIndexOfStringUncached","kind":"method","signature":"public final int byteIndexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ByteIndexOfStringNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteIndexOfStringUncached(TruffleString.WithMask, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteIndexOfStringUncached(com.oracle.truffle.api.strings.TruffleString.WithMask,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"byteIndexOfStringUncached","kind":"method","signature":"public final int byteIndexOfStringUncached(TruffleString.WithMask b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ByteIndexOfStringNode.","params":[{"name":"b","type":"TruffleString.WithMask"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.byteIndexOfStringSetUncached(int, int, TruffleString.StringSet)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#byteIndexOfStringSetUncached(int,int,com.oracle.truffle.api.strings.TruffleString.StringSet)","name":"byteIndexOfStringSetUncached","kind":"method","signature":"public final long byteIndexOfStringSetUncached(int fromByteIndex, int toByteIndex, TruffleString.StringSet stringSet)","summary":"Shorthand for calling the uncached version of TruffleString.ByteIndexOfStringSetNode.","params":[{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"stringSet","type":"TruffleString.StringSet"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.lastIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#lastIndexOfStringUncached(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"lastIndexOfStringUncached","kind":"method","signature":"public final int lastIndexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.LastIndexOfStringNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.lastByteIndexOfStringUncached(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#lastByteIndexOfStringUncached(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"lastByteIndexOfStringUncached","kind":"method","signature":"public final int lastByteIndexOfStringUncached(AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.LastByteIndexOfStringNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.lastByteIndexOfStringUncached(TruffleString.WithMask, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#lastByteIndexOfStringUncached(com.oracle.truffle.api.strings.TruffleString.WithMask,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"lastByteIndexOfStringUncached","kind":"method","signature":"public final int lastByteIndexOfStringUncached(TruffleString.WithMask b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.LastByteIndexOfStringNode.","params":[{"name":"b","type":"TruffleString.WithMask"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.compareBytesUncached(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#compareBytesUncached(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"compareBytesUncached","kind":"method","signature":"public final int compareBytesUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CompareBytesNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.compareCharsUTF16Uncached(AbstractTruffleString)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#compareCharsUTF16Uncached(com.oracle.truffle.api.strings.AbstractTruffleString)","name":"compareCharsUTF16Uncached","kind":"method","signature":"public final int compareCharsUTF16Uncached(AbstractTruffleString b)","summary":"Shorthand for calling the uncached version of TruffleString.CompareCharsUTF16Node.","params":[{"name":"b","type":"AbstractTruffleString"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.compareIntsUTF32Uncached(AbstractTruffleString)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#compareIntsUTF32Uncached(com.oracle.truffle.api.strings.AbstractTruffleString)","name":"compareIntsUTF32Uncached","kind":"method","signature":"public final int compareIntsUTF32Uncached(AbstractTruffleString b)","summary":"Shorthand for calling the uncached version of TruffleString.CompareIntsUTF32Node.","params":[{"name":"b","type":"AbstractTruffleString"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.regionEqualsUncached(int, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#regionEqualsUncached(int,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"regionEqualsUncached","kind":"method","signature":"public final boolean regionEqualsUncached(int fromIndexA, AbstractTruffleString b, int fromIndexB, int regionLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.RegionEqualNode.","params":[{"name":"fromIndexA","type":"int"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndexB","type":"int"},{"name":"regionLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.regionEqualByteIndexUncached(int, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#regionEqualByteIndexUncached(int,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"regionEqualByteIndexUncached","kind":"method","signature":"public final boolean regionEqualByteIndexUncached(int fromByteIndexA, AbstractTruffleString b, int fromByteIndexB, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.RegionEqualByteIndexNode.","params":[{"name":"fromByteIndexA","type":"int"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromByteIndexB","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.regionEqualByteIndexUncached(int, TruffleString.WithMask, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#regionEqualByteIndexUncached(int,com.oracle.truffle.api.strings.TruffleString.WithMask,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"regionEqualByteIndexUncached","kind":"method","signature":"public final boolean regionEqualByteIndexUncached(int fromByteIndexA, TruffleString.WithMask b, int fromByteIndexB, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.RegionEqualByteIndexNode.","params":[{"name":"fromByteIndexA","type":"int"},{"name":"b","type":"TruffleString.WithMask"},{"name":"fromByteIndexB","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.concatUncached(AbstractTruffleString, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#concatUncached(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"concatUncached","kind":"method","signature":"public final TruffleString concatUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding, boolean lazy)","summary":"Shorthand for calling the uncached version of TruffleString.ConcatNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.repeatUncached(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#repeatUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"repeatUncached","kind":"method","signature":"public final TruffleString repeatUncached(int n, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.RepeatNode.","params":[{"name":"n","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.substringUncached(int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#substringUncached(int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"substringUncached","kind":"method","signature":"public final TruffleString substringUncached(int fromIndex, int substringLength, TruffleString.Encoding expectedEncoding, boolean lazy)","summary":"Shorthand for calling the uncached version of TruffleString.SubstringNode.","params":[{"name":"fromIndex","type":"int"},{"name":"substringLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.substringByteIndexUncached(int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#substringByteIndexUncached(int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"substringByteIndexUncached","kind":"method","signature":"public final TruffleString substringByteIndexUncached(int fromByteIndex, int byteLength, TruffleString.Encoding expectedEncoding, boolean lazy)","summary":"Shorthand for calling the uncached version of TruffleString.SubstringByteIndexNode.","params":[{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.equalsUncached(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#equalsUncached(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"equalsUncached","kind":"method","signature":"public final boolean equalsUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.EqualNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.parseIntUncached()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#parseIntUncached()","name":"parseIntUncached","kind":"method","signature":"public final int parseIntUncached() throws TruffleString.NumberFormatException","summary":"Shorthand for calling the uncached version of TruffleString.ParseIntNode.","returns":{"type":"int"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.parseIntUncached(int)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#parseIntUncached(int)","name":"parseIntUncached","kind":"method","signature":"public final int parseIntUncached(int radix) throws TruffleString.NumberFormatException","summary":"Shorthand for calling the uncached version of TruffleString.ParseIntNode.","params":[{"name":"radix","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.parseLongUncached()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#parseLongUncached()","name":"parseLongUncached","kind":"method","signature":"public final long parseLongUncached() throws TruffleString.NumberFormatException","summary":"Shorthand for calling the uncached version of TruffleString.ParseLongNode.","returns":{"type":"long"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.parseLongUncached(int)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#parseLongUncached(int)","name":"parseLongUncached","kind":"method","signature":"public final long parseLongUncached(int radix) throws TruffleString.NumberFormatException","summary":"Shorthand for calling the uncached version of TruffleString.ParseLongNode.","params":[{"name":"radix","type":"int"}],"returns":{"type":"long"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.parseDoubleUncached()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#parseDoubleUncached()","name":"parseDoubleUncached","kind":"method","signature":"public final double parseDoubleUncached() throws TruffleString.NumberFormatException","summary":"Shorthand for calling the uncached version of TruffleString.ParseDoubleNode.","returns":{"type":"double"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.getInternalByteArrayUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#getInternalByteArrayUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"getInternalByteArrayUncached","kind":"method","signature":"public final InternalByteArray getInternalByteArrayUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.GetInternalByteArrayNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"InternalByteArray"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.getInternalNativePointerUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#getInternalNativePointerUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"getInternalNativePointerUncached","kind":"method","signature":"public final Object getInternalNativePointerUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.GetInternalNativePointerNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.copyToByteArrayUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#copyToByteArrayUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"copyToByteArrayUncached","kind":"method","signature":"public final byte[] copyToByteArrayUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CopyToByteArrayNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"byte[]"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.copyToByteArrayUncached(int, byte[], int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#copyToByteArrayUncached(int,byte[],int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"copyToByteArrayUncached","kind":"method","signature":"public final void copyToByteArrayUncached(int byteFromIndexA, byte[] dst, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CopyToByteArrayNode.","params":[{"name":"byteFromIndexA","type":"int"},{"name":"dst","type":"byte[]"},{"name":"byteFromIndexDst","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.copyToNativeMemoryUncached(int, Object, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#copyToNativeMemoryUncached(int,java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"copyToNativeMemoryUncached","kind":"method","signature":"public final void copyToNativeMemoryUncached(int byteFromIndexA, Object pointerObject, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CopyToNativeMemoryNode.","params":[{"name":"byteFromIndexA","type":"int"},{"name":"pointerObject","type":"Object"},{"name":"byteFromIndexDst","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.toValidStringUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#toValidStringUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"toValidStringUncached","kind":"method","signature":"public TruffleString toValidStringUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ToValidStringNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.toJavaStringUncached()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#toJavaStringUncached()","name":"toJavaStringUncached","kind":"method","signature":"public final String toJavaStringUncached()","summary":"Shorthand for calling the uncached version of TruffleString.ToJavaStringNode.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.switchEncodingUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#switchEncodingUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"switchEncodingUncached","kind":"method","signature":"public final TruffleString switchEncodingUncached(TruffleString.Encoding targetEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.SwitchEncodingNode.","params":[{"name":"targetEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.switchEncodingUncached(TruffleString.Encoding, TranscodingErrorHandler)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#switchEncodingUncached(com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TranscodingErrorHandler)","name":"switchEncodingUncached","kind":"method","signature":"public final TruffleString switchEncodingUncached(TruffleString.Encoding targetEncoding, TranscodingErrorHandler errorHandler)","summary":"Shorthand for calling the uncached version of TruffleString.SwitchEncodingNode.","params":[{"name":"targetEncoding","type":"TruffleString.Encoding"},{"name":"errorHandler","type":"TranscodingErrorHandler"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.forceEncodingUncached(TruffleString.Encoding, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#forceEncodingUncached(com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"forceEncodingUncached","kind":"method","signature":"public final TruffleString forceEncodingUncached(TruffleString.Encoding expectedEncoding, TruffleString.Encoding targetEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.ForceEncodingNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"targetEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.createCodePointIteratorUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#createCodePointIteratorUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"createCodePointIteratorUncached","kind":"method","signature":"public final TruffleStringIterator createCodePointIteratorUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CreateCodePointIteratorNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleStringIterator"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.createBackwardCodePointIteratorUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#createBackwardCodePointIteratorUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"createBackwardCodePointIteratorUncached","kind":"method","signature":"public final TruffleStringIterator createBackwardCodePointIteratorUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of TruffleString.CreateBackwardCodePointIteratorNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleStringIterator"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.equals(Object)","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public final boolean equals(Object obj)","summary":"Returns true if this string is equal to obj.","details":"TruffleString does not attempt to automatically convert differently encoded strings during comparison, make sure to convert both strings to a common encoding before comparing them!","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.hashCode()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#hashCode()","name":"hashCode","kind":"method","signature":"public final int hashCode()","summary":"Returns this string's hashcode.","details":"Note that the hashcode is dependent on the string's encoding, make sure to convert strings to a common encoding before comparing their hash codes!","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.toString()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","summary":"Returns a String representation of this string.","details":"Do not use this on fast paths.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.strings.AbstractTruffleString.toStringDebug()","href":"com/oracle/truffle/api/strings/AbstractTruffleString.html#toStringDebug()","name":"toStringDebug","kind":"method","signature":"public final String toStringDebug()","summary":"Returns debug information about this string.","details":"For debugging purposes only. The format of the information returned by this method is unspecified and may change at any time.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.strings.InternalByteArray","href":"com/oracle/truffle/api/strings/InternalByteArray.html","name":"InternalByteArray","kind":"class","signature":"public final class InternalByteArray","summary":"Wrapper object containing a TruffleString's internal byte array, along with a byte offset and length defining the region in use."}
{"symbol":"com.oracle.truffle.api.strings.InternalByteArray.getArray()","href":"com/oracle/truffle/api/strings/InternalByteArray.html#getArray()","name":"getArray","kind":"method","signature":"public byte[] getArray()","summary":"Get the internal byte array.","details":"Do not modify the array's contents!","returns":{"type":"byte[]"}}
{"symbol":"com.oracle.truffle.api.strings.InternalByteArray.getOffset()","href":"com/oracle/truffle/api/strings/InternalByteArray.html#getOffset()","name":"getOffset","kind":"method","signature":"public int getOffset()","summary":"Get the string region's starting index.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.InternalByteArray.getLength()","href":"com/oracle/truffle/api/strings/InternalByteArray.html#getLength()","name":"getLength","kind":"method","signature":"public int getLength()","summary":"Get the string region's length.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.InternalByteArray.getEnd()","href":"com/oracle/truffle/api/strings/InternalByteArray.html#getEnd()","name":"getEnd","kind":"method","signature":"public int getEnd()","summary":"Get the string region's end (offset + length).","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.InternalByteArray.get(int)","href":"com/oracle/truffle/api/strings/InternalByteArray.html#get(int)","name":"get","kind":"method","signature":"public byte get(int index)","summary":"Read the byte at getArray()[getOffset() + index] and return it as a byte, similar to TruffleString.ReadByteNode.","details":"Consider using TruffleString.ReadByteNode (and TruffleString.MaterializeNode before) instead if not needing the byte[] for other purposes, as that will avoid extra copying if the string is stored in native memory.","params":[{"name":"index","type":"int"}],"returns":{"type":"byte"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString","href":"com/oracle/truffle/api/strings/MutableTruffleString.html","name":"MutableTruffleString","kind":"class","signature":"public final class MutableTruffleString extends AbstractTruffleString","summary":"Represents a mutable variant of a TruffleString.","details":"This class also accepts all operations of TruffleString. This class is not thread-safe and allows overwriting bytes in its internal byte array or native pointer via WriteByteNode. The internal array or native pointer may also be modified externally, but the corresponding MutableTruffleString must be notified of this via notifyExternalMutation(). MutableTruffleString is not a Truffle interop type, and must be converted to an immutable TruffleString via AsTruffleStringNode before passing a language boundary."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.notifyExternalMutation()","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#notifyExternalMutation()","name":"notifyExternalMutation","kind":"method","signature":"public void notifyExternalMutation()","summary":"Notify this mutable string of an external modification of its internal content.","details":"This method must be called after every direct write (not via WriteByteNode) to the byte array or native pointer the string is using as internal storage. Exemplary usage scenario: Suppose a MutableTruffleString was created by wrapping a native pointer via FromNativePointerNode. If the native pointer is passed to a native function that may modify the pointer's contents, this method must be called afterwards, to ensure consistency."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.fromByteArrayUncached(byte[], int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#fromByteArrayUncached(byte[],int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromByteArrayUncached","kind":"method","signature":"public static MutableTruffleString fromByteArrayUncached(byte[] value, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromByteArrayNode.","params":[{"name":"value","type":"byte[]"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.fromNativePointerUncached(Object, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#fromNativePointerUncached(java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromNativePointerUncached","kind":"method","signature":"public static MutableTruffleString fromNativePointerUncached(Object pointerObject, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromNativePointerNode.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.writeByteUncached(int, byte, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#writeByteUncached(int,byte,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"writeByteUncached","kind":"method","signature":"public void writeByteUncached(int byteIndex, byte value, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of WriteByteNode.","params":[{"name":"byteIndex","type":"int"},{"name":"value","type":"byte"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.concatUncached(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#concatUncached(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"concatUncached","kind":"method","signature":"public MutableTruffleString concatUncached(AbstractTruffleString b, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of ConcatNode.","params":[{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.substringUncached(int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#substringUncached(int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"substringUncached","kind":"method","signature":"public MutableTruffleString substringUncached(int byteOffset, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of SubstringNode.","params":[{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.substringByteIndexUncached(int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.html#substringByteIndexUncached(int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"substringByteIndexUncached","kind":"method","signature":"public MutableTruffleString substringByteIndexUncached(int byteOffset, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of SubstringByteIndexNode.","params":[{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsManagedNode.html","name":"MutableTruffleString.AsManagedNode","kind":"class","signature":"public abstract static class MutableTruffleString.AsManagedNode extends AbstractPublicNode","summary":"Node to get the given AbstractTruffleString as a managed MutableTruffleString, meaning that the resulting string's backing memory is not a native pointer.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsManagedNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"If the given string is already a managed (i.e.","details":"not backed by a native pointer) string, return it. Otherwise, copy the string's native pointer content into a Java byte array and return a new string backed by the byte array.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsManagedNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.AsManagedNode create()","summary":"Create a new AsManagedNode.","returns":{"type":"MutableTruffleString.AsManagedNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsManagedNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsManagedNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.AsManagedNode getUncached()","summary":"Get the uncached version of AsManagedNode.","returns":{"type":"MutableTruffleString.AsManagedNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsMutableTruffleStringNode.html","name":"MutableTruffleString.AsMutableTruffleStringNode","kind":"class","signature":"public abstract static class MutableTruffleString.AsMutableTruffleStringNode extends AbstractPublicNode","summary":"Node to get a AbstractTruffleString as a MutableTruffleString.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsMutableTruffleStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"If the given string is already a MutableTruffleString, return it.","details":"If it is a TruffleString, create a new MutableTruffleString, copying the immutable string's contents.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsMutableTruffleStringNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.AsMutableTruffleStringNode create()","summary":"Create a new AsMutableTruffleStringNode.","returns":{"type":"MutableTruffleString.AsMutableTruffleStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.AsMutableTruffleStringNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.AsMutableTruffleStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.AsMutableTruffleStringNode getUncached()","summary":"Get the uncached version of AsMutableTruffleStringNode.","returns":{"type":"MutableTruffleString.AsMutableTruffleStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.ConcatNode.html","name":"MutableTruffleString.ConcatNode","kind":"class","signature":"public abstract static class MutableTruffleString.ConcatNode extends AbstractPublicNode","summary":"Node to create a new MutableTruffleString by concatenating two strings."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode.execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.ConcatNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding)","summary":"Creates a new MutableTruffleString by concatenating two strings.","details":"The concatenation is performed eagerly since return value is mutable.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.ConcatNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.ConcatNode create()","summary":"Create a new ConcatNode.","returns":{"type":"MutableTruffleString.ConcatNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ConcatNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.ConcatNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.ConcatNode getUncached()","summary":"Get the uncached version of ConcatNode.","returns":{"type":"MutableTruffleString.ConcatNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.ForceEncodingNode.html","name":"MutableTruffleString.ForceEncodingNode","kind":"class","signature":"public abstract static class MutableTruffleString.ForceEncodingNode extends AbstractPublicNode","summary":"Node to forcibly assign any encoding to a string.","details":"See execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode.execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.ForceEncodingNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding, TruffleString.Encoding targetEncoding)","summary":"Returns a version of string a assigned to the given encoding.","details":"If the string is already in the given encoding, it is returned. Otherwise, a new string containing the same (copied) bytes but assigned to the new encoding is returned. This node does not transcode the string's contents in any way, it is the \"encoding-equivalent\" to a C-style reinterpret-cast.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"targetEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.ForceEncodingNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.ForceEncodingNode create()","summary":"Create a new MutableTruffleString.ForceEncodingNode.","returns":{"type":"MutableTruffleString.ForceEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.ForceEncodingNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.ForceEncodingNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.ForceEncodingNode getUncached()","summary":"Get the uncached version of MutableTruffleString.ForceEncodingNode.","returns":{"type":"MutableTruffleString.ForceEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromByteArrayNode.html","name":"MutableTruffleString.FromByteArrayNode","kind":"class","signature":"public abstract static class MutableTruffleString.FromByteArrayNode extends AbstractPublicNode","summary":"Node to create a new MutableTruffleString from a byte array.","details":"See execute(byte[], int, int, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode.execute(byte[], int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromByteArrayNode.html#execute(byte[],int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(byte[] value, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Creates a new MutableTruffleString from a byte array.","details":"The array content is assumed to be encoded in the given encoding already. This operation allows non-copying string creation, i.e. the array parameter can be used directly by passing copy = false. If the array is modified after non-copying string creation, the string must be notified of this via MutableTruffleString.notifyExternalMutation() .","params":[{"name":"value","type":"byte[]"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromByteArrayNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.FromByteArrayNode create()","summary":"Create a new FromByteArrayNode.","returns":{"type":"MutableTruffleString.FromByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromByteArrayNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromByteArrayNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.FromByteArrayNode getUncached()","summary":"Get the uncached version of FromByteArrayNode.","returns":{"type":"MutableTruffleString.FromByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromNativePointerNode.html","name":"MutableTruffleString.FromNativePointerNode","kind":"class","signature":"public abstract static class MutableTruffleString.FromNativePointerNode extends AbstractPublicNode","summary":"Node to create a new MutableTruffleString from an interop object representing a native pointer.","details":"See execute(Object, int, int, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode.execute(Object, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromNativePointerNode.html#execute(java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(Object pointerObject, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Create a new MutableTruffleString from an interop object representing a native pointer (isPointer(pointerObject) must return true).","detailsOmitted":true,"params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromNativePointerNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.FromNativePointerNode create()","summary":"Create a new FromNativePointerNode.","returns":{"type":"MutableTruffleString.FromNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.FromNativePointerNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.FromNativePointerNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.FromNativePointerNode getUncached()","summary":"Get the uncached version of FromNativePointerNode.","returns":{"type":"MutableTruffleString.FromNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringByteIndexNode.html","name":"MutableTruffleString.SubstringByteIndexNode","kind":"class","signature":"public abstract static class MutableTruffleString.SubstringByteIndexNode extends AbstractPublicNode","summary":"SubstringNode, but with byte indices."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, int byteOffset, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"SubstringNode, but with byte indices.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringByteIndexNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.SubstringByteIndexNode create()","summary":"Create a new SubstringByteIndexNode.","returns":{"type":"MutableTruffleString.SubstringByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringByteIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringByteIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.SubstringByteIndexNode getUncached()","summary":"Get the uncached version of SubstringByteIndexNode.","returns":{"type":"MutableTruffleString.SubstringByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringNode.html","name":"MutableTruffleString.SubstringNode","kind":"class","signature":"public abstract static class MutableTruffleString.SubstringNode extends AbstractPublicNode","summary":"Node to create a new mutable substring of a string.","details":"See execute(AbstractTruffleString, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, int fromIndex, int length, TruffleString.Encoding expectedEncoding)","summary":"Create a new mutable substring of a, starting from fromIndex, with length length.","details":"The substring is performed eagerly since return value is mutable.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"length","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.SubstringNode create()","summary":"Create a new SubstringNode.","returns":{"type":"MutableTruffleString.SubstringNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SubstringNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.SubstringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.SubstringNode getUncached()","summary":"Get the uncached version of SubstringNode.","returns":{"type":"MutableTruffleString.SubstringNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.SwitchEncodingNode.html","name":"MutableTruffleString.SwitchEncodingNode","kind":"class","signature":"public abstract static class MutableTruffleString.SwitchEncodingNode extends AbstractPublicNode","summary":"Node to get a given string in a specific encoding.","details":"See execute(AbstractTruffleString, TruffleString.Encoding, TranscodingErrorHandler) for details."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.SwitchEncodingNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final MutableTruffleString execute(AbstractTruffleString a, TruffleString.Encoding encoding)","summary":"Returns a version of string a that is encoded in the given encoding, which may be the string itself or a converted version.","details":"If no lossless conversion is possible, the string is converted on a best-effort basis; no exception is thrown and characters which cannot be mapped in the target encoding are replaced by '�' (for UTF-*) or '?'.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode.execute(AbstractTruffleString, TruffleString.Encoding, TranscodingErrorHandler)","href":"com/oracle/truffle/api/strings/MutableTruffleString.SwitchEncodingNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TranscodingErrorHandler)","name":"execute","kind":"method","signature":"public abstract MutableTruffleString execute(AbstractTruffleString a, TruffleString.Encoding encoding, TranscodingErrorHandler errorHandler)","summary":"Returns a version of string a that is encoded in the given encoding, which may be the string itself or a converted version.","details":"Transcoding errors are handled with errorHandler.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"errorHandler","type":"TranscodingErrorHandler"}],"returns":{"type":"MutableTruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.SwitchEncodingNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.SwitchEncodingNode create()","summary":"Create a new MutableTruffleString.SwitchEncodingNode.","returns":{"type":"MutableTruffleString.SwitchEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.SwitchEncodingNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.SwitchEncodingNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.SwitchEncodingNode getUncached()","summary":"Get the uncached version of MutableTruffleString.SwitchEncodingNode.","returns":{"type":"MutableTruffleString.SwitchEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode","href":"com/oracle/truffle/api/strings/MutableTruffleString.WriteByteNode.html","name":"MutableTruffleString.WriteByteNode","kind":"class","signature":"public abstract static class MutableTruffleString.WriteByteNode extends AbstractPublicNode","summary":"Node to write a byte into a mutable string."}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode.execute(MutableTruffleString, int, byte, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/MutableTruffleString.WriteByteNode.html#execute(com.oracle.truffle.api.strings.MutableTruffleString,int,byte,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract void execute(MutableTruffleString a, int byteIndex, byte value, TruffleString.Encoding expectedEncoding)","summary":"Writes a byte into the given mutable string.","params":[{"name":"a","type":"MutableTruffleString"},{"name":"byteIndex","type":"int"},{"name":"value","type":"byte"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode.create()","href":"com/oracle/truffle/api/strings/MutableTruffleString.WriteByteNode.html#create()","name":"create","kind":"method","signature":"public static MutableTruffleString.WriteByteNode create()","summary":"Create a new WriteByteNode.","returns":{"type":"MutableTruffleString.WriteByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleString.WriteByteNode.getUncached()","href":"com/oracle/truffle/api/strings/MutableTruffleString.WriteByteNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static MutableTruffleString.WriteByteNode getUncached()","summary":"Get the uncached version of WriteByteNode.","returns":{"type":"MutableTruffleString.WriteByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleStringFactory","href":"com/oracle/truffle/api/strings/MutableTruffleStringFactory.html","name":"MutableTruffleStringFactory","kind":"class","signature":"public final class MutableTruffleStringFactory"}
{"symbol":"com.oracle.truffle.api.strings.MutableTruffleStringFactory()","href":"com/oracle/truffle/api/strings/MutableTruffleStringFactory.html#%3Cinit%3E()","name":"MutableTruffleStringFactory","kind":"constructor","signature":"public MutableTruffleStringFactory()","summary":"Creates a new MutableTruffleStringFactory instance."}
{"symbol":"com.oracle.truffle.api.strings.NativeAllocator","href":"com/oracle/truffle/api/strings/NativeAllocator.html","name":"NativeAllocator","kind":"interface","signature":"public interface NativeAllocator","summary":"An allocation function for native buffers."}
{"symbol":"com.oracle.truffle.api.strings.NativeAllocator.allocate(int)","href":"com/oracle/truffle/api/strings/NativeAllocator.html#allocate(int)","name":"allocate","kind":"method","signature":"Object allocate(int byteSize)","summary":"Allocates a new native buffer of byteSize bytes.","details":"The return value must be a Truffle object as expected by TruffleString.FromNativePointerNode.","params":[{"name":"byteSize","type":"int"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.html","name":"TranscodingErrorHandler","kind":"interface","signature":"public interface TranscodingErrorHandler","summary":"An error handler for transcoding operations such as TruffleString.SwitchEncodingNode."}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.DEFAULT","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.html#DEFAULT","name":"DEFAULT","kind":"field","signature":"TranscodingErrorHandler DEFAULT","summary":"The default transcoding error handler.","details":"In UTF encodings, it replaces invalid codepoints with 0xfffd, in all other encodings it uses '?' instead. Exceptions: in UTF-16 and UTF-32, it keeps UTF-16 surrogate values."}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.DEFAULT_KEEP_SURROGATES_IN_UTF8","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.html#DEFAULT_KEEP_SURROGATES_IN_UTF8","name":"DEFAULT_KEEP_SURROGATES_IN_UTF8","kind":"field","signature":"TranscodingErrorHandler DEFAULT_KEEP_SURROGATES_IN_UTF8","summary":"Same as DEFAULT, but also keeps UTF-16 surrogate values in UTF-8."}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.apply(AbstractTruffleString, int, int, TruffleString.Encoding, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.html#apply(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"apply","kind":"method","signature":"TranscodingErrorHandler.ReplacementString apply(AbstractTruffleString sourceString, int byteIndex, int estimatedByteLength, TruffleString.Encoding sourceEncoding, TruffleString.Encoding targetEncoding)","summary":"Transcoding error handler implementation.","details":"This method is called once for every byte region that could not be transcoded from sourceEncoding to targetEncoding.","params":[{"name":"sourceString","type":"AbstractTruffleString","doc":"the string currently being transcoded."},{"name":"byteIndex","type":"int","doc":"starting index of region that could not be transcoded."},{"name":"estimatedByteLength","type":"int","doc":"estimated byte length of erroneous region."},{"name":"sourceEncoding","type":"TruffleString.Encoding","doc":"the source string's encoding."},{"name":"targetEncoding","type":"TruffleString.Encoding","doc":"the target encoding."}],"returns":{"type":"TranscodingErrorHandler.ReplacementString","doc":"a string to use instead of the invalid region."}}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html","name":"TranscodingErrorHandler.ReplacementString","kind":"record","signature":"public record TranscodingErrorHandler.ReplacementString(TruffleString replacement, int byteLength)","summary":"Result type of apply(AbstractTruffleString, int, int, TruffleString.Encoding, TruffleString.Encoding)."}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString(TruffleString, int)","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html#%3Cinit%3E(com.oracle.truffle.api.strings.TruffleString,int)","name":"ReplacementString","kind":"constructor","signature":"public ReplacementString(TruffleString replacement, int byteLength)","summary":"Creates a new ReplacementString instance.","params":[{"name":"replacement","type":"TruffleString","doc":"the string to use as replacement for the erroneous region in the source string."},{"name":"byteLength","type":"int","doc":"the byte length of the region to replace. If this value is negative, let the transcoder determine the region length instead."}]}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString.toString()","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","summary":"Returns a string containing the record class name and its component names and values.","returns":{"type":"String","doc":"Returns a string containing the record class name and its component names and values."}}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString.hashCode()","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html#hashCode()","name":"hashCode","kind":"method","signature":"public final int hashCode()","summary":"Returns a hash code computed from the record components.","returns":{"type":"int","doc":"Returns a hash code computed from the record components."}}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString.equals(Object)","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public final boolean equals(Object o)","summary":"Returns whether the other object is a record of the same class with equal components.","params":[{"name":"o","type":"Object","doc":"The object to compare with this record."}],"returns":{"type":"boolean","doc":"Returns whether the other object is a record of the same class with equal components."}}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString.replacement()","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html#replacement()","name":"replacement","kind":"method","signature":"public TruffleString replacement()","summary":"the string to use as replacement for the erroneous region in the source string.","returns":{"type":"TruffleString","doc":"the string to use as replacement for the erroneous region in the source string."}}
{"symbol":"com.oracle.truffle.api.strings.TranscodingErrorHandler.ReplacementString.byteLength()","href":"com/oracle/truffle/api/strings/TranscodingErrorHandler.ReplacementString.html#byteLength()","name":"byteLength","kind":"method","signature":"public int byteLength()","summary":"the byte length of the region to replace. If this value is negative, let the transcoder determine the region length instead.","returns":{"type":"int","doc":"the byte length of the region to replace. If this value is negative, let the transcoder determine the region length instead."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString","href":"com/oracle/truffle/api/strings/TruffleString.html","name":"TruffleString","kind":"class","signature":"public final class TruffleString extends AbstractTruffleString","summary":"Represents a primitive String type, which can be reused across languages.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromCodePointUncached(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromCodePointUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromCodePointUncached","kind":"method","signature":"public static TruffleString fromCodePointUncached(int codepoint, TruffleString.Encoding encoding)","summary":"Shorthand for calling the uncached version of FromCodePointNode.","params":[{"name":"codepoint","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromCodePointUncached(int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromCodePointUncached(int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromCodePointUncached","kind":"method","signature":"public static TruffleString fromCodePointUncached(int codepoint, TruffleString.Encoding encoding, boolean allowUTF16Surrogates)","summary":"Shorthand for calling the uncached version of FromCodePointNode.","params":[{"name":"codepoint","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"allowUTF16Surrogates","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromLongUncached(long, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromLongUncached(long,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromLongUncached","kind":"method","signature":"public static TruffleString fromLongUncached(long value, TruffleString.Encoding encoding, boolean lazy)","summary":"Shorthand for calling the uncached version of FromLongNode.","params":[{"name":"value","type":"long"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromByteArrayUncached(byte[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromByteArrayUncached(byte[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromByteArrayUncached","kind":"method","signature":"public static TruffleString fromByteArrayUncached(byte[] value, TruffleString.Encoding encoding)","summary":"Shorthand for calling the uncached version of FromByteArrayNode.","params":[{"name":"value","type":"byte[]"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromByteArrayUncached(byte[], TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromByteArrayUncached(byte[],com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromByteArrayUncached","kind":"method","signature":"public static TruffleString fromByteArrayUncached(byte[] value, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromByteArrayNode.","params":[{"name":"value","type":"byte[]"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromByteArrayUncached(byte[], int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromByteArrayUncached(byte[],int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromByteArrayUncached","kind":"method","signature":"public static TruffleString fromByteArrayUncached(byte[] value, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromByteArrayNode.","params":[{"name":"value","type":"byte[]"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromCharArrayUTF16Uncached(char[])","href":"com/oracle/truffle/api/strings/TruffleString.html#fromCharArrayUTF16Uncached(char[])","name":"fromCharArrayUTF16Uncached","kind":"method","signature":"public static TruffleString fromCharArrayUTF16Uncached(char[] value)","summary":"Shorthand for calling the uncached version of FromCharArrayUTF16Node.","params":[{"name":"value","type":"char[]"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromCharArrayUTF16Uncached(char[], int, int)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromCharArrayUTF16Uncached(char[],int,int)","name":"fromCharArrayUTF16Uncached","kind":"method","signature":"public static TruffleString fromCharArrayUTF16Uncached(char[] value, int charOffset, int charLength)","summary":"Shorthand for calling the uncached version of FromCharArrayUTF16Node.","params":[{"name":"value","type":"char[]"},{"name":"charOffset","type":"int"},{"name":"charLength","type":"int"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromJavaStringUncached(String, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromJavaStringUncached(java.lang.String,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromJavaStringUncached","kind":"method","signature":"public static TruffleString fromJavaStringUncached(String s, TruffleString.Encoding encoding)","summary":"Shorthand for calling the uncached version of FromJavaStringNode.","details":"For constant strings, it is recommended to use fromConstant(String, Encoding) instead.","params":[{"name":"s","type":"String"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromJavaStringUncached(String, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromJavaStringUncached(java.lang.String,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromJavaStringUncached","kind":"method","signature":"public static TruffleString fromJavaStringUncached(String s, int charOffset, int length, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromJavaStringNode.","details":"For constant strings, it is recommended to use fromConstant(String, Encoding) instead.","params":[{"name":"s","type":"String"},{"name":"charOffset","type":"int"},{"name":"length","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromConstant(String, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromConstant(java.lang.String,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromConstant","kind":"method","signature":"public static TruffleString fromConstant(String s, TruffleString.Encoding encoding)","summary":"Shorthand for calling the uncached version of FromJavaStringNode.","details":"This variant also forces the calculation of the string's precise CodeRange and hash code.","params":[{"name":"s","type":"String"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromIntArrayUTF32Uncached(int[])","href":"com/oracle/truffle/api/strings/TruffleString.html#fromIntArrayUTF32Uncached(int[])","name":"fromIntArrayUTF32Uncached","kind":"method","signature":"public static TruffleString fromIntArrayUTF32Uncached(int[] value)","summary":"Shorthand for calling the uncached version of FromIntArrayUTF32Node.","params":[{"name":"value","type":"int[]"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromIntArrayUTF32Uncached(int[], int, int)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromIntArrayUTF32Uncached(int[],int,int)","name":"fromIntArrayUTF32Uncached","kind":"method","signature":"public static TruffleString fromIntArrayUTF32Uncached(int[] value, int intOffset, int intLength)","summary":"Shorthand for calling the uncached version of FromIntArrayUTF32Node.","params":[{"name":"value","type":"int[]"},{"name":"intOffset","type":"int"},{"name":"intLength","type":"int"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromNativePointerUncached(Object, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromNativePointerUncached(java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromNativePointerUncached","kind":"method","signature":"public static TruffleString fromNativePointerUncached(Object pointerObject, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromNativePointerNode.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromZeroTerminatedNativePointer8BitUncached(Object, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromZeroTerminatedNativePointer8BitUncached(java.lang.Object,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromZeroTerminatedNativePointer8BitUncached","kind":"method","signature":"public static TruffleString fromZeroTerminatedNativePointer8BitUncached(Object pointerObject, int byteOffset, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromZeroTerminatedNativePointerNode.execute8Bit.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromZeroTerminatedNativePointer16BitUncached(Object, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromZeroTerminatedNativePointer16BitUncached(java.lang.Object,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromZeroTerminatedNativePointer16BitUncached","kind":"method","signature":"public static TruffleString fromZeroTerminatedNativePointer16BitUncached(Object pointerObject, int byteOffset, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromZeroTerminatedNativePointerNode.execute16Bit.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromZeroTerminatedNativePointer32BitUncached(Object, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromZeroTerminatedNativePointer32BitUncached(java.lang.Object,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"fromZeroTerminatedNativePointer32BitUncached","kind":"method","signature":"public static TruffleString fromZeroTerminatedNativePointer32BitUncached(Object pointerObject, int byteOffset, TruffleString.Encoding encoding, boolean copy)","summary":"Shorthand for calling the uncached version of FromZeroTerminatedNativePointerNode.execute32Bit.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromByteArrayWithCompactionUTF32Uncached(byte[], int, int, TruffleString.CompactionLevel, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromByteArrayWithCompactionUTF32Uncached(byte[],int,int,com.oracle.truffle.api.strings.TruffleString.CompactionLevel,boolean)","name":"fromByteArrayWithCompactionUTF32Uncached","kind":"method","signature":"public static TruffleString fromByteArrayWithCompactionUTF32Uncached(byte[] array, int byteOffset, int byteLength, TruffleString.CompactionLevel compactionLevel, boolean copy)","summary":"Shorthand for calling the uncached version of FromByteArrayWithCompactionUTF32Node.","params":[{"name":"array","type":"byte[]"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"compactionLevel","type":"TruffleString.CompactionLevel"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.fromNativePointerWithCompactionUTF32Uncached(Object, int, int, TruffleString.CompactionLevel, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#fromNativePointerWithCompactionUTF32Uncached(java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.CompactionLevel,boolean)","name":"fromNativePointerWithCompactionUTF32Uncached","kind":"method","signature":"public static TruffleString fromNativePointerWithCompactionUTF32Uncached(Object pointerObject, int byteOffset, int byteLength, TruffleString.CompactionLevel compactionLevel, boolean copy)","summary":"Shorthand for calling the uncached version of FromNativePointerWithCompactionUTF32Node.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"compactionLevel","type":"TruffleString.CompactionLevel"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.asNativeUncached(NativeAllocator, TruffleString.Encoding, boolean, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.html#asNativeUncached(com.oracle.truffle.api.strings.NativeAllocator,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean,boolean)","name":"asNativeUncached","kind":"method","signature":"public TruffleString asNativeUncached(NativeAllocator allocator, TruffleString.Encoding expectedEncoding, boolean useCompaction, boolean cacheResult)","summary":"Shorthand for calling the uncached version of AsNativeNode.","params":[{"name":"allocator","type":"NativeAllocator"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"useCompaction","type":"boolean"},{"name":"cacheResult","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsManagedNode","href":"com/oracle/truffle/api/strings/TruffleString.AsManagedNode.html","name":"TruffleString.AsManagedNode","kind":"class","signature":"public abstract static class TruffleString.AsManagedNode extends AbstractPublicNode","summary":"Node to get the given AbstractTruffleString as a managed TruffleString, meaning that the resulting string's backing memory is not a native pointer.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsManagedNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.AsManagedNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Returns a given string if it is already managed (i.e.","details":"not backed by a native pointer), otherwise, copies the string's native pointer content into a Java byte array and returns a new string backed by the byte array.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsManagedNode.execute(AbstractTruffleString, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.AsManagedNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding, boolean cacheResult)","summary":"If the given string is already a managed (i.e.","details":"not backed by a native pointer) string, return it. Otherwise, copy the string's native pointer content into a Java byte array and return a new string backed by the byte array.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"cacheResult","type":"boolean","doc":"if set to true, managed strings created from native TruffleString instances are cached in the native string's internal transcoding cache. Note that this will keep the native string alive and reachable via AsNativeNode. Subsequent calls of AsManagedNode with cacheResult=true on the same native string are guaranteed to return the same managed string. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsManagedNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.AsManagedNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.AsManagedNode create()","summary":"Create a new AsManagedNode.","returns":{"type":"TruffleString.AsManagedNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsManagedNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.AsManagedNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.AsManagedNode getUncached()","summary":"Get the uncached version of AsManagedNode.","returns":{"type":"TruffleString.AsManagedNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsNativeNode","href":"com/oracle/truffle/api/strings/TruffleString.AsNativeNode.html","name":"TruffleString.AsNativeNode","kind":"class","signature":"public abstract static class TruffleString.AsNativeNode extends AbstractPublicNode","summary":"Node to convert a potentially managed TruffleString to a native string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsNativeNode.execute(TruffleString, NativeAllocator, TruffleString.Encoding, boolean, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.AsNativeNode.html#execute(com.oracle.truffle.api.strings.TruffleString,com.oracle.truffle.api.strings.NativeAllocator,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(TruffleString a, NativeAllocator allocator, TruffleString.Encoding expectedEncoding, boolean useCompaction, boolean cacheResult)","summary":"Convert a potentially managed TruffleString to a native string.","details":"If the given string is native already, it is returned. Otherwise, a new string with a backing native buffer allocated via allocator is created and stored in the given managed string's internal transcoding cache, such that subsequent calls on the same string will return the same native string. This operation requires native access permissions (TruffleLanguage.Env#isNativeAccessAllowed()).","params":[{"name":"a","type":"TruffleString"},{"name":"allocator","type":"NativeAllocator","doc":"a function implementing NativeAllocator. This parameter is expected to be partial evaluation constant."},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"useCompaction","type":"boolean","doc":"if set to true, Encoding.UTF_32 and Encoding.UTF_16 - encoded strings may be compacted also in the native representation. Otherwise, no string compaction is applied to the native string. This parameter is expected to be partial evaluation constant."},{"name":"cacheResult","type":"boolean","doc":"if set to true, the newly created native string will be cached in the given managed string's internal transcoding cache ring, guaranteeing that subsequent calls on the managed string return the same native string. Note that this ties the lifetime of the native string to that of the managed string. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsNativeNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.AsNativeNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.AsNativeNode create()","summary":"Create a new AsNativeNode.","returns":{"type":"TruffleString.AsNativeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsNativeNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.AsNativeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.AsNativeNode getUncached()","summary":"Get the uncached version of AsNativeNode.","returns":{"type":"TruffleString.AsNativeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode","href":"com/oracle/truffle/api/strings/TruffleString.AsTruffleStringNode.html","name":"TruffleString.AsTruffleStringNode","kind":"class","signature":"public abstract static class TruffleString.AsTruffleStringNode extends AbstractPublicNode","summary":"Node to get the given AbstractTruffleString as a TruffleString.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.AsTruffleStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString value, TruffleString.Encoding expectedEncoding)","summary":"If the given string is already a TruffleString, return it.","details":"If it is a MutableTruffleString, create a new TruffleString, copying the mutable string's contents.","params":[{"name":"value","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.AsTruffleStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.AsTruffleStringNode create()","summary":"Create a new AsTruffleStringNode.","returns":{"type":"TruffleString.AsTruffleStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.AsTruffleStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.AsTruffleStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.AsTruffleStringNode getUncached()","summary":"Get the uncached version of AsTruffleStringNode.","returns":{"type":"TruffleString.AsTruffleStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfAnyByteNode.html","name":"TruffleString.ByteIndexOfAnyByteNode","kind":"class","signature":"public abstract static class TruffleString.ByteIndexOfAnyByteNode extends AbstractPublicNode","summary":"Node to find the index of the first occurrence of any byte from a given array.","details":"See execute(AbstractTruffleString, int, int, byte[], TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode.execute(AbstractTruffleString, int, int, byte[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfAnyByteNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,byte[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int fromByteIndex, int maxByteIndex, byte[] values, TruffleString.Encoding expectedEncoding)","summary":"Return the byte index of the first occurrence of any byte contained in values, bounded by fromByteIndex (inclusive) and maxByteIndex (exclusive).","details":"If none of the values is found, return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"maxByteIndex","type":"int"},{"name":"values","type":"byte[]"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfAnyByteNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteIndexOfAnyByteNode create()","summary":"Create a new ByteIndexOfAnyByteNode.","returns":{"type":"TruffleString.ByteIndexOfAnyByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfAnyByteNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfAnyByteNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteIndexOfAnyByteNode getUncached()","summary":"Get the uncached version of ByteIndexOfAnyByteNode.","returns":{"type":"TruffleString.ByteIndexOfAnyByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointNode.html","name":"TruffleString.ByteIndexOfCodePointNode","kind":"class","signature":"public abstract static class TruffleString.ByteIndexOfCodePointNode extends AbstractPublicNode","summary":"IndexOfCodePointNode, but with byte indices."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode.execute(AbstractTruffleString, int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int codepoint, int fromByteIndex, int toByteIndex, TruffleString.Encoding expectedEncoding)","summary":"IndexOfCodePointNode, but with byte indices.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"codepoint","type":"int"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteIndexOfCodePointNode create()","summary":"Create a new ByteIndexOfCodePointNode.","returns":{"type":"TruffleString.ByteIndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteIndexOfCodePointNode getUncached()","summary":"Get the uncached version of ByteIndexOfCodePointNode.","returns":{"type":"TruffleString.ByteIndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointSetNode.html","name":"TruffleString.ByteIndexOfCodePointSetNode","kind":"class","signature":"public abstract static class TruffleString.ByteIndexOfCodePointSetNode extends AbstractPublicNode","summary":"Node to find the byte index of the first occurrence of a codepoint present in a given codepoint set.","details":"See execute(AbstractTruffleString, int, int, TruffleString.CodePointSet) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode.execute(AbstractTruffleString, int, int, TruffleString.CodePointSet)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointSetNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.CodePointSet)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, int fromByteIndex, int toByteIndex, TruffleString.CodePointSet codePointSet)","summary":"Returns the byte index of the first codepoint present in the given CodePointSet, bounded by fromByteIndex (inclusive) and toByteIndex (exclusive).","detailsOmitted":true,"params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"codePointSet","type":"TruffleString.CodePointSet","doc":"The set of codepoints to look for. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode.execute(AbstractTruffleString, int, int, TruffleString.CodePointSet, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointSetNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.CodePointSet,boolean)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int fromByteIndex, int toByteIndex, TruffleString.CodePointSet codePointSet, boolean usePreciseCodeRange)","summary":"Returns the byte index of the first codepoint present in the given CodePointSet, bounded by fromByteIndex (inclusive) and toByteIndex (exclusive).","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"codePointSet","type":"TruffleString.CodePointSet"},{"name":"usePreciseCodeRange","type":"boolean","doc":"If this parameter is set to true, the node may evaluate the input string's precise code range for better search performance. For more details, see GetCodeRangeNode and GetCodeRangeImpreciseNode. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointSetNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteIndexOfCodePointSetNode create()","summary":"Create a new ByteIndexOfCodePointSetNode.","returns":{"type":"TruffleString.ByteIndexOfCodePointSetNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfCodePointSetNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfCodePointSetNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteIndexOfCodePointSetNode getUncached()","summary":"Get the uncached version of ByteIndexOfCodePointSetNode.","returns":{"type":"TruffleString.ByteIndexOfCodePointSetNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringNode.html","name":"TruffleString.ByteIndexOfStringNode","kind":"class","signature":"public abstract static class TruffleString.ByteIndexOfStringNode extends AbstractPublicNode","summary":"IndexOfStringNode, but with byte indices."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode.execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, AbstractTruffleString b, int fromByteIndex, int toByteIndex, TruffleString.Encoding expectedEncoding)","summary":"IndexOfStringNode, but with byte indices.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode.execute(AbstractTruffleString, TruffleString.WithMask, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.WithMask,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, TruffleString.WithMask b, int fromByteIndex, int toByteIndex, TruffleString.Encoding expectedEncoding)","summary":"IndexOfStringNode, but with byte indices.","details":"This variant accepts a TruffleString.WithMask as the search value b, which changes the searching algorithm in the following manner: whenever the contents of a and b are compared, the mask is OR'ed to a, as shown in this exemplary method: boolean bytesEqualAt(TruffleString a, int byteIndexA, TruffleString.WithMask b, int byteIndexB) { return (readByte(a, byteIndexA) | readByte(b.mask, byteIndexB)) == readByte(b, byteIndexB); }","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"TruffleString.WithMask"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteIndexOfStringNode create()","summary":"Create a new ByteIndexOfStringNode.","returns":{"type":"TruffleString.ByteIndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteIndexOfStringNode getUncached()","summary":"Get the uncached version of ByteIndexOfStringNode.","returns":{"type":"TruffleString.ByteIndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html","name":"TruffleString.ByteIndexOfStringSetNode","kind":"class","signature":"public abstract static class TruffleString.ByteIndexOfStringSetNode extends AbstractPublicNode","summary":"Node to find the byte index of the first occurrence of any string contained in a given string set.","details":"See execute(AbstractTruffleString, int, int, TruffleString.StringSet) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode.execute(AbstractTruffleString, int, int, TruffleString.StringSet)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.StringSet)","name":"execute","kind":"method","signature":"public abstract long execute(AbstractTruffleString a, int fromByteIndex, int toByteIndex, TruffleString.StringSet stringSet)","summary":"Returns the byte index of the first occurrence of any string present in the given StringSet, bounded by fromByteIndex (inclusive) and toByteIndex (exclusive).","details":"The returned long packs the resulting byte index into the high 32 bits and the matching pattern's index into the low 32 bits. If no match is found, the result packs -1 for both fields. If multiple strings match at the first matching byte index, the string with the lowest index in the array passed to StringSet.fromArray(AbstractTruffleString[], Encoding) is selected. ByteIndexOfStringSetNode will specialize on the given StringSet's content, which is therefore required to be partial evaluation constant.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"stringSet","type":"TruffleString.StringSet"}],"returns":{"type":"long"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode.unpackResultByteIndex(long)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html#unpackResultByteIndex(long)","name":"unpackResultByteIndex","kind":"method","signature":"public static int unpackResultByteIndex(long result)","summary":"Returns the byte index part of a result returned by execute(AbstractTruffleString, int, int, TruffleString.StringSet).","params":[{"name":"result","type":"long"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode.unpackResultPatternIndex(long)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html#unpackResultPatternIndex(long)","name":"unpackResultPatternIndex","kind":"method","signature":"public static int unpackResultPatternIndex(long result)","summary":"Returns the pattern index part of a result returned by execute(AbstractTruffleString, int, int, TruffleString.StringSet).","params":[{"name":"result","type":"long"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode.resultIsMatch(long)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html#resultIsMatch(long)","name":"resultIsMatch","kind":"method","signature":"public static boolean resultIsMatch(long result)","summary":"Returns true if the given result, as returned by execute(AbstractTruffleString, int, int, TruffleString.StringSet), represents a successful match.","params":[{"name":"result","type":"long"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteIndexOfStringSetNode create()","summary":"Create a new ByteIndexOfStringSetNode.","returns":{"type":"TruffleString.ByteIndexOfStringSetNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexOfStringSetNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexOfStringSetNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteIndexOfStringSetNode getUncached()","summary":"Get the uncached version of ByteIndexOfStringSetNode.","returns":{"type":"TruffleString.ByteIndexOfStringSetNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexToCodePointIndexNode.html","name":"TruffleString.ByteIndexToCodePointIndexNode","kind":"class","signature":"public abstract static class TruffleString.ByteIndexToCodePointIndexNode extends AbstractPublicNode","summary":"Node to convert a given byte index to a codepoint index.","details":"See execute(AbstractTruffleString, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexToCodePointIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int byteOffset, int byteIndex, TruffleString.Encoding expectedEncoding)","summary":"Convert the given byte index to a codepoint index, relative to starting point byteOffset.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteOffset","type":"int"},{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexToCodePointIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteIndexToCodePointIndexNode create()","summary":"Create a new ByteIndexToCodePointIndexNode.","returns":{"type":"TruffleString.ByteIndexToCodePointIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteIndexToCodePointIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteIndexToCodePointIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteIndexToCodePointIndexNode getUncached()","summary":"Get the uncached version of ByteIndexToCodePointIndexNode.","returns":{"type":"TruffleString.ByteIndexToCodePointIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode","href":"com/oracle/truffle/api/strings/TruffleString.ByteLengthOfCodePointNode.html","name":"TruffleString.ByteLengthOfCodePointNode","kind":"class","signature":"public abstract static class TruffleString.ByteLengthOfCodePointNode extends AbstractPublicNode","summary":"Node to get the number of bytes occupied by the codepoint starting at a given byte index.","details":"See execute(AbstractTruffleString, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode.execute(AbstractTruffleString, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ByteLengthOfCodePointNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, int byteIndex, TruffleString.Encoding expectedEncoding)","summary":"Get the number of bytes occupied by the codepoint starting at byteIndex, with best-effort error handling.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode.execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/TruffleString.ByteLengthOfCodePointNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int byteIndex, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Get the number of bytes occupied by the codepoint starting at byteIndex.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling","doc":"if set to ErrorHandling.BEST_EFFORT, this node will return the encoding's minimum number of bytes per codepoint if an error occurs while reading the codepoint. If set to ErrorHandling.RETURN_NEGATIVE, a negative value will be returned instead, where two error cases are distinguished: if the codepoint is invalid, the return value is -1. If the codepoint is an unfinished, possibly valid byte sequence at the end of the string, the return value is -1 - (number of missing bytes). This parameter is expected to be partial evaluation constant."}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ByteLengthOfCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ByteLengthOfCodePointNode create()","summary":"Create a new ByteLengthOfCodePointNode.","returns":{"type":"TruffleString.ByteLengthOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ByteLengthOfCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ByteLengthOfCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ByteLengthOfCodePointNode getUncached()","summary":"Get the uncached version of ByteLengthOfCodePointNode.","returns":{"type":"TruffleString.ByteLengthOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node","href":"com/oracle/truffle/api/strings/TruffleString.CharIndexOfAnyCharUTF16Node.html","name":"TruffleString.CharIndexOfAnyCharUTF16Node","kind":"class","signature":"public abstract static class TruffleString.CharIndexOfAnyCharUTF16Node extends AbstractPublicNode","summary":"Node to find the index of the first occurrence of any char from a given array.","details":"See execute(AbstractTruffleString, int, int, char[]) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node.execute(AbstractTruffleString, int, int, char[])","href":"com/oracle/truffle/api/strings/TruffleString.CharIndexOfAnyCharUTF16Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,char[])","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int fromCharIndex, int maxCharIndex, char[] values)","summary":"Return the char index of the first occurrence of any char contained in values, bounded by fromCharIndex (inclusive) and maxCharIndex (exclusive).","details":"If none of the values is found, return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromCharIndex","type":"int"},{"name":"maxCharIndex","type":"int"},{"name":"values","type":"char[]"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.CharIndexOfAnyCharUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CharIndexOfAnyCharUTF16Node create()","summary":"Create a new CharIndexOfAnyCharUTF16Node.","returns":{"type":"TruffleString.CharIndexOfAnyCharUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CharIndexOfAnyCharUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CharIndexOfAnyCharUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CharIndexOfAnyCharUTF16Node getUncached()","summary":"Get the uncached version of CharIndexOfAnyCharUTF16Node.","returns":{"type":"TruffleString.CharIndexOfAnyCharUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtByteIndexNode.html","name":"TruffleString.CodePointAtByteIndexNode","kind":"class","signature":"public abstract static class TruffleString.CodePointAtByteIndexNode extends AbstractPublicNode","summary":"Node to read a codepoint at a given byte index.","details":"See execute(AbstractTruffleString, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode.execute(AbstractTruffleString, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, int i, TruffleString.Encoding expectedEncoding)","summary":"Decode and return the codepoint at byte index i, with best-effort error handling.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode.execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Decode and return the codepoint at byte index i.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling","doc":"analogous to CodePointAtIndexNode."}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtByteIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CodePointAtByteIndexNode create()","summary":"Create a new CodePointAtByteIndexNode.","returns":{"type":"TruffleString.CodePointAtByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtByteIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtByteIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CodePointAtByteIndexNode getUncached()","summary":"Get the uncached version of CodePointAtByteIndexNode.","returns":{"type":"TruffleString.CodePointAtByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexNode.html","name":"TruffleString.CodePointAtIndexNode","kind":"class","signature":"public abstract static class TruffleString.CodePointAtIndexNode extends AbstractPublicNode","summary":"Node to read a codepoint at a given codepoint index.","details":"See execute(AbstractTruffleString, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode.execute(AbstractTruffleString, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, int i, TruffleString.Encoding expectedEncoding)","summary":"Decode and return the codepoint at codepoint index i, with best-effort error handling.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode.execute(AbstractTruffleString, int, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int i, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Decode and return the codepoint at codepoint index i.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"i","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling","doc":"if set to ErrorHandling.BEST_EFFORT, the return value on invalid codepoints depends on expectedEncoding: Encoding.UTF_8: Unicode Replacement character 0xFFFD Encoding.UTF_16: the (16-bit) char value read at index i Encoding.UTF_32: the (32-bit) int value read at index i Encoding.US_ASCII, Encoding.ISO_8859_1, Encoding.BYTES: the (8-bit) unsigned byte value read at index i All other Encodings: Unicode Replacement character 0xFFFD If set to ErrorHandling.RETURN_NEGATIVE, -1 will be returned instead. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CodePointAtIndexNode create()","summary":"Create a new CodePointAtIndexNode.","returns":{"type":"TruffleString.CodePointAtIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CodePointAtIndexNode getUncached()","summary":"Get the uncached version of CodePointAtIndexUTF32Node.","returns":{"type":"TruffleString.CodePointAtIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexUTF32Node.html","name":"TruffleString.CodePointAtIndexUTF32Node","kind":"class","signature":"public abstract static class TruffleString.CodePointAtIndexUTF32Node extends AbstractPublicNode","summary":"Node to read a codepoint at a given codepoint index from a UTF-32 string.","details":"See execute(AbstractTruffleString, int) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexUTF32Node.execute(AbstractTruffleString, int)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexUTF32Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int i)","summary":"Decode and return the codepoint at codepoint index i.","details":"This node is a specialized version of CodePointAtIndexNode for UTF-32 strings, with best-effort error handling. This node should be preferred over the generic CodePointAtIndexNode when possible for better performance during warmup / in interpreter mode.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"i","type":"int"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CodePointAtIndexUTF32Node create()","summary":"Create a new CodePointAtIndexUTF32Node.","returns":{"type":"TruffleString.CodePointAtIndexUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointAtIndexUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointAtIndexUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CodePointAtIndexUTF32Node getUncached()","summary":"Get the uncached version of CodePointAtIndexUTF32Node.","returns":{"type":"TruffleString.CodePointAtIndexUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode","href":"com/oracle/truffle/api/strings/TruffleString.CodePointIndexToByteIndexNode.html","name":"TruffleString.CodePointIndexToByteIndexNode","kind":"class","signature":"public abstract static class TruffleString.CodePointIndexToByteIndexNode extends AbstractPublicNode","summary":"Node to convert a given codepoint index to a byte index.","details":"See execute(AbstractTruffleString, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointIndexToByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int byteOffset, int codepointIndex, TruffleString.Encoding expectedEncoding)","summary":"Convert the given codepoint index to a byte index, relative to starting point byteOffset.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteOffset","type":"int"},{"name":"codepointIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointIndexToByteIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CodePointIndexToByteIndexNode create()","summary":"Create a new CodePointIndexToByteIndexNode.","returns":{"type":"TruffleString.CodePointIndexToByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointIndexToByteIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointIndexToByteIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CodePointIndexToByteIndexNode getUncached()","summary":"Get the uncached version of CodePointIndexToByteIndexNode.","returns":{"type":"TruffleString.CodePointIndexToByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode","href":"com/oracle/truffle/api/strings/TruffleString.CodePointLengthNode.html","name":"TruffleString.CodePointLengthNode","kind":"class","signature":"public abstract static class TruffleString.CodePointLengthNode extends AbstractPublicNode","summary":"Node to get the number of codepoints in a string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointLengthNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Return the number of codepoints in the string.","details":"If the string is not encoded correctly (if its coderange is CodeRange.BROKEN), every broken minimum-length sequence in the encoding (4 bytes for UTF-32, 2 bytes for UTF-16, 1 byte for other encodings) adds 1 to the length.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointLengthNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CodePointLengthNode create()","summary":"Create a new CodePointLengthNode.","returns":{"type":"TruffleString.CodePointLengthNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointLengthNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CodePointLengthNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CodePointLengthNode getUncached()","summary":"Get the uncached version of CodePointLengthNode.","returns":{"type":"TruffleString.CodePointLengthNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointSet","href":"com/oracle/truffle/api/strings/TruffleString.CodePointSet.html","name":"TruffleString.CodePointSet","kind":"class","signature":"public static final class TruffleString.CodePointSet","summary":"A set of codepoints in a given encoding.","details":"Used in ByteIndexOfCodePointSetNode.execute(AbstractTruffleString, int, int, TruffleString.CodePointSet)."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointSet.fromRanges(int[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointSet.html#fromRanges(int[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromRanges","kind":"method","signature":"public static TruffleString.CodePointSet fromRanges(int[] ranges, TruffleString.Encoding encoding)","summary":"Creates a new CodePointSet from the given list of ranges.","details":"This operation is expensive, it is recommended to cache the result.","params":[{"name":"ranges","type":"int[]","doc":"a sorted list of non-adjacent codepoint ranges. For every two consecutive array elements, the first is interpreted as the range's inclusive lower bound, and the second element is the range's inclusive upper bound. Example: an array [1, 4, 8, 10] represents the inclusive ranges [1-4] and [8-10]."},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodePointSet"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodePointSet.isIntrinsicCandidate(TruffleString.CodeRange)","href":"com/oracle/truffle/api/strings/TruffleString.CodePointSet.html#isIntrinsicCandidate(com.oracle.truffle.api.strings.TruffleString.CodeRange)","name":"isIntrinsicCandidate","kind":"method","signature":"public boolean isIntrinsicCandidate(TruffleString.CodeRange codeRange)","summary":"Returns true if ByteIndexOfCodePointSetNode may implement the search for this particular code point set in strings with the given code range by dispatching to a compiler intrinsic.","params":[{"name":"codeRange","type":"TruffleString.CodeRange"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html","name":"TruffleString.CodeRange","kind":"enum","signature":"public enum TruffleString.CodeRange","summary":"Provides information about a string's content.","details":"All values of this enum describe a set of codepoints potentially contained by a string reporting said value."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.values()","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#values()","name":"values","kind":"method","signature":"public static TruffleString.CodeRange[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TruffleString.CodeRange[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.valueOf(String)","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TruffleString.CodeRange valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TruffleString.CodeRange","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.ASCII","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#ASCII","name":"ASCII","kind":"enumConstant","signature":"ASCII","summary":"All codepoints in this string are part of the Basic Latin Unicode block, also known as ASCII (0x00 - 0x7f)."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.LATIN_1","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#LATIN_1","name":"LATIN_1","kind":"enumConstant","signature":"LATIN_1","summary":"All codepoints in this string are part of the ISO-8859-1 character set (0x00 - 0xff), which is equivalent to the union of the Basic Latin and the Latin-1 Supplement Unicode block.","details":"If this code range is precise, at least one codepoint is outside the ASCII range (greater than 0x7f). Applicable to Encoding.ISO_8859_1, Encoding.UTF_16 and Encoding.UTF_32 only."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.BMP","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#BMP","name":"BMP","kind":"enumConstant","signature":"BMP","summary":"All codepoints in this string are part of the Unicode Basic Multilingual Plane (BMP) ( 0x0000 - 0xffff).","details":"If this code range is precise, at least one codepoint is outside the LATIN_1 range (greater than 0xff). Applicable to Encoding.UTF_16 and Encoding.UTF_32 only."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.VALID","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#VALID","name":"VALID","kind":"enumConstant","signature":"VALID","summary":"This string is encoded correctly (IsValidNode returns true), and if this code range is precise, at least one codepoint is outside the largest other applicable code range (e.g.","details":"greater than 0x7f on Encoding.UTF_8, greater than 0xffff on Encoding.UTF_16)."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.BROKEN","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#BROKEN","name":"BROKEN","kind":"enumConstant","signature":"BROKEN","summary":"If this code range is precise, the string is not encoded correctly (IsValidNode returns false), and contains at least one invalid codepoint.","details":"Otherwise, no information about the string is known."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.isSubsetOf(TruffleString.CodeRange)","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#isSubsetOf(com.oracle.truffle.api.strings.TruffleString.CodeRange)","name":"isSubsetOf","kind":"method","signature":"public boolean isSubsetOf(TruffleString.CodeRange other)","summary":"Returns true if this set of potential codepoints is equal to or contained by other.","params":[{"name":"other","type":"TruffleString.CodeRange"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRange.isSupersetOf(TruffleString.CodeRange)","href":"com/oracle/truffle/api/strings/TruffleString.CodeRange.html#isSupersetOf(com.oracle.truffle.api.strings.TruffleString.CodeRange)","name":"isSupersetOf","kind":"method","signature":"public boolean isSupersetOf(TruffleString.CodeRange other)","summary":"Returns true if this set of potential codepoints is equal to or contains other.","params":[{"name":"other","type":"TruffleString.CodeRange"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode","href":"com/oracle/truffle/api/strings/TruffleString.CodeRangeEqualsNode.html","name":"TruffleString.CodeRangeEqualsNode","kind":"class","signature":"public abstract static class TruffleString.CodeRangeEqualsNode extends AbstractPublicNode","summary":"Node to check if a string's code range is equal to the given CodeRange.","details":"See execute(AbstractTruffleString, TruffleString.CodeRange) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode.execute(AbstractTruffleString, TruffleString.CodeRange)","href":"com/oracle/truffle/api/strings/TruffleString.CodeRangeEqualsNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.CodeRange)","name":"execute","kind":"method","signature":"public abstract boolean execute(AbstractTruffleString a, TruffleString.CodeRange codeRange)","summary":"Returns true if the string's code range is equal to the given CodeRange.","details":"Use this operation when caching code range instances, e.g.: &#64;Specialization(guards = \"codeRangeEqualsNode.execute(a, cachedCodeRange)\") static void someOperation(TString a, &#64;Cached TruffleString.GetCodeRangeNode getCodeRangeNode, &#64;Cached TruffleString.CodeRangeEqualsNode codeRangeEqualsNode, &#64;Cached(\"getCodeRangeNode.execute(this, a)\") CodeRange cachedCodeRange) { // ... }","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"codeRange","type":"TruffleString.CodeRange"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CodeRangeEqualsNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CodeRangeEqualsNode create()","summary":"Create a new CodeRangeEqualsNode.","returns":{"type":"TruffleString.CodeRangeEqualsNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CodeRangeEqualsNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CodeRangeEqualsNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CodeRangeEqualsNode getUncached()","summary":"Get the uncached version of CodeRangeEqualsNode.","returns":{"type":"TruffleString.CodeRangeEqualsNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html","name":"TruffleString.CompactionLevel","kind":"enum","signature":"public enum TruffleString.CompactionLevel","summary":"Represents a string's compaction level, i.e.","details":"the internal number of bytes per array element. This is relevant only for Encoding.UTF_16 and Encoding.UTF_32, since TruffleString doesn't support string compaction on any other encoding."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.values()","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#values()","name":"values","kind":"method","signature":"public static TruffleString.CompactionLevel[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TruffleString.CompactionLevel[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.valueOf(String)","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TruffleString.CompactionLevel valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TruffleString.CompactionLevel","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.S1","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#S1","name":"S1","kind":"enumConstant","signature":"S1","summary":"One byte per array element."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.S2","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#S2","name":"S2","kind":"enumConstant","signature":"S2","summary":"Two bytes per array element."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.S4","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#S4","name":"S4","kind":"enumConstant","signature":"S4","summary":"Four bytes per array element."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.getBytes()","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#getBytes()","name":"getBytes","kind":"method","signature":"public final int getBytes()","summary":"Get the number of bytes per internal array element.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompactionLevel.getLog2()","href":"com/oracle/truffle/api/strings/TruffleString.CompactionLevel.html#getLog2()","name":"getLog2","kind":"method","signature":"public final int getLog2()","summary":"Get the number of bytes per internal array element in log2 format.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareBytesNode","href":"com/oracle/truffle/api/strings/TruffleString.CompareBytesNode.html","name":"TruffleString.CompareBytesNode","kind":"class","signature":"public abstract static class TruffleString.CompareBytesNode extends AbstractPublicNode","summary":"Node to compare two strings byte-by-byte.","details":"See execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareBytesNode.execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CompareBytesNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding)","summary":"Compare strings a and b byte-by-byte.","details":"Returns zero if a and b are equal. If a is equal to b up to its length, but b is longer than a, a negative value is returned. In the inverse case, a positive value is returned. Otherwise, elements a[i] and b[i] at a byte index i are different. If a[i] is greater than b[i], a positive value is returned, otherwise a negative value is returned.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareBytesNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CompareBytesNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CompareBytesNode create()","summary":"Create a new CompareBytesNode.","returns":{"type":"TruffleString.CompareBytesNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareBytesNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CompareBytesNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CompareBytesNode getUncached()","summary":"Get the uncached version of CompareBytesNode.","returns":{"type":"TruffleString.CompareBytesNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node","href":"com/oracle/truffle/api/strings/TruffleString.CompareCharsUTF16Node.html","name":"TruffleString.CompareCharsUTF16Node","kind":"class","signature":"public abstract static class TruffleString.CompareCharsUTF16Node extends AbstractPublicNode","summary":"Node to compare two UTF-16 strings.","details":"See execute(AbstractTruffleString, AbstractTruffleString) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node.execute(AbstractTruffleString, AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleString.CompareCharsUTF16Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, AbstractTruffleString b)","summary":"Compare UTF-16 strings a and b char-by-char.","details":"Returns zero if a and b are equal. If a is equal to b up to its length, but b is longer than a, a negative value is returned. In the inverse case, a positive value is returned. Otherwise, elements a[i] and b[i] at an index i are different. If a[i] is greater than b[i], a positive value is returned, otherwise a negative value is returned.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.CompareCharsUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CompareCharsUTF16Node create()","summary":"Create a new CompareCharsUTF16Node.","returns":{"type":"TruffleString.CompareCharsUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareCharsUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CompareCharsUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CompareCharsUTF16Node getUncached()","summary":"Get the uncached version of CompareCharsUTF16Node.","returns":{"type":"TruffleString.CompareCharsUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.CompareIntsUTF32Node.html","name":"TruffleString.CompareIntsUTF32Node","kind":"class","signature":"public abstract static class TruffleString.CompareIntsUTF32Node extends AbstractPublicNode","summary":"Node to compare two UTF-32 strings.","details":"See execute(AbstractTruffleString, AbstractTruffleString) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node.execute(AbstractTruffleString, AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleString.CompareIntsUTF32Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, AbstractTruffleString b)","summary":"Compare UTF-32 strings a and b int-by-int.","details":"Returns zero if a and b are equal. If a is equal to b up to its length, but b is longer than a, a negative value is returned. In the inverse case, a positive value is returned. Otherwise, elements a[i] and b[i] at an index i are different. If a[i] is greater than b[i], a positive value is returned, otherwise a negative value is returned.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.CompareIntsUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CompareIntsUTF32Node create()","summary":"Create a new CompareIntsUTF32Node.","returns":{"type":"TruffleString.CompareIntsUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CompareIntsUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CompareIntsUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CompareIntsUTF32Node getUncached()","summary":"Get the uncached version of CompareIntsUTF32Node.","returns":{"type":"TruffleString.CompareIntsUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ConcatNode","href":"com/oracle/truffle/api/strings/TruffleString.ConcatNode.html","name":"TruffleString.ConcatNode","kind":"class","signature":"public abstract static class TruffleString.ConcatNode extends AbstractPublicNode","summary":"Node to concatenate two strings.","details":"See execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ConcatNode.execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.ConcatNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding, boolean lazy)","summary":"Create a new string by concatenating a and b.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean","doc":"if true, the creation of the new string's internal array may be delayed until it is required by another operation. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ConcatNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ConcatNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ConcatNode create()","summary":"Create a new ConcatNode.","returns":{"type":"TruffleString.ConcatNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ConcatNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ConcatNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ConcatNode getUncached()","summary":"Get the uncached version of ConcatNode.","returns":{"type":"TruffleString.ConcatNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode","href":"com/oracle/truffle/api/strings/TruffleString.CopyToByteArrayNode.html","name":"TruffleString.CopyToByteArrayNode","kind":"class","signature":"public abstract static class TruffleString.CopyToByteArrayNode extends AbstractPublicNode","summary":"Node to copy a region of a string into a byte array.","details":"See execute(AbstractTruffleString, int, byte[], int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CopyToByteArrayNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final byte[] execute(AbstractTruffleString string, TruffleString.Encoding expectedEncoding)","summary":"Copy the entire string to a byte[] and return it.","params":[{"name":"string","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"byte[]"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode.execute(AbstractTruffleString, int, byte[], int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CopyToByteArrayNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,byte[],int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract void execute(AbstractTruffleString a, int byteFromIndexA, byte[] dst, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Copy a region of the given TruffleString a, bounded by byteFromIndexA and byteLength into the given byte array, at starting at byteFromIndexDst.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteFromIndexA","type":"int"},{"name":"dst","type":"byte[]"},{"name":"byteFromIndexDst","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CopyToByteArrayNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CopyToByteArrayNode create()","summary":"Create a new CopyToByteArrayNode.","returns":{"type":"TruffleString.CopyToByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToByteArrayNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CopyToByteArrayNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CopyToByteArrayNode getUncached()","summary":"Get the uncached version of CopyToByteArrayNode.","returns":{"type":"TruffleString.CopyToByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode","href":"com/oracle/truffle/api/strings/TruffleString.CopyToNativeMemoryNode.html","name":"TruffleString.CopyToNativeMemoryNode","kind":"class","signature":"public abstract static class TruffleString.CopyToNativeMemoryNode extends AbstractPublicNode","summary":"Node to copy a region of a string into native memory.","details":"See execute(AbstractTruffleString, int, Object, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode.execute(AbstractTruffleString, int, Object, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CopyToNativeMemoryNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract void execute(AbstractTruffleString a, int byteFromIndexA, Object pointerObject, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)","summary":"Copy a region of the given TruffleString a, bounded by byteFromIndexA and byteLength into the given interop object representing a native pointer (isPointer(pointerObject) must return true), starting at byteFromIndexDst.","details":"This operation requires native access permissions (TruffleLanguage.Env#isNativeAccessAllowed()). Since GraalVM version 25.1, the native pointer may also be passed as a primitive long value in place of pointerObject.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteFromIndexA","type":"int"},{"name":"pointerObject","type":"Object"},{"name":"byteFromIndexDst","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CopyToNativeMemoryNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CopyToNativeMemoryNode create()","summary":"Create a new CopyToNativeMemoryNode.","returns":{"type":"TruffleString.CopyToNativeMemoryNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CopyToNativeMemoryNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CopyToNativeMemoryNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CopyToNativeMemoryNode getUncached()","summary":"Get the uncached version of CopyToNativeMemoryNode.","returns":{"type":"TruffleString.CopyToNativeMemoryNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode","href":"com/oracle/truffle/api/strings/TruffleString.CreateBackwardCodePointIteratorNode.html","name":"TruffleString.CreateBackwardCodePointIteratorNode","kind":"class","signature":"public abstract static class TruffleString.CreateBackwardCodePointIteratorNode extends AbstractPublicNode","summary":"Node to create a TruffleStringIterator.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CreateBackwardCodePointIteratorNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleStringIterator execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Returns a TruffleStringIterator, which allows iterating this string's code points, with best-effort error handling.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleStringIterator"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode.execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/TruffleString.CreateBackwardCodePointIteratorNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"execute","kind":"method","signature":"public abstract TruffleStringIterator execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Returns a TruffleStringIterator, which allows iterating this string's code points.","details":"The iterator is initialized to begin iteration at the end of the string, use TruffleStringIterator.PreviousNode to iterate in reverse order.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling","doc":"analogous to CodePointAtIndexNode."}],"returns":{"type":"TruffleStringIterator"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CreateBackwardCodePointIteratorNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CreateBackwardCodePointIteratorNode create()","summary":"Create a new CreateBackwardCodePointIteratorNode.","returns":{"type":"TruffleString.CreateBackwardCodePointIteratorNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateBackwardCodePointIteratorNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CreateBackwardCodePointIteratorNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CreateBackwardCodePointIteratorNode getUncached()","summary":"Get the uncached version of CreateBackwardCodePointIteratorNode.","returns":{"type":"TruffleString.CreateBackwardCodePointIteratorNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode","href":"com/oracle/truffle/api/strings/TruffleString.CreateCodePointIteratorNode.html","name":"TruffleString.CreateCodePointIteratorNode","kind":"class","signature":"public abstract static class TruffleString.CreateCodePointIteratorNode extends AbstractPublicNode","summary":"Node to create a TruffleStringIterator.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.CreateCodePointIteratorNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleStringIterator execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Returns a TruffleStringIterator, which allows iterating this string's code points, with best-effort error handling.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleStringIterator"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode.execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.ErrorHandling)","href":"com/oracle/truffle/api/strings/TruffleString.CreateCodePointIteratorNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.ErrorHandling)","name":"execute","kind":"method","signature":"public abstract TruffleStringIterator execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding, TruffleString.ErrorHandling errorHandling)","summary":"Returns a TruffleStringIterator, which allows iterating this string's code points.","details":"The iterator is initialized to begin iteration at the start of the string, use TruffleStringIterator.NextNode to iterate.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"errorHandling","type":"TruffleString.ErrorHandling","doc":"analogous to CodePointAtIndexNode."}],"returns":{"type":"TruffleStringIterator"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.CreateCodePointIteratorNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.CreateCodePointIteratorNode create()","summary":"Create a new CreateCodePointIteratorNode.","returns":{"type":"TruffleString.CreateCodePointIteratorNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.CreateCodePointIteratorNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.CreateCodePointIteratorNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.CreateCodePointIteratorNode getUncached()","summary":"Get the uncached version of CreateCodePointIteratorNode.","returns":{"type":"TruffleString.CreateCodePointIteratorNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html","name":"TruffleString.Encoding","kind":"enum","signature":"public enum TruffleString.Encoding","summary":"The list of encodings supported by TruffleString.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.values()","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#values()","name":"values","kind":"method","signature":"public static TruffleString.Encoding[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TruffleString.Encoding[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.valueOf(String)","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TruffleString.Encoding valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TruffleString.Encoding","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_32LE","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_32LE","name":"UTF_32LE","kind":"enumConstant","signature":"UTF_32LE","summary":"UTF-32LE.","details":"Directly supported if the current system is little-endian."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_32BE","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_32BE","name":"UTF_32BE","kind":"enumConstant","signature":"UTF_32BE","summary":"UTF-32BE.","details":"Directly supported if the current system is big-endian."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_16LE","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_16LE","name":"UTF_16LE","kind":"enumConstant","signature":"UTF_16LE","summary":"UTF-16LE.","details":"Directly supported if the current system is little-endian."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_16BE","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_16BE","name":"UTF_16BE","kind":"enumConstant","signature":"UTF_16BE","summary":"UTF-16BE.","details":"Directly supported if the current system is big-endian."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_1","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_1","name":"ISO_8859_1","kind":"enumConstant","signature":"ISO_8859_1","summary":"ISO-8859-1, also known as LATIN-1, which is equivalent to US-ASCII + the LATIN-1 Supplement Unicode block."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_8","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_8","name":"UTF_8","kind":"enumConstant","signature":"UTF_8","summary":"UTF-8."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.US_ASCII","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#US_ASCII","name":"US_ASCII","kind":"enumConstant","signature":"US_ASCII","summary":"US-ASCII, which maps only 7-bit characters."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.BYTES","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#BYTES","name":"BYTES","kind":"enumConstant","signature":"BYTES","summary":"Special \"encoding\" BYTES: This encoding is identical to US-ASCII, but treats all values outside the us-ascii range as valid codepoints as well.","details":"Caution: no codepoint mappings are defined for non-us-ascii values in this encoding, so SwitchEncodingNode will replace all of them with '?' when converting from or to BYTES! To preserve all bytes and \"reinterpret\" a BYTES string in another encoding, use ForceEncodingNode."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Big5","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Big5","name":"Big5","kind":"enumConstant","signature":"Big5","summary":"Big5."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Big5_HKSCS","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Big5_HKSCS","name":"Big5_HKSCS","kind":"enumConstant","signature":"Big5_HKSCS","summary":"Big5-HKSCS."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Big5_UAO","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Big5_UAO","name":"Big5_UAO","kind":"enumConstant","signature":"Big5_UAO","summary":"Big5-UAO."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CESU_8","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CESU_8","name":"CESU_8","kind":"enumConstant","signature":"CESU_8","summary":"CESU-8."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP51932","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP51932","name":"CP51932","kind":"enumConstant","signature":"CP51932","summary":"CP51932."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP850","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP850","name":"CP850","kind":"enumConstant","signature":"CP850","summary":"CP850."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP852","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP852","name":"CP852","kind":"enumConstant","signature":"CP852","summary":"CP852."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP855","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP855","name":"CP855","kind":"enumConstant","signature":"CP855","summary":"CP855."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP949","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP949","name":"CP949","kind":"enumConstant","signature":"CP949","summary":"CP949."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP950","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP950","name":"CP950","kind":"enumConstant","signature":"CP950","summary":"CP950."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP951","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP951","name":"CP951","kind":"enumConstant","signature":"CP951","summary":"CP951."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.EUC_JIS_2004","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#EUC_JIS_2004","name":"EUC_JIS_2004","kind":"enumConstant","signature":"EUC_JIS_2004","summary":"EUC-JIS-2004."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.EUC_JP","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#EUC_JP","name":"EUC_JP","kind":"enumConstant","signature":"EUC_JP","summary":"EUC-JP."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.EUC_KR","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#EUC_KR","name":"EUC_KR","kind":"enumConstant","signature":"EUC_KR","summary":"EUC-KR."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.EUC_TW","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#EUC_TW","name":"EUC_TW","kind":"enumConstant","signature":"EUC_TW","summary":"EUC-TW."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Emacs_Mule","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Emacs_Mule","name":"Emacs_Mule","kind":"enumConstant","signature":"Emacs_Mule","summary":"Emacs-Mule."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.EucJP_ms","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#EucJP_ms","name":"EucJP_ms","kind":"enumConstant","signature":"EucJP_ms","summary":"EucJP-ms."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.GB12345","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#GB12345","name":"GB12345","kind":"enumConstant","signature":"GB12345","summary":"GB12345."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.GB18030","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#GB18030","name":"GB18030","kind":"enumConstant","signature":"GB18030","summary":"GB18030."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.GB1988","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#GB1988","name":"GB1988","kind":"enumConstant","signature":"GB1988","summary":"GB1988."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.GB2312","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#GB2312","name":"GB2312","kind":"enumConstant","signature":"GB2312","summary":"GB2312."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.GBK","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#GBK","name":"GBK","kind":"enumConstant","signature":"GBK","summary":"GBK."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM437","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM437","name":"IBM437","kind":"enumConstant","signature":"IBM437","summary":"IBM437."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM720","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM720","name":"IBM720","kind":"enumConstant","signature":"IBM720","summary":"IBM720."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM737","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM737","name":"IBM737","kind":"enumConstant","signature":"IBM737","summary":"IBM737."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM775","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM775","name":"IBM775","kind":"enumConstant","signature":"IBM775","summary":"IBM775."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM852","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM852","name":"IBM852","kind":"enumConstant","signature":"IBM852","summary":"IBM852."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM855","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM855","name":"IBM855","kind":"enumConstant","signature":"IBM855","summary":"IBM855."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM857","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM857","name":"IBM857","kind":"enumConstant","signature":"IBM857","summary":"IBM857."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM860","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM860","name":"IBM860","kind":"enumConstant","signature":"IBM860","summary":"IBM860."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM861","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM861","name":"IBM861","kind":"enumConstant","signature":"IBM861","summary":"IBM861."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM862","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM862","name":"IBM862","kind":"enumConstant","signature":"IBM862","summary":"IBM862."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM863","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM863","name":"IBM863","kind":"enumConstant","signature":"IBM863","summary":"IBM863."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM864","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM864","name":"IBM864","kind":"enumConstant","signature":"IBM864","summary":"IBM864."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM865","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM865","name":"IBM865","kind":"enumConstant","signature":"IBM865","summary":"IBM865."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM866","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM866","name":"IBM866","kind":"enumConstant","signature":"IBM866","summary":"IBM866."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM869","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM869","name":"IBM869","kind":"enumConstant","signature":"IBM869","summary":"IBM869."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_10","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_10","name":"ISO_8859_10","kind":"enumConstant","signature":"ISO_8859_10","summary":"ISO-8859-10."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_11","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_11","name":"ISO_8859_11","kind":"enumConstant","signature":"ISO_8859_11","summary":"ISO-8859-11."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_13","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_13","name":"ISO_8859_13","kind":"enumConstant","signature":"ISO_8859_13","summary":"ISO-8859-13."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_14","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_14","name":"ISO_8859_14","kind":"enumConstant","signature":"ISO_8859_14","summary":"ISO-8859-14."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_15","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_15","name":"ISO_8859_15","kind":"enumConstant","signature":"ISO_8859_15","summary":"ISO-8859-15."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_16","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_16","name":"ISO_8859_16","kind":"enumConstant","signature":"ISO_8859_16","summary":"ISO-8859-16."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_2","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_2","name":"ISO_8859_2","kind":"enumConstant","signature":"ISO_8859_2","summary":"ISO-8859-2."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_3","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_3","name":"ISO_8859_3","kind":"enumConstant","signature":"ISO_8859_3","summary":"ISO-8859-3."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_4","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_4","name":"ISO_8859_4","kind":"enumConstant","signature":"ISO_8859_4","summary":"ISO-8859-4."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_5","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_5","name":"ISO_8859_5","kind":"enumConstant","signature":"ISO_8859_5","summary":"ISO-8859-5."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_6","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_6","name":"ISO_8859_6","kind":"enumConstant","signature":"ISO_8859_6","summary":"ISO-8859-6."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_7","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_7","name":"ISO_8859_7","kind":"enumConstant","signature":"ISO_8859_7","summary":"ISO-8859-7."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_8","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_8","name":"ISO_8859_8","kind":"enumConstant","signature":"ISO_8859_8","summary":"ISO-8859-8."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_8859_9","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_8859_9","name":"ISO_8859_9","kind":"enumConstant","signature":"ISO_8859_9","summary":"ISO-8859-9."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.KOI8_R","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#KOI8_R","name":"KOI8_R","kind":"enumConstant","signature":"KOI8_R","summary":"KOI8-R."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.KOI8_U","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#KOI8_U","name":"KOI8_U","kind":"enumConstant","signature":"KOI8_U","summary":"KOI8-U."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacCentEuro","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacCentEuro","name":"MacCentEuro","kind":"enumConstant","signature":"MacCentEuro","summary":"MacCentEuro."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacCroatian","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacCroatian","name":"MacCroatian","kind":"enumConstant","signature":"MacCroatian","summary":"MacCroatian."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacCyrillic","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacCyrillic","name":"MacCyrillic","kind":"enumConstant","signature":"MacCyrillic","summary":"MacCyrillic."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacGreek","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacGreek","name":"MacGreek","kind":"enumConstant","signature":"MacGreek","summary":"MacGreek."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacIceland","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacIceland","name":"MacIceland","kind":"enumConstant","signature":"MacIceland","summary":"MacIceland."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacJapanese","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacJapanese","name":"MacJapanese","kind":"enumConstant","signature":"MacJapanese","summary":"MacJapanese."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacRoman","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacRoman","name":"MacRoman","kind":"enumConstant","signature":"MacRoman","summary":"MacRoman."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacRomania","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacRomania","name":"MacRomania","kind":"enumConstant","signature":"MacRomania","summary":"MacRomania."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacThai","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacThai","name":"MacThai","kind":"enumConstant","signature":"MacThai","summary":"MacThai."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacTurkish","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacTurkish","name":"MacTurkish","kind":"enumConstant","signature":"MacTurkish","summary":"MacTurkish."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.MacUkraine","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#MacUkraine","name":"MacUkraine","kind":"enumConstant","signature":"MacUkraine","summary":"MacUkraine."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.SJIS_DoCoMo","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#SJIS_DoCoMo","name":"SJIS_DoCoMo","kind":"enumConstant","signature":"SJIS_DoCoMo","summary":"SJIS-DoCoMo."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.SJIS_KDDI","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#SJIS_KDDI","name":"SJIS_KDDI","kind":"enumConstant","signature":"SJIS_KDDI","summary":"SJIS-KDDI."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.SJIS_SoftBank","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#SJIS_SoftBank","name":"SJIS_SoftBank","kind":"enumConstant","signature":"SJIS_SoftBank","summary":"SJIS-SoftBank."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Shift_JIS","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Shift_JIS","name":"Shift_JIS","kind":"enumConstant","signature":"Shift_JIS","summary":"Shift-JIS."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Stateless_ISO_2022_JP","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Stateless_ISO_2022_JP","name":"Stateless_ISO_2022_JP","kind":"enumConstant","signature":"Stateless_ISO_2022_JP","summary":"Stateless-ISO-2022-JP."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Stateless_ISO_2022_JP_KDDI","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Stateless_ISO_2022_JP_KDDI","name":"Stateless_ISO_2022_JP_KDDI","kind":"enumConstant","signature":"Stateless_ISO_2022_JP_KDDI","summary":"Stateless-ISO-2022-JP-KDDI."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.TIS_620","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#TIS_620","name":"TIS_620","kind":"enumConstant","signature":"TIS_620","summary":"TIS-620."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF8_DoCoMo","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF8_DoCoMo","name":"UTF8_DoCoMo","kind":"enumConstant","signature":"UTF8_DoCoMo","summary":"UTF8-DoCoMo."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF8_KDDI","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF8_KDDI","name":"UTF8_KDDI","kind":"enumConstant","signature":"UTF8_KDDI","summary":"UTF8-KDDI."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF8_MAC","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF8_MAC","name":"UTF8_MAC","kind":"enumConstant","signature":"UTF8_MAC","summary":"UTF8-MAC."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF8_SoftBank","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF8_SoftBank","name":"UTF8_SoftBank","kind":"enumConstant","signature":"UTF8_SoftBank","summary":"UTF8-SoftBank."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1250","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1250","name":"Windows_1250","kind":"enumConstant","signature":"Windows_1250","summary":"Windows-1250."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1251","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1251","name":"Windows_1251","kind":"enumConstant","signature":"Windows_1251","summary":"Windows-1251."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1252","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1252","name":"Windows_1252","kind":"enumConstant","signature":"Windows_1252","summary":"Windows-1252."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1253","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1253","name":"Windows_1253","kind":"enumConstant","signature":"Windows_1253","summary":"Windows-1253."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1254","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1254","name":"Windows_1254","kind":"enumConstant","signature":"Windows_1254","summary":"Windows-1254."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1255","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1255","name":"Windows_1255","kind":"enumConstant","signature":"Windows_1255","summary":"Windows-1255."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1256","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1256","name":"Windows_1256","kind":"enumConstant","signature":"Windows_1256","summary":"Windows-1256."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1257","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1257","name":"Windows_1257","kind":"enumConstant","signature":"Windows_1257","summary":"Windows-1257."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_1258","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_1258","name":"Windows_1258","kind":"enumConstant","signature":"Windows_1258","summary":"Windows-1258."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_31J","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_31J","name":"Windows_31J","kind":"enumConstant","signature":"Windows_31J","summary":"Windows-31J."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.Windows_874","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#Windows_874","name":"Windows_874","kind":"enumConstant","signature":"Windows_874","summary":"Windows-874."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP50220","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP50220","name":"CP50220","kind":"enumConstant","signature":"CP50220","summary":"CP50220."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.CP50221","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#CP50221","name":"CP50221","kind":"enumConstant","signature":"CP50221","summary":"CP50221."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.IBM037","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#IBM037","name":"IBM037","kind":"enumConstant","signature":"IBM037","summary":"IBM037."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_2022_JP","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_2022_JP","name":"ISO_2022_JP","kind":"enumConstant","signature":"ISO_2022_JP","summary":"ISO-2022-JP."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_2022_JP_2","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_2022_JP_2","name":"ISO_2022_JP_2","kind":"enumConstant","signature":"ISO_2022_JP_2","summary":"ISO-2022-JP-2."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.ISO_2022_JP_KDDI","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#ISO_2022_JP_KDDI","name":"ISO_2022_JP_KDDI","kind":"enumConstant","signature":"ISO_2022_JP_KDDI","summary":"ISO-2022-JP-KDDI."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_7","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_7","name":"UTF_7","kind":"enumConstant","signature":"UTF_7","summary":"UTF-7."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_32","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_32","name":"UTF_32","kind":"field","signature":"public static final TruffleString.Encoding UTF_32","summary":"UTF-32 in the current system's endianness, without byte-order mark, with transparent string compaction."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.UTF_16","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#UTF_16","name":"UTF_16","kind":"field","signature":"public static final TruffleString.Encoding UTF_16","summary":"UTF-16 in the current system's endianness, without byte-order mark, with transparent string compaction."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.getEmpty()","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#getEmpty()","name":"getEmpty","kind":"method","signature":"public TruffleString getEmpty()","summary":"Get an empty TruffleString with this encoding.","returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.Encoding.fromJCodingName(String)","href":"com/oracle/truffle/api/strings/TruffleString.Encoding.html#fromJCodingName(java.lang.String)","name":"fromJCodingName","kind":"method","signature":"public static TruffleString.Encoding fromJCodingName(String name)","summary":"Get the Encoding corresponding to the given encoding name from the JCodings library.","params":[{"name":"name","type":"String"}],"returns":{"type":"TruffleString.Encoding"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.EqualNode","href":"com/oracle/truffle/api/strings/TruffleString.EqualNode.html","name":"TruffleString.EqualNode","kind":"class","signature":"public abstract static class TruffleString.EqualNode extends AbstractPublicNode","summary":"Node to check two strings for equality.","details":"The TruffleString.equals(Object)-method delegates to this node."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.EqualNode.execute(AbstractTruffleString, AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.EqualNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract boolean execute(AbstractTruffleString a, AbstractTruffleString b, TruffleString.Encoding expectedEncoding)","summary":"Returns true if a and b are byte-by-byte equal when considered in expectedEncoding.","details":"Note that this method requires both strings to be compatible to the expectedEncoding, just like all other operations with an expectedEncoding parameter! The TruffleString.equals(Object)-method delegates to this method.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.EqualNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.EqualNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.EqualNode create()","summary":"Create a new EqualNode.","returns":{"type":"TruffleString.EqualNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.EqualNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.EqualNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.EqualNode getUncached()","summary":"Get the uncached version of EqualNode.","returns":{"type":"TruffleString.EqualNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ErrorHandling","href":"com/oracle/truffle/api/strings/TruffleString.ErrorHandling.html","name":"TruffleString.ErrorHandling","kind":"enum","signature":"public enum TruffleString.ErrorHandling","summary":"Error handling instructions for operations that return integer values, such as indices or code points."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ErrorHandling.values()","href":"com/oracle/truffle/api/strings/TruffleString.ErrorHandling.html#values()","name":"values","kind":"method","signature":"public static TruffleString.ErrorHandling[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TruffleString.ErrorHandling[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ErrorHandling.valueOf(String)","href":"com/oracle/truffle/api/strings/TruffleString.ErrorHandling.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TruffleString.ErrorHandling valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TruffleString.ErrorHandling","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ErrorHandling.BEST_EFFORT","href":"com/oracle/truffle/api/strings/TruffleString.ErrorHandling.html#BEST_EFFORT","name":"BEST_EFFORT","kind":"enumConstant","signature":"BEST_EFFORT","summary":"This mode generally means that the operation will try to determine the \"most reasonable\" or \"most useful\" return value in respect to the expected encoding and the error that occurred.","details":"For example: best-effort error handling will cause CodePointAtByteIndexNode to return the value of the integer read when reading an invalid codepoint from a Encoding.UTF_32 string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ErrorHandling.RETURN_NEGATIVE","href":"com/oracle/truffle/api/strings/TruffleString.ErrorHandling.html#RETURN_NEGATIVE","name":"RETURN_NEGATIVE","kind":"enumConstant","signature":"RETURN_NEGATIVE","summary":"This mode will cause a negative value to be returned in all error cases.","details":"For example: return-negative error handling will cause CodePointAtByteIndexNode to return a negative value when reading an invalid codepoint from a Encoding.UTF_32 string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode","href":"com/oracle/truffle/api/strings/TruffleString.ForceEncodingNode.html","name":"TruffleString.ForceEncodingNode","kind":"class","signature":"public abstract static class TruffleString.ForceEncodingNode extends AbstractPublicNode","summary":"Node to forcibly assign any encoding to a string.","details":"See execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode.execute(AbstractTruffleString, TruffleString.Encoding, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ForceEncodingNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding, TruffleString.Encoding targetEncoding)","summary":"Returns a version of string a assigned to the given encoding, which may be the string itself or a new string.","details":"The string itself may be returned even if it was originally created using a different encoding, if the string is byte-equivalent in both encodings. If the string is not byte-equivalent in both encodings, a new string containing the same bytes but assigned to the new encoding is returned. This node does not transcode the string's contents in any way, it is the \"encoding-equivalent\" to a C-style reinterpret-cast.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"targetEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ForceEncodingNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ForceEncodingNode create()","summary":"Create a new ForceEncodingNode.","returns":{"type":"TruffleString.ForceEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ForceEncodingNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ForceEncodingNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ForceEncodingNode getUncached()","summary":"Get the uncached version of ForceEncodingNode.","returns":{"type":"TruffleString.ForceEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayNode.html","name":"TruffleString.FromByteArrayNode","kind":"class","signature":"public abstract static class TruffleString.FromByteArrayNode extends AbstractPublicNode","summary":"Node to create a new TruffleString from a byte array.","details":"See execute(byte[], int, int, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode.execute(byte[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayNode.html#execute(byte[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleString execute(byte[] value, TruffleString.Encoding encoding)","summary":"Creates a new TruffleString from a byte array.","details":"See execute(byte[], int, int, TruffleString.Encoding, boolean) for details.","params":[{"name":"value","type":"byte[]"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode.execute(byte[], TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayNode.html#execute(byte[],com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public final TruffleString execute(byte[] value, TruffleString.Encoding encoding, boolean copy)","summary":"Creates a new TruffleString from a byte array.","details":"See execute(byte[], int, int, TruffleString.Encoding, boolean) for details.","params":[{"name":"value","type":"byte[]"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode.execute(byte[], int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayNode.html#execute(byte[],int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(byte[] value, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Creates a new TruffleString from a byte array.","details":"The array content is assumed to be encoded in the given encoding already. This operation allows non-copying string creation, i.e. the array parameter can be used directly by passing copy = false. Caution: TruffleString assumes the array to be immutable, do not modify the byte array after passing it to the non-copying variant of this operation!","params":[{"name":"value","type":"byte[]"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromByteArrayNode create()","summary":"Create a new FromByteArrayNode.","returns":{"type":"TruffleString.FromByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromByteArrayNode getUncached()","summary":"Get the uncached version of FromByteArrayNode.","returns":{"type":"TruffleString.FromByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayWithCompactionUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayWithCompactionUTF32Node.html","name":"TruffleString.FromByteArrayWithCompactionUTF32Node","kind":"class","signature":"public abstract static class TruffleString.FromByteArrayWithCompactionUTF32Node extends AbstractPublicNode","summary":"Node to create a new TruffleString from a byte array.","details":"See execute for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayWithCompactionUTF32Node.execute(byte[], int, int, TruffleString.CompactionLevel, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayWithCompactionUTF32Node.html#execute(byte[],int,int,com.oracle.truffle.api.strings.TruffleString.CompactionLevel,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(byte[] array, int byteOffset, int byteLength, TruffleString.CompactionLevel compactionLevel, boolean copy)","summary":"UTF-32-specific version of FromByteArrayNode that accepts compacted buffers.","detailsOmitted":true,"params":[{"name":"array","type":"byte[]"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"compactionLevel","type":"TruffleString.CompactionLevel","doc":"describes the given string's compaction level. CompactionLevel.S1 means one byte per codepoint, CompactionLevel.S2 means two bytes per codepoint, and CompactionLevel.S4 corresponds to four bytes per codepoint. Not strictly required to be partial evaluation constant, but still recommended, since this parameter being constant avoids two branches and associated stub calls."},{"name":"copy","type":"boolean","doc":"analogous to the copy parameter of FromByteArrayNode. Must be partial evaluation constant."}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayWithCompactionUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayWithCompactionUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromByteArrayWithCompactionUTF32Node create()","summary":"Create a new FromByteArrayWithCompactionUTF32Node.","returns":{"type":"TruffleString.FromByteArrayWithCompactionUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromByteArrayWithCompactionUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromByteArrayWithCompactionUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromByteArrayWithCompactionUTF32Node getUncached()","summary":"Get the uncached version of FromByteArrayWithCompactionUTF32Node.","returns":{"type":"TruffleString.FromByteArrayWithCompactionUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node","href":"com/oracle/truffle/api/strings/TruffleString.FromCharArrayUTF16Node.html","name":"TruffleString.FromCharArrayUTF16Node","kind":"class","signature":"public abstract static class TruffleString.FromCharArrayUTF16Node extends AbstractPublicNode","summary":"Node to create a new UTF-16 TruffleString from a char array."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node.execute(char[])","href":"com/oracle/truffle/api/strings/TruffleString.FromCharArrayUTF16Node.html#execute(char[])","name":"execute","kind":"method","signature":"public final TruffleString execute(char[] value)","summary":"Creates a UTF-16 TruffleString from a char array.","params":[{"name":"value","type":"char[]"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node.execute(char[], int, int)","href":"com/oracle/truffle/api/strings/TruffleString.FromCharArrayUTF16Node.html#execute(char[],int,int)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(char[] value, int charOffset, int charLength)","summary":"Creates a UTF-16 TruffleString from a char-array.","params":[{"name":"value","type":"char[]"},{"name":"charOffset","type":"int"},{"name":"charLength","type":"int"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromCharArrayUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromCharArrayUTF16Node create()","summary":"Create a new FromCharArrayUTF16Node.","returns":{"type":"TruffleString.FromCharArrayUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCharArrayUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromCharArrayUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromCharArrayUTF16Node getUncached()","summary":"Get the uncached version of FromCharArrayUTF16Node.","returns":{"type":"TruffleString.FromCharArrayUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCodePointNode","href":"com/oracle/truffle/api/strings/TruffleString.FromCodePointNode.html","name":"TruffleString.FromCodePointNode","kind":"class","signature":"public abstract static class TruffleString.FromCodePointNode extends AbstractPublicNode","summary":"Node to create a new TruffleString from a single codepoint."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCodePointNode.execute(int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.FromCodePointNode.html#execute(int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleString execute(int codepoint, TruffleString.Encoding encoding)","summary":"Creates a new TruffleString from a given code point.","params":[{"name":"codepoint","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCodePointNode.execute(int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromCodePointNode.html#execute(int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(int codepoint, TruffleString.Encoding encoding, boolean allowUTF16Surrogates)","summary":"Creates a new TruffleString from a given code point.","details":"If allowUTF16Surrogates is true, UTF-16 surrogate values passed as codepoint will not result in a null return value, but instead be encoded on a best-effort basis. This option is only supported on TruffleString.Encoding.UTF_16 and TruffleString.Encoding.UTF_32.","params":[{"name":"codepoint","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"allowUTF16Surrogates","type":"boolean"}],"returns":{"type":"TruffleString","doc":"a new TruffleString, or null if the given codepoint is not defined in the given encoding."}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromCodePointNode create()","summary":"Create a new FromCodePointNode.","returns":{"type":"TruffleString.FromCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromCodePointNode getUncached()","summary":"Get the uncached version of FromCodePointNode.","returns":{"type":"TruffleString.FromCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.FromIntArrayUTF32Node.html","name":"TruffleString.FromIntArrayUTF32Node","kind":"class","signature":"public abstract static class TruffleString.FromIntArrayUTF32Node extends AbstractPublicNode","summary":"Node to create a new UTF-32 TruffleString from an int-array."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node.execute(int[])","href":"com/oracle/truffle/api/strings/TruffleString.FromIntArrayUTF32Node.html#execute(int[])","name":"execute","kind":"method","signature":"public final TruffleString execute(int[] value)","summary":"Creates a UTF-32 TruffleString from an int-array.","params":[{"name":"value","type":"int[]"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node.execute(int[], int, int)","href":"com/oracle/truffle/api/strings/TruffleString.FromIntArrayUTF32Node.html#execute(int[],int,int)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(int[] value, int intOffset, int intLength)","summary":"Creates a UTF-32 TruffleString from an int-array.","params":[{"name":"value","type":"int[]"},{"name":"intOffset","type":"int"},{"name":"intLength","type":"int"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromIntArrayUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromIntArrayUTF32Node create()","summary":"Create a new FromIntArrayUTF32Node.","returns":{"type":"TruffleString.FromIntArrayUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromIntArrayUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromIntArrayUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromIntArrayUTF32Node getUncached()","summary":"Get the uncached version of FromIntArrayUTF32Node.","returns":{"type":"TruffleString.FromIntArrayUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode","href":"com/oracle/truffle/api/strings/TruffleString.FromJavaStringNode.html","name":"TruffleString.FromJavaStringNode","kind":"class","signature":"public abstract static class TruffleString.FromJavaStringNode extends AbstractPublicNode","summary":"Node to create a new TruffleString from a Java string.","details":"See execute(String, int, int, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode.execute(String, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.FromJavaStringNode.html#execute(java.lang.String,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleString execute(String value, TruffleString.Encoding encoding)","summary":"Creates a TruffleString from a Java string, re-using its internal byte array if possible.","params":[{"name":"value","type":"String"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode.execute(String, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromJavaStringNode.html#execute(java.lang.String,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(String value, int charOffset, int length, TruffleString.Encoding encoding, boolean copy)","summary":"Creates a TruffleString from a given region in a Java string, re-using its internal byte array if possible and the region covers the entire string.","details":"If copy is false, the Java string's internal byte array will be re-used even if the region does not cover the entire string. Note that this will keep the Java string's byte array alive as long as the resulting TruffleString is alive.","params":[{"name":"value","type":"String"},{"name":"charOffset","type":"int"},{"name":"length","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromJavaStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromJavaStringNode create()","summary":"Create a new FromJavaStringNode.","returns":{"type":"TruffleString.FromJavaStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromJavaStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromJavaStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromJavaStringNode getUncached()","summary":"Get the uncached version of FromJavaStringNode.","returns":{"type":"TruffleString.FromJavaStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromLongNode","href":"com/oracle/truffle/api/strings/TruffleString.FromLongNode.html","name":"TruffleString.FromLongNode","kind":"class","signature":"public abstract static class TruffleString.FromLongNode extends AbstractPublicNode","summary":"Node to create a new TruffleString from a long value.","details":"See execute(long, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromLongNode.execute(long, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromLongNode.html#execute(long,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(long value, TruffleString.Encoding encoding, boolean lazy)","summary":"Creates a 10's complement string from the given long value, using ASCII digits (0x30 - 0x39).","details":"This operation does not support encodings that are incompatible with the ASCII character set.","params":[{"name":"value","type":"long"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean","doc":"if true, the string representation of the number is computed lazily the first time it is needed. This parameter is expected to be partial evaluation constant."}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromLongNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromLongNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromLongNode create()","summary":"Create a new FromLongNode.","returns":{"type":"TruffleString.FromLongNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromLongNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromLongNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromLongNode getUncached()","summary":"Get the uncached version of FromLongNode.","returns":{"type":"TruffleString.FromLongNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerNode.html","name":"TruffleString.FromNativePointerNode","kind":"class","signature":"public abstract static class TruffleString.FromNativePointerNode extends AbstractPublicNode","summary":"Node to create a new TruffleString from an interop object representing a native pointer.","details":"See execute(Object, int, int, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode.execute(Object, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerNode.html#execute(java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(Object pointerObject, int byteOffset, int byteLength, TruffleString.Encoding encoding, boolean copy)","summary":"Create a new TruffleString from an interop object representing a native pointer ( isPointer(pointerObject) must return true).","detailsOmitted":true,"params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromNativePointerNode create()","summary":"Create a new FromNativePointerNode.","returns":{"type":"TruffleString.FromNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromNativePointerNode getUncached()","summary":"Get the uncached version of FromNativePointerNode.","returns":{"type":"TruffleString.FromNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerWithCompactionUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerWithCompactionUTF32Node.html","name":"TruffleString.FromNativePointerWithCompactionUTF32Node","kind":"class","signature":"public abstract static class TruffleString.FromNativePointerWithCompactionUTF32Node extends AbstractPublicNode","summary":"Node to create a new TruffleString from an interop object representing a native pointer.","details":"See execute for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerWithCompactionUTF32Node.execute(Object, int, int, TruffleString.CompactionLevel, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerWithCompactionUTF32Node.html#execute(java.lang.Object,int,int,com.oracle.truffle.api.strings.TruffleString.CompactionLevel,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(Object pointerObject, int byteOffset, int byteLength, TruffleString.CompactionLevel compactionLevel, boolean copy)","summary":"Native buffer variant of FromByteArrayWithCompactionUTF32Node.","details":"See FromByteArrayWithCompactionUTF32Node.execute for more details.","params":[{"name":"pointerObject","type":"Object","doc":"native buffer, analogous to the pointerObject parameter of FromNativePointerNode."},{"name":"byteOffset","type":"int"},{"name":"byteLength","type":"int"},{"name":"compactionLevel","type":"TruffleString.CompactionLevel"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerWithCompactionUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerWithCompactionUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromNativePointerWithCompactionUTF32Node create()","summary":"Create a new FromNativePointerWithCompactionUTF32Node.","returns":{"type":"TruffleString.FromNativePointerWithCompactionUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromNativePointerWithCompactionUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromNativePointerWithCompactionUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromNativePointerWithCompactionUTF32Node getUncached()","summary":"Get the uncached version of FromNativePointerWithCompactionUTF32Node.","returns":{"type":"TruffleString.FromNativePointerWithCompactionUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode","href":"com/oracle/truffle/api/strings/TruffleString.FromZeroTerminatedNativePointerNode.html","name":"TruffleString.FromZeroTerminatedNativePointerNode","kind":"class","signature":"public abstract static class TruffleString.FromZeroTerminatedNativePointerNode extends AbstractPublicNode","summary":"Equivalent to FromNativePointerNode for zero-terminated buffers, i.e.","details":"the string's length is determined by the position of the first zero-value found. This operation requires native access permissions (TruffleLanguage.Env#isNativeAccessAllowed())."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode.execute8Bit(Object, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromZeroTerminatedNativePointerNode.html#execute8Bit(java.lang.Object,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute8Bit","kind":"method","signature":"public final TruffleString execute8Bit(Object pointerObject, int byteOffset, TruffleString.Encoding encoding, boolean copy)","summary":"Equivalent to FromNativePointerNode.execute with the only difference being that the native buffer's length is determined by the position of the first 8-bit zero value in the buffer.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode.execute16Bit(Object, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromZeroTerminatedNativePointerNode.html#execute16Bit(java.lang.Object,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute16Bit","kind":"method","signature":"public final TruffleString execute16Bit(Object pointerObject, int byteOffset, TruffleString.Encoding encoding, boolean copy)","summary":"Equivalent to FromNativePointerNode.execute with the only difference being that the native buffer's length is determined by the position of the first 16-bit zero value in the buffer.","details":"Note that the 16-bit zero value's position is checked in 2-byte increments starting from native pointer + byte offset, so a zero value starting at an odd byte index is ignored.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode.execute32Bit(Object, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.FromZeroTerminatedNativePointerNode.html#execute32Bit(java.lang.Object,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute32Bit","kind":"method","signature":"public final TruffleString execute32Bit(Object pointerObject, int byteOffset, TruffleString.Encoding encoding, boolean copy)","summary":"Equivalent to FromNativePointerNode.execute with the only difference being that the native buffer's length is determined by the position of the first 32-bit zero value in the buffer.","details":"Note that the 32-bit zero value's position is checked in 4-byte increments starting from native pointer + byte offset, so a zero value starting at an index that isn't a multiple of 4 is ignored.","params":[{"name":"pointerObject","type":"Object"},{"name":"byteOffset","type":"int"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"copy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.FromZeroTerminatedNativePointerNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.FromZeroTerminatedNativePointerNode create()","summary":"Create a new FromZeroTerminatedNativePointerNode.","returns":{"type":"TruffleString.FromZeroTerminatedNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.FromZeroTerminatedNativePointerNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.FromZeroTerminatedNativePointerNode getUncached()","summary":"Get the uncached version of FromZeroTerminatedNativePointerNode.","returns":{"type":"TruffleString.FromZeroTerminatedNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode","href":"com/oracle/truffle/api/strings/TruffleString.GetByteCodeRangeNode.html","name":"TruffleString.GetByteCodeRangeNode","kind":"class","signature":"public abstract static class TruffleString.GetByteCodeRangeNode extends AbstractPublicNode","summary":"Node to get a string's \"byte-based\" CodeRange.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.GetByteCodeRangeNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString.CodeRange execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Get the string's \"byte-based\" CodeRange.","details":"This differs from GetCodeRangeNode in the following way: A string is only considered to be in the CodeRange.ASCII code range if its encoding is byte-based, so Encoding.UTF_16 and Encoding.UTF_32 cannot be CodeRange.ASCII. CodeRange.LATIN_1 and CodeRange.BMP are mapped to CodeRange.VALID . The return value is always one of CodeRange.ASCII, CodeRange.VALID or CodeRange.BROKEN.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodeRange"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.GetByteCodeRangeNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.GetByteCodeRangeNode create()","summary":"Create a new GetByteCodeRangeNode.","returns":{"type":"TruffleString.GetByteCodeRangeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetByteCodeRangeNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.GetByteCodeRangeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.GetByteCodeRangeNode getUncached()","summary":"Get the uncached version of GetByteCodeRangeNode.","returns":{"type":"TruffleString.GetByteCodeRangeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeImpreciseNode.html","name":"TruffleString.GetCodeRangeImpreciseNode","kind":"class","signature":"public abstract static class TruffleString.GetCodeRangeImpreciseNode extends AbstractPublicNode","summary":"Node to get a string's possibly imprecise CodeRange."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeImpreciseNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString.CodeRange execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Get the string's possibly imprecise CodeRange.","details":"This node will never attempt to calculate a more precise code range, instead it will only return what is currently known.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodeRange"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeImpreciseNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.GetCodeRangeImpreciseNode create()","summary":"Create a new GetCodeRangeImpreciseNode.","returns":{"type":"TruffleString.GetCodeRangeImpreciseNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeImpreciseNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeImpreciseNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.GetCodeRangeImpreciseNode getUncached()","summary":"Get the uncached version of GetCodeRangeImpreciseNode.","returns":{"type":"TruffleString.GetCodeRangeImpreciseNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeNode.html","name":"TruffleString.GetCodeRangeNode","kind":"class","signature":"public abstract static class TruffleString.GetCodeRangeNode extends AbstractPublicNode","summary":"Node to get a string's precise CodeRange."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString.CodeRange execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Get the string's precise CodeRange.","details":"This operation will cause a full string scan if the precise code range is currently unknown.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CodeRange"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.GetCodeRangeNode create()","summary":"Create a new GetCodeRangeNode.","returns":{"type":"TruffleString.GetCodeRangeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetCodeRangeNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.GetCodeRangeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.GetCodeRangeNode getUncached()","summary":"Get the uncached version of GetCodeRangeNode.","returns":{"type":"TruffleString.GetCodeRangeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalByteArrayNode.html","name":"TruffleString.GetInternalByteArrayNode","kind":"class","signature":"public abstract static class TruffleString.GetInternalByteArrayNode extends AbstractPublicNode","summary":"Node to get a string's internal byte array.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalByteArrayNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract InternalByteArray execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Get the given string's internal byte array.","detailsOmitted":true,"params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"InternalByteArray"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalByteArrayNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.GetInternalByteArrayNode create()","summary":"Create a new GetInternalByteArrayNode.","returns":{"type":"TruffleString.GetInternalByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalByteArrayNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalByteArrayNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.GetInternalByteArrayNode getUncached()","summary":"Get the uncached version of GetInternalByteArrayNode.","returns":{"type":"TruffleString.GetInternalByteArrayNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalNativePointerNode.html","name":"TruffleString.GetInternalNativePointerNode","kind":"class","signature":"public abstract static class TruffleString.GetInternalNativePointerNode extends AbstractPublicNode","summary":"Node to get a native string's pointer object or raw pointer.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalNativePointerNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract Object execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Get the given string's pointer object which was passed to FromNativePointerNode.","detailsOmitted":true,"params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"Object"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalNativePointerNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.GetInternalNativePointerNode create()","summary":"Create a new GetInternalNativePointerNode.","returns":{"type":"TruffleString.GetInternalNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetInternalNativePointerNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.GetInternalNativePointerNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.GetInternalNativePointerNode getUncached()","summary":"Get the uncached version of GetInternalNativePointerNode.","returns":{"type":"TruffleString.GetInternalNativePointerNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode","href":"com/oracle/truffle/api/strings/TruffleString.GetStringCompactionLevelNode.html","name":"TruffleString.GetStringCompactionLevelNode","kind":"class","signature":"public abstract static class TruffleString.GetStringCompactionLevelNode extends AbstractPublicNode","summary":"Node to get a string's CompactionLevel."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.GetStringCompactionLevelNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString.CompactionLevel execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Get the string's CompactionLevel.","details":"Since string compaction is only supported on Encoding.UTF_16 and Encoding.UTF_32, this node will return CompactionLevel.S1 on all other encodings.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.CompactionLevel"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.GetStringCompactionLevelNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.GetStringCompactionLevelNode create()","summary":"Create a new GetStringCompactionLevelNode.","returns":{"type":"TruffleString.GetStringCompactionLevelNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.GetStringCompactionLevelNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.GetStringCompactionLevelNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.GetStringCompactionLevelNode getUncached()","summary":"Get the uncached version of GetStringCompactionLevelNode.","returns":{"type":"TruffleString.GetStringCompactionLevelNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.HashCodeNode","href":"com/oracle/truffle/api/strings/TruffleString.HashCodeNode.html","name":"TruffleString.HashCodeNode","kind":"class","signature":"public abstract static class TruffleString.HashCodeNode extends AbstractPublicNode","summary":"Node to get a string's hash code.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.HashCodeNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.HashCodeNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Returns the string's hash code.","details":"The hash is dependent on the string's encoding, make sure to convert strings to a common encoding before comparing their hash codes!","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.HashCodeNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.HashCodeNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.HashCodeNode create()","summary":"Create a new HashCodeNode.","returns":{"type":"TruffleString.HashCodeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.HashCodeNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.HashCodeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.HashCodeNode getUncached()","summary":"Get the uncached version of HashCodeNode.","returns":{"type":"TruffleString.HashCodeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IllegalByteArrayLengthException","href":"com/oracle/truffle/api/strings/TruffleString.IllegalByteArrayLengthException.html","name":"TruffleString.IllegalByteArrayLengthException","kind":"class","signature":"public static final class TruffleString.IllegalByteArrayLengthException extends IllegalArgumentException","summary":"This exception is thrown when any operation tries to create a UTF-16 or UTF-32 string with an invalid byte length (not a multiple of 2/4 bytes)."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfCodePointNode.html","name":"TruffleString.IndexOfCodePointNode","kind":"class","signature":"public abstract static class TruffleString.IndexOfCodePointNode extends AbstractPublicNode","summary":"Node to find the index of the first occurrence of a given code point.","details":"See execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode.execute(AbstractTruffleString, int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfCodePointNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int codepoint, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Return the codepoint index of the first occurrence of codepoint, bounded by fromIndex (inclusive) and toIndex (exclusive), if no occurrence is found return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"codepoint","type":"int"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.IndexOfCodePointNode create()","summary":"Create a new IndexOfCodePointNode.","returns":{"type":"TruffleString.IndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.IndexOfCodePointNode getUncached()","summary":"Get the uncached version of IndexOfCodePointNode.","returns":{"type":"TruffleString.IndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfStringNode.html","name":"TruffleString.IndexOfStringNode","kind":"class","signature":"public abstract static class TruffleString.IndexOfStringNode extends AbstractPublicNode","summary":"Node to find the index of the first occurrence of a given string.","details":"See execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode.execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Return the codepoint index of the first occurrence of string, bounded by fromIndex (inclusive) and toIndex (exclusive), if no occurrence is found return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.IndexOfStringNode create()","summary":"Create a new IndexOfStringNode.","returns":{"type":"TruffleString.IndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IndexOfStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.IndexOfStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.IndexOfStringNode getUncached()","summary":"Get the uncached version of IndexOfStringNode.","returns":{"type":"TruffleString.IndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.IntIndexOfAnyIntUTF32Node.html","name":"TruffleString.IntIndexOfAnyIntUTF32Node","kind":"class","signature":"public abstract static class TruffleString.IntIndexOfAnyIntUTF32Node extends AbstractPublicNode","summary":"Node to find the index of the first occurrence of any int from a given array.","details":"See execute(AbstractTruffleString, int, int, int[]) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node.execute(AbstractTruffleString, int, int, int[])","href":"com/oracle/truffle/api/strings/TruffleString.IntIndexOfAnyIntUTF32Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,int[])","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int fromIntIndex, int maxIntIndex, int[] values)","summary":"Return the int index of the first occurrence of any int contained in values, bounded by fromIntIndex (inclusive) and maxIntIndex (exclusive).","details":"If none of the values is found, return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromIntIndex","type":"int"},{"name":"maxIntIndex","type":"int"},{"name":"values","type":"int[]"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.IntIndexOfAnyIntUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.IntIndexOfAnyIntUTF32Node create()","summary":"Create a new IntIndexOfAnyIntUTF32Node.","returns":{"type":"TruffleString.IntIndexOfAnyIntUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IntIndexOfAnyIntUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.IntIndexOfAnyIntUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.IntIndexOfAnyIntUTF32Node getUncached()","summary":"Get the uncached version of IntIndexOfAnyIntUTF32Node.","returns":{"type":"TruffleString.IntIndexOfAnyIntUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IsValidNode","href":"com/oracle/truffle/api/strings/TruffleString.IsValidNode.html","name":"TruffleString.IsValidNode","kind":"class","signature":"public abstract static class TruffleString.IsValidNode extends AbstractPublicNode","summary":"Node to check if a string is encoded correctly."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IsValidNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.IsValidNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract boolean execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Returns true if the string encoded correctly.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IsValidNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.IsValidNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.IsValidNode create()","summary":"Create a new IsValidNode.","returns":{"type":"TruffleString.IsValidNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.IsValidNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.IsValidNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.IsValidNode getUncached()","summary":"Get the uncached version of IsValidNode.","returns":{"type":"TruffleString.IsValidNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfCodePointNode.html","name":"TruffleString.LastByteIndexOfCodePointNode","kind":"class","signature":"public abstract static class TruffleString.LastByteIndexOfCodePointNode extends AbstractPublicNode","summary":"LastIndexOfCodePointNode, but with byte indices."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode.execute(AbstractTruffleString, int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfCodePointNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int codepoint, int fromByteIndex, int toByteIndex, TruffleString.Encoding expectedEncoding)","summary":"LastIndexOfCodePointNode, but with byte indices.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"codepoint","type":"int"},{"name":"fromByteIndex","type":"int"},{"name":"toByteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.LastByteIndexOfCodePointNode create()","summary":"Create a new LastByteIndexOfCodePointNode.","returns":{"type":"TruffleString.LastByteIndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.LastByteIndexOfCodePointNode getUncached()","summary":"Get the uncached version of LastByteIndexOfCodePointNode.","returns":{"type":"TruffleString.LastByteIndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfStringNode.html","name":"TruffleString.LastByteIndexOfStringNode","kind":"class","signature":"public abstract static class TruffleString.LastByteIndexOfStringNode extends AbstractPublicNode","summary":"LastIndexOfStringNode, but with byte indices."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode.execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"LastIndexOfStringNode, but with byte indices.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode.execute(AbstractTruffleString, TruffleString.WithMask, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.WithMask,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final int execute(AbstractTruffleString a, TruffleString.WithMask b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"LastIndexOfStringNode, but with byte indices.","details":"This variant accepts a TruffleString.WithMask as the search value b, which changes the searching algorithm in the following manner: whenever the contents of a and b are compared, the mask is OR'ed to a, as shown in this exemplary method: boolean bytesEqualAt(TruffleString a, int byteIndexA, TruffleString.WithMask b, int byteIndexB) { return (readByte(a, byteIndexA) | readByte(b.mask, byteIndexB)) == readByte(b, byteIndexB); }","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"TruffleString.WithMask"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.LastByteIndexOfStringNode create()","summary":"Create a new LastByteIndexOfStringNode.","returns":{"type":"TruffleString.LastByteIndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastByteIndexOfStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.LastByteIndexOfStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.LastByteIndexOfStringNode getUncached()","summary":"Get the uncached version of LastByteIndexOfStringNode.","returns":{"type":"TruffleString.LastByteIndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfCodePointNode.html","name":"TruffleString.LastIndexOfCodePointNode","kind":"class","signature":"public abstract static class TruffleString.LastIndexOfCodePointNode extends AbstractPublicNode","summary":"Node to find the codepoint index of the last occurrence of a given code point.","details":"See execute(AbstractTruffleString, int, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode.execute(AbstractTruffleString, int, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfCodePointNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int codepoint, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Return the codepoint index of the last occurrence of codepoint, bounded by fromIndex (exclusive upper limit) and toIndex (inclusive lower limit), if no occurrence is found return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"codepoint","type":"int"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.LastIndexOfCodePointNode create()","summary":"Create a new LastIndexOfCodePointNode.","returns":{"type":"TruffleString.LastIndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.LastIndexOfCodePointNode getUncached()","summary":"Get the uncached version of LastIndexOfCodePointNode.","returns":{"type":"TruffleString.LastIndexOfCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfStringNode.html","name":"TruffleString.LastIndexOfStringNode","kind":"class","signature":"public abstract static class TruffleString.LastIndexOfStringNode extends AbstractPublicNode","summary":"Node to find the index of the last occurrence of a given string.","details":"See execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode.execute(AbstractTruffleString, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, AbstractTruffleString b, int fromIndex, int toIndex, TruffleString.Encoding expectedEncoding)","summary":"Return the codepoint index of the last occurrence of string, bounded by fromIndex (exclusive upper limit) and toIndex (inclusive lower limit), if no occurrence is found return a negative value.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"toIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.LastIndexOfStringNode create()","summary":"Create a new LastIndexOfStringNode.","returns":{"type":"TruffleString.LastIndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.LastIndexOfStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.LastIndexOfStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.LastIndexOfStringNode getUncached()","summary":"Get the uncached version of LastIndexOfStringNode.","returns":{"type":"TruffleString.LastIndexOfStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeNode","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeNode.html","name":"TruffleString.MaterializeNode","kind":"class","signature":"public abstract static class TruffleString.MaterializeNode extends AbstractPublicNode","summary":"Node to force materialization of any lazy internal data.","details":"Use this node to avoid materialization code inside loops, e.g. when iterating over a string's code points or bytes."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract void execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Forces materialization of any lazy internal data.","details":"Use this node to avoid materialization code inside loops, e.g. when iterating over a string's code points or bytes.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.MaterializeNode create()","summary":"Create a new MaterializeNode.","returns":{"type":"TruffleString.MaterializeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.MaterializeNode getUncached()","summary":"Get the uncached version of MaterializeNode.","returns":{"type":"TruffleString.MaterializeNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeSubstringNode","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeSubstringNode.html","name":"TruffleString.MaterializeSubstringNode","kind":"class","signature":"public abstract static class TruffleString.MaterializeSubstringNode extends AbstractPublicNode","summary":"Extended version of MaterializeNode that also materializes substrings/string views created via e.g.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeSubstringNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeSubstringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Extended version of MaterializeNode that also materializes substrings/string views created via e.g.","detailsOmitted":true,"params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeSubstringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeSubstringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.MaterializeSubstringNode create()","summary":"Create a new MaterializeSubstringNode.","returns":{"type":"TruffleString.MaterializeSubstringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.MaterializeSubstringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.MaterializeSubstringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.MaterializeSubstringNode getUncached()","summary":"Get the uncached version of MaterializeSubstringNode.","returns":{"type":"TruffleString.MaterializeSubstringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.NumberFormatException","href":"com/oracle/truffle/api/strings/TruffleString.NumberFormatException.html","name":"TruffleString.NumberFormatException","kind":"class","signature":"public static final class TruffleString.NumberFormatException extends Exception","summary":"This exception may be thrown by ParseIntNode, ParseLongNode or ParseDoubleNode to indicate that the given string cannot be parsed as an integer, long or double value.","details":"This exception does not record stack traces for performance reasons."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.NumberFormatException.getMessage()","href":"com/oracle/truffle/api/strings/TruffleString.NumberFormatException.html#getMessage()","name":"getMessage","kind":"method","signature":"public String getMessage()","summary":"Returns a detailed error message.","details":"Not designed to be used on fast paths.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.NumberFormatException.fillInStackTrace()","href":"com/oracle/truffle/api/strings/TruffleString.NumberFormatException.html#fillInStackTrace()","name":"fillInStackTrace","kind":"method","signature":"public Throwable fillInStackTrace()","summary":"No stack trace for this exception.","returns":{"type":"Throwable"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode","href":"com/oracle/truffle/api/strings/TruffleString.ParseDoubleNode.html","name":"TruffleString.ParseDoubleNode","kind":"class","signature":"public abstract static class TruffleString.ParseDoubleNode extends AbstractPublicNode","summary":"Node to parse a given string as a double value."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode.execute(AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleString.ParseDoubleNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract double execute(AbstractTruffleString a) throws TruffleString.NumberFormatException","summary":"Parse the given string as a double value, or throw NumberFormatException.","params":[{"name":"a","type":"AbstractTruffleString"}],"returns":{"type":"double"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ParseDoubleNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ParseDoubleNode create()","summary":"Create a new ParseDoubleNode.","returns":{"type":"TruffleString.ParseDoubleNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseDoubleNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ParseDoubleNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ParseDoubleNode getUncached()","summary":"Get the uncached version of ParseDoubleNode.","returns":{"type":"TruffleString.ParseDoubleNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseIntNode","href":"com/oracle/truffle/api/strings/TruffleString.ParseIntNode.html","name":"TruffleString.ParseIntNode","kind":"class","signature":"public abstract static class TruffleString.ParseIntNode extends AbstractPublicNode","summary":"Node to parse a given string as an int value."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseIntNode.execute(AbstractTruffleString, int)","href":"com/oracle/truffle/api/strings/TruffleString.ParseIntNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int radix) throws TruffleString.NumberFormatException","summary":"Parse the given string as an int value, or throw NumberFormatException.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"radix","type":"int"}],"returns":{"type":"int"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseIntNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ParseIntNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ParseIntNode create()","summary":"Create a new ParseIntNode.","returns":{"type":"TruffleString.ParseIntNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseIntNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ParseIntNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ParseIntNode getUncached()","summary":"Get the uncached version of ParseIntNode.","returns":{"type":"TruffleString.ParseIntNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseLongNode","href":"com/oracle/truffle/api/strings/TruffleString.ParseLongNode.html","name":"TruffleString.ParseLongNode","kind":"class","signature":"public abstract static class TruffleString.ParseLongNode extends AbstractPublicNode","summary":"Node to parse a given string as a long value."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseLongNode.execute(AbstractTruffleString, int)","href":"com/oracle/truffle/api/strings/TruffleString.ParseLongNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int)","name":"execute","kind":"method","signature":"public abstract long execute(AbstractTruffleString a, int radix) throws TruffleString.NumberFormatException","summary":"Parse the given string as a long value, or throw NumberFormatException.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"radix","type":"int"}],"returns":{"type":"long"},"throws":[{"type":"TruffleString.NumberFormatException"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseLongNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ParseLongNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ParseLongNode create()","summary":"Create a new ParseLongNode.","returns":{"type":"TruffleString.ParseLongNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ParseLongNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ParseLongNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ParseLongNode getUncached()","summary":"Get the uncached version of ParseLongNode.","returns":{"type":"TruffleString.ParseLongNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadByteNode","href":"com/oracle/truffle/api/strings/TruffleString.ReadByteNode.html","name":"TruffleString.ReadByteNode","kind":"class","signature":"public abstract static class TruffleString.ReadByteNode extends AbstractPublicNode","summary":"Node to read a single byte from a string.","details":"See execute(AbstractTruffleString, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadByteNode.execute(AbstractTruffleString, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ReadByteNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(AbstractTruffleString a, int byteIndex, TruffleString.Encoding expectedEncoding)","summary":"Read a single byte from a string.","details":"If used inside a loop or repetitively, MaterializeNode should be used before.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"byteIndex","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadByteNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ReadByteNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ReadByteNode create()","summary":"Create a new ReadByteNode.","returns":{"type":"TruffleString.ReadByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadByteNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ReadByteNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ReadByteNode getUncached()","summary":"Get the uncached version of ReadByteNode.","returns":{"type":"TruffleString.ReadByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node","href":"com/oracle/truffle/api/strings/TruffleString.ReadCharUTF16Node.html","name":"TruffleString.ReadCharUTF16Node","kind":"class","signature":"public abstract static class TruffleString.ReadCharUTF16Node extends AbstractPublicNode","summary":"Node to read a single char from a UTF-16 string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node.execute(AbstractTruffleString, int)","href":"com/oracle/truffle/api/strings/TruffleString.ReadCharUTF16Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int)","name":"execute","kind":"method","signature":"public final char execute(AbstractTruffleString a, int charIndex)","summary":"Read a single char from a UTF-16 string.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"charIndex","type":"int"}],"returns":{"type":"char"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node.executeLE(AbstractTruffleString, int)","href":"com/oracle/truffle/api/strings/TruffleString.ReadCharUTF16Node.html#executeLE(com.oracle.truffle.api.strings.AbstractTruffleString,int)","name":"executeLE","kind":"method","signature":"public final char executeLE(AbstractTruffleString a, int charIndex)","summary":"Read a single char from a UTF-16LE string.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"charIndex","type":"int"}],"returns":{"type":"char"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node.executeBE(AbstractTruffleString, int)","href":"com/oracle/truffle/api/strings/TruffleString.ReadCharUTF16Node.html#executeBE(com.oracle.truffle.api.strings.AbstractTruffleString,int)","name":"executeBE","kind":"method","signature":"public final char executeBE(AbstractTruffleString a, int charIndex)","summary":"Read a single char from a UTF-16BE string.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"charIndex","type":"int"}],"returns":{"type":"char"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.ReadCharUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ReadCharUTF16Node create()","summary":"Create a new ReadCharUTF16Node.","returns":{"type":"TruffleString.ReadCharUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ReadCharUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ReadCharUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ReadCharUTF16Node getUncached()","summary":"Get the uncached version of ReadCharUTF16Node.","returns":{"type":"TruffleString.ReadCharUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualByteIndexNode.html","name":"TruffleString.RegionEqualByteIndexNode","kind":"class","signature":"public abstract static class TruffleString.RegionEqualByteIndexNode extends AbstractPublicNode","summary":"Node to check for a region match, byte-by-byte.","details":"See execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding) and execute(AbstractTruffleString, int, TruffleString.WithMask, int, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode.execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final boolean execute(AbstractTruffleString a, int fromByteIndexA, AbstractTruffleString b, int fromByteIndexB, int length, TruffleString.Encoding expectedEncoding)","summary":"Checks for a region match, byte-by-byte.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndexA","type":"int"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromByteIndexB","type":"int"},{"name":"length","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode.execute(AbstractTruffleString, int, TruffleString.WithMask, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.WithMask,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final boolean execute(AbstractTruffleString a, int fromByteIndexA, TruffleString.WithMask b, int fromByteIndexB, int length, TruffleString.Encoding expectedEncoding)","summary":"Checks for a region match, byte-by-byte.","details":"This variant accepts a TruffleString.WithMask as the search value b, which changes the matching algorithm in the following manner: when the contents of a and b are compared, the mask is OR'ed to a, as shown in this exemplary method: boolean bytesEqualAt(TruffleString a, int byteIndexA, TruffleString.WithMask b, int byteIndexB) { return (readByte(a, byteIndexA) | readByte(b.mask, byteIndexB)) == readByte(b, byteIndexB); }","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndexA","type":"int"},{"name":"b","type":"TruffleString.WithMask"},{"name":"fromByteIndexB","type":"int"},{"name":"length","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualByteIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.RegionEqualByteIndexNode create()","summary":"Create a new RegionEqualByteIndexNode.","returns":{"type":"TruffleString.RegionEqualByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualByteIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualByteIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.RegionEqualByteIndexNode getUncached()","summary":"Get the uncached version of RegionEqualByteIndexNode.","returns":{"type":"TruffleString.RegionEqualByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualNode","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualNode.html","name":"TruffleString.RegionEqualNode","kind":"class","signature":"public abstract static class TruffleString.RegionEqualNode extends AbstractPublicNode","summary":"Node to check codepoint equality of two string regions.","details":"See execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding)."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualNode.execute(AbstractTruffleString, int, AbstractTruffleString, int, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract boolean execute(AbstractTruffleString a, int fromIndexA, AbstractTruffleString b, int fromIndexB, int length, TruffleString.Encoding expectedEncoding)","summary":"Checks for codepoint equality in a region with the given codepoint index and codepoint length.","details":"Equivalent to: for (int i = 0; i < length; i++) { if (codePointAt(a, fromIndexA + i) != codePointAt(b, fromIndexB + i)) { return false; } } return true;","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromIndexA","type":"int"},{"name":"b","type":"AbstractTruffleString"},{"name":"fromIndexB","type":"int"},{"name":"length","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.RegionEqualNode create()","summary":"Create a new RegionEqualNode.","returns":{"type":"TruffleString.RegionEqualNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RegionEqualNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.RegionEqualNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.RegionEqualNode getUncached()","summary":"Get the uncached version of RegionEqualNode.","returns":{"type":"TruffleString.RegionEqualNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RepeatNode","href":"com/oracle/truffle/api/strings/TruffleString.RepeatNode.html","name":"TruffleString.RepeatNode","kind":"class","signature":"public abstract static class TruffleString.RepeatNode extends AbstractPublicNode","summary":"Node to repeat a given string N times.","details":"See execute(AbstractTruffleString, int, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RepeatNode.execute(AbstractTruffleString, int, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.RepeatNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, int n, TruffleString.Encoding expectedEncoding)","summary":"Create a new string by repeating n times string a.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"n","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RepeatNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.RepeatNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.RepeatNode create()","summary":"Create a new RepeatNode.","returns":{"type":"TruffleString.RepeatNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.RepeatNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.RepeatNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.RepeatNode getUncached()","summary":"Get the uncached version of RepeatNode.","returns":{"type":"TruffleString.RepeatNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.StringSet","href":"com/oracle/truffle/api/strings/TruffleString.StringSet.html","name":"TruffleString.StringSet","kind":"class","signature":"public static final class TruffleString.StringSet","summary":"A set of strings in a given encoding.","details":"Used in ByteIndexOfStringSetNode.execute(AbstractTruffleString, int, int, TruffleString.StringSet)."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.StringSet.fromArray(AbstractTruffleString[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.StringSet.html#fromArray(com.oracle.truffle.api.strings.AbstractTruffleString[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromArray","kind":"method","signature":"public static TruffleString.StringSet fromArray(AbstractTruffleString[] strings, TruffleString.Encoding encoding)","summary":"Creates a new StringSet from the given array of strings.","details":"This operation is expensive, it is recommended to cache the result.","params":[{"name":"strings","type":"AbstractTruffleString[]","doc":"list of strings to search for. Empty and CodeRange.BROKEN strings are unsupported."},{"name":"encoding","type":"TruffleString.Encoding","doc":"strings' encoding. Must be a supported encoding, i.e. UTF-8/16/32, Encoding.ISO_8859_1 or Encoding.US_ASCII."}],"returns":{"type":"TruffleString.StringSet"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.StringSet.fromArray(TruffleString.WithMask[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.StringSet.html#fromArray(com.oracle.truffle.api.strings.TruffleString.WithMask[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"fromArray","kind":"method","signature":"public static TruffleString.StringSet fromArray(TruffleString.WithMask[] strings, TruffleString.Encoding encoding)","summary":"Creates a new StringSet from the given array of strings with masks.","details":"This operation is expensive, it is recommended to cache the result. Matching uses the same semantics as WithMask with some additional restrictions: a pattern code unit matches a haystack code unit if (haystack | mask) == pattern, but the mask may only have one set bit per code unit, and it may not have a larger code range than all search patterns, e.g. if all strings are CodeRange.ASCII, the mask may not have a code unit 0x80. The restrictions of the maskless variant also apply here.","params":[{"name":"strings","type":"TruffleString.WithMask[]"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.StringSet"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.StringSet.isIntrinsicCandidate(TruffleString.CodeRange)","href":"com/oracle/truffle/api/strings/TruffleString.StringSet.html#isIntrinsicCandidate(com.oracle.truffle.api.strings.TruffleString.CodeRange)","name":"isIntrinsicCandidate","kind":"method","signature":"public boolean isIntrinsicCandidate(TruffleString.CodeRange codeRange)","summary":"Returns true if ByteIndexOfStringSetNode may implement the search for this particular string set in strings with the given code range by dispatching to a compiler intrinsic.","details":"This is useful for use cases where the caller has a faster implementation for non-intrinsified paths.","params":[{"name":"codeRange","type":"TruffleString.CodeRange"}],"returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode","href":"com/oracle/truffle/api/strings/TruffleString.SubstringByteIndexNode.html","name":"TruffleString.SubstringByteIndexNode","kind":"class","signature":"public abstract static class TruffleString.SubstringByteIndexNode extends AbstractPublicNode","summary":"SubstringNode, but with byte indices."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.SubstringByteIndexNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, int fromByteIndex, int byteLength, TruffleString.Encoding expectedEncoding, boolean lazy)","summary":"SubstringNode, but with byte indices.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.SubstringByteIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.SubstringByteIndexNode create()","summary":"Create a new SubstringByteIndexNode.","returns":{"type":"TruffleString.SubstringByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringByteIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.SubstringByteIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.SubstringByteIndexNode getUncached()","summary":"Get the uncached version of SubstringByteIndexNode.","returns":{"type":"TruffleString.SubstringByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringNode","href":"com/oracle/truffle/api/strings/TruffleString.SubstringNode.html","name":"TruffleString.SubstringNode","kind":"class","signature":"public abstract static class TruffleString.SubstringNode extends AbstractPublicNode","summary":"Node to create a substring of a given string.","details":"See execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringNode.execute(AbstractTruffleString, int, int, TruffleString.Encoding, boolean)","href":"com/oracle/truffle/api/strings/TruffleString.SubstringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int,int,com.oracle.truffle.api.strings.TruffleString.Encoding,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, int fromIndex, int length, TruffleString.Encoding expectedEncoding, boolean lazy)","summary":"Create a substring of a, starting from codepoint index fromIndex, with codepoint length length.","details":"If lazy is true, a's internal storage will be re-used instead of creating a copy of the requested range. Since the resulting string will have a reference to a's internal storage, and TruffleString currently does not resize/trim the substring's internal storage at any point, the lazy variant effectively creates a memory leak! The caller is responsible for deciding whether this is acceptable or not.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"fromIndex","type":"int"},{"name":"length","type":"int"},{"name":"expectedEncoding","type":"TruffleString.Encoding"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.SubstringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.SubstringNode create()","summary":"Create a new SubstringNode.","returns":{"type":"TruffleString.SubstringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SubstringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.SubstringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.SubstringNode getUncached()","summary":"Get the uncached version of SubstringNode.","returns":{"type":"TruffleString.SubstringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode","href":"com/oracle/truffle/api/strings/TruffleString.SwitchEncodingNode.html","name":"TruffleString.SwitchEncodingNode","kind":"class","signature":"public abstract static class TruffleString.SwitchEncodingNode extends AbstractPublicNode","summary":"Node to get a given string in a specific encoding.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.SwitchEncodingNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public final TruffleString execute(AbstractTruffleString a, TruffleString.Encoding encoding)","summary":"Returns a version of string a that is encoded in the given encoding, which may be the string itself or a converted version.","details":"Note that the string itself may be returned even if it was originally created using a different encoding, if the string is byte-equivalent in both encodings. If no lossless conversion is possible, the string is converted on a best-effort basis; no exception is thrown and characters which cannot be mapped in the target encoding are replaced by '�' (for UTF-*) or '?'.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode.execute(AbstractTruffleString, TruffleString.Encoding, TranscodingErrorHandler)","href":"com/oracle/truffle/api/strings/TruffleString.SwitchEncodingNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding,com.oracle.truffle.api.strings.TranscodingErrorHandler)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, TruffleString.Encoding encoding, TranscodingErrorHandler errorHandler)","summary":"Returns a version of string a that is encoded in the given encoding, which may be the string itself or a converted version.","details":"Note that the string itself may be returned even if it was originally created using a different encoding, if the string is byte-equivalent in both encodings. Transcoding errors are handled with errorHandler.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"encoding","type":"TruffleString.Encoding"},{"name":"errorHandler","type":"TranscodingErrorHandler"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.SwitchEncodingNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.SwitchEncodingNode create()","summary":"Create a new SwitchEncodingNode.","returns":{"type":"TruffleString.SwitchEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.SwitchEncodingNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.SwitchEncodingNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.SwitchEncodingNode getUncached()","summary":"Get the uncached version of SwitchEncodingNode.","returns":{"type":"TruffleString.SwitchEncodingNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode","href":"com/oracle/truffle/api/strings/TruffleString.ToJavaStringNode.html","name":"TruffleString.ToJavaStringNode","kind":"class","signature":"public abstract static class TruffleString.ToJavaStringNode extends AbstractPublicNode","summary":"Node to get a java.lang.String representation of a TruffleString."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode.execute(AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleString.ToJavaStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract String execute(AbstractTruffleString a)","summary":"Return a java.lang.String representation of the given TruffleString.","params":[{"name":"a","type":"AbstractTruffleString"}],"returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ToJavaStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ToJavaStringNode create()","summary":"Create a new ToJavaStringNode.","returns":{"type":"TruffleString.ToJavaStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ToJavaStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ToJavaStringNode getUncached()","summary":"Get the uncached version of ToJavaStringNode.","returns":{"type":"TruffleString.ToJavaStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToValidStringNode","href":"com/oracle/truffle/api/strings/TruffleString.ToValidStringNode.html","name":"TruffleString.ToValidStringNode","kind":"class","signature":"public abstract static class TruffleString.ToValidStringNode extends AbstractPublicNode","summary":"Node to replace all invalid bytes in a given string, such that the resulting string is valid.","details":"See execute(AbstractTruffleString, TruffleString.Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToValidStringNode.execute(AbstractTruffleString, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.ToValidStringNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)","summary":"Returns a version of string a that contains only valid codepoints, which may be the string itself or a converted version.","details":"Invalid byte sequences are replaced with '�' (for UTF-*) or '?'. This is useful for string sanitization in all uses cases where a string is required to actually be valid, such as libraries that actively reject broken input, network and file system I/O, etc.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToValidStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.ToValidStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.ToValidStringNode create()","summary":"Create a new SwitchEncodingNode.","returns":{"type":"TruffleString.ToValidStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.ToValidStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.ToValidStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.ToValidStringNode getUncached()","summary":"Get the uncached version of SwitchEncodingNode.","returns":{"type":"TruffleString.ToValidStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.html","name":"TruffleString.WithMask","kind":"class","signature":"public static final class TruffleString.WithMask","summary":"Extended parameter type for the operations ByteIndexOfStringNode, LastByteIndexOfStringNode and RegionEqualByteIndexNode.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.createUncached(AbstractTruffleString, byte[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.html#createUncached(com.oracle.truffle.api.strings.AbstractTruffleString,byte[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"createUncached","kind":"method","signature":"public static TruffleString.WithMask createUncached(AbstractTruffleString a, byte[] mask, TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of CreateNode.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"mask","type":"byte[]"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.WithMask"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.createUTF16Uncached(AbstractTruffleString, char[])","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.html#createUTF16Uncached(com.oracle.truffle.api.strings.AbstractTruffleString,char[])","name":"createUTF16Uncached","kind":"method","signature":"public static TruffleString.WithMask createUTF16Uncached(AbstractTruffleString a, char[] mask)","summary":"Shorthand for calling the uncached version of CreateUTF16Node.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"mask","type":"char[]"}],"returns":{"type":"TruffleString.WithMask"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.createUTF32Uncached(AbstractTruffleString, int[])","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.html#createUTF32Uncached(com.oracle.truffle.api.strings.AbstractTruffleString,int[])","name":"createUTF32Uncached","kind":"method","signature":"public static TruffleString.WithMask createUTF32Uncached(AbstractTruffleString a, int[] mask)","summary":"Shorthand for calling the uncached version of CreateUTF32Node.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"mask","type":"int[]"}],"returns":{"type":"TruffleString.WithMask"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateNode.html","name":"TruffleString.WithMask.CreateNode","kind":"class","signature":"public abstract static class TruffleString.WithMask.CreateNode extends AbstractPublicNode","summary":"Node to create a new WithMask from a string and a byte array.","details":"See #execute(AbstractTruffleString, byte[], Encoding) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode.execute(AbstractTruffleString, byte[], TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateNode.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,byte[],com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract TruffleString.WithMask execute(AbstractTruffleString a, byte[] mask, TruffleString.Encoding expectedEncoding)","summary":"Creates a new WithMask from a and mask.","details":"mask.length must be equal to the string's length in bytes. Cannot be used for UTF-16 or UTF-32 strings.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"mask","type":"byte[]"},{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleString.WithMask"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode.create()","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateNode.html#create()","name":"create","kind":"method","signature":"public static TruffleString.WithMask.CreateNode create()","summary":"Create a new TruffleString.WithMask.CreateNode.","returns":{"type":"TruffleString.WithMask.CreateNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.WithMask.CreateNode getUncached()","summary":"Get the uncached version of TruffleString.WithMask.CreateNode.","returns":{"type":"TruffleString.WithMask.CreateNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF16Node.html","name":"TruffleString.WithMask.CreateUTF16Node","kind":"class","signature":"public abstract static class TruffleString.WithMask.CreateUTF16Node extends AbstractPublicNode","summary":"Node to create a new WithMask from a UTF-16 string and a char array.","details":"See #execute(AbstractTruffleString, char[]) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node.execute(AbstractTruffleString, char[])","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF16Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,char[])","name":"execute","kind":"method","signature":"public abstract TruffleString.WithMask execute(AbstractTruffleString a, char[] mask)","summary":"Creates a new WithMask from a and mask.","details":"mask.length must be equal to the string's length in chars.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"mask","type":"char[]"}],"returns":{"type":"TruffleString.WithMask"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.WithMask.CreateUTF16Node create()","summary":"Create a new TruffleString.WithMask.CreateNode.","returns":{"type":"TruffleString.WithMask.CreateUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.WithMask.CreateUTF16Node getUncached()","summary":"Get the uncached version of TruffleString.WithMask.CreateNode.","returns":{"type":"TruffleString.WithMask.CreateUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF32Node.html","name":"TruffleString.WithMask.CreateUTF32Node","kind":"class","signature":"public abstract static class TruffleString.WithMask.CreateUTF32Node extends AbstractPublicNode","summary":"Node to create a new WithMask from a UTF-32 string and an int array.","details":"See #execute(AbstractTruffleString, int[]) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node.execute(AbstractTruffleString, int[])","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF32Node.html#execute(com.oracle.truffle.api.strings.AbstractTruffleString,int[])","name":"execute","kind":"method","signature":"public abstract TruffleString.WithMask execute(AbstractTruffleString a, int[] mask)","summary":"Creates a new WithMask from a and mask.","details":"mask.length must be equal to the string's length in ints.","params":[{"name":"a","type":"AbstractTruffleString"},{"name":"mask","type":"int[]"}],"returns":{"type":"TruffleString.WithMask"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node.create()","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF32Node.html#create()","name":"create","kind":"method","signature":"public static TruffleString.WithMask.CreateUTF32Node create()","summary":"Create a new TruffleString.WithMask.CreateNode.","returns":{"type":"TruffleString.WithMask.CreateUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleString.WithMask.CreateUTF32Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleString.WithMask.CreateUTF32Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleString.WithMask.CreateUTF32Node getUncached()","summary":"Get the uncached version of TruffleString.WithMask.CreateNode.","returns":{"type":"TruffleString.WithMask.CreateUTF32Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html","name":"TruffleStringBuilder","kind":"class","signature":"public abstract sealed class TruffleStringBuilder permits TruffleStringBuilderGeneric, TruffleStringBuilderUTF8, TruffleStringBuilderUTF16, TruffleStringBuilderUTF32","summary":"The TruffleString equivalent to java.lang.StringBuilder.","details":"This builder eagerly fills up a byte array with all strings passed to its Append-nodes. For lazy string concatenation, use TruffleString.ConcatNode instead."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.isEmpty()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#isEmpty()","name":"isEmpty","kind":"method","signature":"public final boolean isEmpty()","summary":"Returns true if this string builder is empty.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.byteLength()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#byteLength()","name":"byteLength","kind":"method","signature":"public final int byteLength()","summary":"Returns this string builder's byte length.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.create(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#create(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"create","kind":"method","signature":"public static TruffleStringBuilder create(TruffleString.Encoding encoding)","summary":"Create a new string builder with the given encoding.","details":"If the encoding is known ahead of time, use createUTF8(), createUTF16() or createUTF32() instead.","params":[{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"TruffleStringBuilder"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.create(TruffleString.Encoding, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#create(com.oracle.truffle.api.strings.TruffleString.Encoding,int)","name":"create","kind":"method","signature":"public static TruffleStringBuilder create(TruffleString.Encoding encoding, int initialCapacity)","summary":"Create a new string builder with the given encoding, and pre-allocate the given number of bytes.","details":"If the encoding is known ahead of time, use createUTF8(int), createUTF16(int) or createUTF32(int) instead.","params":[{"name":"encoding","type":"TruffleString.Encoding"},{"name":"initialCapacity","type":"int"}],"returns":{"type":"TruffleStringBuilder"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.createUTF8()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#createUTF8()","name":"createUTF8","kind":"method","signature":"public static TruffleStringBuilderUTF8 createUTF8()","summary":"Create a new UTF-8 string builder.","returns":{"type":"TruffleStringBuilderUTF8"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.createUTF8(int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#createUTF8(int)","name":"createUTF8","kind":"method","signature":"public static TruffleStringBuilderUTF8 createUTF8(int initialCapacity)","summary":"Create a new UTF-8 string builder and pre-allocate the given number of bytes.","params":[{"name":"initialCapacity","type":"int"}],"returns":{"type":"TruffleStringBuilderUTF8"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.createUTF16()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#createUTF16()","name":"createUTF16","kind":"method","signature":"public static TruffleStringBuilderUTF16 createUTF16()","summary":"Create a new UTF-16 string builder.","returns":{"type":"TruffleStringBuilderUTF16"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.createUTF16(int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#createUTF16(int)","name":"createUTF16","kind":"method","signature":"public static TruffleStringBuilderUTF16 createUTF16(int initialCapacity)","summary":"Create a new UTF-16 string builder and pre-allocate the given number of chars.","params":[{"name":"initialCapacity","type":"int"}],"returns":{"type":"TruffleStringBuilderUTF16"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.createUTF32()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#createUTF32()","name":"createUTF32","kind":"method","signature":"public static TruffleStringBuilderUTF32 createUTF32()","summary":"Create a new UTF-32 string builder.","returns":{"type":"TruffleStringBuilderUTF32"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.createUTF32(int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#createUTF32(int)","name":"createUTF32","kind":"method","signature":"public static TruffleStringBuilderUTF32 createUTF32(int initialCapacity)","summary":"Create a new UTF-32 string builder and pre-allocate the given number of codepoints.","params":[{"name":"initialCapacity","type":"int"}],"returns":{"type":"TruffleStringBuilderUTF32"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendByteUncached(byte)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendByteUncached(byte)","name":"appendByteUncached","kind":"method","signature":"public final void appendByteUncached(byte value)","summary":"Shorthand for calling the uncached version of AppendByteNode.","params":[{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendCharUTF16Uncached(char)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendCharUTF16Uncached(char)","name":"appendCharUTF16Uncached","kind":"method","signature":"public final void appendCharUTF16Uncached(char value)","summary":"Shorthand for calling the uncached version of AppendCharUTF16Node.","params":[{"name":"value","type":"char"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendCodePointUncached(int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendCodePointUncached(int)","name":"appendCodePointUncached","kind":"method","signature":"public final void appendCodePointUncached(int codepoint)","summary":"Shorthand for calling the uncached version of AppendCodePointNode.","params":[{"name":"codepoint","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendCodePointUncached(int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendCodePointUncached(int,int)","name":"appendCodePointUncached","kind":"method","signature":"public final void appendCodePointUncached(int codepoint, int repeat)","summary":"Shorthand for calling the uncached version of AppendCodePointNode.","params":[{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendCodePointUncached(int, int, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendCodePointUncached(int,int,boolean)","name":"appendCodePointUncached","kind":"method","signature":"public final void appendCodePointUncached(int codepoint, int repeat, boolean allowUTF16Surrogates)","summary":"Shorthand for calling the uncached version of AppendCodePointNode.","params":[{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"},{"name":"allowUTF16Surrogates","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendIntNumberUncached(int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendIntNumberUncached(int)","name":"appendIntNumberUncached","kind":"method","signature":"public final void appendIntNumberUncached(int value)","summary":"Shorthand for calling the uncached version of AppendIntNumberNode.","params":[{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendLongNumberUncached(long)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendLongNumberUncached(long)","name":"appendLongNumberUncached","kind":"method","signature":"public final void appendLongNumberUncached(long value)","summary":"Shorthand for calling the uncached version of AppendLongNumberNode.","params":[{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendStringUncached(TruffleString)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendStringUncached(com.oracle.truffle.api.strings.TruffleString)","name":"appendStringUncached","kind":"method","signature":"public final void appendStringUncached(TruffleString a)","summary":"Shorthand for calling the uncached version of AppendStringNode.","params":[{"name":"a","type":"TruffleString"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendSubstringByteIndexUncached(TruffleString, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendSubstringByteIndexUncached(com.oracle.truffle.api.strings.TruffleString,int,int)","name":"appendSubstringByteIndexUncached","kind":"method","signature":"public final void appendSubstringByteIndexUncached(TruffleString a, int fromByteIndex, int byteLength)","summary":"Shorthand for calling the uncached version of AppendSubstringByteIndexNode.","params":[{"name":"a","type":"TruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendJavaStringUTF16Uncached(String)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendJavaStringUTF16Uncached(java.lang.String)","name":"appendJavaStringUTF16Uncached","kind":"method","signature":"public final void appendJavaStringUTF16Uncached(String a)","summary":"Shorthand for calling the uncached version of AppendJavaStringUTF16Node.","params":[{"name":"a","type":"String"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.appendJavaStringUTF16Uncached(String, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#appendJavaStringUTF16Uncached(java.lang.String,int,int)","name":"appendJavaStringUTF16Uncached","kind":"method","signature":"public final void appendJavaStringUTF16Uncached(String a, int fromCharIndex, int charLength)","summary":"Shorthand for calling the uncached version of AppendJavaStringUTF16Node.","params":[{"name":"a","type":"String"},{"name":"fromCharIndex","type":"int"},{"name":"charLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.toStringUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#toStringUncached()","name":"toStringUncached","kind":"method","signature":"public final TruffleString toStringUncached()","summary":"Shorthand for calling the uncached version of ToStringNode.","returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.toString()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","summary":"Convert the string builder's content to a java string.","details":"Do not use this on a fast path.","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendByteNode.html","name":"TruffleStringBuilder.AppendByteNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendByteNode extends AbstractPublicNode","summary":"Node to append a single byte to a string builder."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode.execute(TruffleStringBuilder, byte)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendByteNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,byte)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilder sb, byte value)","summary":"Append a single byte to the string builder.","details":"Does not support UTF-16 and UTF-32; use AppendCharUTF16Node and AppendCodePointNode instead.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode.execute(TruffleStringBuilderUTF8, byte)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendByteNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,byte)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF8 sb, byte value)","summary":"Overload of execute(TruffleStringBuilder, byte) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"value","type":"byte"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendByteNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendByteNode create()","summary":"Create a new AppendByteNode.","returns":{"type":"TruffleStringBuilder.AppendByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendByteNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendByteNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendByteNode getUncached()","summary":"Get the uncached version of AppendByteNode.","returns":{"type":"TruffleStringBuilder.AppendByteNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCharUTF16Node.html","name":"TruffleStringBuilder.AppendCharUTF16Node","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendCharUTF16Node extends AbstractPublicNode","summary":"Node to append a single char to a string builder.","details":"For UTF-16 only."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node.execute(TruffleStringBuilderUTF16, char)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCharUTF16Node.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,char)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, char value)","summary":"Append a single char to the string builder.","details":"For UTF-16 only.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"value","type":"char"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCharUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendCharUTF16Node create()","summary":"Create a new AppendCharUTF16Node.","returns":{"type":"TruffleStringBuilder.AppendCharUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCharUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCharUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendCharUTF16Node getUncached()","summary":"Get the uncached version of AppendCharUTF16Node.","returns":{"type":"TruffleStringBuilder.AppendCharUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html","name":"TruffleStringBuilder.AppendCodePointNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendCodePointNode extends AbstractPublicNode","summary":"Node to append a codepoint to a string builder."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilder, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilder sb, int codepoint)","summary":"Append a codepoint to the string builder.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"codepoint","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF8, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF8 sb, int codepoint)","summary":"Overload of execute(TruffleStringBuilder, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"codepoint","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF16, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF16 sb, int codepoint)","summary":"Overload of execute(TruffleStringBuilder, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"codepoint","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF32, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF32 sb, int codepoint)","summary":"Overload of execute(TruffleStringBuilder, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"codepoint","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilder, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,int,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilder sb, int codepoint, int repeat)","summary":"Append a codepoint to the string builder, repeat times.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF8, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,int,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF8 sb, int codepoint, int repeat)","summary":"Overload of execute(TruffleStringBuilder, int, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF16, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,int,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF16 sb, int codepoint, int repeat)","summary":"Overload of execute(TruffleStringBuilder, int, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF32, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,int,int)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF32 sb, int codepoint, int repeat)","summary":"Overload of execute(TruffleStringBuilder, int, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilder, int, int, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,int,int,boolean)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilder sb, int codepoint, int repeat, boolean allowUTF16Surrogates)","summary":"Append a codepoint to the string builder, repeat times.","details":"If allowUTF16Surrogates is true, UTF-16 surrogate values passed as codepoint will not cause an IllegalArgumentException, but instead be encoded on a best-effort basis. This option is only supported on Encoding.UTF_16 and Encoding.UTF_32.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"},{"name":"allowUTF16Surrogates","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF8, int, int, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,int,int,boolean)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF8 sb, int codepoint, int repeat, boolean allowUTF16Surrogates)","summary":"Overload of execute(TruffleStringBuilder, int, int, boolean) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"},{"name":"allowUTF16Surrogates","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF16, int, int, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,int,int,boolean)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, int codepoint, int repeat, boolean allowUTF16Surrogates)","summary":"Overload of execute(TruffleStringBuilder, int, int, boolean) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"},{"name":"allowUTF16Surrogates","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.execute(TruffleStringBuilderUTF32, int, int, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,int,int,boolean)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF32 sb, int codepoint, int repeat, boolean allowUTF16Surrogates)","summary":"Overload of execute(TruffleStringBuilder, int, int, boolean) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"codepoint","type":"int"},{"name":"repeat","type":"int"},{"name":"allowUTF16Surrogates","type":"boolean"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendCodePointNode create()","summary":"Create a new AppendCodePointNode.","returns":{"type":"TruffleStringBuilder.AppendCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendCodePointNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendCodePointNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendCodePointNode getUncached()","summary":"Get the uncached version of AppendCodePointNode.","returns":{"type":"TruffleStringBuilder.AppendCodePointNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html","name":"TruffleStringBuilder.AppendIntNumberNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendIntNumberNode extends AbstractPublicNode","summary":"Node to append an integer to a string builder.","details":"See execute(TruffleStringBuilder, int) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode.execute(TruffleStringBuilder, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilder sb, int value)","summary":"Append the base-10 string equivalent of a given integer to the string builder.","details":"For ASCII-compatible encodings only.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode.execute(TruffleStringBuilderUTF8, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF8 sb, int value)","summary":"Overload of execute(TruffleStringBuilder, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode.execute(TruffleStringBuilderUTF16, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, int value)","summary":"Overload of execute(TruffleStringBuilder, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode.execute(TruffleStringBuilderUTF32, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF32 sb, int value)","summary":"Overload of execute(TruffleStringBuilder, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"value","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendIntNumberNode create()","summary":"Create a new AppendIntNumberNode.","returns":{"type":"TruffleStringBuilder.AppendIntNumberNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendIntNumberNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendIntNumberNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendIntNumberNode getUncached()","summary":"Get the uncached version of AppendIntNumberNode.","returns":{"type":"TruffleStringBuilder.AppendIntNumberNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendJavaStringUTF16Node.html","name":"TruffleStringBuilder.AppendJavaStringUTF16Node","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendJavaStringUTF16Node extends AbstractPublicNode","summary":"Node to append a substring of a given java.lang.String to a string builder.","details":"See execute(TruffleStringBuilderUTF16, String, int, int) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node.execute(TruffleStringBuilderUTF16, String)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendJavaStringUTF16Node.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,java.lang.String)","name":"execute","kind":"method","signature":"public final void execute(TruffleStringBuilderUTF16 sb, String a)","summary":"Append a substring of a given java.lang.String to the string builder.","details":"For UTF-16 only.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"a","type":"String"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node.execute(TruffleStringBuilderUTF16, String, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendJavaStringUTF16Node.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,java.lang.String,int,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, String a, int fromCharIndex, int charLength)","summary":"Append a substring of a given java.lang.String, starting at char index fromIndex and ending at fromIndex + length, to the string builder.","details":"For UTF-16 only.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"a","type":"String"},{"name":"fromCharIndex","type":"int"},{"name":"charLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendJavaStringUTF16Node.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendJavaStringUTF16Node create()","summary":"Create a new AppendJavaStringUTF16Node.","returns":{"type":"TruffleStringBuilder.AppendJavaStringUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendJavaStringUTF16Node.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendJavaStringUTF16Node.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendJavaStringUTF16Node getUncached()","summary":"Get the uncached version of AppendJavaStringUTF16Node.","returns":{"type":"TruffleStringBuilder.AppendJavaStringUTF16Node"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html","name":"TruffleStringBuilder.AppendLongNumberNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendLongNumberNode extends AbstractPublicNode","summary":"Node to append a long value to a string builder.","details":"See execute(TruffleStringBuilder, long) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode.execute(TruffleStringBuilder, long)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,long)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilder sb, long value)","summary":"Append the base-10 string equivalent of a given long value to the string builder.","details":"For ASCII-compatible encodings only.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode.execute(TruffleStringBuilderUTF8, long)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,long)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF8 sb, long value)","summary":"Overload of execute(TruffleStringBuilder, long) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode.execute(TruffleStringBuilderUTF16, long)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,long)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, long value)","summary":"Overload of execute(TruffleStringBuilder, long) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode.execute(TruffleStringBuilderUTF32, long)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,long)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF32 sb, long value)","summary":"Overload of execute(TruffleStringBuilder, long) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"value","type":"long"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendLongNumberNode create()","summary":"Create a new AppendLongNumberNode.","returns":{"type":"TruffleStringBuilder.AppendLongNumberNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendLongNumberNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendLongNumberNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendLongNumberNode getUncached()","summary":"Get the uncached version of AppendLongNumberNode.","returns":{"type":"TruffleStringBuilder.AppendLongNumberNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html","name":"TruffleStringBuilder.AppendStringNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendStringNode extends AbstractPublicNode","summary":"Node to append a given TruffleString to a string builder."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode.execute(TruffleStringBuilder, AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilder sb, AbstractTruffleString a)","summary":"Append a given TruffleString to the string builder.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"a","type":"AbstractTruffleString"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode.execute(TruffleStringBuilderUTF8, AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF8 sb, AbstractTruffleString a)","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"a","type":"AbstractTruffleString"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode.execute(TruffleStringBuilderUTF16, AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, AbstractTruffleString a)","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"a","type":"AbstractTruffleString"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode.execute(TruffleStringBuilderUTF32, AbstractTruffleString)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,com.oracle.truffle.api.strings.AbstractTruffleString)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF32 sb, AbstractTruffleString a)","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"a","type":"AbstractTruffleString"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendStringNode create()","summary":"Create a new AppendStringNode.","returns":{"type":"TruffleStringBuilder.AppendStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendStringNode getUncached()","summary":"Get the uncached version of AppendStringNode.","returns":{"type":"TruffleStringBuilder.AppendStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html","name":"TruffleStringBuilder.AppendSubstringByteIndexNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.AppendSubstringByteIndexNode extends AbstractPublicNode","summary":"Node to append a substring of a given TruffleString to a string builder.","details":"See execute(TruffleStringBuilder, AbstractTruffleString, int, int) for details."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode.execute(TruffleStringBuilder, AbstractTruffleString, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,com.oracle.truffle.api.strings.AbstractTruffleString,int,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilder sb, AbstractTruffleString a, int fromByteIndex, int byteLength)","summary":"Append a substring of a given TruffleString, starting at byte index fromByteIndex and ending at byte index fromByteIndex + byteLength, to the string builder.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode.execute(TruffleStringBuilderUTF8, AbstractTruffleString, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,com.oracle.truffle.api.strings.AbstractTruffleString,int,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF8 sb, AbstractTruffleString a, int fromByteIndex, int byteLength)","summary":"Overload of execute(TruffleStringBuilder, AbstractTruffleString, int, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode.execute(TruffleStringBuilderUTF16, AbstractTruffleString, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,com.oracle.truffle.api.strings.AbstractTruffleString,int,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF16 sb, AbstractTruffleString a, int fromByteIndex, int byteLength)","summary":"Overload of execute(TruffleStringBuilder, AbstractTruffleString, int, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode.execute(TruffleStringBuilderUTF32, AbstractTruffleString, int, int)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,com.oracle.truffle.api.strings.AbstractTruffleString,int,int)","name":"execute","kind":"method","signature":"public abstract void execute(TruffleStringBuilderUTF32 sb, AbstractTruffleString a, int fromByteIndex, int byteLength)","summary":"Overload of execute(TruffleStringBuilder, AbstractTruffleString, int, int) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"a","type":"AbstractTruffleString"},{"name":"fromByteIndex","type":"int"},{"name":"byteLength","type":"int"}]}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.AppendSubstringByteIndexNode create()","summary":"Create a new AppendSubstringByteIndexNode.","returns":{"type":"TruffleStringBuilder.AppendSubstringByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.AppendSubstringByteIndexNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.AppendSubstringByteIndexNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.AppendSubstringByteIndexNode getUncached()","summary":"Get the uncached version of AppendSubstringByteIndexNode.","returns":{"type":"TruffleStringBuilder.AppendSubstringByteIndexNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html","name":"TruffleStringBuilder.ToStringNode","kind":"class","signature":"public abstract static class TruffleStringBuilder.ToStringNode extends AbstractPublicNode","summary":"Node to materialize a string builder as a TruffleString."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilder)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder)","name":"execute","kind":"method","signature":"public final TruffleString execute(TruffleStringBuilder sb)","summary":"Materialize this string builder to a TruffleString.","params":[{"name":"sb","type":"TruffleStringBuilder"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilderUTF8)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8)","name":"execute","kind":"method","signature":"public final TruffleString execute(TruffleStringBuilderUTF8 sb)","summary":"Overload of execute(TruffleStringBuilder) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilderUTF16)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16)","name":"execute","kind":"method","signature":"public final TruffleString execute(TruffleStringBuilderUTF16 sb)","summary":"Overload of execute(TruffleStringBuilder) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilderUTF32)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32)","name":"execute","kind":"method","signature":"public final TruffleString execute(TruffleStringBuilderUTF32 sb)","summary":"Overload of execute(TruffleStringBuilder) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilder, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilder,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(TruffleStringBuilder sb, boolean lazy)","summary":"Materialize this string builder to a TruffleString.","details":"If lazy is true, sb's internal storage will be re-used even if there are unused bytes. Since the resulting string will have a reference to sb's internal storage, and TruffleString currently does not resize/trim the substring's internal storage at any point, the lazy variant effectively creates a memory leak! The caller is responsible for deciding whether this is acceptable or not.","params":[{"name":"sb","type":"TruffleStringBuilder"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilderUTF8, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF8,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(TruffleStringBuilderUTF8 sb, boolean lazy)","summary":"Overload of execute(TruffleStringBuilder, boolean) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF8"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilderUTF16, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF16,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(TruffleStringBuilderUTF16 sb, boolean lazy)","summary":"Overload of execute(TruffleStringBuilder, boolean) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF16"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.execute(TruffleStringBuilderUTF32, boolean)","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#execute(com.oracle.truffle.api.strings.TruffleStringBuilderUTF32,boolean)","name":"execute","kind":"method","signature":"public abstract TruffleString execute(TruffleStringBuilderUTF32 sb, boolean lazy)","summary":"Overload of execute(TruffleStringBuilder, boolean) for performance reasons.","params":[{"name":"sb","type":"TruffleStringBuilderUTF32"},{"name":"lazy","type":"boolean"}],"returns":{"type":"TruffleString"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringBuilder.ToStringNode create()","summary":"Create a new ToStringNode.","returns":{"type":"TruffleStringBuilder.ToStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilder.ToStringNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringBuilder.ToStringNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringBuilder.ToStringNode getUncached()","summary":"Get the uncached version of ToStringNode.","returns":{"type":"TruffleStringBuilder.ToStringNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilderFactory","href":"com/oracle/truffle/api/strings/TruffleStringBuilderFactory.html","name":"TruffleStringBuilderFactory","kind":"class","signature":"public final class TruffleStringBuilderFactory"}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilderFactory()","href":"com/oracle/truffle/api/strings/TruffleStringBuilderFactory.html#%3Cinit%3E()","name":"TruffleStringBuilderFactory","kind":"constructor","signature":"public TruffleStringBuilderFactory()","summary":"Creates a new TruffleStringBuilderFactory instance."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilderUTF16","href":"com/oracle/truffle/api/strings/TruffleStringBuilderUTF16.html","name":"TruffleStringBuilderUTF16","kind":"class","signature":"public final class TruffleStringBuilderUTF16 extends TruffleStringBuilder","summary":"The UTF-16-specific variant of TruffleStringBuilder.","details":"For best performance, use this type explicitly wherever possible."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilderUTF32","href":"com/oracle/truffle/api/strings/TruffleStringBuilderUTF32.html","name":"TruffleStringBuilderUTF32","kind":"class","signature":"public final class TruffleStringBuilderUTF32 extends TruffleStringBuilder","summary":"The UTF-32-specific variant of TruffleStringBuilder.","details":"For best performance, use this type explicitly wherever possible."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringBuilderUTF8","href":"com/oracle/truffle/api/strings/TruffleStringBuilderUTF8.html","name":"TruffleStringBuilderUTF8","kind":"class","signature":"public final class TruffleStringBuilderUTF8 extends TruffleStringBuilder","summary":"The UTF-8-specific variant of TruffleStringBuilder.","details":"For best performance, use this type explicitly wherever possible."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringFactory","href":"com/oracle/truffle/api/strings/TruffleStringFactory.html","name":"TruffleStringFactory","kind":"class","signature":"public final class TruffleStringFactory"}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringFactory()","href":"com/oracle/truffle/api/strings/TruffleStringFactory.html#%3Cinit%3E()","name":"TruffleStringFactory","kind":"constructor","signature":"public TruffleStringFactory()","summary":"Creates a new TruffleStringFactory instance."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringFactory.WithMaskFactory","href":"com/oracle/truffle/api/strings/TruffleStringFactory.WithMaskFactory.html","name":"TruffleStringFactory.WithMaskFactory","kind":"class","signature":"public static final class TruffleStringFactory.WithMaskFactory"}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringFactory.WithMaskFactory()","href":"com/oracle/truffle/api/strings/TruffleStringFactory.WithMaskFactory.html#%3Cinit%3E()","name":"WithMaskFactory","kind":"constructor","signature":"public WithMaskFactory()","summary":"Creates a new WithMaskFactory instance."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html","name":"TruffleStringIterator","kind":"class","signature":"public final class TruffleStringIterator","summary":"An iterator object that allows iterating over a TruffleString's codepoints, without having to re-calculate codepoint indices on every access.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.hasNext()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#hasNext()","name":"hasNext","kind":"method","signature":"public boolean hasNext()","summary":"Returns true if there are more codepoints remaining.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.hasPrevious()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#hasPrevious()","name":"hasPrevious","kind":"method","signature":"public boolean hasPrevious()","summary":"Returns true if there are more codepoints remaining in reverse direction.","returns":{"type":"boolean"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.getByteIndex()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#getByteIndex()","name":"getByteIndex","kind":"method","signature":"public int getByteIndex()","summary":"Returns the next codepoint's byte index, where \"byte index\" refers the codepoint's first byte in forward mode, while in backward mode it refers to the first byte after the codepoint.","returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.nextUncached()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#nextUncached()","name":"nextUncached","kind":"method","signature":"public int nextUncached()","summary":"Shorthand for calling the uncached version of NextNode.","deprecated":{"since":"25.0","doc":"use nextUncached(Encoding) instead."},"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.nextUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#nextUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"nextUncached","kind":"method","signature":"public int nextUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of NextNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.previousUncached()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#previousUncached()","name":"previousUncached","kind":"method","signature":"public int previousUncached()","summary":"Shorthand for calling the uncached version of PreviousNode.","deprecated":{"since":"25.0","doc":"use previousUncached(Encoding) instead."},"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.previousUncached(TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleStringIterator.html#previousUncached(com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"previousUncached","kind":"method","signature":"public int previousUncached(TruffleString.Encoding expectedEncoding)","summary":"Shorthand for calling the uncached version of PreviousNode.","params":[{"name":"expectedEncoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.NextNode","href":"com/oracle/truffle/api/strings/TruffleStringIterator.NextNode.html","name":"TruffleStringIterator.NextNode","kind":"class","signature":"public abstract static class TruffleStringIterator.NextNode extends AbstractPublicNode","summary":"Returns the next codepoint in the string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.NextNode.execute(TruffleStringIterator)","href":"com/oracle/truffle/api/strings/TruffleStringIterator.NextNode.html#execute(com.oracle.truffle.api.strings.TruffleStringIterator)","name":"execute","kind":"method","signature":"public final int execute(TruffleStringIterator it)","summary":"Returns the next codepoint in the string.","deprecated":{"since":"25.0","doc":"use execute(TruffleStringIterator, Encoding) instead."},"params":[{"name":"it","type":"TruffleStringIterator"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.NextNode.execute(TruffleStringIterator, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleStringIterator.NextNode.html#execute(com.oracle.truffle.api.strings.TruffleStringIterator,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(TruffleStringIterator it, TruffleString.Encoding encoding)","summary":"Returns the next codepoint in the string.","params":[{"name":"it","type":"TruffleStringIterator"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.NextNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.NextNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringIterator.NextNode create()","summary":"Create a new NextNode.","returns":{"type":"TruffleStringIterator.NextNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.NextNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.NextNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringIterator.NextNode getUncached()","summary":"Get the uncached version of NextNode.","returns":{"type":"TruffleStringIterator.NextNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode","href":"com/oracle/truffle/api/strings/TruffleStringIterator.PreviousNode.html","name":"TruffleStringIterator.PreviousNode","kind":"class","signature":"public abstract static class TruffleStringIterator.PreviousNode extends AbstractPublicNode","summary":"Returns the previous codepoint in the string."}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode.execute(TruffleStringIterator)","href":"com/oracle/truffle/api/strings/TruffleStringIterator.PreviousNode.html#execute(com.oracle.truffle.api.strings.TruffleStringIterator)","name":"execute","kind":"method","signature":"public final int execute(TruffleStringIterator it)","summary":"Returns the previous codepoint in the string.","deprecated":{"since":"25.0","doc":"use execute(TruffleStringIterator, Encoding) instead."},"params":[{"name":"it","type":"TruffleStringIterator"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode.execute(TruffleStringIterator, TruffleString.Encoding)","href":"com/oracle/truffle/api/strings/TruffleStringIterator.PreviousNode.html#execute(com.oracle.truffle.api.strings.TruffleStringIterator,com.oracle.truffle.api.strings.TruffleString.Encoding)","name":"execute","kind":"method","signature":"public abstract int execute(TruffleStringIterator it, TruffleString.Encoding encoding)","summary":"Returns the previous codepoint in the string.","params":[{"name":"it","type":"TruffleStringIterator"},{"name":"encoding","type":"TruffleString.Encoding"}],"returns":{"type":"int"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode.create()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.PreviousNode.html#create()","name":"create","kind":"method","signature":"public static TruffleStringIterator.PreviousNode create()","summary":"Create a new PreviousNode.","returns":{"type":"TruffleStringIterator.PreviousNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIterator.PreviousNode.getUncached()","href":"com/oracle/truffle/api/strings/TruffleStringIterator.PreviousNode.html#getUncached()","name":"getUncached","kind":"method","signature":"public static TruffleStringIterator.PreviousNode getUncached()","summary":"Get the uncached version of PreviousNode.","returns":{"type":"TruffleStringIterator.PreviousNode"}}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIteratorFactory","href":"com/oracle/truffle/api/strings/TruffleStringIteratorFactory.html","name":"TruffleStringIteratorFactory","kind":"class","signature":"public final class TruffleStringIteratorFactory"}
{"symbol":"com.oracle.truffle.api.strings.TruffleStringIteratorFactory()","href":"com/oracle/truffle/api/strings/TruffleStringIteratorFactory.html#%3Cinit%3E()","name":"TruffleStringIteratorFactory","kind":"constructor","signature":"public TruffleStringIteratorFactory()","summary":"Creates a new TruffleStringIteratorFactory instance."}
{"symbol":"com.oracle.truffle.api.utilities.AssumedValue","href":"com/oracle/truffle/api/utilities/AssumedValue.html","name":"AssumedValue","kind":"class","signature":"public class AssumedValue<T>","summary":"A value that the compiler can assume is constant, but can be changed by invalidation.","details":"Compiled code that uses the value will be invalidated each time the value changes, so you should take care to only change values infrequently, or to monitor the number of times the value has changed and at some point to replace the value with something more generic so that it does not have to be changed and code does not have to keep being recompiled."}
{"symbol":"com.oracle.truffle.api.utilities.AssumedValue(T)","href":"com/oracle/truffle/api/utilities/AssumedValue.html#%3Cinit%3E(T)","name":"AssumedValue","kind":"constructor","signature":"public AssumedValue(T initialValue)","params":[{"name":"initialValue","type":"T"}]}
{"symbol":"com.oracle.truffle.api.utilities.AssumedValue(String, T)","href":"com/oracle/truffle/api/utilities/AssumedValue.html#%3Cinit%3E(java.lang.String,T)","name":"AssumedValue","kind":"constructor","signature":"public AssumedValue(String name, T initialValue)","params":[{"name":"name","type":"String"},{"name":"initialValue","type":"T"}]}
{"symbol":"com.oracle.truffle.api.utilities.AssumedValue.get()","href":"com/oracle/truffle/api/utilities/AssumedValue.html#get()","name":"get","kind":"method","signature":"public T get()","summary":"Get the current value, updating it if it has been set.","details":"The compiler may be able to make this method return a constant value, but still accommodate mutation.","returns":{"type":"T"}}
{"symbol":"com.oracle.truffle.api.utilities.AssumedValue.set(T)","href":"com/oracle/truffle/api/utilities/AssumedValue.html#set(T)","name":"set","kind":"method","signature":"public void set(T newValue)","summary":"Set a new value, which will be picked up the next time get is called.","params":[{"name":"newValue","type":"T"}]}
{"symbol":"com.oracle.truffle.api.utilities.CyclicAssumption","href":"com/oracle/truffle/api/utilities/CyclicAssumption.html","name":"CyclicAssumption","kind":"class","signature":"public class CyclicAssumption","summary":"Holds an Assumption, and knows how to recreate it with the same properties on invalidation.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.utilities.CyclicAssumption(String)","href":"com/oracle/truffle/api/utilities/CyclicAssumption.html#%3Cinit%3E(java.lang.String)","name":"CyclicAssumption","kind":"constructor","signature":"public CyclicAssumption(String name)","params":[{"name":"name","type":"String"}]}
{"symbol":"com.oracle.truffle.api.utilities.CyclicAssumption.invalidate()","href":"com/oracle/truffle/api/utilities/CyclicAssumption.html#invalidate()","name":"invalidate","kind":"method","signature":"public void invalidate()"}
{"symbol":"com.oracle.truffle.api.utilities.CyclicAssumption.invalidate(String)","href":"com/oracle/truffle/api/utilities/CyclicAssumption.html#invalidate(java.lang.String)","name":"invalidate","kind":"method","signature":"public void invalidate(String message)","params":[{"name":"message","type":"String"}]}
{"symbol":"com.oracle.truffle.api.utilities.CyclicAssumption.getAssumption()","href":"com/oracle/truffle/api/utilities/CyclicAssumption.html#getAssumption()","name":"getAssumption","kind":"method","signature":"public Assumption getAssumption()","returns":{"type":"Assumption"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet","href":"com/oracle/truffle/api/utilities/FinalBitSet.html","name":"FinalBitSet","kind":"class","signature":"public final class FinalBitSet","summary":"Read-only bitset designed for partial evaluation.","details":"The implementation is partially re-used from BitSet."}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.EMPTY","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#EMPTY","name":"EMPTY","kind":"field","signature":"public static final FinalBitSet EMPTY","summary":"An empty bit set of size 0."}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.toLongArray()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#toLongArray()","name":"toLongArray","kind":"method","signature":"public long[] toLongArray()","summary":"Returns a new long array containing all the bits in this bit set.","details":"This method is designed for partial evaluation. More precisely, if long[] longs = s.toLongArray(); then longs.length == (s.length()+63)/64 and s.get(n) == ((longs[n/64] & (1L<<(n%64))) != 0) for all n < 64 * longs.length.","returns":{"type":"long[]","doc":"a long array containing a little-endian representation of all the bits in this bit set"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.get(int)","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#get(int)","name":"get","kind":"method","signature":"public boolean get(int bitIndex)","summary":"Returns the value of the bit with the specified index.","details":"The value is true if the bit with the index bitIndex is currently set in this FinalBitSet; otherwise, the result is false. This method is designed for partial evaluation and is guaranteed to fold if the receiver and the bitIndex parameter are constant.","params":[{"name":"bitIndex","type":"int","doc":"the bit index"}],"returns":{"type":"boolean","doc":"the value of the bit with the specified index"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if the specified index is negative"}]}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.length()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#length()","name":"length","kind":"method","signature":"public int length()","summary":"Returns the \"logical size\" of this FinalBitSet: the index of the highest set bit in the FinalBitSet plus one.","details":"Returns zero if the FinalBitSet contains no set bits. This method is designed for partial evaluation and is guaranteed to fold if the receiver is constant.","returns":{"type":"int","doc":"the logical size of this FinalBitSet"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.isEmpty()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#isEmpty()","name":"isEmpty","kind":"method","signature":"public boolean isEmpty()","summary":"Returns true if this FinalBitSet contains no bits that are set to true.","details":"This method is designed for partial evaluation and is guaranteed to fold if the receiver is constant.","returns":{"type":"boolean","doc":"boolean indicating whether this FinalBitSet is empty"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.equals(Object)","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","summary":"Compares this object against the specified object.","details":"The result is true if and only if the argument is not null and is a FinalBitSet object that has exactly the same set of bits set to true as this bit set. That is, for every nonnegative int index k, ((BitSet) obj).get(k) == this.get(k) must be true. The current sizes of the two bit sets are not compared.","params":[{"name":"obj","type":"Object","doc":"the object to compare with"}],"returns":{"type":"boolean","doc":"true if the objects are the same; false otherwise"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.hashCode()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","summary":"Returns the hash code value for this bit set.","details":"The hash code depends only on which bits are set within this FinalBitSet. The hash code is defined to be the result of the following calculation: public int hashCode() { long h = 1234; long[] words = toLongArray(); for (int i = words.length; --i >= 0;) h ^= words[i] * (i + 1); return (int) ((h >> 32) ^ h); } Note that the hash code changes if the set of bits is altered.","returns":{"type":"int","doc":"the hash code value for this bit set"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.size()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#size()","name":"size","kind":"method","signature":"public int size()","summary":"Returns the number of bits of space actually in use by this FinalBitSet to represent bit values.","details":"The maximum element in the set is the size - 1st element. This method is designed for partial evaluation and is guaranteed to fold if the receiver is constant.","returns":{"type":"int","doc":"the number of bits currently in this bit set"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.cardinality()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#cardinality()","name":"cardinality","kind":"method","signature":"public int cardinality()","summary":"Returns the number of bits set to true in this BitSet.","returns":{"type":"int","doc":"the number of bits set to true in this BitSet"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.nextSetBit(int)","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#nextSetBit(int)","name":"nextSetBit","kind":"method","signature":"public int nextSetBit(int fromIndex)","summary":"Returns the index of the first bit that is set to true that occurs on or after the specified starting index.","details":"If no such bit exists then -1 is returned. To iterate over the true bits in a FinalBitSet, use the following loop: for (int i = bs.nextSetBit(0); i >= 0; i = bs.nextSetBit(i + 1)) { // operate on index i here if (i == Integer.MAX_VALUE) { break; // or (i+1) would overflow } }","params":[{"name":"fromIndex","type":"int","doc":"the index to start checking from (inclusive)"}],"returns":{"type":"int","doc":"the index of the next set bit, or -1 if there is no such bit"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if the specified index is negative"}]}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.nextClearBit(int)","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#nextClearBit(int)","name":"nextClearBit","kind":"method","signature":"public int nextClearBit(int fromIndex)","summary":"Returns the index of the first bit that is set to false that occurs on or after the specified starting index.","params":[{"name":"fromIndex","type":"int","doc":"the index to start checking from (inclusive)"}],"returns":{"type":"int","doc":"the index of the next clear bit"},"throws":[{"type":"IndexOutOfBoundsException","doc":"if the specified index is negative"}]}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.toString()","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#toString()","name":"toString","kind":"method","signature":"public String toString()","summary":"Returns a string representation of this bit set.","details":"For every index for which this BitSet contains a bit in the set state, the decimal representation of that index is included in the result. Such indices are listed in order from lowest to highest, separated by \", \" (a comma and a space) and surrounded by braces, resulting in the usual mathematical notation for a set of integers.","returns":{"type":"String","doc":"a string representation of this bit set"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.valueOf(long[])","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#valueOf(long[])","name":"valueOf","kind":"method","signature":"public static FinalBitSet valueOf(long[] longs)","summary":"Returns a new bit set containing all the bits in the given long array.","details":"More precisely, FinalBitSet.valueOf(longs).get(n) == ((longs[n/64] & (1L<<(n%64))) != 0) for all n < 64 * longs.length.","params":[{"name":"longs","type":"long[]","doc":"a long array containing a little-endian representation of a sequence of bits to be used as the initial bits of the new bit set"}],"returns":{"type":"FinalBitSet","doc":"a FinalBitSet containing all the bits in the long array"}}
{"symbol":"com.oracle.truffle.api.utilities.FinalBitSet.valueOf(BitSet)","href":"com/oracle/truffle/api/utilities/FinalBitSet.html#valueOf(java.util.BitSet)","name":"valueOf","kind":"method","signature":"public static FinalBitSet valueOf(BitSet originalBitSet)","summary":"Returns a new final bit set from a Java BitSet instance.","details":"The original bit set will be copied.","params":[{"name":"originalBitSet","type":"BitSet"}],"returns":{"type":"FinalBitSet"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper","href":"com/oracle/truffle/api/utilities/JSONHelper.html","name":"JSONHelper","kind":"class","signature":"public final class JSONHelper","summary":"Helper function that allows to dump the AST during creation to a JSON format.","deprecated":{"since":"24.1.0","doc":"This class is deprecated and will be removed in a future version."}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.object()","href":"com/oracle/truffle/api/utilities/JSONHelper.html#object()","name":"object","kind":"method","signature":"public static JSONHelper.JSONObjectBuilder object()","returns":{"type":"JSONHelper.JSONObjectBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.array()","href":"com/oracle/truffle/api/utilities/JSONHelper.html#array()","name":"array","kind":"method","signature":"public static JSONHelper.JSONArrayBuilder array()","returns":{"type":"JSONHelper.JSONArrayBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONArrayBuilder.html","name":"JSONHelper.JSONArrayBuilder","kind":"class","signature":"public static final class JSONHelper.JSONArrayBuilder extends JSONHelper.JSONStringBuilder"}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder.add(String)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONArrayBuilder.html#add(java.lang.String)","name":"add","kind":"method","signature":"public JSONHelper.JSONArrayBuilder add(String value)","params":[{"name":"value","type":"String"}],"returns":{"type":"JSONHelper.JSONArrayBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder.add(Number)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONArrayBuilder.html#add(java.lang.Number)","name":"add","kind":"method","signature":"public JSONHelper.JSONArrayBuilder add(Number value)","params":[{"name":"value","type":"Number"}],"returns":{"type":"JSONHelper.JSONArrayBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder.add(Boolean)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONArrayBuilder.html#add(java.lang.Boolean)","name":"add","kind":"method","signature":"public JSONHelper.JSONArrayBuilder add(Boolean value)","params":[{"name":"value","type":"Boolean"}],"returns":{"type":"JSONHelper.JSONArrayBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder.add(JSONHelper.JSONStringBuilder)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONArrayBuilder.html#add(com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder)","name":"add","kind":"method","signature":"public JSONHelper.JSONArrayBuilder add(JSONHelper.JSONStringBuilder value)","params":[{"name":"value","type":"JSONHelper.JSONStringBuilder"}],"returns":{"type":"JSONHelper.JSONArrayBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONArrayBuilder.appendTo(StringBuilder)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONArrayBuilder.html#appendTo(java.lang.StringBuilder)","name":"appendTo","kind":"method","signature":"protected void appendTo(StringBuilder sb)","params":[{"name":"sb","type":"StringBuilder"}]}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONObjectBuilder.html","name":"JSONHelper.JSONObjectBuilder","kind":"class","signature":"public static final class JSONHelper.JSONObjectBuilder extends JSONHelper.JSONStringBuilder"}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder.add(String, String)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONObjectBuilder.html#add(java.lang.String,java.lang.String)","name":"add","kind":"method","signature":"public JSONHelper.JSONObjectBuilder add(String key, String value)","params":[{"name":"key","type":"String"},{"name":"value","type":"String"}],"returns":{"type":"JSONHelper.JSONObjectBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder.add(String, Number)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONObjectBuilder.html#add(java.lang.String,java.lang.Number)","name":"add","kind":"method","signature":"public JSONHelper.JSONObjectBuilder add(String key, Number value)","params":[{"name":"key","type":"String"},{"name":"value","type":"Number"}],"returns":{"type":"JSONHelper.JSONObjectBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder.add(String, Boolean)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONObjectBuilder.html#add(java.lang.String,java.lang.Boolean)","name":"add","kind":"method","signature":"public JSONHelper.JSONObjectBuilder add(String key, Boolean value)","params":[{"name":"key","type":"String"},{"name":"value","type":"Boolean"}],"returns":{"type":"JSONHelper.JSONObjectBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder.add(String, JSONHelper.JSONStringBuilder)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONObjectBuilder.html#add(java.lang.String,com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder)","name":"add","kind":"method","signature":"public JSONHelper.JSONObjectBuilder add(String key, JSONHelper.JSONStringBuilder value)","params":[{"name":"key","type":"String"},{"name":"value","type":"JSONHelper.JSONStringBuilder"}],"returns":{"type":"JSONHelper.JSONObjectBuilder"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONObjectBuilder.appendTo(StringBuilder)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONObjectBuilder.html#appendTo(java.lang.StringBuilder)","name":"appendTo","kind":"method","signature":"protected void appendTo(StringBuilder sb)","params":[{"name":"sb","type":"StringBuilder"}]}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONStringBuilder.html","name":"JSONHelper.JSONStringBuilder","kind":"class","signature":"public abstract static class JSONHelper.JSONStringBuilder"}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder.toString()","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONStringBuilder.html#toString()","name":"toString","kind":"method","signature":"public final String toString()","returns":{"type":"String"}}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder.appendTo(StringBuilder)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONStringBuilder.html#appendTo(java.lang.StringBuilder)","name":"appendTo","kind":"method","signature":"protected abstract void appendTo(StringBuilder sb)","params":[{"name":"sb","type":"StringBuilder"}]}
{"symbol":"com.oracle.truffle.api.utilities.JSONHelper.JSONStringBuilder.appendValue(StringBuilder, Object)","href":"com/oracle/truffle/api/utilities/JSONHelper.JSONStringBuilder.html#appendValue(java.lang.StringBuilder,java.lang.Object)","name":"appendValue","kind":"method","signature":"protected static void appendValue(StringBuilder sb, Object value)","params":[{"name":"sb","type":"StringBuilder"},{"name":"value","type":"Object"}]}
{"symbol":"com.oracle.truffle.api.utilities.MathUtils","href":"com/oracle/truffle/api/utilities/MathUtils.html","name":"MathUtils","kind":"class","signature":"public final class MathUtils","summary":"This class contains mathematical methods that are not already provided by java.lang.Math that are generally useful for language implementations."}
{"symbol":"com.oracle.truffle.api.utilities.MathUtils.asinh(double)","href":"com/oracle/truffle/api/utilities/MathUtils.html#asinh(double)","name":"asinh","kind":"method","signature":"public static double asinh(double x)","summary":"Computes the inverse (area) hyperbolic sine (asinh) of a double value.","details":"asinh(x); derived from fdlibm (s_asinh.c) Method : Based on asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ] we have asinh(x) := x if 1+x*x=1, := sign(x)*(log(x)+ln2)) for large |x|, else := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))","params":[{"name":"x","type":"double","doc":"The number whose inverse hyperbolic sine is to be returned."}],"returns":{"type":"double","doc":"The inverse hyperbolic sine of x."}}
{"symbol":"com.oracle.truffle.api.utilities.MathUtils.acosh(double)","href":"com/oracle/truffle/api/utilities/MathUtils.html#acosh(double)","name":"acosh","kind":"method","signature":"public static double acosh(double x)","summary":"Computes the inverse (area) hyperbolic cosine (acosh) of a double value.","details":"__ieee754_acosh(x); derived from fdlibm (e_acosh.c) Method : Based on acosh(x) = log [ x + sqrt(x*x-1) ] we have acosh(x) := log(x)+ln2, if x is large; else acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1. Special cases: acosh(x) is NaN with signal if x<1. acosh(NaN) is NaN without signal.","params":[{"name":"x","type":"double","doc":"The number whose inverse hyperbolic cosine is to be returned."}],"returns":{"type":"double","doc":"The inverse hyperbolic cosine of x."}}
{"symbol":"com.oracle.truffle.api.utilities.MathUtils.atanh(double)","href":"com/oracle/truffle/api/utilities/MathUtils.html#atanh(double)","name":"atanh","kind":"method","signature":"public static double atanh(double x)","summary":"Computes the inverse (area) hyperbolic tangent (atanh) of a double value.","details":"__ieee754_atanh(x); derived from fdlibm (e_atanh.c) Method : 1.Reduced x to positive by atanh(-x) = -atanh(x) 2.For x>=0.5 1 2x x atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------) 2 1 - x 1 - x For x<0.5 atanh(x) = 0.5*log1p(2x+2x*x/(1-x)) Special cases: atanh(x) is NaN if |x| > 1 with signal; atanh(NaN) is that NaN with no signal; atanh(+-1) is +-INF with signal.","params":[{"name":"x","type":"double","doc":"The number whose inverse hyperbolic tangent is to be returned."}],"returns":{"type":"double","doc":"The inverse hyperbolic tangent of x."}}
{"symbol":"com.oracle.truffle.api.utilities.TriState","href":"com/oracle/truffle/api/utilities/TriState.html","name":"TriState","kind":"enum","signature":"public enum TriState","summary":"An utility value with three states, TRUE, FALSE, and UNDEFINED.","details":"TriState is preferable to using a Boolean value with Boolean.TRUE, Boolean.FALSE and null, because Boolean has a public constructor which requires the use of Boolean.equals(Object) to compare the values. The comparison with Boolean.equals(Object) is too slow."}
{"symbol":"com.oracle.truffle.api.utilities.TriState.values()","href":"com/oracle/truffle/api/utilities/TriState.html#values()","name":"values","kind":"method","signature":"public static TriState[] values()","summary":"Returns the enum constants in declaration order.","returns":{"type":"TriState[]","doc":"Returns the enum constants in declaration order."}}
{"symbol":"com.oracle.truffle.api.utilities.TriState.valueOf(String)","href":"com/oracle/truffle/api/utilities/TriState.html#valueOf(java.lang.String)","name":"valueOf","kind":"method","signature":"public static TriState valueOf(String name)","summary":"Returns the enum constant with the given name.","params":[{"name":"name","type":"String","doc":"The exact name of the enum constant."}],"returns":{"type":"TriState","doc":"Returns the enum constant with the given name."}}
{"symbol":"com.oracle.truffle.api.utilities.TriState.TRUE","href":"com/oracle/truffle/api/utilities/TriState.html#TRUE","name":"TRUE","kind":"enumConstant","signature":"TRUE","summary":"The state is true.","details":"Similar to Boolean.TRUE."}
{"symbol":"com.oracle.truffle.api.utilities.TriState.FALSE","href":"com/oracle/truffle/api/utilities/TriState.html#FALSE","name":"FALSE","kind":"enumConstant","signature":"FALSE","summary":"The state is false.","details":"Similar to Boolean.FALSE."}
{"symbol":"com.oracle.truffle.api.utilities.TriState.UNDEFINED","href":"com/oracle/truffle/api/utilities/TriState.html#UNDEFINED","name":"UNDEFINED","kind":"enumConstant","signature":"UNDEFINED","summary":"The state is undefined.","details":"Similar to null."}
{"symbol":"com.oracle.truffle.api.utilities.TriState.valueOf(boolean)","href":"com/oracle/truffle/api/utilities/TriState.html#valueOf(boolean)","name":"valueOf","kind":"method","signature":"public static TriState valueOf(boolean b)","summary":"Create a TriState from a primitive boolean.","params":[{"name":"b","type":"boolean"}],"returns":{"type":"TriState"}}
{"symbol":"com.oracle.truffle.api.utilities.TriState.valueOf(Boolean)","href":"com/oracle/truffle/api/utilities/TriState.html#valueOf(java.lang.Boolean)","name":"valueOf","kind":"method","signature":"public static TriState valueOf(Boolean b)","summary":"Create a TriState from a boxed Boolean explicitely checking for null and returning UNDEFINED.","params":[{"name":"b","type":"Boolean"}],"returns":{"type":"TriState"}}
{"symbol":"com.oracle.truffle.api.utilities.TruffleWeakReference","href":"com/oracle/truffle/api/utilities/TruffleWeakReference.html","name":"TruffleWeakReference","kind":"class","signature":"public final class TruffleWeakReference<T> extends WeakReference<T>","summary":"Creates a new weak reference that is safe to be used in compiled code paths.","detailsOmitted":true}
{"symbol":"com.oracle.truffle.api.utilities.TruffleWeakReference(T)","href":"com/oracle/truffle/api/utilities/TruffleWeakReference.html#%3Cinit%3E(T)","name":"TruffleWeakReference","kind":"constructor","signature":"public TruffleWeakReference(T t)","summary":"Creates a new Truffle weak reference that refers to the given object.","details":"The new reference is not registered with any queue.","params":[{"name":"t","type":"T"}]}
{"symbol":"com.oracle.truffle.api.utilities.TruffleWeakReference(T, ReferenceQueue)","href":"com/oracle/truffle/api/utilities/TruffleWeakReference.html#%3Cinit%3E(T,java.lang.ref.ReferenceQueue)","name":"TruffleWeakReference","kind":"constructor","signature":"public TruffleWeakReference(T referent, ReferenceQueue<? super T> q)","summary":"Creates a new Truffle weak reference that refers to the given object and is registered with the given queue.","params":[{"name":"referent","type":"T"},{"name":"q","type":"ReferenceQueue<? super T>"}]}
