qamp/Qrakhen.Qamp.Core/Execution/OpCode.cs

63 lines
831 B
C#

namespace Qrakhen.Qamp.Core.Execution;
public enum OpCode
{
None = 0,
Constant,
Null,
True,
False,
Pop,
Export,
Import,
GetLocal,
SetLocal,
GetGlobal,
DefineGlobal,
SetGlobal,
GetOuter,
SetOuter,
GetProperty,
SetProperty,
Property,
Base,
Equal,
Greater,
Less,
Add,
Subtract,
Multiply,
Divide,
Modulo,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
BitwiseNot,
BitwiseLeft,
BitwiseRight,
Increment,
Decrement,
Not,
Negate,
Ref,
Array,
ArrayGet,
ArraySet,
ArrayAdd,
ArrayRemove,
Print,
PrintExpr,
Typeof,
Jump,
JumpIfFalse,
Loop,
Call,
Invoke,
BaseCall,
Closure,
CloseUpvalue,
Return,
Class,
Inherit,
Method
}