def ast(self):
"""Python AST of this predicate (construct transitively for all indirect children as well).
:return: AST of describing all children predicates
"""
return ast.UnaryOp(ast.Not(), ast.Expr(value=self._child.ast()))
评论列表
文章目录