Expand description
Implement python as a virtual machine with bytecode. This module implements bytecode structure.
Structs§
- Arg
- Arguments
- Argument structure
- Basic
Bag - Code
Flags - Code
Object - Primary container of a single code object. Each python function has a code object. Also a module has a code object.
- Code
Unit - Label
- Make
Function Flags - OpArg
- a full 32-bit op_arg, including any possible ExtendedArg extension
- OpArg
Byte - an opcode argument that may be extended by a prior ExtendedArg
- OpArg
State - Unpack
ExArgs
Enums§
- Binary
Operator - The possible Binary operators
- Borrowed
Constant - A borrowed Constant
- Comparison
Operator - The possible comparison operators
- Constant
Data - A Constant (which usually encapsulates data within it)
- Conversion
Flag - Transforms a value prior to formatting it.
- Instruction
- A Single bytecode instruction.
- Raise
Kind - The kind of Raise that occurred.
- Test
Operator - Unary
Operator - The possible unary operators
Traits§
- AsBag
- Constant
- Constant
Bag - A Constant Bag
- Instr
Display Context - OpArg
Type