Skip to main content

crashtest.hxsmith.features.operators

Arithmetic, bitwise, comparison, logical and string operators, ternaries, std math.

class Operators(Feature)​

name​

name = 'operators'

summary​

summary = 'binary/unary operators, ternary, parentheses, Math'

covers​

covers = ('EBinop', 'EUnop', 'EParenthesis', 'ETernary', 'OpDiv', 'OpMod', 'OpShl', 'OpShr', 'OpUShr', 'OpAnd', 'OpOr', 'OpXor', 'OpGt', 'OpGte', 'OpLte', 'OpBoolAnd', 'OpBoolOr', 'Not', 'Neg', 'NegBits')

order​

order = 20

exprs​

def exprs(g: Gen, ty: Ty)