Uses of Record Class
ai.timefold.jpyinterpreter.PythonBytecodeInstruction
Packages that use PythonBytecodeInstruction
Package
Description
-
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter
Fields in ai.timefold.jpyinterpreter with type parameters of type PythonBytecodeInstructionModifier and TypeFieldDescriptionPythonCompiledFunction.instructionListList of bytecode instructions in the functionMethods in ai.timefold.jpyinterpreter that return PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic PythonBytecodeInstructionPythonBytecodeInstruction.atOffset(OpcodeDescriptor instruction, int offset) static PythonBytecodeInstructionPythonBytecodeInstruction.markAsJumpTarget()PythonBytecodeInstruction.startsLine(int lineNumber) PythonBytecodeInstruction.withArg(int newArg) PythonBytecodeInstruction.withArgRepr(String newArgRepr) PythonBytecodeInstruction.withIsJumpTarget(boolean isJumpTarget) Methods in ai.timefold.jpyinterpreter with parameters of type PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic BinaryDunderOpcodePythonBinaryOperator.getBinaryOpcode(PythonBytecodeInstruction instruction) Method parameters in ai.timefold.jpyinterpreter with type arguments of type PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic voidPythonBytecodeToJavaBytecodeTranslator.writeInstructionsForOpcodes(FunctionMetadata functionMetadata, List<StackMetadata> stackMetadataForOpcodeIndex, List<Opcode> opcodeList, Consumer<PythonBytecodeInstruction> runAfterLabelAndBeforeArgumentors) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.implementors
Methods in ai.timefold.jpyinterpreter.implementors with parameters of type PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic voidFunctionImplementor.callFunction(FunctionMetadata functionMetadata, StackMetadata stackMetadata, org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) Calls a function.static voidFunctionImplementor.callFunctionUnpack(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Calls a function.static voidFunctionImplementor.callFunctionWithKeywords(FunctionMetadata functionMetadata, StackMetadata stackMetadata, org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) Calls a function.static voidFunctionImplementor.callGenericFunction(FunctionMetadata functionMetadata, StackMetadata stackMetadata, org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) static voidFunctionImplementor.callGenericFunctionWithKeywords(FunctionMetadata functionMetadata, StackMetadata stackMetadata, org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) Calls a function.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 voidCollectionImplementor.collectionAdd(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Calls collection.add(TOS[i], TOS).static voidCollectionImplementor.collectionAddAll(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Calls collection.addAll(TOS[i], TOS).static voidCollectionImplementor.containsOperator(org.objectweb.asm.MethodVisitor methodVisitor, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Implements TOS1 in TOS.static voidFunctionImplementor.createFunction(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Creates a function.static voidObjectImplementor.deleteAttribute(FunctionMetadata functionMetadata, org.objectweb.asm.MethodVisitor methodVisitor, String className, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Deletes co_names[instruction.arg] of TOSstatic voidVariableImplementor.deleteGlobalVariable(org.objectweb.asm.MethodVisitor methodVisitor, String className, PythonCompiledFunction pythonCompiledFunction, PythonBytecodeInstruction instruction) Deletes the global variable or parameter indicated by theinstructionargument.static voidVariableImplementor.deleteLocalVariable(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Deletes the local variable or parameter indicated by theinstructionargument.static voidStringImplementor.formatValue(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) TOS1 is a value and TOS is an optional format string (either PythonNone or PythonString).static voidModuleImplementor.importFrom(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) TOS is a module; Push the attribute co_names[instruction.arg] from module onto the stack.static voidModuleImplementor.importName(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) TOS is from_list (list or None); TOS1 is level.static voidPythonBuiltinOperatorImplementor.isOperator(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction) Perform TOS is TOS1.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 voidCollectionImplementor.mapPut(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Calls map.put(TOS1[i], TOS1, TOS).static voidCollectionImplementor.mapPutAll(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Calls map.putAll(TOS[i], TOS).static voidCollectionImplementor.mapPutAllOnlyIfAllNewElseThrow(FunctionMetadata functionMetadata, StackMetadata stackMetadata, PythonBytecodeInstruction instruction) Calls map.putAll(TOS1[i], TOS) if TOS does not share any common keys with TOS[i].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 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.storeInGlobalVariable(org.objectweb.asm.MethodVisitor methodVisitor, String className, PythonCompiledFunction pythonCompiledFunction, PythonBytecodeInstruction instruction) Stores TOS into the global variable or parameter indicated by theinstructionargument.static voidVariableImplementor.storeInLocalVariable(org.objectweb.asm.MethodVisitor methodVisitor, PythonBytecodeInstruction instruction, LocalVariableHelper localVariableHelper) Stores TOS into the local variable or parameter indicated by theinstructionargument.static voidGeneratorImplementor.yieldFrom(PythonBytecodeInstruction instruction, FunctionMetadata functionMetadata, StackMetadata stackMetadata) static voidGeneratorImplementor.yieldValue(PythonBytecodeInstruction instruction, FunctionMetadata functionMetadata, StackMetadata stackMetadata) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes
Fields in ai.timefold.jpyinterpreter.opcodes declared as PythonBytecodeInstructionMethods in ai.timefold.jpyinterpreter.opcodes that return PythonBytecodeInstructionMethods in ai.timefold.jpyinterpreter.opcodes with parameters of type PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic OpcodeOpcode.lookupOpcodeForInstruction(PythonBytecodeInstruction instruction, PythonVersion pythonVersion) Constructors in ai.timefold.jpyinterpreter.opcodes with parameters of type PythonBytecodeInstruction -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.collection
Constructors in ai.timefold.jpyinterpreter.opcodes.collection with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionBuildConstantKeyMapOpcode(PythonBytecodeInstruction instruction) BuildListOpcode(PythonBytecodeInstruction instruction) BuildMapOpcode(PythonBytecodeInstruction instruction) BuildSetOpcode(PythonBytecodeInstruction instruction) BuildSliceOpcode(PythonBytecodeInstruction instruction) BuildTupleOpcode(PythonBytecodeInstruction instruction) CollectionAddAllOpcode(PythonBytecodeInstruction instruction) CollectionAddOpcode(PythonBytecodeInstruction instruction) ContainsOpcode(PythonBytecodeInstruction instruction) DeleteItemOpcode(PythonBytecodeInstruction instruction) GetIterOpcode(PythonBytecodeInstruction instruction) ListToTupleOpcode(PythonBytecodeInstruction instruction) MapMergeOpcode(PythonBytecodeInstruction instruction) MapPutAllOpcode(PythonBytecodeInstruction instruction) MapPutOpcode(PythonBytecodeInstruction instruction) SetItemOpcode(PythonBytecodeInstruction instruction) UnpackSequenceOpcode(PythonBytecodeInstruction instruction) UnpackSequenceWithTailOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.controlflow
Fields in ai.timefold.jpyinterpreter.opcodes.controlflow declared as PythonBytecodeInstructionModifier and TypeFieldDescriptionprotected PythonBytecodeInstructionAbstractControlFlowOpcode.instructionConstructors in ai.timefold.jpyinterpreter.opcodes.controlflow with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionAbstractControlFlowOpcode(PythonBytecodeInstruction instruction) ForIterOpcode(PythonBytecodeInstruction instruction, int jumpTarget) JumpAbsoluteOpcode(PythonBytecodeInstruction instruction, int jumpTarget) JumpIfFalseOrPopOpcode(PythonBytecodeInstruction instruction, int jumpTarget) JumpIfNotExcMatchOpcode(PythonBytecodeInstruction instruction, int jumpTarget) JumpIfTrueOrPopOpcode(PythonBytecodeInstruction instruction, int jumpTarget) PopJumpIfFalseOpcode(PythonBytecodeInstruction instruction, int jumpTarget) PopJumpIfIsNoneOpcode(PythonBytecodeInstruction instruction, int jumpTarget) PopJumpIfIsNotNoneOpcode(PythonBytecodeInstruction instruction, int jumpTarget) PopJumpIfTrueOpcode(PythonBytecodeInstruction instruction, int jumpTarget) ReturnConstantValueOpcode(PythonBytecodeInstruction instruction) ReturnValueOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.descriptor
Methods in ai.timefold.jpyinterpreter.opcodes.descriptor with parameters of type PythonBytecodeInstructionModifier and TypeMethodDescriptionVersionMapping.getOpcodeForVersion(PythonBytecodeInstruction instruction, PythonVersion pythonVersion) Method parameters in ai.timefold.jpyinterpreter.opcodes.descriptor with type arguments of type PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic VersionMappingVersionMapping.constantMapping(BiFunction<PythonBytecodeInstruction, PythonVersion, Opcode> mapper) static VersionMappingVersionMapping.constantMapping(Function<PythonBytecodeInstruction, Opcode> mapper) VersionMapping.map(PythonVersion version, BiFunction<PythonBytecodeInstruction, PythonVersion, Opcode> mapper) VersionMapping.map(PythonVersion version, Function<PythonBytecodeInstruction, Opcode> mapper) VersionMapping.mapWithLabels(PythonVersion version, BiFunction<PythonBytecodeInstruction, Integer, Opcode> mapper, ToIntBiFunction<PythonBytecodeInstruction, PythonVersion> labelMapper) VersionMapping.mapWithLabels(PythonVersion version, BiFunction<PythonBytecodeInstruction, Integer, Opcode> mapper, ToIntBiFunction<PythonBytecodeInstruction, PythonVersion> labelMapper) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.dunder
Constructors in ai.timefold.jpyinterpreter.opcodes.dunder with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionBinaryDunderOpcode(PythonBytecodeInstruction instruction, PythonBinaryOperator operator) CompareOpcode(PythonBytecodeInstruction instruction) GetSliceOpcode(PythonBytecodeInstruction instruction) NotOpcode(PythonBytecodeInstruction instruction) StoreSliceOpcode(PythonBytecodeInstruction instruction) UniDunerOpcode(PythonBytecodeInstruction instruction, PythonUnaryOperator operator) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.exceptions
Constructors in ai.timefold.jpyinterpreter.opcodes.exceptions with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionBeforeWithOpcode(PythonBytecodeInstruction instruction) CheckExcMatchOpcode(PythonBytecodeInstruction instruction) CleanupThrowOpcode(PythonBytecodeInstruction instruction) LoadAssertionErrorOpcode(PythonBytecodeInstruction instruction) PopBlockOpcode(PythonBytecodeInstruction instruction) PopExceptOpcode(PythonBytecodeInstruction instruction) PushExcInfoOpcode(PythonBytecodeInstruction instruction) RaiseVarargsOpcode(PythonBytecodeInstruction instruction) ReraiseOpcode(PythonBytecodeInstruction instruction) SetupFinallyOpcode(PythonBytecodeInstruction instruction, int jumpTarget) SetupWithOpcode(PythonBytecodeInstruction instruction, int jumpTarget) WithExceptStartOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.function
Constructors in ai.timefold.jpyinterpreter.opcodes.function with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionCallFunctionKeywordOpcode(PythonBytecodeInstruction instruction) CallFunctionOpcode(PythonBytecodeInstruction instruction) CallFunctionUnpackOpcode(PythonBytecodeInstruction instruction) CallMethodOpcode(PythonBytecodeInstruction instruction) CallOpcode(PythonBytecodeInstruction instruction) LoadMethodOpcode(PythonBytecodeInstruction instruction) MakeFunctionOpcode(PythonBytecodeInstruction instruction) PushNullOpcode(PythonBytecodeInstruction instruction) SetCallKeywordNameTupleOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.generator
Constructors in ai.timefold.jpyinterpreter.opcodes.generator with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionGeneratorStartOpcode(PythonBytecodeInstruction instruction) GetYieldFromIterOpcode(PythonBytecodeInstruction instruction) ResumeOpcode(PythonBytecodeInstruction instruction) SendOpcode(PythonBytecodeInstruction instruction, int jumpTarget) StopIteratorErrorOpcode(PythonBytecodeInstruction instruction) YieldFromOpcode(PythonBytecodeInstruction instruction) YieldValueOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.meta
Methods in ai.timefold.jpyinterpreter.opcodes.meta with parameters of type PythonBytecodeInstructionModifier and TypeMethodDescriptionUnaryIntrinsicFunction.getOpcode(PythonBytecodeInstruction instruction) static OpcodeUnaryIntrinsicFunction.lookup(PythonBytecodeInstruction instruction) Constructors in ai.timefold.jpyinterpreter.opcodes.meta with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionNopOpcode(PythonBytecodeInstruction instruction) ReturnGeneratorOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.module
Constructors in ai.timefold.jpyinterpreter.opcodes.module with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionImportFromOpcode(PythonBytecodeInstruction instruction) ImportNameOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.object
Constructors in ai.timefold.jpyinterpreter.opcodes.object with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionDeleteAttrOpcode(PythonBytecodeInstruction instruction) IsOpcode(PythonBytecodeInstruction instruction) LoadAttrOpcode(PythonBytecodeInstruction instruction) LoadSuperAttrOpcode(PythonBytecodeInstruction instruction) StoreAttrOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.stack
Constructors in ai.timefold.jpyinterpreter.opcodes.stack with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionCopyOpcode(PythonBytecodeInstruction instruction) DupOpcode(PythonBytecodeInstruction instruction) DupTwoOpcode(PythonBytecodeInstruction instruction) PopOpcode(PythonBytecodeInstruction instruction) RotateFourOpcode(PythonBytecodeInstruction instruction) RotateThreeOpcode(PythonBytecodeInstruction instruction) RotateTwoOpcode(PythonBytecodeInstruction instruction) SwapOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.string
Constructors in ai.timefold.jpyinterpreter.opcodes.string with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionBuildStringOpcode(PythonBytecodeInstruction instruction) FormatValueOpcode(PythonBytecodeInstruction instruction) PrintExprOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.opcodes.variable
Constructors in ai.timefold.jpyinterpreter.opcodes.variable with parameters of type PythonBytecodeInstructionModifierConstructorDescriptionDeleteDerefOpcode(PythonBytecodeInstruction instruction) DeleteFastOpcode(PythonBytecodeInstruction instruction) DeleteGlobalOpcode(PythonBytecodeInstruction instruction) LoadClosureOpcode(PythonBytecodeInstruction instruction) LoadConstantOpcode(PythonBytecodeInstruction instruction) LoadDerefOpcode(PythonBytecodeInstruction instruction) LoadFastAndClearOpcode(PythonBytecodeInstruction instruction) LoadFastOpcode(PythonBytecodeInstruction instruction) LoadGlobalOpcode(PythonBytecodeInstruction instruction) StoreDerefOpcode(PythonBytecodeInstruction instruction) StoreFastOpcode(PythonBytecodeInstruction instruction) StoreGlobalOpcode(PythonBytecodeInstruction instruction) -
Uses of PythonBytecodeInstruction in ai.timefold.jpyinterpreter.util
Methods in ai.timefold.jpyinterpreter.util with parameters of type PythonBytecodeInstructionModifier and TypeMethodDescriptionstatic intJumpUtils.getAbsoluteTarget(PythonBytecodeInstruction instruction, PythonVersion pythonVersion) static intJumpUtils.getBackwardRelativeTarget(PythonBytecodeInstruction instruction, PythonVersion pythonVersion) static intJumpUtils.getRelativeTarget(PythonBytecodeInstruction instruction, PythonVersion pythonVersion)