com.oracle.graal.python.builtins.modules.ArrayModuleBuiltinsClinicProviders Maven / Gradle / Ivy
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.299311697
package com.oracle.graal.python.builtins.modules;
import com.oracle.graal.python.nodes.function.PythonBuiltinBaseNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.ArgumentCastNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.ArgumentClinicProvider;
import com.oracle.graal.python.nodes.function.builtins.clinic.IndexConversionNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.TruffleStringConverterNode;
public class ArrayModuleBuiltinsClinicProviders {
public static final class ArrayReconstructorNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ArrayReconstructorNodeClinicProviderGen INSTANCE = new ArrayReconstructorNodeClinicProviderGen();
private ArrayReconstructorNodeClinicProviderGen() {
super(0x9, 0xd, 0x9, 0x9, 0x6);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 1: return TruffleStringConverterNode.create("_array_reconstructor");
case 2: return IndexConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy