com.oracle.graal.python.builtins.modules.SignalModuleBuiltinsClinicProviders Maven / Gradle / Ivy
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.214363881
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.JavaIntConversionNode;
public class SignalModuleBuiltinsClinicProviders {
public static final class SetitimerNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SetitimerNodeClinicProviderGen INSTANCE = new SetitimerNodeClinicProviderGen();
private SetitimerNodeClinicProviderGen() {
super(0xd, 0xf, 0xd, 0xd, 0x2);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 1) {
return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetitimerNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetitimerNodeClinicProviderGen INSTANCE = new GetitimerNodeClinicProviderGen();
private GetitimerNodeClinicProviderGen() {
super(0x1, 0x3, 0x1, 0x1, 0x2);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 1) {
return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetSignalNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetSignalNodeClinicProviderGen INSTANCE = new GetSignalNodeClinicProviderGen();
private GetSignalNodeClinicProviderGen() {
super(0x0, 0x1, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return IndexConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class RaiseSignalNodeClinicProviderGen extends ArgumentClinicProvider {
public static final RaiseSignalNodeClinicProviderGen INSTANCE = new RaiseSignalNodeClinicProviderGen();
private RaiseSignalNodeClinicProviderGen() {
super(0x0, 0x1, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class AlarmNodeClinicProviderGen extends ArgumentClinicProvider {
public static final AlarmNodeClinicProviderGen INSTANCE = new AlarmNodeClinicProviderGen();
private AlarmNodeClinicProviderGen() {
super(0x1, 0x3, 0x1, 0x1, 0x2);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 1) {
return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy