Enum erg_common::opcode308::Opcode308

source ·
#[repr(u8)]
pub enum Opcode308 {
Show 131 variants POP_TOP = 1, ROT_TWO = 2, ROT_THREE = 3, DUP_TOP = 4, DUP_TOP2 = 5, ROT_FOUR = 6, NOP = 9, UNARY_POSITIVE = 10, UNARY_NEGATIVE = 11, UNARY_NOT = 12, UNARY_INVERT = 15, BINARY_MATRIX_MULTIPLY = 16, INPLACE_MATRIX_MULTIPLY = 17, BINARY_POWER = 19, BINARY_MULTIPLY = 20, BINARY_MODULO = 22, BINARY_ADD = 23, BINARY_SUBTRACT = 24, BINARY_SUBSCR = 25, BINARY_FLOOR_DIVIDE = 26, BINARY_TRUE_DIVIDE = 27, INPLACE_FLOOR_DIVIDE = 28, INPLACE_TRUE_DIVIDE = 29, GET_AITER = 50, GET_ANEXT = 51, BEFORE_ASYNC_WITH = 52, BEGIN_FINALLY = 53, END_ASYNC_FOR = 54, INPLACE_ADD = 55, INPLACE_SUBTRACT = 56, INPLACE_MULTIPLY = 57, INPLACE_MODULO = 59, STORE_SUBSCR = 60, BINARY_AND = 64, BINARY_XOR = 65, BINARY_OR = 66, GET_ITER = 68, GET_YIELD_FROM_ITER = 69, PRINT_EXPR = 70, LOAD_BUILD_CLASS = 71, WITH_CLEANUP_START = 81, WITH_CLEANUP_FINISH = 82, RETURN_VALUE = 83, IMPORT_STAR = 84, SETUP_ANNOTATIONS = 85, YIELD_VALUE = 86, POP_BLOCK = 87, END_FINALLY = 88, POP_EXCEPT = 89, STORE_NAME = 90, DELETE_NAME = 91, UNPACK_SEQUENCE = 92, FOR_ITER = 93, UNPACK_EX = 94, STORE_ATTR = 95, STORE_GLOBAL = 97, LOAD_CONST = 100, LOAD_NAME = 101, BUILD_TUPLE = 102, BUILD_LIST = 103, BUILD_SET = 104, BUILD_MAP = 105, LOAD_ATTR = 106, COMPARE_OP = 107, IMPORT_NAME = 108, IMPORT_FROM = 109, JUMP_FORWARD = 110, JUMP_IF_FALSE_OR_POP = 111, JUMP_IF_TRUE_OR_POP = 112, JUMP_ABSOLUTE = 113, POP_JUMP_IF_FALSE = 114, POP_JUMP_IF_TRUE = 115, LOAD_GLOBAL = 116, SETUP_FINALLY = 122, LOAD_FAST = 124, STORE_FAST = 125, DELETE_FAST = 126, RAISE_VARARGS = 130, CALL_FUNCTION = 131, MAKE_FUNCTION = 132, LOAD_CLOSURE = 135, LOAD_DEREF = 136, STORE_DEREF = 137, CALL_FUNCTION_KW = 141, CALL_FUNCTION_EX = 142, SETUP_WITH = 143, EXTENDED_ARG = 144, BUILD_CONST_KEY_MAP = 156, BUILD_STRING = 157, BUILD_TUPLE_UNPACK_WITH_CALL = 158, LOAD_METHOD = 160, CALL_METHOD = 161, CALL_FINALLY = 162, POP_FINALLY = 163, ERG_POP_NTH = 196, ERG_PEEK_NTH = 197, ERG_INC = 198, ERG_DEC = 199, ERG_LOAD_FAST_IMMUT = 200, ERG_STORE_FAST_IMMUT = 201, ERG_MOVE_FAST = 202, ERG_CLONE_FAST = 203, ERG_COPY_FAST = 204, ERG_REF_FAST = 205, ERG_REF_MUT_FAST = 206, ERG_MOVE_OUTER = 207, ERG_CLONE_OUTER = 208, ERG_COPY_OUTER = 209, ERG_REF_OUTER = 210, ERG_REF_MUT_OUTER = 211, ERG_LESS_THAN = 212, ERG_LESS_EQUAL = 213, ERG_EQUAL = 214, ERG_NOT_EQUAL = 215, ERG_MAKE_SLOT = 216, ERG_MAKE_TYPE = 217, ERG_MAKE_PURE_FUNCTION = 218, ERG_CALL_PURE_FUNCTION = 219, ERG_LOAD_EMPTY_SLOT = 242, ERG_LOAD_EMPTY_STR = 243, ERG_LOAD_1_NAT = 244, ERG_LOAD_1_INT = 245, ERG_LOAD_1_REAL = 246, ERG_LOAD_NONE = 247, ERG_MUTATE = 248, ERG_STORE_SUBSCR = 249, ERG_BINARY_SUBSCR = 251, ERG_BINARY_RANGE = 252, ERG_TRY_BINARY_DIVIDE = 253, ERG_BINARY_TRUE_DIVIDE = 254, NOT_IMPLEMENTED = 255,
}

Variants§

§

POP_TOP = 1

§

ROT_TWO = 2

§

ROT_THREE = 3

§

DUP_TOP = 4

§

DUP_TOP2 = 5

§

ROT_FOUR = 6

§

NOP = 9

§

UNARY_POSITIVE = 10

§

UNARY_NEGATIVE = 11

§

UNARY_NOT = 12

§

UNARY_INVERT = 15

§

BINARY_MATRIX_MULTIPLY = 16

§

INPLACE_MATRIX_MULTIPLY = 17

§

BINARY_POWER = 19

§

