ValueOperationOp

Enum ValueOperationOp 

Source
pub enum ValueOperationOp<'a> {
Show 33 variants Add(Loc<&'a str>, Loc<&'a str>), Mul(Loc<&'a str>, Loc<&'a str>), Sub(Loc<&'a str>, Loc<&'a str>), Div(Loc<&'a str>, Loc<&'a str>), Eq(Loc<&'a str>, Loc<&'a str>), Lt(Loc<&'a str>, Loc<&'a str>), Gt(Loc<&'a str>, Loc<&'a str>), Le(Loc<&'a str>, Loc<&'a str>), Ge(Loc<&'a str>, Loc<&'a str>), Not(Loc<&'a str>), And(Loc<&'a str>, Loc<&'a str>), Or(Loc<&'a str>, Loc<&'a str>), Call(Loc<&'a str>, Vec<Loc<&'a str>>), Id(Loc<&'a str>), Fadd(Loc<&'a str>, Loc<&'a str>), Fmul(Loc<&'a str>, Loc<&'a str>), Fsub(Loc<&'a str>, Loc<&'a str>), Fdiv(Loc<&'a str>, Loc<&'a str>), Feq(Loc<&'a str>, Loc<&'a str>), Flt(Loc<&'a str>, Loc<&'a str>), Fle(Loc<&'a str>, Loc<&'a str>), Fgt(Loc<&'a str>, Loc<&'a str>), Fge(Loc<&'a str>, Loc<&'a str>), Alloc(Loc<&'a str>), Load(Loc<&'a str>), PtrAdd(Loc<&'a str>, Loc<&'a str>), Ceq(Loc<&'a str>, Loc<&'a str>), Clt(Loc<&'a str>, Loc<&'a str>), Cgt(Loc<&'a str>, Loc<&'a str>), Cle(Loc<&'a str>, Loc<&'a str>), Cge(Loc<&'a str>, Loc<&'a str>), Char2Int(Loc<&'a str>), Int2Char(Loc<&'a str>),
}

Variants§

§

Add(Loc<&'a str>, Loc<&'a str>)

§

Mul(Loc<&'a str>, Loc<&'a str>)

§

Sub(Loc<&'a str>, Loc<&'a str>)

§

Div(Loc<&'a str>, Loc<&'a str>)

§

Eq(Loc<&'a str>, Loc<&'a str>)

§

Lt(Loc<&'a str>, Loc<&'a str>)

§

Gt(Loc<&'a str>, Loc<&'a str>)

§

Le(Loc<&'a str>, Loc<&'a str>)

§

Ge(Loc<&'a str>, Loc<&'a str>)

§

Not(Loc<&'a str>)

§

And(Loc<&'a str>, Loc<&'a str>)

§

Or(Loc<&'a str>, Loc<&'a str>)

§

Call(Loc<&'a str>, Vec<Loc<&'a str>>)

Value-operation version.

§

Id(Loc<&'a str>)

§

Fadd(Loc<&'a str>, Loc<&'a str>)

§

Fmul(Loc<&'a str>, Loc<&'a str>)

§

Fsub(Loc<&'a str>, Loc<&'a str>)

§

Fdiv(Loc<&'a str>, Loc<&'a str>)

§

Feq(Loc<&'a str>, Loc<&'a str>)

§

Flt(Loc<&'a str>, Loc<&'a str>)

§

Fle(Loc<&'a str>, Loc<&'a str>)

§

Fgt(Loc<&'a str>, Loc<&'a str>)

§

Fge(Loc<&'a str>, Loc<&'a str>)

§

Alloc(Loc<&'a str>)

§

Load(Loc<&'a str>)

§

PtrAdd(Loc<&'a str>, Loc<&'a str>)

§

Ceq(Loc<&'a str>, Loc<&'a str>)

§

Clt(Loc<&'a str>, Loc<&'a str>)

§

Cgt(Loc<&'a str>, Loc<&'a str>)

§

Cle(Loc<&'a str>, Loc<&'a str>)

§

Cge(Loc<&'a str>, Loc<&'a str>)

§

Char2Int(Loc<&'a str>)

§

Int2Char(Loc<&'a str>)

Auto Trait Implementations§

§

impl<'a> Freeze for ValueOperationOp<'a>

§

impl<'a> RefUnwindSafe for ValueOperationOp<'a>

§

impl<'a> Send for ValueOperationOp<'a>

§

impl<'a> Sync for ValueOperationOp<'a>

§

impl<'a> Unpin for ValueOperationOp<'a>

§

impl<'a> UnwindSafe for ValueOperationOp<'a>

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>,

Source§

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>,

Source§

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.
Source§

impl<T> WithLocation for T

Source§

fn at(self, spanned: impl Spanned) -> Loc<Self>
where Self: Sized,

Source§

fn between(self, start: impl Spanned, end: impl Spanned) -> Loc<Self>
where Self: Sized,