Enum librsnek::runtime::opcode::OpCode [] [src]

pub enum OpCode {
    PopTop,
    RotTwo,
    RotThree,
    DupTop,
    DupTopTwo,
    Nop,
    UnaryPositive,
    UnaryNegative,
    UnaryNot,
    UnaryInvert,
    BinaryMatrixMultiply,
    InplaceMatrixMultiply,
    BinaryPower,
    BinaryMultiply,
    BinaryModulo,
    BinaryAdd,
    BinarySubtract,
    BinarySubscr,
    BinaryFloorDivide,
    BinaryTrueDivide,
    InplaceFloorDivide,
    InplaceTrueDivide,
    GetAiter,
    GetAnext,
    BeforeAsyncWith,
    InplaceAdd,
    InplaceSubtract,
    InplaceMultiply,
    InplaceModulo,
    StoreSubscr,
    DeleteSubscr,
    BinaryLshift,
    BinaryRshift,
    BinaryAnd,
    BinaryXor,
    BinaryOr,
    InplacePower,
    GetIter,
    GetYieldFromIter,
    PrintExpr,
    LoadBuildClass,
    YieldFrom,
    GetAwaitable,
    InplaceLshift,
    InplaceRshift,
    InplaceAnd,
    InplaceXor,
    InplaceOr,
    BreakLoop,
    WithCleanupStart,
    WithCleanupFinish,
    ReturnValue,
    ImportStar,
    YieldValue,
    PopBlock,
    EndFinally,
    PopExcept,
    StoreName,
    DeleteName,
    UnpackSequence,
    ForIter,
    UnpackEx,
    StoreAttr,
    DeleteAttr,
    StoreGlobal,
    DeleteGlobal,
    LoadConst,
    LoadName,
    BuildTuple,
    BuildList,
    BuildSet,
    BuildMap,
    LoadAttr,
    CompareOp,
    ImportName,
    ImportFrom,
    JumpForward,
    JumpIfFalseOrPop,
    JumpIfTrueOrPop,
    JumpAbsolute,
    PopJumpIfFalse,
    PopJumpIfTrue,
    LoadGlobal,
    ContinueLoop,
    SetupLoop,
    SetupExcept,
    SetupFinally,
    LoadFast,
    StoreFast,
    DeleteFast,
    RaiseVarargs,
    CallFunction,
    MakeFunction,
    BuildSlice,
    MakeClosure,
    LoadClosure,
    LoadDeref,
    StoreDeref,
    DeleteDeref,
    CallFunctionVar,
    CallFunctionKw,
    CallFunctionVarKw,
    SetupWith,
    ExtendedArg,
    ListAppend,
    SetAdd,
    MapAdd,
    LoadClassderef,
    BuildListUnpack,
    BuildMapUnpack,
    BuildMapUnpackWithCall,
    BuildTupleUnpack,
    BuildSetUnpack,
    SetupAsyncWith,
    LogicalAnd,
    LogicalOr,
    AssertCondition,
    CompareEqual,
    CompareNotEqual,
    CompareLess,
    CompareLessOrEqual,
    CompareGreater,
    CompareGreaterOrEqual,
    CompareIn,
    CompareNotIn,
    CompareIs,
    CompareIsNot,
    SetLineNumber,
}

OpCodes for the interpreter. 1..1024 are reserved for CPython opcodes

Variants

Trait Implementations

impl Debug for OpCode
[src]

Formats the value using the given formatter.

impl Hash for OpCode
[src]

Feeds this value into the given [Hasher].

Feeds a slice of this type into the given [Hasher].

impl Clone for OpCode
[src]

Returns a copy of the value.

Performs copy-assignment from source.

impl Copy for OpCode
[src]

impl Eq for OpCode
[src]

impl PartialEq for OpCode
[src]

This method tests for self and other values to be equal, and is used

This method tests for !=.