IfDeclaration module¶
-
class
Interpreters.Conditional.IfDeclaration.IfDeclaration(token_index: int, token_array=None, interpreter=None)¶ Bases:
Interpreters.Expression.Expression-
current_token: Token¶
-
if_dec_exp() → AST.AST.AST¶ Check the GLC of IfDeclaration and return the If AST. In addition, will execute the interpreter to check block of codes inside the if
-
run_glc()¶ Run the GLC of IfDeclaration and will return the node based on BinOp and custom logs.
-