NumOperation module

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

Bases: Interpreters.Expression.Expression

current_token: Tokens.Token.Token
expr()

Return the node of operation based on term and operation

factor()

Gets the factor of operation

run_glc()

Run the GLC of NumOperation and will return node based on BinOp and custom logs.

term()

Gets the term of operation