Class PythonBuiltinOperatorImplementor

java.lang.Object
ai.timefold.jpyinterpreter.implementors.PythonBuiltinOperatorImplementor

public class PythonBuiltinOperatorImplementor extends Object
Implementations of opcodes/operations that do not use dunder methods / are builtin.
  • 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. If instruction argument is 1, perform TOS is not TOS1 instead.