Class KnownCallImplementor
java.lang.Object
ai.timefold.jpyinterpreter.implementors.KnownCallImplementor
Implements function calls when the function being called is known.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcallMethod(PythonFunctionSignature pythonFunctionSignature, org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, int argumentCount) static voidcallPython311andAbove(PythonFunctionSignature pythonFunctionSignature, FunctionMetadata functionMetadata, StackMetadata stackMetadata, int argumentCount, List<String> keywordArgumentNameList) static voidcallUnpackListAndMap(String defaultArgumentHolderClassInternalName, MethodDescriptor methodDescriptor, org.objectweb.asm.MethodVisitor methodVisitor) static voidcallWithKeywordsAndUnwrapSelf(PythonFunctionSignature pythonFunctionSignature, FunctionMetadata functionMetadata, StackMetadata stackMetadata, int argumentCount) static voidcallWithoutKeywords(PythonFunctionSignature pythonFunctionSignature, FunctionMetadata functionMetadata, StackMetadata stackMetadata, int argumentCount)
-
Constructor Details
-
KnownCallImplementor
public KnownCallImplementor()
-
-
Method Details
-
callMethod
public static void callMethod(PythonFunctionSignature pythonFunctionSignature, org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, int argumentCount) -
callPython311andAbove
public static void callPython311andAbove(PythonFunctionSignature pythonFunctionSignature, FunctionMetadata functionMetadata, StackMetadata stackMetadata, int argumentCount, List<String> keywordArgumentNameList) -
callWithoutKeywords
public static void callWithoutKeywords(PythonFunctionSignature pythonFunctionSignature, FunctionMetadata functionMetadata, StackMetadata stackMetadata, int argumentCount) -
callWithKeywordsAndUnwrapSelf
public static void callWithKeywordsAndUnwrapSelf(PythonFunctionSignature pythonFunctionSignature, FunctionMetadata functionMetadata, StackMetadata stackMetadata, int argumentCount) -
callUnpackListAndMap
public static void callUnpackListAndMap(String defaultArgumentHolderClassInternalName, MethodDescriptor methodDescriptor, org.objectweb.asm.MethodVisitor methodVisitor)
-