def generic_visit(self, node):
"""
This function is called when all other nodes are encountered when traversing the tree.
When inheriting form this standard parser, this function will make the parser ignore
all nodes that are not relevant.
Args:
node (ast.Node): The node which is visited.
"""
pass # This ignore is necessary to keep the parser at base level, also look comment above in
# the visit_Module function body.
评论列表
文章目录