Constraint operators
DocuMine’s rule engine follows standard Java operator precedence; with some exceptions and unique operators. The table below lists the operator precedence, from highest to lowest:
Operator type | Operators | Notes |
---|---|---|
(Nested) property access | .() | Not standard Java semantics |
List/map access | [] | Not standard Java semantics |
Constraint binding | : | Not standard Java semantics |
Multiplicative |
| |
Additive |
| |
Relational |
| |
Equality |
| Uses equals() and !equals() semantics, not standard java semantics (same / not same) |
Negation | ! | |
Non-short-circuiting “AND” | & | |
Non-short-circuiting exclusive “OR” | ^ | |
Non-short-circuiting inclusive “OR” | | | |
Logical “AND” | && | |
Logical “OR” | || | |
Ternary |
| |
Comma-separated “AND” | , | Not standard Java semantics |