Class PythonBuiltinOperatorImplementor
java.lang.Object
ai.timefold.jpyinterpreter.implementors.PythonBuiltinOperatorImplementor
Implementations of opcodes/operations that do not use dunder methods / are builtin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidisOperator(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) Perform TOS is TOS1.static voidperformNotOnTOS(org.objectweb.asm.MethodVisitor methodVisitor) Replace TOS with not TOS.
-
Constructor Details
-
PythonBuiltinOperatorImplementor
public PythonBuiltinOperatorImplementor()
-
-
Method Details
-
performNotOnTOS
public static void performNotOnTOS(org.objectweb.asm.MethodVisitor methodVisitor) Replace TOS with not TOS. -
isOperator
public static void isOperator(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) Perform TOS is TOS1. Ifinstructionargument is 1, perform TOS is not TOS1 instead.
-