def __init__(self): DepthFirstAdapter.__init__(self) self.typeMap = dict() #stores the Type of each node self.hack_has_class = False #HACK for MiniOodle self.valid_scope = False #help determine whether a scope is valid or not self.m_cur_class = "" #holds the name of the current class self.m_cur_method = "" #holds the name of the current method
def __init__(self): DepthFirstAdapter.__init__(self) self.asm_list = [] #list of asm instructions self.asm_data_list = [] #list of asm instructions in the .data segment self.asm_text_list = [] #list of asm instructions in the .text segment self.label_counter = 0 #unique counter for label generation self.m_cur_class = "" #holds the name of the current class self.m_cur_method = "" #holds the name of the current method
def __init__(self): DepthFirstAdapter.__init__(self) self.m_cur_class = "" #holds the name of the current class self.m_cur_method = "" #holds the name of the current method/function