Values module

class Interpreters.Common.Values.Values(token_index: int, token_array=None)

Bases: Interpreters.Expression.Expression

check_num_operation()

Will check the number operator based on NumOperation GLC

check_str_operation()

Will check the str operator based on StrOperation GLC

check_var_operation()

Will check the var operator based on VarOperation GLC

current_token: Token
run_glc()

Empty method to be implemented in every class

values_glc()

Run the GLC of Values, checking every possible operation and will return the node based on BinOp and custom logs.