Skip to main content

InstructionCode

Enum InstructionCode 

Source
#[repr(u8)]
pub enum InstructionCode {
Show 197 variants EXIT = 0, STATEMENTS = 1, SHORT_STATEMENTS = 2, UNBOUNDED_STATEMENTS = 3, UNBOUNDED_STATEMENTS_END = 4, CACHE_POINT = 5, CACHE_RESET = 6, VAR_RESULT = 7, SET_VAR_RESULT = 8, SET_VAR_RESULT_REFERENCE = 9, VAR_RESULT_ACTION = 10, VAR_SUB_RESULT = 11, SET_VAR_SUB_RESULT = 12, SET_VAR_SUB_RESULT_REFERENCE = 13, VAR_SUB_RESULT_ACTION = 14, VAR_VOID = 15, SET_VAR_VOID = 16, SET_VAR_VOID_REFERENCE = 17, VAR_VOID_ACTION = 18, _VAR_ORIGIN = 19, _SET_VAR_ORIGIN = 20, _SET_VAR_ORIGIN_REFERENCE = 21, _VAR_ORIGIN_ACTION = 22, VAR_IT = 23, SET_VAR_IT = 24, SET_VAR_IT_REFERENCE = 25, VAR_IT_ACTION = 26, VAR_REMOTE = 27, VAR_REMOTE_ACTION = 28, VAR_ORIGIN = 29, VAR_ENDPOINT = 30, VAR_ENTRYPOINT = 31, VAR_STD = 32, VAR_META = 33, VAR_PUBLIC = 34, VAR_THIS = 35, VAR_LOCATION = 36, VAR_ENV = 37, APPLY_ZERO = 38, APPLY_SINGLE = 39, APPLY = 40, GET_PROPERTY_DYNAMIC = 41, GET_PROPERTY_INDEX = 42, GET_PROPERTY_TEXT = 43, SET_PROPERTY_DYNAMIC = 44, SET_PROPERTY_INDEX = 45, SET_PROPERTY_TEXT = 46, RETURN = 47, TEMPLATE = 48, EXTENDS = 49, IMPLEMENTS = 50, MATCHES = 51, DEBUGGER = 52, JMP = 53, JTR = 54, JFA = 55, COUNT = 56, ABOUT = 57, NEW = 58, DELETE_POINTER = 59, COPY = 60, CLONE = 61, ORIGIN = 62, SUBSCRIBERS = 63, PLAIN_SCOPE = 64, STRUCTURAL_EQUAL = 65, NOT_STRUCTURAL_EQUAL = 66, EQUAL = 67, NOT_EQUAL = 68, GREATER = 69, LESS = 70, GREATER_EQUAL = 71, LESS_EQUAL = 72, IS = 73, AND = 74, OR = 75, ADD = 76, SUBTRACT = 77, MULTIPLY = 78, DIVIDE = 79, NOT = 80, MODULO = 81, POWER = 82, INCREMENT = 83, DECREMENT = 84, UNARY_PLUS = 85, UNARY_MINUS = 86, BITWISE_NOT = 87, UNION = 88, ASSIGN = 89, ADD_ASSIGN = 90, SUBTRACT_ASSIGN = 91, MULTIPLY_ASSIGN = 92, DIVIDE_ASSIGN = 93, MODULO_ASSIGN = 94, POWER_ASSIGN = 95, GET_SLOT = 96, SET_SLOT = 97, ALLOCATE_SLOT = 98, SLOT_ACTION = 99, DROP_SLOT = 100, GET_INTERNAL_SLOT = 101, LABEL = 102, SET_LABEL = 103, INIT_LABEL = 104, LABEL_ACTION = 105, GET_REMOTE_SHARED_REF = 120, GET_INTERNAL_SHARED_REF = 121, GET_LOCAL_SHARED_REF = 122, GET_REMOTE_SHARED_REF_MUT = 123, GET_OR_INIT_REF = 124, POINTER_ACTION = 125, CREATE_SHARED_REF = 126, SET_REF = 127, CREATE_SHARED = 128, CREATE_SHARED_MUT = 129, SET_REFERENCE_VALUE = 130, UNBOX = 131, CHILD_GET = 132, CHILD_SET = 133, CHILD_SET_REFERENCE = 134, CHILD_ACTION = 135, CHILD_GET_REF = 136, WILDCARD = 137, TYPED_VALUE = 138, TYPE_EXPRESSION = 139, TEXT = 140, INT_8 = 141, INT_16 = 142, INT_32 = 143, INT_64 = 144, INT_128 = 145, INT_BIG = 146, INT = 147, UINT_8 = 148, UINT_16 = 149, UINT_32 = 150, UINT_64 = 151, UINT_128 = 152, DECIMAL_F32 = 153, DECIMAL_F64 = 154, DECIMAL_BIG = 155, DECIMAL_AS_INT_32 = 156, DECIMAL_AS_INT_16 = 157, DECIMAL = 158, TRUE = 159, FALSE = 160, NULL = 161, VOID = 162, BUFFER = 163, QUANTITY = 164, SHORT_TEXT = 165, PERSON_ALIAS = 166, PERSON_ALIAS_WILDCARD = 167, INSTITUTION_ALIAS = 168, INSTITUTION_ALIAS_WILDCARD = 169, BOT = 170, BOT_WILDCARD = 171, ENDPOINT = 172, ENDPOINT_WILDCARD = 173, URL = 174, TIME = 175, LIST = 176, SHORT_LIST = 177, MAP = 178, SHORT_MAP = 179, KEY_VALUE_SHORT_TEXT = 180, KEY_VALUE_DYNAMIC = 181, KEY_PERMISSION = 182, INTERNAL_OBJECT_SLOT = 183, SYNC = 184, STOP_SYNC = 185, STREAM = 186, STOP_STREAM = 187, REMOTE_EXECUTION = 188, TRANSFORM = 189, OBSERVE = 190, RUN = 191, AWAIT = 192, DEFER = 193, FUNCTION = 194, ASSERT = 195, ITERATOR = 196, NEXT = 197, FREEZE = 198, SEAL = 199, HAS = 200, KEYS = 201, GET_TYPE = 202, GET = 203, RANGE = 204, RESOLVE_RELATIVE_PATH = 205, DO = 206, DEFAULT = 207, COLLAPSE = 208, RESPONSE = 209, CLONE_COLLAPSE = 210,
}

Variants§

§

EXIT = 0

§

STATEMENTS = 1

§

SHORT_STATEMENTS = 2

§

UNBOUNDED_STATEMENTS = 3

§

UNBOUNDED_STATEMENTS_END = 4

§

CACHE_POINT = 5

§

CACHE_RESET = 6

§

VAR_RESULT = 7

§

SET_VAR_RESULT = 8

§

SET_VAR_RESULT_REFERENCE = 9

§

VAR_RESULT_ACTION = 10

§

VAR_SUB_RESULT = 11

§

SET_VAR_SUB_RESULT = 12

§

SET_VAR_SUB_RESULT_REFERENCE = 13

§

VAR_SUB_RESULT_ACTION = 14

§

VAR_VOID = 15

§

SET_VAR_VOID = 16

§

SET_VAR_VOID_REFERENCE = 17

§

VAR_VOID_ACTION = 18

§

_VAR_ORIGIN = 19

§

_SET_VAR_ORIGIN = 20

§

_SET_VAR_ORIGIN_REFERENCE = 21

§

_VAR_ORIGIN_ACTION = 22

§

VAR_IT = 23

§

SET_VAR_IT = 24

§

SET_VAR_IT_REFERENCE = 25

§

VAR_IT_ACTION = 26

§

VAR_REMOTE = 27

§

VAR_REMOTE_ACTION = 28

§

VAR_ORIGIN = 29

§

VAR_ENDPOINT = 30

§

VAR_ENTRYPOINT = 31

§

VAR_STD = 32

§

VAR_META = 33

§

VAR_PUBLIC = 34

§

VAR_THIS = 35

§

VAR_LOCATION = 36

§

VAR_ENV = 37

§

APPLY_ZERO = 38

§

APPLY_SINGLE = 39

§

APPLY = 40

§

GET_PROPERTY_DYNAMIC = 41

§

GET_PROPERTY_INDEX = 42

§

