示例#1
0
 def __init__(self, rules):
     ParseTreeVisitor.__init__(self)
     self.rules = rules
     self.symbols = EMPTY
     self.names = {}
     self.modules = STATIC_MODULE
     self.synonyms = {}
     self.newnames = set()
示例#2
0
文件: tokibi.py 项目: y-akinobu/kolab
 def __init__(self, synonyms=None):
     ParseTreeVisitor.__init__(self)
     self.indexes = {}
     self.synonyms = {} if synonyms is None else synonyms
示例#3
0
文件: back.py 项目: y-akinobu/kolab
 def __init__(self):
     ParseTreeVisitor.__init__(self)
     self.rules = {}
     self.reader = CodeParser()
示例#4
0
文件: back.py 项目: y-akinobu/kolab
 def __init__(self):
     ParseTreeVisitor.__init__(self)
     self.symbols = EMPTY
     self.modules = STATIC_MODULE
示例#5
0
文件: parser.py 项目: y-akinobu/kolab
 def __init__(self):
     ParseTreeVisitor.__init__(self)