Module bytecode

Source
Expand description

Implement python as a virtual machine with bytecode. This module implements bytecode structure.

Structs§

Arg
Arguments
Argument structure
BasicBag
CodeFlags
CodeObject
Primary container of a single code object. Each python function has a code object. Also a module has a code object.
CodeUnit
Label
MakeFunctionFlags
OpArg
a full 32-bit op_arg, including any possible ExtendedArg extension
OpArgByte
an opcode argument that may be extended by a prior ExtendedArg
OpArgState
UnpackExArgs

Enums§

BinaryOperator
The possible Binary operators
BorrowedConstant
A borrowed Constant
ComparisonOperator
The possible comparison operators
ConstantData
A Constant (which usually encapsulates data within it)
ConversionFlag
Transforms a value prior to formatting it.
Instruction
A Single bytecode instruction.
RaiseKind
The kind of Raise that occurred.
TestOperator
UnaryOperator
The possible unary operators

Traits§

AsBag
Constant
ConstantBag
A Constant Bag
InstrDisplayContext
OpArgType

Type Aliases§

NameIdx
Morty Proxy This is a proxified and sanitized view of the page, visit original site.