binaryninja::language_representation

Type Alias OperatorPrecedence

source
pub type OperatorPrecedence = BNOperatorPrecedence;

Aliased Type§

enum OperatorPrecedence {
Show 20 variants TopLevelOperatorPrecedence = 0, AssignmentOperatorPrecedence = 1, TernaryOperatorPrecedence = 2, LogicalOrOperatorPrecedence = 3, LogicalAndOperatorPrecedence = 4, BitwiseOrOperatorPrecedence = 5, BitwiseXorOperatorPrecedence = 6, BitwiseAndOperatorPrecedence = 7, EqualityOperatorPrecedence = 8, CompareOperatorPrecedence = 9, ShiftOperatorPrecedence = 10, AddOperatorPrecedence = 11, SubOperatorPrecedence = 12, MultiplyOperatorPrecedence = 13, DivideOperatorPrecedence = 14, LowUnaryOperatorPrecedence = 15, UnaryOperatorPrecedence = 16, HighUnaryOperatorPrecedence = 17, MemberAndFunctionOperatorPrecedence = 18, ScopeOperatorPrecedence = 19,
}

Variants§

§

TopLevelOperatorPrecedence = 0

§

AssignmentOperatorPrecedence = 1

§

TernaryOperatorPrecedence = 2

§

LogicalOrOperatorPrecedence = 3

§

LogicalAndOperatorPrecedence = 4

§

BitwiseOrOperatorPrecedence = 5

§

BitwiseXorOperatorPrecedence = 6

§

BitwiseAndOperatorPrecedence = 7

§

EqualityOperatorPrecedence = 8

§

CompareOperatorPrecedence = 9

§

ShiftOperatorPrecedence = 10

§

AddOperatorPrecedence = 11

§

SubOperatorPrecedence = 12

§

MultiplyOperatorPrecedence = 13

§

DivideOperatorPrecedence = 14

§

LowUnaryOperatorPrecedence = 15

§

UnaryOperatorPrecedence = 16

§

HighUnaryOperatorPrecedence = 17

§

MemberAndFunctionOperatorPrecedence = 18

§

ScopeOperatorPrecedence = 19

Trait Implementations

source§

impl Clone for BNOperatorPrecedence

source§

fn clone(&self) -> BNOperatorPrecedence

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for BNOperatorPrecedence

source§

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

Formats the value using the given formatter. Read more
source§

impl Hash for BNOperatorPrecedence

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for BNOperatorPrecedence

source§

fn eq(&self, other: &BNOperatorPrecedence) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for BNOperatorPrecedence

source§

impl Eq for BNOperatorPrecedence

source§

impl StructuralPartialEq for BNOperatorPrecedence