Index

A B C D E F G H I L M N O P R S T U 
All Classes and Interfaces|All Packages

A

accept(ResultVerifier.SnippetRun) - Method in interface org.graalvm.polyglot.tck.ResultVerifier
Performs a verification of a result of a snippet execution.
additionalOptions() - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Allows language providers to provide language options during the creation of the test context.
ANY - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents all types.
array(TypeDescriptor) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new array type with given component type.
ARRAY - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents an array with any content type.

B

BOOLEAN - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a boolean type.
build() - Method in class org.graalvm.polyglot.tck.InlineSnippet.Builder
Creates a new InlineSnippet configured by this InlineSnippet.Builder.
build() - Method in class org.graalvm.polyglot.tck.Snippet.Builder
Creates a new Snippet configured by this Snippet.Builder.

C

create(Snippet, List<? extends Value>, PolyglotException) - Static method in class org.graalvm.polyglot.tck.ResultVerifier.SnippetRun
Creates a new ResultVerifier.SnippetRun for failed execution.
create(Snippet, List<? extends Value>, Value) - Static method in class org.graalvm.polyglot.tck.ResultVerifier.SnippetRun
Creates a new ResultVerifier.SnippetRun for successful execution.
createExpressions(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a collection of functions representing language expressions to test.
createIdentityFunction(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates an identity function.
createIdentityFunctionSnippet(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a Snippet for an identity function.
createInlineScripts(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a collection of inline code snippets.
createInvalidSyntaxScripts(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a collection of scripts containing a syntax error.
createScripts(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a collection of simple scripts used for instrumentation testing.
createStatements(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a collection of functions representing language statements to test.
createValueConstructors(Context) - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Creates a collection of functions creating language data types.

D

DATE - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Type descriptor for date.
DURATION - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Type descriptor for duration.

E

equals(Object) - Method in class org.graalvm.polyglot.tck.TypeDescriptor
EXCEPTION - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Type descriptor for exception.
executable(TypeDescriptor, boolean, TypeDescriptor...) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new executable type with a given return type and parameter types.
executable(TypeDescriptor, TypeDescriptor...) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new executable type with a given return type and parameter types.
EXECUTABLE - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents an executable type returning any type and accepting any number of parameters of any type.
EXECUTABLE_ANY - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a raw executable type.

F

forValue(Value) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a type for given Value.

G

getCode() - Method in class org.graalvm.polyglot.tck.InlineSnippet
Returns an inline source code that is to be executed at specific locations, or at all statement and call locations if the predicate is null.
getDefaultResultVerifier() - Static method in interface org.graalvm.polyglot.tck.ResultVerifier
Creates a default ResultVerifier.
getException() - Method in class org.graalvm.polyglot.tck.ResultVerifier.SnippetRun
Returns the PolyglotException thrown during snippet execution.
getExecutableValue() - Method in class org.graalvm.polyglot.tck.Snippet
Returns the function executing the Snippet.
getId() - Method in interface org.graalvm.polyglot.tck.LanguageProvider
Returns an identification of a provider.
getId() - Method in class org.graalvm.polyglot.tck.Snippet
Returns the identifier of a snippet.
getIdentityFunctionDefaultResultVerifier() - Static method in interface org.graalvm.polyglot.tck.ResultVerifier
Creates a default ResultVerifier for the IdentityFunctionTest.
getLocationPredicate() - Method in class org.graalvm.polyglot.tck.InlineSnippet
Returns a testing predicate for locations at which source code is executed.
getParameters() - Method in class org.graalvm.polyglot.tck.ResultVerifier.SnippetRun
Returns the actual parameters of a snippet execution.
getParameterTypes() - Method in class org.graalvm.polyglot.tck.Snippet
Returns the types of Snippet formal parameters.
getResult() - Method in class org.graalvm.polyglot.tck.ResultVerifier.SnippetRun
Returns the result of a snippet execution.
getResultVerifier() - Method in class org.graalvm.polyglot.tck.InlineSnippet
Returns the ResultVerifier to verify the result of source code execution.
getResultVerifier() - Method in class org.graalvm.polyglot.tck.Snippet
Returns the ResultVerifier to verify the execution result.
getReturnType() - Method in class org.graalvm.polyglot.tck.Snippet
Returns the Snippet return type.
getScript() - Method in class org.graalvm.polyglot.tck.InlineSnippet
Returns a script to be executed.

H

hash(TypeDescriptor, TypeDescriptor) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new hash map type with given key type and value type.
HASH - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a hash map with any key type and any value type.
hashCode() - Method in class org.graalvm.polyglot.tck.TypeDescriptor
HOST_OBJECT - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a host object.

I

InlineSnippet - Class in org.graalvm.polyglot.tck
The unit of execution with an inline source.
InlineSnippet.Builder - Class in org.graalvm.polyglot.tck
The builder of an InlineSnippet.
instantiable(TypeDescriptor, boolean, TypeDescriptor...) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new instantiable type with a given parameter types.
INSTANTIABLE - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents an instantiable type accepting any number of parameters of any type.
INSTANTIABLE_ANY - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a raw instantiable type.
intersection(TypeDescriptor...) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new intersection type.
isAssignable(TypeDescriptor) - Method in class org.graalvm.polyglot.tck.TypeDescriptor
Checks if the given type is assignable to this type.
isIntersection() - Method in class org.graalvm.polyglot.tck.TypeDescriptor
Checks if this TypeDescriptor represent an intersection type.
isUnion() - Method in class org.graalvm.polyglot.tck.TypeDescriptor
Checks if this TypeDescriptor represent an union type.
iterable(TypeDescriptor) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new iterable type with given component type.
ITERABLE - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents an iterable with any content type.
iterator(TypeDescriptor) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new iterator type with given component type.
ITERATOR - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents an iterator with any content type.

L

LanguageProvider - Interface in org.graalvm.polyglot.tck
The LanguageProvider provides factory methods for language data types, expressions, statements and scripts used for testing language inter-operability.
locationPredicate(Predicate<SourceSection>) - Method in class org.graalvm.polyglot.tck.InlineSnippet.Builder
Sets a testing predicate for locations at which the source is executed.

M

META_OBJECT - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Type descriptor for metaobjects.

N

NATIVE_POINTER - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a native pointer.
newBuilder(String, Value, TypeDescriptor) - Static method in class org.graalvm.polyglot.tck.Snippet
Creates a new Snippet builder object.
newBuilder(Snippet, CharSequence) - Static method in class org.graalvm.polyglot.tck.InlineSnippet
Creates a new InlineSnippet builder object.
NULL - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
The NULL type represents a type of null or undefined value.
NUMBER - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a numeric type.

O

OBJECT - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents an object created by a guest language.
org.graalvm.polyglot.tck - package org.graalvm.polyglot.tck
Provide an implementation of the LanguageProvider to test language inter-operability.

P

parameterTypes(TypeDescriptor...) - Method in class org.graalvm.polyglot.tck.Snippet.Builder
Sets the Snippet formal parameter types.

R

resultVerifier(ResultVerifier) - Method in class org.graalvm.polyglot.tck.InlineSnippet.Builder
Sets a custom verifier of a result of the inline source execution.
resultVerifier(ResultVerifier) - Method in class org.graalvm.polyglot.tck.Snippet.Builder
Sets a custom verifier of a result of the Snippet execution.
ResultVerifier - Interface in org.graalvm.polyglot.tck
Allows a custom verification of a result of a snippet execution.
ResultVerifier.SnippetRun - Class in org.graalvm.polyglot.tck
Provides the test execution data.

S

Snippet - Class in org.graalvm.polyglot.tck
The unit of execution with assigned parameters and result types.
Snippet.Builder - Class in org.graalvm.polyglot.tck
The builder of a Snippet.
STRING - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Represents a string type.
subtract(TypeDescriptor) - Method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new type by removing the given type from this type.

T

TIME - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Type descriptor for time.
TIME_ZONE - Static variable in class org.graalvm.polyglot.tck.TypeDescriptor
Type descriptor for time zone.
toString() - Method in class org.graalvm.polyglot.tck.InlineSnippet
toString() - Method in class org.graalvm.polyglot.tck.Snippet
toString() - Method in class org.graalvm.polyglot.tck.TypeDescriptor
TypeDescriptor - Class in org.graalvm.polyglot.tck
Represents a type of a polyglot value.

U

union(TypeDescriptor...) - Static method in class org.graalvm.polyglot.tck.TypeDescriptor
Creates a new union type.
A B C D E F G H I L M N O P R S T U 
All Classes and Interfaces|All Packages