Classes | |
class | GeneratorBase |
class | InvalidDirective |
class | NotFinalElement |
class | NotFound |
class | Template |
class | UnexpectedData |
class | UnknownError |
class | UnmatchedBlock |
class | UnmatchedData |
class | YATException |
Functions | |
def | nesteditem |
Variables | |
list | dict = [] |
string | program |
tuple | t = Template(template[i]) |
list | template = [] |
def yat.nesteditem | ( | aList | ) |
string yat::program |
00001 """ 00002 class Generator(GeneratorBase): 00003 def __init__(self, token, dict): 00004 GeneratorBase.__init__(self, token, dict) 00005 def generate(self): 00006 try: 00007 self.process() 00008 except YATException, e: 00009 self.print_error(e) 00010 sys.exit(-1) 00011 return self.text 00012 00013 def process(self): 00014 """
list yat::template = [] |