ConditionalExpression module¶
-
class
Interpreters.Conditional.ConditionalExpression.ConditionalExpression(token_index: int, token_array=None, interpreter=None)¶ Bases:
Interpreters.Expression.Expression-
cond_exp() → bool¶ Run the GLC of IfDeclaration and ElseDeclaration and return the result.
-
run_glc()¶ Run the GLC of ConditionalExpression and will return the node based on BinOp and custom logs.
-