public class com.oracle.graal.python.tck.PythonProvider implements org.graalvm.polyglot.tck.LanguageProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.graal.python.tck.PythonProvider
super_class: java.lang.Object
{
private static final java.lang.String ID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "python"
private static final org.graalvm.polyglot.tck.TypeDescriptor PNUMBER;
descriptor: Lorg/graalvm/polyglot/tck/TypeDescriptor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.polyglot.tck.TypeDescriptor NUMBER_OBJECT;
descriptor: Lorg/graalvm/polyglot/tck/TypeDescriptor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.polyglot.tck.TypeDescriptor PSEQUENCE_OBJECT;
descriptor: Lorg/graalvm/polyglot/tck/TypeDescriptor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.polyglot.tck.TypeDescriptor PYTHON_TYPE;
descriptor: Lorg/graalvm/polyglot/tck/TypeDescriptor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.union:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
putstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
1: iconst_4
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_2
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_3
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.union:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
putstatic com.oracle.graal.python.tck.PythonProvider.NUMBER_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
2: iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.union:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
putstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
3: iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.INSTANTIABLE:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.union:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
putstatic com.oracle.graal.python.tck.PythonProvider.PYTHON_TYPE:Lorg/graalvm/polyglot/tck/TypeDescriptor;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/graal/python/tck/PythonProvider;
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "python"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/graal/python/tck/PythonProvider;
public org.graalvm.polyglot.Value createIdentityFunction(org.graalvm.polyglot.Context);
descriptor: (Lorg/graalvm/polyglot/Context;)Lorg/graalvm/polyglot/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "python"
ldc "lambda x: x"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/graal/python/tck/PythonProvider;
0 1 1 context Lorg/graalvm/polyglot/Context;
MethodParameters:
Name Flags
context
private static void addValueSnippet(org.graalvm.polyglot.Context, java.util.List<org.graalvm.polyglot.tck.Snippet>, java.lang.String, org.graalvm.polyglot.tck.TypeDescriptor, java.lang.String);
descriptor: (Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
aload 0
ldc "python"
aload 4
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
aload 3
invokestatic org.graalvm.polyglot.tck.Snippet.newBuilder:(Ljava/lang/String;Lorg/graalvm/polyglot/Value;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.build:()Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/graalvm/polyglot/Context;
0 2 1 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
0 2 2 id Ljava/lang/String;
0 2 3 returnType Lorg/graalvm/polyglot/tck/TypeDescriptor;
0 2 4 code Ljava/lang/String;
Signature: (Lorg/graalvm/polyglot/Context;Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
MethodParameters:
Name Flags
context
snippets
id
returnType
code
private static void addExpressionSnippet(org.graalvm.polyglot.Context, java.util.List<org.graalvm.polyglot.tck.Snippet>, java.lang.String, java.lang.String, org.graalvm.polyglot.tck.TypeDescriptor, org.graalvm.polyglot.tck.TypeDescriptor[]);
descriptor: (Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 2
aload 0
ldc "python"
aload 3
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
aload 4
invokestatic org.graalvm.polyglot.tck.Snippet.newBuilder:(Ljava/lang/String;Lorg/graalvm/polyglot/Value;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
aload 5
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.parameterTypes:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.build:()Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/graalvm/polyglot/Context;
0 2 1 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
0 2 2 id Ljava/lang/String;
0 2 3 code Ljava/lang/String;
0 2 4 returnType Lorg/graalvm/polyglot/tck/TypeDescriptor;
0 2 5 parameterTypes [Lorg/graalvm/polyglot/tck/TypeDescriptor;
Signature: (Lorg/graalvm/polyglot/Context;Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
MethodParameters:
Name Flags
context
snippets
id
code
returnType
parameterTypes
private static void addExpressionSnippet(org.graalvm.polyglot.Context, java.util.List<org.graalvm.polyglot.tck.Snippet>, java.lang.String, java.lang.String, org.graalvm.polyglot.tck.TypeDescriptor, org.graalvm.polyglot.tck.ResultVerifier, org.graalvm.polyglot.tck.TypeDescriptor[]);
descriptor: (Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
aload 2
aload 0
ldc "python"
aload 3
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
aload 4
invokestatic org.graalvm.polyglot.tck.Snippet.newBuilder:(Ljava/lang/String;Lorg/graalvm/polyglot/Value;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
aload 5
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.resultVerifier:(Lorg/graalvm/polyglot/tck/ResultVerifier;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
aload 6
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.parameterTypes:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.build:()Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/graalvm/polyglot/Context;
0 2 1 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
0 2 2 id Ljava/lang/String;
0 2 3 code Ljava/lang/String;
0 2 4 returnType Lorg/graalvm/polyglot/tck/TypeDescriptor;
0 2 5 rv Lorg/graalvm/polyglot/tck/ResultVerifier;
0 2 6 parameterTypes [Lorg/graalvm/polyglot/tck/TypeDescriptor;
Signature: (Lorg/graalvm/polyglot/Context;Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
MethodParameters:
Name Flags
context
snippets
id
code
returnType
rv
parameterTypes
private static void addStatementSnippet(org.graalvm.polyglot.Context, java.util.List<org.graalvm.polyglot.tck.Snippet>, java.lang.String, java.lang.String, org.graalvm.polyglot.tck.TypeDescriptor, org.graalvm.polyglot.tck.TypeDescriptor[]);
descriptor: (Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 2
aload 0
ldc "python"
aload 3
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
aload 4
invokestatic org.graalvm.polyglot.tck.Snippet.newBuilder:(Ljava/lang/String;Lorg/graalvm/polyglot/Value;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
aload 5
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.parameterTypes:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.build:()Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/graalvm/polyglot/Context;
0 2 1 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
0 2 2 id Ljava/lang/String;
0 2 3 code Ljava/lang/String;
0 2 4 returnType Lorg/graalvm/polyglot/tck/TypeDescriptor;
0 2 5 parameterTypes [Lorg/graalvm/polyglot/tck/TypeDescriptor;
Signature: (Lorg/graalvm/polyglot/Context;Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
MethodParameters:
Name Flags
context
snippets
id
code
returnType
parameterTypes
public java.util.Collection<? extends org.graalvm.polyglot.tck.Snippet> createValueConstructors(org.graalvm.polyglot.Context);
descriptor: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.intersection:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
astore 3
start local 3 2: bipush 10
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
aload 3
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NULL:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_2
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_3
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_4
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_5
getstatic org.graalvm.polyglot.tck.TypeDescriptor.HOST_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
bipush 6
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NATIVE_POINTER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
bipush 7
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
bipush 8
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ARRAY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
bipush 9
getstatic org.graalvm.polyglot.tck.TypeDescriptor.EXECUTABLE:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.intersection:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
astore 4
start local 4 3: aload 1
aload 2
ldc "BooleanType:True"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: True"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
4: aload 1
aload 2
ldc "BooleanType:False"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: False"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
5: aload 1
aload 2
ldc "NoneType"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NULL:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: None"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
6: aload 1
aload 2
ldc "IntType"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: 1"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
7: aload 1
aload 2
ldc "FloatType"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: 1.1"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
8: aload 1
aload 2
ldc "ComplexType"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: 1.0j"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
9: aload 1
aload 2
ldc "StringType"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: 'spam'"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
10: aload 1
aload 2
ldc "TupleType:Empty"
aload 4
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: ()"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
11: aload 1
aload 2
ldc "TupleType:Number"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: (1, 2.1)"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
12: aload 1
aload 2
ldc "TupleType:String"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: ('foo', 'bar')"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
13: aload 1
aload 2
ldc "TupleType:Mixed"
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.union:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: ('foo', 1)"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
14: aload 1
aload 2
ldc "ListType:Empty"
aload 4
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: []"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
15: aload 1
aload 2
ldc "ListType:Number"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: [1, 2.1]"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
16: aload 1
aload 2
ldc "ListType:String"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: ['foo', 'bar']"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
17: aload 1
aload 2
ldc "ListType:Mixed"
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.STRING:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.union:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: ['foo', 1]"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
18: aload 1
aload 2
ldc "DictType:Empty"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: {}"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
19: aload 1
aload 2
ldc "DictType:KeyString"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: {'Bacon':1, 'Ham': 0}"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
20: aload 1
aload 2
ldc "DictType:KeyNumber"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: {1: 'Bacon', 0: 'Ham'}"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
21: aload 1
aload 2
ldc "LambdaType:Id"
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.executable:(Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.intersection:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: lambda x, *args: x"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
22: aload 1
aload 2
ldc "LambdaType:+1"
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.executable:(Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.intersection:([Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
ldc "lambda: lambda x, *args: x + 1"
invokestatic com.oracle.graal.python.tck.PythonProvider.addValueSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Ljava/lang/String;)V
23: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/oracle/graal/python/tck/PythonProvider;
0 24 1 context Lorg/graalvm/polyglot/Context;
1 24 2 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
2 24 3 noType Lorg/graalvm/polyglot/tck/TypeDescriptor;
3 24 4 allTypes Lorg/graalvm/polyglot/tck/TypeDescriptor;
Signature: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection<+Lorg/graalvm/polyglot/tck/Snippet;>;
MethodParameters:
Name Flags
context
public java.util.Collection<? extends org.graalvm.polyglot.tck.Snippet> createExpressions(org.graalvm.polyglot.Context);
descriptor: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
aload 2
ldc "+"
ldc "lambda x, y: x + y"
getstatic com.oracle.graal.python.tck.PythonProvider.NUMBER_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
2: aload 1
aload 2
ldc "+"
ldc "lambda x, y: x + y"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
getstatic com.oracle.graal.python.tck.PythonProvider$PNoListCoercionVerifier.INSTANCE:Lcom/oracle/graal/python/tck/PythonProvider$PNoListCoercionVerifier;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
3: aload 1
aload 2
ldc "-"
ldc "lambda x, y: x - y"
getstatic com.oracle.graal.python.tck.PythonProvider.NUMBER_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
4: aload 1
aload 2
ldc "*"
ldc "lambda x, y: x * y"
getstatic com.oracle.graal.python.tck.PythonProvider.NUMBER_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
getstatic com.oracle.graal.python.tck.PythonProvider$PNoArrayVerifier.INSTANCE:Lcom/oracle/graal/python/tck/PythonProvider$PNoArrayVerifier;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
5: aload 1
aload 2
ldc "*"
ldc "lambda x, y: x * y"
getstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
getstatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.INSTANCE:Lcom/oracle/graal/python/tck/PythonProvider$PSequenceMultiplicationVerifier;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
6: aload 1
aload 2
ldc "*"
ldc "lambda x, y: x * y"
getstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
getstatic com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier.INSTANCE:Lcom/oracle/graal/python/tck/PythonProvider$PSequenceMultiplicationVerifier;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
7: aload 1
aload 2
ldc "/"
ldc "lambda x, y: x / y"
getstatic com.oracle.graal.python.tck.PythonProvider.NUMBER_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
getstatic com.oracle.graal.python.tck.PythonProvider$PDivByZeroVerifier.INSTANCE:Lcom/oracle/graal/python/tck/PythonProvider$PDivByZeroVerifier;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
8: aload 1
aload 2
ldc ">"
ldc "lambda x, y: x > y"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
9: aload 1
aload 2
ldc ">="
ldc "lambda x, y: x > y"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
10: aload 1
aload 2
ldc "<"
ldc "lambda x, y: x > y"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
11: aload 1
aload 2
ldc "<="
ldc "lambda x, y: x > y"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_2
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
dup
iconst_1
getstatic com.oracle.graal.python.tck.PythonProvider.PNUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
12: aload 1
aload 2
ldc "dict"
ldc "lambda: { 'x': 4 }"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
13: aload 1
aload 2
ldc "dict"
ldc "lambda: { 'a': 1, 'b': 2, 'c': 3 }"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
new com.oracle.graal.python.tck.PythonProvider$PDictMemberVerifier
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "get"
aastore
dup
iconst_1
ldc "keys"
aastore
dup
iconst_2
ldc "update"
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.arr:([Ljava/lang/String;)[Ljava/lang/String;
iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "a"
aastore
dup
iconst_1
ldc "b"
aastore
dup
iconst_2
ldc "c"
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.arr:([Ljava/lang/String;)[Ljava/lang/String;
invokespecial com.oracle.graal.python.tck.PythonProvider$PDictMemberVerifier.<init>:([Ljava/lang/String;[Ljava/lang/String;)V
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
invokestatic com.oracle.graal.python.tck.PythonProvider.addExpressionSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;Lorg/graalvm/polyglot/tck/ResultVerifier;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
14: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/graal/python/tck/PythonProvider;
0 15 1 context Lorg/graalvm/polyglot/Context;
1 15 2 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
Signature: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection<+Lorg/graalvm/polyglot/tck/Snippet;>;
MethodParameters:
Name Flags
context
public java.util.Collection<? extends org.graalvm.polyglot.tck.Snippet> createStatements(org.graalvm.polyglot.Context);
descriptor: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
aload 2
ldc "assert"
ldc "def gen_assert(v):\n assert v or not v\n\ngen_assert"
2: getstatic org.graalvm.polyglot.tck.TypeDescriptor.NULL:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
3: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
4: aload 1
aload 2
ldc "pass"
ldc "def gen_pass():\n pass\n\ngen_pass"
5: getstatic org.graalvm.polyglot.tck.TypeDescriptor.NULL:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
6: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
7: aload 1
aload 2
ldc "return"
ldc "def gen_return(x):\n return x\n\ngen_return"
8: getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
9: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
10: aload 1
aload 2
ldc "yield"
ldc "def gen_yield0(last):\n def gen(last):\n yield True\n yield False\n yield last\n return None\n obj = gen(last)\n return [next(gen(last)), next(obj), next(obj), next(obj)]\ngen_yield0"
11: getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
12: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
13: aload 1
aload 2
ldc "if"
ldc "lambda p: True if p else False\n\n"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
14: aload 1
aload 2
ldc "for"
ldc "def gen_for(l):\n for x in l:\n return x\n\ngen_for"
15: getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
16: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
17: aload 1
aload 2
ldc "for"
ldc "def gen_for(l):\n first = None\n for x in l:\n first = x\n break\n return first\n\ngen_for"
18: getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic com.oracle.graal.python.tck.PythonProvider.PSEQUENCE_OBJECT:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
19: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
20: aload 1
aload 2
ldc "while"
ldc "def gen_while(l):\n cnt = 0\n while l:\n cnt = cnt + 1\n break\n return cnt\n\ngen_while"
21: getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
22: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
23: aload 1
aload 2
ldc "try-finally"
ldc "def gen_tryfinally():\n try:\n raise BaseException()\n return None\n finally:\n return True\ngen_tryfinally"
24: getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
25: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
26: aload 1
aload 2
ldc "try-except"
ldc "def gen_tryexcept():\n class CustomException(BaseException):\n def __init__():\n super('custom error message')\n try:\n raise CustomException()\n return None\n except BaseException as e:\n return str(e) == 'custom error message'\ngen_tryexcept"
27: getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
28: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
29: aload 1
aload 2
ldc "try-except-else"
ldc "def gen_tryexceptelse0():\n e = None\n try:\n raise BaseException()\n e = None\n except BaseException as ex:\n e = True\n else:\n e = None\n return e\ngen_tryexceptelse0"
30: getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
31: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
32: aload 1
aload 2
ldc "try-except-else"
ldc "def gen_tryexceptelse1():\n e = None\n try:\n e = None\n except BaseException as ex:\n e = None\n else:\n e = True\n return e\ngen_tryexceptelse1"
33: getstatic org.graalvm.polyglot.tck.TypeDescriptor.BOOLEAN:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_0
anewarray org.graalvm.polyglot.tck.TypeDescriptor
34: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
35: aload 1
aload 2
ldc "class"
ldc "class Custom0:\n def __init__(self, val):\n self.val = val\nCustom0"
36: getstatic com.oracle.graal.python.tck.PythonProvider.PYTHON_TYPE:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
37: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
38: aload 1
aload 2
ldc "class"
ldc "class Custom1:\n def __call__(self, val):\n return val\nCustom1()"
39: getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
iconst_1
anewarray org.graalvm.polyglot.tck.TypeDescriptor
dup
iconst_0
getstatic org.graalvm.polyglot.tck.TypeDescriptor.ANY:Lorg/graalvm/polyglot/tck/TypeDescriptor;
aastore
40: invokestatic com.oracle.graal.python.tck.PythonProvider.addStatementSnippet:(Lorg/graalvm/polyglot/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;[Lorg/graalvm/polyglot/tck/TypeDescriptor;)V
41: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lcom/oracle/graal/python/tck/PythonProvider;
0 42 1 context Lorg/graalvm/polyglot/Context;
1 42 2 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
Signature: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection<+Lorg/graalvm/polyglot/tck/Snippet;>;
MethodParameters:
Name Flags
context
public java.util.Collection<? extends org.graalvm.polyglot.tck.Snippet> createScripts(org.graalvm.polyglot.Context);
descriptor: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
ldc "resources/sieve.py"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic org.graalvm.polyglot.tck.TypeDescriptor.array:(Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic com.oracle.graal.python.tck.PythonProvider.loadScript:(Lorg/graalvm/polyglot/Context;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 2
aload 1
ldc "resources/euler31.py"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NUMBER:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic com.oracle.graal.python.tck.PythonProvider.loadScript:(Lorg/graalvm/polyglot/Context;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 2
aload 1
ldc "resources/mandelbrot3.py"
getstatic org.graalvm.polyglot.tck.TypeDescriptor.NULL:Lorg/graalvm/polyglot/tck/TypeDescriptor;
invokestatic com.oracle.graal.python.tck.PythonProvider.loadScript:(Lorg/graalvm/polyglot/Context;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/graal/python/tck/PythonProvider;
0 5 1 context Lorg/graalvm/polyglot/Context;
1 5 2 snippets Ljava/util/List<Lorg/graalvm/polyglot/tck/Snippet;>;
Signature: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection<+Lorg/graalvm/polyglot/tck/Snippet;>;
MethodParameters:
Name Flags
context
public java.util.Collection<? extends org.graalvm.polyglot.Source> createInvalidSyntaxScripts(org.graalvm.polyglot.Context);
descriptor: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_2
anewarray org.graalvm.polyglot.Source
dup
iconst_0
ldc "resources/invalid_syntax0.py"
invokestatic com.oracle.graal.python.tck.PythonProvider.createSource:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
aastore
dup
iconst_1
1: ldc "resources/invalid_syntax1.py"
invokestatic com.oracle.graal.python.tck.PythonProvider.createSource:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
aastore
2: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
3: areturn
4: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 5: new java.lang.AssertionError
dup
ldc "IOException while creating a test script."
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/graal/python/tck/PythonProvider;
0 6 1 context Lorg/graalvm/polyglot/Context;
5 6 2 e Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
Signature: (Lorg/graalvm/polyglot/Context;)Ljava/util/Collection<+Lorg/graalvm/polyglot/Source;>;
MethodParameters:
Name Flags
context
private static org.graalvm.polyglot.tck.Snippet loadScript(org.graalvm.polyglot.Context, java.lang.String, org.graalvm.polyglot.tck.TypeDescriptor);
descriptor: (Lorg/graalvm/polyglot/Context;Ljava/lang/String;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.graal.python.tck.PythonProvider.createSource:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.polyglot.Source.getName:()Ljava/lang/String;
aload 0
aload 3
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
aload 2
invokestatic org.graalvm.polyglot.tck.Snippet.newBuilder:(Ljava/lang/String;Lorg/graalvm/polyglot/Value;Lorg/graalvm/polyglot/tck/TypeDescriptor;)Lorg/graalvm/polyglot/tck/Snippet$Builder;
invokevirtual org.graalvm.polyglot.tck.Snippet$Builder.build:()Lorg/graalvm/polyglot/tck/Snippet;
2: areturn
end local 3 3: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 4: new java.lang.AssertionError
dup
ldc "IOException while creating a test script."
aload 3
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 context Lorg/graalvm/polyglot/Context;
0 5 1 resourceName Ljava/lang/String;
0 5 2 resultType Lorg/graalvm/polyglot/tck/TypeDescriptor;
1 3 3 src Lorg/graalvm/polyglot/Source;
4 5 3 ioe Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
MethodParameters:
Name Flags
context
resourceName
resultType
private static org.graalvm.polyglot.Source createSource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: iload 1
iflt 2
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: java.lang.String
3: astore 2
start local 2 4: new java.io.InputStreamReader
dup
ldc Lcom/oracle/graal/python/tck/PythonProvider;
aload 0
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 3
start local 3 5: ldc "python"
aload 3
aload 2
invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/io/Reader;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
invokevirtual org.graalvm.polyglot.Source$Builder.build:()Lorg/graalvm/polyglot/Source;
astore 5
6: aload 3
ifnull 8
7: aload 3
invokevirtual java.io.Reader.close:()V
8: StackMap locals: java.lang.String int java.lang.String java.io.Reader top org.graalvm.polyglot.Source
StackMap stack:
aload 5
areturn
9: StackMap locals: java.lang.String int java.lang.String java.io.Reader
StackMap stack: java.lang.Throwable
astore 4
10: aload 3
ifnull 12
11: aload 3
invokevirtual java.io.Reader.close:()V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 resourceName Ljava/lang/String;
1 13 1 slashIndex I
4 13 2 scriptName Ljava/lang/String;
5 13 3 in Ljava/io/Reader;
Exception table:
from to target type
5 6 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resourceName
private static java.lang.String[] arr(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/lang/String;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 strings [Ljava/lang/String;
MethodParameters:
Name Flags
strings
}
SourceFile: "PythonProvider.java"
NestMembers:
com.oracle.graal.python.tck.PythonProvider$PDictMemberVerifier com.oracle.graal.python.tck.PythonProvider$PDivByZeroVerifier com.oracle.graal.python.tck.PythonProvider$PNoArrayVerifier com.oracle.graal.python.tck.PythonProvider$PNoListCoercionVerifier com.oracle.graal.python.tck.PythonProvider$PResultVerifier com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier
InnerClasses:
private PDictMemberVerifier = com.oracle.graal.python.tck.PythonProvider$PDictMemberVerifier of com.oracle.graal.python.tck.PythonProvider
private PDivByZeroVerifier = com.oracle.graal.python.tck.PythonProvider$PDivByZeroVerifier of com.oracle.graal.python.tck.PythonProvider
private PNoArrayVerifier = com.oracle.graal.python.tck.PythonProvider$PNoArrayVerifier of com.oracle.graal.python.tck.PythonProvider
private PNoListCoercionVerifier = com.oracle.graal.python.tck.PythonProvider$PNoListCoercionVerifier of com.oracle.graal.python.tck.PythonProvider
private abstract PResultVerifier = com.oracle.graal.python.tck.PythonProvider$PResultVerifier of com.oracle.graal.python.tck.PythonProvider
private PSequenceMultiplicationVerifier = com.oracle.graal.python.tck.PythonProvider$PSequenceMultiplicationVerifier of com.oracle.graal.python.tck.PythonProvider
public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source
public final Builder = org.graalvm.polyglot.tck.Snippet$Builder of org.graalvm.polyglot.tck.Snippet