rustpython_vm::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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,