Module rustpython_compiler_core::bytecode
source · Expand description
Implement python as a virtual machine with bytecode. This module implements bytecode structure.
Structs§
- Argument structure
- Primary container of a single code object. Each python function has a code object. Also a module has a code object.
- a full 32-bit op_arg, including any possible ExtendedArg extension
- an opcode argument that may be extended by a prior ExtendedArg
Enums§
- The possible Binary operators
- A borrowed Constant
- The possible comparison operators
- A Constant (which usually encapsulates data within it)
- Transforms a value prior to formatting it.
- A Single bytecode instruction.
- The kind of Raise that occurred.
- The possible unary operators
Traits§
- A Constant Bag