com.oracle.graal.python.builtins.modules.FcntlModuleBuiltinsClinicProviders Maven / Gradle / Ivy
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.242164567
package com.oracle.graal.python.builtins.modules;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.FileDescriptorConversionNode;
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.JavaIntConversionNode;
public class FcntlModuleBuiltinsClinicProviders {
public static final class FlockNodeClinicProviderGen extends ArgumentClinicProvider {
public static final FlockNodeClinicProviderGen INSTANCE = new FlockNodeClinicProviderGen();
private FlockNodeClinicProviderGen() {
super(0x0, 0x3, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return FileDescriptorConversionNode.create();
case 1: return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy