HaxeAPI
  • Version 4.3.6
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.6
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

enum Binop

package haxe.macro

import haxe.macro.Expr


Available on all platforms

A binary operator.

See also:

  • https://haxe.org/manual/types-numeric-operators.html

Values

OpAdd

+

OpMult

*

OpDiv

/

OpSub

-

OpAssign

=

OpEq

==

OpNotEq

!=

OpGt

>

OpGte

>=

OpLt

<

OpLte

<=

OpAnd

&

OpOr

``

OpXor

^

OpBoolAnd

&&

OpBoolOr

``

OpShl

<<

OpShr

>>

OpUShr

>>>

OpMod

%

OpAssignOp(op:Binop)

+= -= /= *= <<= >>= >>>= `= &= ^= %=`

OpInterval

...

OpArrow

=>

OpIn

in

OpNullCoal

??

This documentation is generated for version 4.3.6

© 2025  Haxe Foundation | Contribute to Haxe