Uses of Class
ai.timefold.jpyinterpreter.LocalVariableHelper
Packages that use LocalVariableHelper
-
Uses of LocalVariableHelper in ai.timefold.jpyinterpreter
Subclasses of LocalVariableHelper in ai.timefold.jpyinterpreterFields in ai.timefold.jpyinterpreter declared as LocalVariableHelperMethods in ai.timefold.jpyinterpreter that return LocalVariableHelperMethods in ai.timefold.jpyinterpreter with parameters of type LocalVariableHelperModifier and TypeMethodDescriptionstatic StackMetadataPythonBytecodeToJavaBytecodeTranslator.getInitialStackMetadata(LocalVariableHelper localVariableHelper, MethodDescriptor method, boolean isVirtual) Constructors in ai.timefold.jpyinterpreter with parameters of type LocalVariableHelper -
Uses of LocalVariableHelper in ai.timefold.jpyinterpreter.implementors
Methods in ai.timefold.jpyinterpreter.implementors with parameters of type LocalVariableHelperModifier and TypeMethodDescriptionstatic voidDunderOperatorImplementor.binaryOperator(org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, PythonBinaryOperator operator) Performs a binary dunder operation on TOS and TOS1.static voidDunderOperatorImplementor.binaryOperatorOnlyRight(org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, PythonBinaryOperator operator) static voidFunctionImplementor.callMethod(FunctionMetadata functionMetadata, StackMetadata stackMetadata, org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Calls a method. argc is the number of positional arguments.static voidKnownCallImplementor.callMethod(PythonFunctionSignature pythonFunctionSignature, org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, int argumentCount) static voidJavaPythonTypeConversionImplementor.copyParameter(org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, int parameterIndex) Convert theparameterIndexJava parameter to its Python equivalent and store it into the corresponding Python parameter local variable slot.static voidVariableImplementor.createCell(org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper, int cellIndex) Loads the cell indicated by theinstructionargument onto the stack.static voidVariableImplementor.deleteLocalVariable(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Deletes the local variable or parameter indicated by theinstructionargument.static voidVariableImplementor.loadLocalVariable(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Loads the local variable or parameter indicated by theinstructionargument onto the stack.static voidExceptionImplementor.raiseWithOptionalExceptionAndCause(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Raise an exception, with the stack and effect varying depending oninstruction.arg: instruction.arg = 0: Stack is empty.static voidExceptionImplementor.reraiseLast(org.objectweb.asm.MethodVisitor methodVisitor, LocalVariableHelper localVariableHelper) Reraise the last exception (stored in the exception local variable slot)static voidObjectImplementor.setAttribute(FunctionMetadata functionMetadata, org.objectweb.asm.MethodVisitor methodVisitor, String className, StackMetadata stackMetadata, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Implement TOS.name = TOS1, where name is co_names[instruction.arg].static voidVariableImplementor.setupFreeVariableCell(org.objectweb.asm.MethodVisitor methodVisitor, String internalClassName, LocalVariableHelper localVariableHelper, int cellIndex) Moves thecellIndexfree variable (stored in thePythonBytecodeToJavaBytecodeTranslator.CELLS_INSTANCE_FIELD_NAMEfield to its corresponding local variable.static voidVariableImplementor.storeInLocalVariable(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Stores TOS into the local variable or parameter indicated by theinstructionargument.static voidCollectionImplementor.unpackSequence(org.objectweb.asm.MethodVisitor methodVisitor, int toUnpack, LocalVariableHelper localVariableHelper) TOS is an iterable; pushtoUnpackelements from it to the stack (with first item of the iterable as the new TOS).static voidCollectionImplementor.unpackSequenceWithTail(org.objectweb.asm.MethodVisitor methodVisitor, int toUnpack, LocalVariableHelper localVariableHelper) TOS is an iterable; pushtoUnpackelements from it to the stack (with first item of the iterable as the new TOS).