All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.graal.python.builtins.modules.SysModuleBuiltinsClinicProviders Maven / Gradle / Ivy

There is a newer version: 24.1.1
Show newest version
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.259644821
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.JavaIntConversionNode;

public class SysModuleBuiltinsClinicProviders {
    public static final class GetFrameNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final GetFrameNodeClinicProviderGen INSTANCE = new GetFrameNodeClinicProviderGen();
        
        private GetFrameNodeClinicProviderGen() {
            super(0x0, 0x1, 0x0, 0x0, 0x1);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            if (argIndex == 0) {
                return JavaIntConversionNode.create(0, false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class SetDlopenFlagsClinicProviderGen extends ArgumentClinicProvider {
        public static final SetDlopenFlagsClinicProviderGen INSTANCE = new SetDlopenFlagsClinicProviderGen();
        
        private SetDlopenFlagsClinicProviderGen() {
            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 SetIntMaxStrDigitsClinicProviderGen extends ArgumentClinicProvider {
        public static final SetIntMaxStrDigitsClinicProviderGen INSTANCE = new SetIntMaxStrDigitsClinicProviderGen();
        
        private SetIntMaxStrDigitsClinicProviderGen() {
            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);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy