Index
A
accept(ResultVerifier.SnippetRun)method in ResultVerifier Performs a verification of a result of a snippet execution.additionalOptions()method in LanguageProvider Allows language providers to provide language options during the creation of the test context.ALLfield in TypeDescriptor Represents all types.ANYfield in TypeDescriptor Represents any type.ARRAYfield in TypeDescriptor Represents an array with any content type.array(TypeDescriptor)method in TypeDescriptor Creates a new array type with given component type.
B
BOOLEANfield in TypeDescriptor Represents a boolean type.build()method in InlineSnippet.Builder Creates a newInlineSnippetconfigured by thisBuilder.build()method in Snippet.Builder Creates a newSnippetconfigured by thisBuilder.Builderclass in org.graalvm.polyglot.tck The builder of anInlineSnippet.Builderclass in org.graalvm.polyglot.tck The builder of aSnippet.
C
create(Snippet, List, PolyglotException)method in ResultVerifier.SnippetRun Creates a newSnippetRunfor failed execution.create(Snippet, List, Value)method in ResultVerifier.SnippetRun Creates a newSnippetRunfor successful execution.createExpressions(Context)method in LanguageProvider Creates a collection of functions representing language expressions to test.createIdentityFunction(Context)method in LanguageProvider Creates an identity function.createIdentityFunctionSnippet(Context)method in LanguageProvider Creates aSnippetfor an identity function.createInlineScripts(Context)method in LanguageProvider Creates a collection of inline code snippets.createInvalidSyntaxScripts(Context)method in LanguageProvider Creates a collection of scripts containing a syntax error.createScripts(Context)method in LanguageProvider Creates a collection of simple scripts used for instrumentation testing.createStatements(Context)method in LanguageProvider Creates a collection of functions representing language statements to test.createValueConstructors(Context)method in LanguageProvider Creates a collection of functions creating language data types.
D
E
equals(Object)method in TypeDescriptorEXCEPTIONfield in TypeDescriptor Type descriptor for exception.EXECUTABLEfield in TypeDescriptor Represents an executable type returning any type and accepting any number of parameters of any type.executable(TypeDescriptor, boolean, TypeDescriptor...)method in TypeDescriptor Creates a new executable type with a given return type and parameter types.executable(TypeDescriptor, TypeDescriptor...)method in TypeDescriptor Creates a new executable type with a given return type and parameter types.EXECUTABLE_ANYfield in TypeDescriptor Represents a raw executable type.
F
forValue(Value)method in TypeDescriptor Creates a type for givenValue.
G
getCode()method in InlineSnippet Returns an inline source code that is to be executed at specificlocations, or at all statement and call locations if the predicate isnull.getDefaultResultVerifier()method in ResultVerifier Creates a defaultResultVerifier.getException()method in ResultVerifier.SnippetRun Returns thePolyglotExceptionthrown during snippet execution.getExecutableValue()method in Snippet Returns the function executing theSnippet.getId()method in LanguageProvider Returns an identification of a provider.getId()method in Snippet Returns the identifier of a snippet.getIdentityFunctionDefaultResultVerifier()method in ResultVerifier Creates a defaultResultVerifierfor theIdentityFunctionTest.getLocationPredicate()method in InlineSnippet Returns a testing predicate for locations at whichsource codeis executed.getParameters()method in ResultVerifier.SnippetRun Returns the actual parameters of a snippet execution.getParameterTypes()method in Snippet Returns the types ofSnippetformal parameters.getResult()method in ResultVerifier.SnippetRun Returns the result of a snippet execution.getResultVerifier()method in InlineSnippet Returns theResultVerifierto verify the result ofsource codeexecution.getResultVerifier()method in Snippet Returns theResultVerifierto verify the execution result.getReturnType()method in Snippet Returns theSnippetreturn type.getScript()method in InlineSnippet Returns a script to be executed.
H
HASHfield in TypeDescriptor Represents a hash map with any key type and any value type.hash(TypeDescriptor, TypeDescriptor)method in TypeDescriptor Creates a new hash map type with given key type and value type.hashCode()method in TypeDescriptorHOST_OBJECTfield in TypeDescriptor Represents a host object.
I
InlineSnippetclass in org.graalvm.polyglot.tck The unit of execution with an inline source.INSTANTIABLEfield in TypeDescriptor Represents an instantiable type accepting any number of parameters of any type.instantiable(TypeDescriptor, boolean, TypeDescriptor...)method in TypeDescriptor Creates a new instantiable type with a given parameter types.INSTANTIABLE_ANYfield in TypeDescriptor Represents a raw instantiable type.intersection(TypeDescriptor...)method in TypeDescriptor Creates a new intersection type.isAssignable(TypeDescriptor)method in TypeDescriptor Checks if the given type is assignable to this type.isIntersection()method in TypeDescriptor Checks if thisTypeDescriptorrepresent an intersection type.isUnion()method in TypeDescriptor Checks if thisTypeDescriptorrepresent an union type.ITERABLEfield in TypeDescriptor Represents an iterable with any content type.iterable(TypeDescriptor)method in TypeDescriptor Creates a new iterable type with given component type.ITERATORfield in TypeDescriptor Represents an iterator with any content type.iterator(TypeDescriptor)method in TypeDescriptor Creates a new iterator type with given component type.
L
LanguageProviderinterface in org.graalvm.polyglot.tck TheLanguageProviderprovides factory methods for language data types, expressions, statements and scripts used for testing language inter-operability.locationPredicate(Predicate)method in InlineSnippet.Builder Sets a testing predicate for locations at which the source is executed.
M
META_OBJECTfield in TypeDescriptor Type descriptor for metaobjects.
N
NATIVE_POINTERfield in TypeDescriptor Represents a native pointer.newBuilder(Snippet, CharSequence)method in InlineSnippet Creates a newInlineSnippetbuilder object.newBuilder(String, Value, TypeDescriptor)method in Snippet Creates a newSnippetbuilder object.NULLfield in TypeDescriptor The NULL type represents a type of null or undefined value.NUMBERfield in TypeDescriptor Represents a numeric type.
O
OBJECTfield in TypeDescriptor Represents an object created by a guest language.
P
parameterTypes(TypeDescriptor...)method in Snippet.Builder Sets theSnippetformal parameter types.
R
ResultVerifierinterface in org.graalvm.polyglot.tck Allows a custom verification of a result of a snippet execution.resultVerifier(ResultVerifier)method in InlineSnippet.Builder Sets a custom verifier of a result of theinline sourceexecution.resultVerifier(ResultVerifier)method in Snippet.Builder Sets a custom verifier of a result of theSnippetexecution.
S
Snippetclass in org.graalvm.polyglot.tck The unit of execution with assigned parameters and result types.SnippetRunclass in org.graalvm.polyglot.tck Provides the test execution data.STRINGfield in TypeDescriptor Represents a string type.subtract(TypeDescriptor)method in TypeDescriptor Creates a new type by removing the given type from this type.
T
TIMEfield in TypeDescriptor Type descriptor for time.TIME_ZONEfield in TypeDescriptor Type descriptor for time zone.toString()method in InlineSnippettoString()method in SnippettoString()method in TypeDescriptorTypeDescriptorclass in org.graalvm.polyglot.tck Represents a type of a polyglot value.
U
union(TypeDescriptor...)method in TypeDescriptor Creates a new union type.