com.oracle.graal.python.builtins.modules.PosixModuleBuiltinsClinicProviders Maven / Gradle / Ivy
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.283954025
package com.oracle.graal.python.builtins.modules;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.DirFdConversionNode;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.FileDescriptorConversionNode;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.FsConverterNode;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.OffsetConversionNode;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.PathConversionNode;
import com.oracle.graal.python.builtins.modules.PosixModuleBuiltins.PidtConversionNode;
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.JavaBooleanConverterNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.JavaIntConversionNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.JavaIntToBooleanConverterNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.ReadableBufferConversionNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.TruffleStringConverterNode;
public class PosixModuleBuiltinsClinicProviders {
public static final class WifsignaledNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WifsignaledNodeClinicProviderGen INSTANCE = new WifsignaledNodeClinicProviderGen();
private WifsignaledNodeClinicProviderGen() {
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 ListdirNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ListdirNodeClinicProviderGen INSTANCE = new ListdirNodeClinicProviderGen();
private ListdirNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PathConversionNode.create("listdir", "path", true, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ReadNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ReadNodeClinicProviderGen INSTANCE = new ReadNodeClinicProviderGen();
private ReadNodeClinicProviderGen() {
super(0x0, 0x3, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return IndexConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class FtruncateNodeClinicProviderGen extends ArgumentClinicProvider {
public static final FtruncateNodeClinicProviderGen INSTANCE = new FtruncateNodeClinicProviderGen();
private FtruncateNodeClinicProviderGen() {
super(0x0, 0x1, 0x2, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return OffsetConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class LseekNodeClinicProviderGen extends ArgumentClinicProvider {
public static final LseekNodeClinicProviderGen INSTANCE = new LseekNodeClinicProviderGen();
private LseekNodeClinicProviderGen() {
super(0x0, 0x5, 0x2, 0x0, 0x7);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return OffsetConversionNode.create();
case 2: return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class WaitpidNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WaitpidNodeClinicProviderGen INSTANCE = new WaitpidNodeClinicProviderGen();
private WaitpidNodeClinicProviderGen() {
super(0x0, 0x3, 0x1, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PidtConversionNode.create();
case 1: return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ChmodNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ChmodNodeClinicProviderGen INSTANCE = new ChmodNodeClinicProviderGen();
private ChmodNodeClinicProviderGen() {
super(0x8, 0x6, 0x0, 0x0, 0xf);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("chmod", "path", false, true);
case 1: return JavaIntConversionNode.create(false);
case 2: return DirFdConversionNode.create();
case 3: return JavaBooleanConverterNode.create(false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class IsattyNodeClinicProviderGen extends ArgumentClinicProvider {
public static final IsattyNodeClinicProviderGen INSTANCE = new IsattyNodeClinicProviderGen();
private IsattyNodeClinicProviderGen() {
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 SysconfNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SysconfNodeClinicProviderGen INSTANCE = new SysconfNodeClinicProviderGen();
private SysconfNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return TruffleStringConverterNode.create("sysconf");
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetBlockingNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetBlockingNodeClinicProviderGen INSTANCE = new GetBlockingNodeClinicProviderGen();
private GetBlockingNodeClinicProviderGen() {
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 SetBlockingNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SetBlockingNodeClinicProviderGen INSTANCE = new SetBlockingNodeClinicProviderGen();
private SetBlockingNodeClinicProviderGen() {
super(0x2, 0x1, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return JavaIntToBooleanConverterNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetTerminalSizeNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetTerminalSizeNodeClinicProviderGen INSTANCE = new GetTerminalSizeNodeClinicProviderGen();
private GetTerminalSizeNodeClinicProviderGen() {
super(0x0, 0x1, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return JavaIntConversionNode.create(1, false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class UnsetenvNodeClinicProviderGen extends ArgumentClinicProvider {
public static final UnsetenvNodeClinicProviderGen INSTANCE = new UnsetenvNodeClinicProviderGen();
private UnsetenvNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return FsConverterNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class UtimeNodeClinicProviderGen extends ArgumentClinicProvider {
public static final UtimeNodeClinicProviderGen INSTANCE = new UtimeNodeClinicProviderGen();
private UtimeNodeClinicProviderGen() {
super(0x16, 0xe, 0x6, 0x6, 0x19);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("utime", "path", false, true);
case 3: return DirFdConversionNode.create();
case 4: return JavaBooleanConverterNode.create(false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetPgidNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetPgidNodeClinicProviderGen INSTANCE = new GetPgidNodeClinicProviderGen();
private GetPgidNodeClinicProviderGen() {
super(0x0, 0x1, 0x1, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PidtConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ReplaceNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ReplaceNodeClinicProviderGen INSTANCE = new ReplaceNodeClinicProviderGen();
private ReplaceNodeClinicProviderGen() {
super(0x0, 0xc, 0x0, 0x0, 0xf);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("replace", "src", false, false);
case 1: return PathConversionNode.create("replace", "dst", false, false);
case 2: return DirFdConversionNode.create();
case 3: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class WifstoppedNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WifstoppedNodeClinicProviderGen INSTANCE = new WifstoppedNodeClinicProviderGen();
private WifstoppedNodeClinicProviderGen() {
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 KillPgNodeClinicProviderGen extends ArgumentClinicProvider {
public static final KillPgNodeClinicProviderGen INSTANCE = new KillPgNodeClinicProviderGen();
private KillPgNodeClinicProviderGen() {
super(0x0, 0x3, 0x1, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PidtConversionNode.create();
case 1: return IndexConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class RmdirNodeClinicProviderGen extends ArgumentClinicProvider {
public static final RmdirNodeClinicProviderGen INSTANCE = new RmdirNodeClinicProviderGen();
private RmdirNodeClinicProviderGen() {
super(0x0, 0x2, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("rmdir", "path", false, false);
case 1: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class SymlinkNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SymlinkNodeClinicProviderGen INSTANCE = new SymlinkNodeClinicProviderGen();
private SymlinkNodeClinicProviderGen() {
super(0x4, 0x8, 0x0, 0x0, 0xf);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("symlink", "src", false, false);
case 1: return PathConversionNode.create("symlink", "dst", false, false);
case 2: return JavaBooleanConverterNode.create(false, false);
case 3: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetInheritableNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetInheritableNodeClinicProviderGen INSTANCE = new GetInheritableNodeClinicProviderGen();
private GetInheritableNodeClinicProviderGen() {
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 CloseNodeClinicProviderGen extends ArgumentClinicProvider {
public static final CloseNodeClinicProviderGen INSTANCE = new CloseNodeClinicProviderGen();
private CloseNodeClinicProviderGen() {
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 StatNodeClinicProviderGen extends ArgumentClinicProvider {
public static final StatNodeClinicProviderGen INSTANCE = new StatNodeClinicProviderGen();
private StatNodeClinicProviderGen() {
super(0x4, 0x2, 0x0, 0x0, 0x7);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("stat", "path", false, true);
case 1: return DirFdConversionNode.create();
case 2: return JavaBooleanConverterNode.create(false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class GetSidNodeClinicProviderGen extends ArgumentClinicProvider {
public static final GetSidNodeClinicProviderGen INSTANCE = new GetSidNodeClinicProviderGen();
private GetSidNodeClinicProviderGen() {
super(0x0, 0x1, 0x1, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PidtConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class DupNodeClinicProviderGen extends ArgumentClinicProvider {
public static final DupNodeClinicProviderGen INSTANCE = new DupNodeClinicProviderGen();
private DupNodeClinicProviderGen() {
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 WexitstatusNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WexitstatusNodeClinicProviderGen INSTANCE = new WexitstatusNodeClinicProviderGen();
private WexitstatusNodeClinicProviderGen() {
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 RenameNodeClinicProviderGen extends ArgumentClinicProvider {
public static final RenameNodeClinicProviderGen INSTANCE = new RenameNodeClinicProviderGen();
private RenameNodeClinicProviderGen() {
super(0x0, 0xc, 0x0, 0x0, 0xf);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("rename", "src", false, false);
case 1: return PathConversionNode.create("rename", "dst", false, false);
case 2: return DirFdConversionNode.create();
case 3: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ReadlinkNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ReadlinkNodeClinicProviderGen INSTANCE = new ReadlinkNodeClinicProviderGen();
private ReadlinkNodeClinicProviderGen() {
super(0x0, 0x2, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("readlink", "path", false, false);
case 1: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class PutenvNodeClinicProviderGen extends ArgumentClinicProvider {
public static final PutenvNodeClinicProviderGen INSTANCE = new PutenvNodeClinicProviderGen();
private PutenvNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return FsConverterNode.create();
case 1: return FsConverterNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class UmaskNodeClinicProviderGen extends ArgumentClinicProvider {
public static final UmaskNodeClinicProviderGen INSTANCE = new UmaskNodeClinicProviderGen();
private UmaskNodeClinicProviderGen() {
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 WriteNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WriteNodeClinicProviderGen INSTANCE = new WriteNodeClinicProviderGen();
private WriteNodeClinicProviderGen() {
super(0x0, 0x1, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return ReadableBufferConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class FStatNodeClinicProviderGen extends ArgumentClinicProvider {
public static final FStatNodeClinicProviderGen INSTANCE = new FStatNodeClinicProviderGen();
private FStatNodeClinicProviderGen() {
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 FSyncNodeClinicProviderGen extends ArgumentClinicProvider {
public static final FSyncNodeClinicProviderGen INSTANCE = new FSyncNodeClinicProviderGen();
private FSyncNodeClinicProviderGen() {
super(0x0, 0x1, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return FileDescriptorConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class FChmodNodeClinicProviderGen extends ArgumentClinicProvider {
public static final FChmodNodeClinicProviderGen INSTANCE = new FChmodNodeClinicProviderGen();
private FChmodNodeClinicProviderGen() {
super(0x0, 0x3, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class SetPgidNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SetPgidNodeClinicProviderGen INSTANCE = new SetPgidNodeClinicProviderGen();
private SetPgidNodeClinicProviderGen() {
super(0x0, 0x3, 0x3, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PidtConversionNode.create();
case 1: return PidtConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ScandirNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ScandirNodeClinicProviderGen INSTANCE = new ScandirNodeClinicProviderGen();
private ScandirNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PathConversionNode.create("scandir", "path", true, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class StatvfsNodeClinicProviderGen extends ArgumentClinicProvider {
public static final StatvfsNodeClinicProviderGen INSTANCE = new StatvfsNodeClinicProviderGen();
private StatvfsNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PathConversionNode.create("statvfs", "path", false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ChdirNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ChdirNodeClinicProviderGen INSTANCE = new ChdirNodeClinicProviderGen();
private ChdirNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PathConversionNode.create("chdir", "path", false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class WifexitedNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WifexitedNodeClinicProviderGen INSTANCE = new WifexitedNodeClinicProviderGen();
private WifexitedNodeClinicProviderGen() {
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 WstopsigNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WstopsigNodeClinicProviderGen INSTANCE = new WstopsigNodeClinicProviderGen();
private WstopsigNodeClinicProviderGen() {
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 WcoredumpNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WcoredumpNodeClinicProviderGen INSTANCE = new WcoredumpNodeClinicProviderGen();
private WcoredumpNodeClinicProviderGen() {
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 UnlinkNodeClinicProviderGen extends ArgumentClinicProvider {
public static final UnlinkNodeClinicProviderGen INSTANCE = new UnlinkNodeClinicProviderGen();
private UnlinkNodeClinicProviderGen() {
super(0x0, 0x2, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("unlink", "path", false, false);
case 1: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class SystemNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SystemNodeClinicProviderGen INSTANCE = new SystemNodeClinicProviderGen();
private SystemNodeClinicProviderGen() {
super(0x0, 0x0, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return FsConverterNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class WifcontinuedNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WifcontinuedNodeClinicProviderGen INSTANCE = new WifcontinuedNodeClinicProviderGen();
private WifcontinuedNodeClinicProviderGen() {
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 LinkNodeClinicProviderGen extends ArgumentClinicProvider {
public static final LinkNodeClinicProviderGen INSTANCE = new LinkNodeClinicProviderGen();
private LinkNodeClinicProviderGen() {
super(0x10, 0xc, 0x0, 0x0, 0x1f);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("link", "src", false, false);
case 1: return PathConversionNode.create("link", "dst", false, false);
case 2: return DirFdConversionNode.create();
case 3: return DirFdConversionNode.create();
case 4: return JavaBooleanConverterNode.create(false, false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class Dup2NodeClinicProviderGen extends ArgumentClinicProvider {
public static final Dup2NodeClinicProviderGen INSTANCE = new Dup2NodeClinicProviderGen();
private Dup2NodeClinicProviderGen() {
super(0x4, 0x3, 0x0, 0x0, 0x7);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return JavaIntConversionNode.create(false);
case 2: return JavaBooleanConverterNode.create(false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class SetInheritableNodeClinicProviderGen extends ArgumentClinicProvider {
public static final SetInheritableNodeClinicProviderGen INSTANCE = new SetInheritableNodeClinicProviderGen();
private SetInheritableNodeClinicProviderGen() {
super(0x0, 0x3, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return JavaIntConversionNode.create(false);
case 1: return JavaIntConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class MkdirNodeClinicProviderGen extends ArgumentClinicProvider {
public static final MkdirNodeClinicProviderGen INSTANCE = new MkdirNodeClinicProviderGen();
private MkdirNodeClinicProviderGen() {
super(0x0, 0x6, 0x0, 0x0, 0x7);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("mkdir", "path", false, false);
case 1: return JavaIntConversionNode.create(0777, false);
case 2: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class OpenNodeClinicProviderGen extends ArgumentClinicProvider {
public static final OpenNodeClinicProviderGen INSTANCE = new OpenNodeClinicProviderGen();
private OpenNodeClinicProviderGen() {
super(0x0, 0xe, 0x0, 0x0, 0xf);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("open", "path", false, false);
case 1: return JavaIntConversionNode.create(false);
case 2: return JavaIntConversionNode.create(0777, false);
case 3: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class WtermsigNodeClinicProviderGen extends ArgumentClinicProvider {
public static final WtermsigNodeClinicProviderGen INSTANCE = new WtermsigNodeClinicProviderGen();
private WtermsigNodeClinicProviderGen() {
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 RemoveNodeClinicProviderGen extends ArgumentClinicProvider {
public static final RemoveNodeClinicProviderGen INSTANCE = new RemoveNodeClinicProviderGen();
private RemoveNodeClinicProviderGen() {
super(0x0, 0x2, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("remove", "path", false, false);
case 1: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class KillNodeClinicProviderGen extends ArgumentClinicProvider {
public static final KillNodeClinicProviderGen INSTANCE = new KillNodeClinicProviderGen();
private KillNodeClinicProviderGen() {
super(0x0, 0x3, 0x1, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PidtConversionNode.create();
case 1: return IndexConversionNode.create(false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class AccessNodeClinicProviderGen extends ArgumentClinicProvider {
public static final AccessNodeClinicProviderGen INSTANCE = new AccessNodeClinicProviderGen();
private AccessNodeClinicProviderGen() {
super(0x18, 0x6, 0x0, 0x0, 0x1f);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("access", "path", false, false);
case 1: return JavaIntConversionNode.create(false);
case 2: return DirFdConversionNode.create();
case 3: return JavaBooleanConverterNode.create(false, false);
case 4: return JavaBooleanConverterNode.create(false, true);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class LStatNodeClinicProviderGen extends ArgumentClinicProvider {
public static final LStatNodeClinicProviderGen INSTANCE = new LStatNodeClinicProviderGen();
private LStatNodeClinicProviderGen() {
super(0x0, 0x2, 0x0, 0x0, 0x3);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
switch (argIndex) {
case 0: return PathConversionNode.create("lstat", "path", false, false);
case 1: return DirFdConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class ExecvNodeClinicProviderGen extends ArgumentClinicProvider {
public static final ExecvNodeClinicProviderGen INSTANCE = new ExecvNodeClinicProviderGen();
private ExecvNodeClinicProviderGen() {
super(0x2, 0x2, 0x2, 0x2, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return PathConversionNode.create("execv", "pathname", false, false);
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class StrErrorNodeClinicProviderGen extends ArgumentClinicProvider {
public static final StrErrorNodeClinicProviderGen INSTANCE = new StrErrorNodeClinicProviderGen();
private StrErrorNodeClinicProviderGen() {
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 FchdirNodeClinicProviderGen extends ArgumentClinicProvider {
public static final FchdirNodeClinicProviderGen INSTANCE = new FchdirNodeClinicProviderGen();
private FchdirNodeClinicProviderGen() {
super(0x0, 0x1, 0x0, 0x0, 0x1);
}
@Override
public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
if (argIndex == 0) {
return FileDescriptorConversionNode.create();
}
return super.createCastNode(argIndex, builtin);
}
}
public static final class URandomNodeClinicProviderGen extends ArgumentClinicProvider {
public static final URandomNodeClinicProviderGen INSTANCE = new URandomNodeClinicProviderGen();
private URandomNodeClinicProviderGen() {
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);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy