Enum ketos::bytecode::JumpInstruction [] [src]

pub enum JumpInstruction {
    Jump,
    JumpIf,
    JumpIfBound(u32),
    JumpIfNot,
    JumpIfNull,
    JumpIfNotNull,
    JumpIfEq,
    JumpIfNotEq,
    JumpIfEqConst(u32),
    JumpIfNotEqConst(u32),
}

Partial representation of jump Instruction variants before label values have been determined.

Variants

Methods

impl JumpInstruction
[src]

Returns an Instruction by inserting the given label value.

Length, in bytes, of this jump instruction.

Trait Implementations

impl Copy for JumpInstruction
[src]

impl Clone for JumpInstruction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for JumpInstruction
[src]

Formats the value using the given formatter.

impl Eq for JumpInstruction
[src]

impl PartialEq for JumpInstruction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.