Header menu logo B2R2

Expr Type

Represents an expression in BinQL, a language for convenient binary data querying.

Union cases

Union case Description

Add(Expr, Expr)

Full Usage: Add(Expr, Expr)

Parameters:

Addition.

Item1 : Expr
Item2 : Expr

And(Expr, Expr)

Full Usage: And(Expr, Expr)

Parameters:

Bitwise AND.

Item1 : Expr
Item2 : Expr

App(name, args)

Full Usage: App(name, args)

Parameters:
    name : string
    args : Expr list

Function application.

name : string
args : Expr list

Cast(NumberType, Expr)

Full Usage: Cast(NumberType, Expr)

Parameters:

Casting to a specific representation.

Item1 : NumberType
Item2 : Expr

Concat(Expr, Expr)

Full Usage: Concat(Expr, Expr)

Parameters:

Concatenation.

Item1 : Expr
Item2 : Expr

Div(Expr, Expr)

Full Usage: Div(Expr, Expr)

Parameters:

Division.

Item1 : Expr
Item2 : Expr

Mod(Expr, Expr)

Full Usage: Mod(Expr, Expr)

Parameters:

Modulus.

Item1 : Expr
Item2 : Expr

Mul(Expr, Expr)

Full Usage: Mul(Expr, Expr)

Parameters:

Multiplication.

Item1 : Expr
Item2 : Expr

Neg Expr

Full Usage: Neg Expr

Parameters:

Negation.

Item : Expr

Not Expr

Full Usage: Not Expr

Parameters:

Bitwise NOT.

Item : Expr

Number(NumberType, byte[])

Full Usage: Number(NumberType, byte[])

Parameters:

Number literal.

Item1 : NumberType
Item2 : byte[]

Or(Expr, Expr)

Full Usage: Or(Expr, Expr)

Parameters:

Bitwise OR.

Item1 : Expr
Item2 : Expr

Paren Expr

Full Usage: Paren Expr

Parameters:

Parenthesis.

Item : Expr

Shl(Expr, Expr)

Full Usage: Shl(Expr, Expr)

Parameters:

Shift left.

Item1 : Expr
Item2 : Expr

Shr(Expr, Expr)

Full Usage: Shr(Expr, Expr)

Parameters:

Shift right.

Item1 : Expr
Item2 : Expr

Str string

Full Usage: Str string

Parameters:
    Item : string

String literal.

Item : string

Sub(Expr, Expr)

Full Usage: Sub(Expr, Expr)

Parameters:

Subtraction.

Item1 : Expr
Item2 : Expr

Xor(Expr, Expr)

Full Usage: Xor(Expr, Expr)

Parameters:

Bitwise XOR.

Item1 : Expr
Item2 : Expr

Instance members

Instance member Description

this.IsAdd

Full Usage: this.IsAdd

Returns: bool
Returns: bool

this.IsAnd

Full Usage: this.IsAnd

Returns: bool
Returns: bool

this.IsApp

Full Usage: this.IsApp

Returns: bool
Returns: bool

this.IsCast

Full Usage: this.IsCast

Returns: bool
Returns: bool

this.IsConcat

Full Usage: this.IsConcat

Returns: bool
Returns: bool

this.IsDiv

Full Usage: this.IsDiv

Returns: bool
Returns: bool

this.IsMod

Full Usage: this.IsMod

Returns: bool
Returns: bool

this.IsMul

Full Usage: this.IsMul

Returns: bool
Returns: bool

this.IsNeg

Full Usage: this.IsNeg

Returns: bool
Returns: bool

this.IsNot

Full Usage: this.IsNot

Returns: bool
Returns: bool

this.IsNumber

Full Usage: this.IsNumber

Returns: bool
Returns: bool

this.IsOr

Full Usage: this.IsOr

Returns: bool
Returns: bool

this.IsParen

Full Usage: this.IsParen

Returns: bool
Returns: bool

this.IsShl

Full Usage: this.IsShl

Returns: bool
Returns: bool

this.IsShr

Full Usage: this.IsShr

Returns: bool
Returns: bool

this.IsStr

Full Usage: this.IsStr

Returns: bool
Returns: bool

this.IsSub

Full Usage: this.IsSub

Returns: bool
Returns: bool

this.IsXor

Full Usage: this.IsXor

Returns: bool
Returns: bool

Static members

Static member Description

Expr.ToString(expr)

Full Usage: Expr.ToString(expr)

Parameters:
Returns: string

Converts an expression back to string.

expr : Expr
Returns: string

Type something to start searching.