WhileDeclaration module

class Interpreters.While.WhileDeclaration.WhileDeclaration(token_index: int, token_array=None, interpreter=None)

Bases: Interpreters.Expression.Expression

att_token(result)

Will atualize the list tokens and token index after execute another GLC

conditions()

Run the GLC of MultipleConditionParam or ConditionParam and return the result.

current_token: Token
run_glc()

Run the GLC of WhileDeclaration and will return the node based on BinOp and custom logs. In addition, will execute the interpreter to check block of codes inside the while

var_conditional()

Run the GLC of Conditional and return the result.