浏览代码

Oops

gm/2021-09-23T00Z/github.com--lark-parser-lark/v0.12.0
Erez Sh 3 年前
父节点
当前提交
a85f7d9667
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      lark/ast_utils.py

+ 1
- 0
lark/ast_utils.py 查看文件

@@ -54,6 +54,7 @@ def create_transformer(ast_module, transformer=None):
if not name.startswith('_') and inspect.isclass(obj):
if issubclass(obj, Ast):
if not issubclass(obj, AsList):
if issubclass(obj, WithMeta):
obj = with_meta_inline(obj).__get__(t)
else:
obj = inline(obj).__get__(t)


正在加载...
取消
保存