def _apply(self, *e):
productions = self._parse_productions()
start = Nonterminal(self._start.get())
cfg = CFG(start, productions)
if self._set_cfg_callback is not None:
self._set_cfg_callback(cfg)
cfg.py 文件源码
python
阅读 39
收藏 0
点赞 0
评论 0
评论列表
文章目录