parser.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:ieml 作者: IEMLdev 项目源码 文件源码
def __init__(self):

        # Build the lexer and parser
        self.lexer = get_lexer()
        self.parser = yacc.yacc(module=self, errorlog=logging, start='path',
                                debug=False, optimize=True, picklefile="parser/path_parser.pickle")
        # rename the parsing method (can't name it directly parse with lru_cache due to ply checking)
        self.parse = self.t_parse
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号