com.oracle.graal.python.builtins.modules.FaulthandlerModuleBuiltinsClinicProviders Maven / Gradle / Ivy
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.232367872
package com.oracle.graal.python.builtins.modules;
import com.oracle.graal.python.builtins.objects.PNone;
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.DefaultValueNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.JavaBooleanConverterNode;
public class FaulthandlerModuleBuiltinsClinicProviders {
public static final class DumpTracebackNodeClinicProviderGen extends ArgumentClinicProvider {
public static final DumpTracebackNodeClinicProviderGen INSTANCE = new DumpTracebackNodeClinicProviderGen();
private DumpTracebackNodeClinicProviderGen() {
super(0x3, 0x1, 0x1, 0x1, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return DefaultValueNode.create(PNone.NO_VALUE, false);
case 1: return JavaBooleanConverterNode.create(false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy