pub enum Opcode {
Show 50 variants
EndOfStatement = 0,
Null = 1,
Undefined = 2,
Number = 3,
String = 4,
Boolean = 5,
Object = 6,
Array = 7,
Function = 16,
Return = 17,
If = 18,
Else = 19,
While = 20,
For = 21,
Break = 22,
Continue = 23,
Try = 24,
Catch = 25,
Finally = 26,
Throw = 27,
Plus = 32,
Minus = 33,
Multiply = 34,
Divide = 35,
Modulo = 36,
Assign = 37,
Equal = 38,
NotEqual = 39,
StrictEqual = 40,
StrictNotEqual = 41,
Less = 42,
LessEqual = 43,
Greater = 44,
GreaterEqual = 45,
LogicalAnd = 46,
LogicalOr = 47,
LogicalNot = 48,
BitwiseAnd = 49,
BitwiseOr = 50,
BitwiseXor = 51,
BitwiseNot = 52,
LeftShift = 53,
RightShift = 54,
Identifier = 64,
Var = 65,
Const = 66,
Call = 80,
MemberAccess = 81,
ComputedMemberAccess = 82,
Ternary = 83,
}Expand description
Opcode definitions for JSXBIN format
Variants§
EndOfStatement = 0
Null = 1
Undefined = 2
Number = 3
String = 4
Boolean = 5
Object = 6
Array = 7
Function = 16
Return = 17
If = 18
Else = 19
While = 20
For = 21
Break = 22
Continue = 23
Try = 24
Catch = 25
Finally = 26
Throw = 27
Plus = 32
Minus = 33
Multiply = 34
Divide = 35
Modulo = 36
Assign = 37
Equal = 38
NotEqual = 39
StrictEqual = 40
StrictNotEqual = 41
Less = 42
LessEqual = 43
Greater = 44
GreaterEqual = 45
LogicalAnd = 46
LogicalOr = 47
LogicalNot = 48
BitwiseAnd = 49
BitwiseOr = 50
BitwiseXor = 51
BitwiseNot = 52
LeftShift = 53
RightShift = 54
Identifier = 64
Var = 65
Const = 66
Call = 80
MemberAccess = 81
ComputedMemberAccess = 82
Ternary = 83
Implementations§
Trait Implementations§
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnsafeUnpin for Opcode
impl UnwindSafe for Opcode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more