Condition

The class represents a condition in if-statement or a ternary operator.

Condition(token: str = '')

The IfInstruction.get_condition() function can be used to get the condition object of an if-statement.

Base: object


Condition.is_eq()Condition.is_geq()Condition.is_gr()Condition.is_le()Condition.is_leq()

Last updated