◐ Shell
clean mode source ↗

rustpython_bytecode::bytecode::Instruction - Rust

A Single bytecode instruction.

Fields of Import

Fields of ImportFrom

Fields of LoadName

Fields of StoreName

Fields of DeleteName

Fields of StoreAttr

Fields of DeleteAttr

Fields of LoadConst

Fields of UnaryOperation

Fields of BinaryOperation

Fields of LoadAttr

Fields of CompareOperation

Fields of Rotate

Fields of Jump

Pop the top of the stack, and jump if this value is true.

Fields of JumpIfTrue

Pop the top of the stack, and jump if this value is false.

Fields of JumpIfFalse

Peek at the top of the stack, and jump if this value is true. Otherwise, pop top of stack.

Fields of JumpIfTrueOrPop

Peek at the top of the stack, and jump if this value is false. Otherwise, pop top of stack.

Fields of JumpIfFalseOrPop

Fields of CallFunction

Fields of ForIter

Fields of SetupLoop

Setup a finally handler, which will be called whenever one of this events occurs:

  • the block is popped
  • the function returns
  • an exception is returned

Fields of SetupFinally

Enter a finally block, without returning, excepting, just because we are there.

Marker bytecode for the end of a finally sequence. When this bytecode is executed, the eval loop does one of those things:

  • Continue at a certain bytecode position
  • Propagate the exception
  • Return from a function
  • Do nothing at all, just continue

Fields of SetupExcept

Fields of SetupWith

Fields of Raise

Fields of BuildString

Fields of BuildTuple

Fields of BuildList

Fields of BuildSet

Fields of BuildMap

Fields of BuildSlice

Fields of ListAppend

Fields of SetAdd

Fields of MapAdd

Fields of UnpackSequence

Fields of UnpackEx

Fields of FormatValue

Fields of Reverse

Fields of SetupAsyncWith

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]