Enum little::Mem [] [src]

pub enum Mem {
    Const(Constant),
    Binding(Binding),
    Parameter {
        name: Constant,
    },
    Parameters,
    StackTop1,
    StackTop2,
}

Memory location.

This may be required by Output, Push or Load instructions.

Variants

Const

Constant item.

Binding

Binding.

Parameter

Parameter with name.

Fields

name
Parameters

All parameters.

StackTop1

Last value on stack.

StackTop2

Last - 1 value on stack.

Trait Implementations

Derived Implementations

impl Debug for Mem

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Mem

fn clone(&self) -> Mem

fn clone_from(&mut self, source: &Self)

impl Copy for Mem