[][src]Enum boa::syntax::ast::op::BinOp

pub enum BinOp {
    Num(NumOp),
    Bit(BitOp),
    Comp(CompOp),
    Log(LogOp),
    Assign(AssignOp),
    Comma,
}

This represents a binary operation between two values.

Variants

Num(NumOp)

Numeric operation.

see: NumOp

Bit(BitOp)

Bitwise operation.

see: BitOp.

Comp(CompOp)

Comparitive operation.

see: CompOp.

Log(LogOp)

Logical operation.

see: LogOp.

Assign(AssignOp)

Assign operation.

see: AssignOp.

Comma

Comma operation.

Trait Implementations

impl Clone for BinOp[src]

impl Copy for BinOp[src]

impl Debug for BinOp[src]

impl Display for BinOp[src]

impl Finalize for BinOp[src]

impl From<AssignOp> for BinOp[src]

impl From<BitOp> for BinOp[src]

impl From<CompOp> for BinOp[src]

impl From<LogOp> for BinOp[src]

impl From<NumOp> for BinOp[src]

impl PartialEq<BinOp> for BinOp[src]

impl StructuralPartialEq for BinOp[src]

impl Trace for BinOp[src]

impl TryInto<BinOp> for Keyword[src]

type Error = String

The type returned in the event of a conversion error.

impl TryInto<BinOp> for Punctuator[src]

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> NativeObject for T where
    T: Any + Debug + Trace
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,