GET_PROPERTY_TEXT = 43

§

SET_PROPERTY_DYNAMIC = 44

§

SET_PROPERTY_INDEX = 45

§

SET_PROPERTY_TEXT = 46

§

RETURN = 47

§

TEMPLATE = 48

§

EXTENDS = 49

§

IMPLEMENTS = 50

§

MATCHES = 51

§

DEBUGGER = 52

§

JMP = 53

§

JTR = 54

§

JFA = 55

§

COUNT = 56

§

ABOUT = 57

§

NEW = 58

§

DELETE_POINTER = 59

§

COPY = 60

§

CLONE = 61

§

ORIGIN = 62

§

SUBSCRIBERS = 63

§

PLAIN_SCOPE = 64

§

STRUCTURAL_EQUAL = 65

§

NOT_STRUCTURAL_EQUAL = 66

§

EQUAL = 67

§

NOT_EQUAL = 68

§

GREATER = 69

§

LESS = 70

§

GREATER_EQUAL = 71

§

LESS_EQUAL = 72

§

IS = 73

§

AND = 74

§

OR = 75

§

ADD = 76

§

SUBTRACT = 77

§

MULTIPLY = 78

§

DIVIDE = 79

§

NOT = 80

§

MODULO = 81

§

POWER = 82

§

INCREMENT = 83

§

DECREMENT = 84

§

UNARY_PLUS = 85

§

UNARY_MINUS = 86

§

BITWISE_NOT = 87

§

UNION = 88

§

ASSIGN = 89

§

ADD_ASSIGN = 90

§

SUBTRACT_ASSIGN = 91

§

MULTIPLY_ASSIGN = 92

§

DIVIDE_ASSIGN = 93

§

MODULO_ASSIGN = 94

§

POWER_ASSIGN = 95

§

GET_SLOT = 96

§

SET_SLOT = 97

§

ALLOCATE_SLOT = 98

§

SLOT_ACTION = 99

§

DROP_SLOT = 100

§

GET_INTERNAL_SLOT = 101

§

LABEL = 102

§

SET_LABEL = 103

§

INIT_LABEL = 104

§

LABEL_ACTION = 105

§

GET_REMOTE_SHARED_REF = 120

§

GET_INTERNAL_SHARED_REF = 121

§

GET_LOCAL_SHARED_REF = 122

§

GET_REMOTE_SHARED_REF_MUT = 123

§

GET_OR_INIT_REF = 124

§

POINTER_ACTION = 125

§

CREATE_SHARED_REF = 126

§

SET_REF = 127

§

CREATE_SHARED = 128

§

CREATE_SHARED_MUT = 129

§

SET_REFERENCE_VALUE = 130

§

UNBOX = 131

§

CHILD_GET = 132

§

CHILD_SET = 133

§

CHILD_SET_REFERENCE = 134

§

CHILD_ACTION = 135

§

CHILD_GET_REF = 136

§

WILDCARD = 137

§

TYPED_VALUE = 138

type byte codes –> switch to Type Space

§

TYPE_EXPRESSION = 139

§

TEXT = 140

§

INT_8 = 141

§

INT_16 = 142

§

INT_32 = 143

§

INT_64 = 144

§

INT_128 = 145

§

INT_BIG = 146

§

INT = 147

§

UINT_8 = 148

§

UINT_16 = 149

§

UINT_32 = 150

§

UINT_64 = 151

§

UINT_128 = 152

§

DECIMAL_F32 = 153

§

DECIMAL_F64 = 154

§

DECIMAL_BIG = 155

§

DECIMAL_AS_INT_32 = 156

§

DECIMAL_AS_INT_16 = 157

§

DECIMAL = 158

§

TRUE = 159

§

FALSE = 160

§

NULL = 161

§

VOID = 162

§

BUFFER = 163

§

QUANTITY = 164

§

SHORT_TEXT = 165

§

PERSON_ALIAS = 166

§

PERSON_ALIAS_WILDCARD = 167

§

INSTITUTION_ALIAS = 168

§

INSTITUTION_ALIAS_WILDCARD = 169

§

BOT = 170

§

BOT_WILDCARD = 171

§

ENDPOINT = 172

§

