Enum noak::reader::attributes::RawInstruction

source ·
pub enum RawInstruction<'input> {
Show 213 variants AALoad, AAStore, AConstNull, ALoad { index: u8, }, ALoadW { index: u16, }, ALoad0, ALoad1, ALoad2, ALoad3, ANewArray { index: Index<Class<'input>>, }, AReturn, ArrayLength, AStore { index: u8, }, AStoreW { index: u16, }, AStore0, AStore1, AStore2, AStore3, AThrow, BALoad, BAStore, BIPush { value: i8, }, CALoad, CAStore, CheckCast { index: Index<Class<'input>>, }, D2F, D2I, D2L, DAdd, DALoad, DAStore, DCmpG, DCmpL, DConst0, DConst1, DDiv, DLoad { index: u8, }, DLoadW { index: u16, }, DLoad0, DLoad1, DLoad2, DLoad3, DMul, DNeg, DRem, DReturn, DStore { index: u8, }, DStoreW { index: u16, }, DStore0, DStore1, DStore2, DStore3, DSub, Dup, DupX1, DupX2, Dup2, Dup2X1, Dup2X2, F2D, F2I, F2L, FAdd, FALoad, FAStore, FCmpG, FCmpL, FConst0, FConst1, FConst2, FDiv, FLoad { index: u8, }, FLoadW { index: u16, }, FLoad0, FLoad1, FLoad2, FLoad3, FMul, FNeg, FRem, FReturn, FStore { index: u8, }, FStoreW { index: u16, }, FStore0, FStore1, FStore2, FStore3, FSub, GetField { index: Index<FieldRef<'input>>, }, GetStatic { index: Index<FieldRef<'input>>, }, Goto { offset: i16, }, GotoW { offset: i32, }, I2B, I2C, I2D, I2F, I2L, I2S, IAdd, IALoad, IAnd, IAStore, IConstM1, IConst0, IConst1, IConst2, IConst3, IConst4, IConst5, IDiv, IfACmpEq { offset: i16, }, IfACmpNe { offset: i16, }, IfICmpEq { offset: i16, }, IfICmpNe { offset: i16, }, IfICmpLt { offset: i16, }, IfICmpGe { offset: i16, }, IfICmpGt { offset: i16, }, IfICmpLe { offset: i16, }, IfEq { offset: i16, }, IfNe { offset: i16, }, IfLt { offset: i16, }, IfGe { offset: i16, }, IfGt { offset: i16, }, IfLe { offset: i16, }, IfNonNull { offset: i16, }, IfNull { offset: i16, }, IInc { index: u8, value: i8, }, IIncW { index: u16, value: i16, }, ILoad { index: u8, }, ILoadW { index: u16, }, ILoad0, ILoad1, ILoad2, ILoad3, IMul, INeg, InstanceOf { index: Index<Class<'input>>, }, InvokeDynamic { index: Index<InvokeDynamic<'input>>, }, InvokeInterface { index: Index<InterfaceMethodRef<'input>>, count: u8, }, InvokeSpecial { index: Index<Item<'input>>, }, InvokeStatic { index: Index<Item<'input>>, }, InvokeVirtual { index: Index<MethodRef<'input>>, }, IOr, IRem, IReturn, IShL, IShR, IStore { index: u8, }, IStoreW { index: u16, }, IStore0, IStore1, IStore2, IStore3, ISub, IUShR, IXor, JSr { offset: i16, }, JSrW { offset: i32, }, L2D, L2F, L2I, LAdd, LALoad, LAnd, LAStore, LCmp, LConst0, LConst1, LdC { index: Index<Item<'input>>, }, LdCW { index: Index<Item<'input>>, }, LdC2W { index: Index<Item<'input>>, }, LDiv, LLoad { index: u8, }, LLoadW { index: u16, }, LLoad0, LLoad1, LLoad2, LLoad3, LMul, LNeg, LookupSwitch(LookupSwitch<'input>), LOr, LRem, LReturn, LShL, LShR, LStore { index: u8, }, LStoreW { index: u16, }, LStore0, LStore1, LStore2, LStore3, LSub, LUShR, LXor, MonitorEnter, MonitorExit, MultiANewArray { index: Index<Class<'input>>, dimensions: u8, }, New { index: Index<Class<'input>>, }, NewArray { atype: ArrayType, }, Nop, Pop, Pop2, PutField { index: Index<FieldRef<'input>>, }, PutStatic { index: Index<FieldRef<'input>>, }, Ret { index: u8, }, RetW { index: u16, }, Return, SALoad, SAStore, SIPush { value: i16, }, Swap, TableSwitch(TableSwitch<'input>),
}

Variants§

§

AALoad

§

AAStore

§

AConstNull

§

ALoad

Fields

§index: u8
§

ALoadW

Fields

§index: u16
§

ALoad0

§

ALoad1

§

ALoad2

§

ALoad3

§

ANewArray

Fields

§index: Index<Class<'input>>
§

AReturn

§

ArrayLength

§

AStore

Fields

§index: u8
§

AStoreW

Fields

§index: u16
§

AStore0

§

AStore1

§

AStore2

§

AStore3

§

AThrow

§

BALoad

§

BAStore

§

BIPush

Fields

§value: i8
§

CALoad

§

CAStore

§

CheckCast

Fields

§index: Index<Class<'input>>
§

D2F

§

D2I

§

D2L

§

DAdd

§

DALoad

§

DAStore

§

DCmpG

§

DCmpL

§

DConst0

§

DConst1

§

DDiv

§

DLoad

Fields

§index: u8
§

