def print_tree(self, ast_obj=None):
if not ast_obj:<EOL><INDENT>ast_obj = self<EOL><DEDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>print("<STR_LIT>")<EOL>self.bel_subject.print_tree(self.bel_subject, indent=<NUM_LIT:0>)<EOL><DEDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>print("<STR_LIT>", self.bel_relation)<EOL><DEDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>if self.bel_object.type == "<STR_LIT>":<EOL><INDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>print("<STR_LIT>")<EOL>self.bel_object.bel_subject.print_tree(indent=<NUM_LIT:0>)<EOL><DEDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>print("<STR_LIT>", self.bel_object.bel_relation)<EOL><DEDENT>if hasattr(self, "<STR_LIT>"):<EOL><INDENT>print("<STR_LIT>")<EOL>self.bel_object.bel_object.print_tree(indent=<NUM_LIT:0>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL>self.bel_object.print_tree(self.bel_object, indent=<NUM_LIT:0>)<EOL><DEDENT><DEDENT>return self<EOL>
Convert AST object to tree view of BEL AST

        Returns:
            prints tree of BEL AST to STDOUT