ENDPOINT_WILDCARD = 173

§

URL = 174

§

TIME = 175

§

LIST = 176

§

SHORT_LIST = 177

§

MAP = 178

§

SHORT_MAP = 179

§

KEY_VALUE_SHORT_TEXT = 180

§

KEY_VALUE_DYNAMIC = 181

§

KEY_PERMISSION = 182

§

INTERNAL_OBJECT_SLOT = 183

§

SYNC = 184

§

STOP_SYNC = 185

§

STREAM = 186

§

STOP_STREAM = 187

§

REMOTE_EXECUTION = 188

§

TRANSFORM = 189

§

OBSERVE = 190

§

RUN = 191

§

AWAIT = 192

§

DEFER = 193

§

FUNCTION = 194

§

ASSERT = 195

§

ITERATOR = 196

§

NEXT = 197

§

FREEZE = 198

§

SEAL = 199

§

HAS = 200

§

KEYS = 201

§

GET_TYPE = 202

§

GET = 203

§

RANGE = 204

§

RESOLVE_RELATIVE_PATH = 205

§

DO = 206

§

DEFAULT = 207

§

COLLAPSE = 208

§

RESPONSE = 209

§

CLONE_COLLAPSE = 210

Trait Implementations§

Source§

impl Clone for InstructionCode

Source§

fn clone(&self) -> InstructionCode

Returns a duplicate 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 InstructionCode

Source§

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

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

impl Display for InstructionCode

Source§

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

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

impl From<&ArithmeticOperator> for InstructionCode

Source§

fn from(op: &ArithmeticOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&ArithmeticUnaryOperator> for InstructionCode

Source§

fn from(op: &ArithmeticUnaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&AssignmentOperator> for InstructionCode

Source§

fn from(op: &AssignmentOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&BinaryOperator> for InstructionCode

Source§

fn from(op: &BinaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&BitwiseOperator> for InstructionCode

Source§

fn from(op: &BitwiseOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&BitwiseUnaryOperator> for InstructionCode

Source§

fn from(op: &BitwiseUnaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&ComparisonOperator> for InstructionCode

Source§

fn from(op: &ComparisonOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&InstructionCode> for BinaryOperator

Source§

fn from(code: &InstructionCode) -> Self

Converts to this type from the input type.
Source§

impl From<&LogicalOperator> for InstructionCode

Source§

fn from(op: &LogicalOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&LogicalUnaryOperator> for InstructionCode

Source§

fn from(op: &LogicalUnaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&RangeOperator> for InstructionCode

Source§

fn from(op: &RangeOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&SharedValueUnaryOperator> for InstructionCode

Source§

fn from(op: &SharedValueUnaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<&UnaryOperator> for InstructionCode

Source§

fn from(op: &UnaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<BinaryOperator> for InstructionCode

Source§

fn from(op: BinaryOperator) -> Self

Converts to this type from the input type.
Source§

impl From<ComparisonOperator> for InstructionCode

Source§

fn from(op: ComparisonOperator) -> Self

Converts to this type from the input type.
Source§

impl From<InstructionCode> for BinaryOperator

Source§

fn from(code: InstructionCode) -> Self

Converts to this type from the input type.
Source§

impl From<InstructionCode> for u8

Source§

fn from(enum_value: InstructionCode) -> Self

Converts to this type from the input type.
Source§

impl IntoEnumIterator for InstructionCode

Source§

impl PartialEq for InstructionCode

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<InstructionCode> for AssignmentOperator

Source§

type Error = ()

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

fn try_from(code: InstructionCode) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<u8> for InstructionCode

Source§

type Error = TryFromPrimitiveError<InstructionCode>

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

fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for InstructionCode

Source§

impl Copy for InstructionCode

Source§

impl Eq for InstructionCode

Source§

impl StructuralPartialEq for InstructionCode

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> CustomError for T
where T: Display + Debug + Send + Sync + 'static,

Source§

fn as_any(&self) -> &(dyn Any + Sync + Send + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + Sync + Send + 'static)

Source§

fn as_box_any(self: Box<T>) -> Box<dyn Any + Sync + Send>

Source§

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

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

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

Source§

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§

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>,

Source§

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>,

Source§

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.