HasShortCircuitOperators

A language trait, that specifies that this language has binary operators that will short-circuit evaluation if the logical result is already known: '&&', '||' in Java or 'and','or' in Python

Properties

Link copied to clipboard

Operations which only execute the rhs of a binary operation if the lhs is true. Typically, these are &&, and or ^

Link copied to clipboard

Operations which only execute the rhs of a binary operation if the lhs is false. Typically, these are ||, or or v

Link copied to clipboard

The union of conjunctiveOperators and disjunctiveOperators, i.e., all binary operators of this language which result in some kind of branching behavior.