def __init__(self, *args): OutputFormatter.__init__(self, *args) self.callbacks = { self.PRE : [], self.MAIN : [], self.POST : [] }
def __init__(self, template_file, *args): OutputFormatter.__init__(self, *args) self.template_file = template_file self.register_option("token_flag_type", default="int") self.symbols = None
def __init__(self, *args): OutputFormatter.__init__(self, *args) self.callbacks = {self.PRE: [], self.MAIN: [], self.POST: []}