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