sec_parser.semantic_tree.render
Attributes
Functions
|
render function is used to visualize the structure of the semantic tree. |
Module Contents
- sec_parser.semantic_tree.render_.DEFAULT_CHAR_DISPLAY_LIMIT = 65
- sec_parser.semantic_tree.render_.render(tree: list[sec_parser.semantic_tree.tree_node.TreeNode] | sec_parser.semantic_tree.tree_node.TreeNode | sec_parser.semantic_tree.semantic_tree.SemanticTree | list[sec_parser.semantic_elements.abstract_semantic_element.AbstractSemanticElement], *, pretty: bool | None = True, ignored_types: tuple[type[sec_parser.semantic_elements.abstract_semantic_element.AbstractSemanticElement], Ellipsis] | None = None, char_display_limit: int | None = None, verbose: bool = False, _nodes: list[sec_parser.semantic_tree.tree_node.TreeNode] | None = None, _level: int = 0, _prefix: str = '', _is_root: bool = True) str
render function is used to visualize the structure of the semantic tree. It is primarily used for debugging purposes.