BINARY_MULTIPLY = 20

§

BINARY_MODULO = 22

§

BINARY_ADD = 23

§

BINARY_SUBTRACT = 24

§

BINARY_SUBSCR = 25

§

BINARY_FLOOR_DIVIDE = 26

§

BINARY_TRUE_DIVIDE = 27

§

INPLACE_FLOOR_DIVIDE = 28

§

INPLACE_TRUE_DIVIDE = 29

§

GET_AITER = 50

§

GET_ANEXT = 51

§

BEFORE_ASYNC_WITH = 52

§

BEGIN_FINALLY = 53

§

END_ASYNC_FOR = 54

§

INPLACE_ADD = 55

§

INPLACE_SUBTRACT = 56

§

INPLACE_MULTIPLY = 57

§

INPLACE_MODULO = 59

§

STORE_SUBSCR = 60

§

BINARY_AND = 64

§

BINARY_XOR = 65

§

BINARY_OR = 66

§

GET_ITER = 68

§

GET_YIELD_FROM_ITER = 69

§

PRINT_EXPR = 70

§

LOAD_BUILD_CLASS = 71

§

WITH_CLEANUP_START = 81

§

WITH_CLEANUP_FINISH = 82

§

RETURN_VALUE = 83

§

IMPORT_STAR = 84

§

SETUP_ANNOTATIONS = 85

§

YIELD_VALUE = 86

§

POP_BLOCK = 87

§

END_FINALLY = 88

§

POP_EXCEPT = 89

§

STORE_NAME = 90

§

DELETE_NAME = 91

§

UNPACK_SEQUENCE = 92

§

FOR_ITER = 93

§

UNPACK_EX = 94

§

STORE_ATTR = 95

§

STORE_GLOBAL = 97

§

LOAD_CONST = 100

§

LOAD_NAME = 101

§

BUILD_TUPLE = 102

§

BUILD_LIST = 103

§

BUILD_SET = 104

§

BUILD_MAP = 105

§

LOAD_ATTR = 106

§

COMPARE_OP = 107

§

IMPORT_NAME = 108

§

IMPORT_FROM = 109

§

JUMP_FORWARD = 110

§

JUMP_IF_FALSE_OR_POP = 111

§

JUMP_IF_TRUE_OR_POP = 112

§

JUMP_ABSOLUTE = 113

§

POP_JUMP_IF_FALSE = 114

§

POP_JUMP_IF_TRUE = 115

§

LOAD_GLOBAL = 116

§

SETUP_FINALLY = 122

§

LOAD_FAST = 124

§

STORE_FAST = 125

§

DELETE_FAST = 126

§

RAISE_VARARGS = 130

§

CALL_FUNCTION = 131

§

MAKE_FUNCTION = 132

§

LOAD_CLOSURE = 135

§

LOAD_DEREF = 136

§

STORE_DEREF = 137

§

CALL_FUNCTION_KW = 141

§

CALL_FUNCTION_EX = 142

§

SETUP_WITH = 143

§

EXTENDED_ARG = 144

§

BUILD_CONST_KEY_MAP = 156

§

BUILD_STRING = 157

§

BUILD_TUPLE_UNPACK_WITH_CALL = 158

§

LOAD_METHOD = 160

§

CALL_METHOD = 161

§

CALL_FINALLY = 162

§

POP_FINALLY = 163

§

ERG_POP_NTH = 196

§

ERG_PEEK_NTH = 197

§

ERG_INC = 198

§

ERG_DEC = 199

§

ERG_LOAD_FAST_IMMUT = 200

§

ERG_STORE_FAST_IMMUT = 201

§

ERG_MOVE_FAST = 202

§

ERG_CLONE_FAST = 203

§

ERG_COPY_FAST = 204

§

ERG_REF_FAST = 205

§

ERG_REF_MUT_FAST = 206

§

ERG_MOVE_OUTER = 207

§

ERG_CLONE_OUTER = 208

§

ERG_COPY_OUTER = 209

§

ERG_REF_OUTER = 210

§

ERG_REF_MUT_OUTER = 211

§

ERG_LESS_THAN = 212

§

ERG_LESS_EQUAL = 213

§

ERG_EQUAL = 214

§

ERG_NOT_EQUAL = 215

§

ERG_MAKE_SLOT = 216

§

ERG_MAKE_TYPE = 217

§

ERG_MAKE_PURE_FUNCTION = 218

§

ERG_CALL_PURE_FUNCTION = 219

§

ERG_LOAD_EMPTY_SLOT = 242

§

ERG_LOAD_EMPTY_STR = 243

§

ERG_LOAD_1_NAT = 244

§

ERG_LOAD_1_INT = 245

§

ERG_LOAD_1_REAL = 246

§

ERG_LOAD_NONE = 247

§

ERG_MUTATE = 248

§

ERG_STORE_SUBSCR = 249

§

ERG_BINARY_SUBSCR = 251

§

ERG_BINARY_RANGE = 252

§

ERG_TRY_BINARY_DIVIDE = 253

§

ERG_BINARY_TRUE_DIVIDE = 254

§

NOT_IMPLEMENTED = 255

Implementations§

source§

impl Opcode308

source

pub const fn take_arg(&self) -> bool

Trait Implementations§

source§

impl Clone for Opcode308

source§

fn clone(&self) -> Opcode308

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Opcode308

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Opcode308

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Opcode308> for u8

source§

fn from(op: Opcode308) -> u8

Converts to this type from the input type.
source§

impl Hash for Opcode308

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Opcode308

source§

fn eq(&self, other: &Opcode308) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u8> for Opcode308

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(byte: u8) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for Opcode308

source§

impl Eq for Opcode308

source§

impl StructuralPartialEq for Opcode308

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.