def __init__(self): self.scope_counter = -1 self.t_counter = -1 self.l_counter = -1 self.code_generator = CodeGenerator() self.code_list = [] self.TRUE_LABEL = "TRUE_LABEL" self.FALSE_LABEL = "FALSE_LABEL" self.NEXT_LABEL = "NEXT_LABEL" self.VARIABLES = [] self.FuncVARIABLES = [] self.check = False self.symbol_table_list = [] self.func_table = [] self.variable_decs = ""
def __init__(self): self.t_counter = -1 self.l_counter = -1 self.code_generator = CodeGenerator() self.code_list = []