DLoadW

Fields

§index: u16
§

DLoad0

§

DLoad1

§

DLoad2

§

DLoad3

§

DMul

§

DNeg

§

DRem

§

DReturn

§

DStore

Fields

§index: u8
§

DStoreW

Fields

§index: u16
§

DStore0

§

DStore1

§

DStore2

§

DStore3

§

DSub

§

Dup

§

DupX1

§

DupX2

§

Dup2

§

Dup2X1

§

Dup2X2

§

F2D

§

F2I

§

F2L

§

FAdd

§

FALoad

§

FAStore

§

FCmpG

§

FCmpL

§

FConst0

§

FConst1

§

FConst2

§

FDiv

§

FLoad

Fields

§index: u8
§

FLoadW

Fields

§index: u16
§

FLoad0

§

FLoad1

§

FLoad2

§

FLoad3

§

FMul

§

FNeg

§

FRem

§

FReturn

§

FStore

Fields

§index: u8
§

FStoreW

Fields

§index: u16
§

FStore0

§

FStore1

§

FStore2

§

FStore3

§

FSub

§

GetField

Fields

§index: Index<FieldRef<'input>>
§

GetStatic

Fields

§index: Index<FieldRef<'input>>
§

Goto

Fields

§offset: i16
§

GotoW

Fields

§offset: i32
§

I2B

§

I2C

§

I2D

§

I2F

§

I2L

§

I2S

§

IAdd

§

IALoad

§

IAnd

§

IAStore

§

IConstM1

§

IConst0

§

IConst1

§

IConst2

§

IConst3

§

IConst4

§

IConst5

§

IDiv

§

IfACmpEq

Fields

§offset: i16
§

IfACmpNe

Fields

§offset: i16
§

IfICmpEq

Fields

§offset: i16
§

IfICmpNe

Fields

§offset: i16
§

IfICmpLt

Fields

§offset: i16
§

IfICmpGe

Fields

§offset: i16
§

IfICmpGt

Fields

§offset: i16
§

IfICmpLe

Fields

§offset: i16
§

IfEq

Fields

§offset: i16
§

IfNe

Fields

§offset: i16
§

IfLt

Fields

§offset: i16
§

IfGe

Fields

§offset: i16
§

IfGt

Fields

§offset: i16
§

IfLe

Fields

§offset: i16
§

IfNonNull

Fields

§offset: i16
§

IfNull

Fields

§offset: i16
§

IInc

Fields

§index: u8
§value: i8
§

IIncW

Fields

§index: u16
§value: i16
§

ILoad

Fields

§index: u8
§

ILoadW

Fields

§index: u16
§

ILoad0

§

ILoad1

§

ILoad2

§

ILoad3

§

IMul

§

INeg

§

InstanceOf

Fields

§index: Index<Class<'input>>
§

InvokeDynamic

Fields

§index: Index<InvokeDynamic<'input>>
§

InvokeInterface

Fields

§index: Index<InterfaceMethodRef<'input>>
§count: u8
§

InvokeSpecial

Fields

§index: Index<Item<'input>>
§

InvokeStatic

Fields

§index: Index<Item<'input>>
§

InvokeVirtual

Fields

§index: Index<MethodRef<'input>>
§

IOr

§

IRem

§

IReturn

§

IShL

§

IShR

§

IStore

Fields

§index: u8
§

IStoreW

Fields

§index: u16
§

IStore0

§

IStore1

§

IStore2

§

IStore3

§

ISub

§

IUShR

§

IXor

§

JSr

Fields

§offset: i16
§

JSrW

Fields

§offset: i32
§

L2D

§

L2F

§

L2I

§

LAdd

§

LALoad

§

LAnd

§

LAStore

§

LCmp

§

LConst0

§

LConst1

§

LdC

Fields

§index: Index<Item<'input>>
§

LdCW

Fields

§index: Index<Item<'input>>
§

LdC2W

Fields

§index: Index<Item<'input>>
§

LDiv

§

LLoad

Fields

§index: u8
§

LLoadW

Fields

§index: u16
§

LLoad0

§

LLoad1

§

LLoad2

§

LLoad3

§

LMul

§

LNeg

§

LookupSwitch(LookupSwitch<'input>)

§

LOr

§

LRem

§

LReturn

§

LShL

§

LShR

§

LStore

Fields

§index: u8
§

LStoreW

Fields

§index: u16
§

LStore0

§

LStore1

§

LStore2

§

LStore3

§

LSub

§

LUShR

§

LXor

§

MonitorEnter

§

MonitorExit

§

MultiANewArray

Fields

§index: Index<Class<'input>>
§dimensions: u8
§

New

Fields

§index: Index<Class<'input>>
§

NewArray

Fields

§

Nop

§

Pop

§

Pop2

§

PutField

Fields

§index: Index<FieldRef<'input>>
§

PutStatic

Fields

§index: Index<FieldRef<'input>>
§

Ret

Fields

§index: u8
§

RetW

Fields

§index: u16
§

Return

§

SALoad

§

SAStore

§

SIPush

Fields

§value: i16
§

Swap

§

TableSwitch(TableSwitch<'input>)

Trait Implementations§

source§

impl<'input> Debug for RawInstruction<'input>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'input> Freeze for RawInstruction<'input>

§

impl<'input> RefUnwindSafe for RawInstruction<'input>

§

impl<'input> Send for RawInstruction<'input>

§

impl<'input> Sync for RawInstruction<'input>

§

impl<'input> Unpin for RawInstruction<'input>

§

impl<'input> UnwindSafe for RawInstruction<'input>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.