com.oracle.graal.python.builtins.modules.SSLModuleBuiltinsClinicProviders Maven / Gradle / Ivy
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.279271498
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.JavaBooleanConverterNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.TruffleStringConverterNode;
public class SSLModuleBuiltinsClinicProviders {
public static final class EnumCertificatesNodeClinicProviderGen extends ArgumentClinicProvider {
public static final EnumCertificatesNodeClinicProviderGen INSTANCE = new EnumCertificatesNodeClinicProviderGen();
private EnumCertificatesNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return TruffleStringConverterNode.create("enum_certificates");
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class Txt2ObjNodeClinicProviderGen extends ArgumentClinicProvider {
public static final Txt2ObjNodeClinicProviderGen INSTANCE = new Txt2ObjNodeClinicProviderGen();
private Txt2ObjNodeClinicProviderGen() {
super(0x2, 0x0, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return TruffleStringConverterNode.create("txt2obj");
case 1: return JavaBooleanConverterNode.create(false, false);
}
return super.createCastNode(argIndex, builtin);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy