
## MarkdownSyntaxTree class

Represent the Markdown Syntax Tree.



**Inheritance:** [`MarkdownSyntaxTree`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree) → 
[`MarkdownSyntaxNode`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxnode)



The MarkdownSyntaxTree type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/__init__/#aspose.html.Configuration) | Creates the MarkdownSyntaxTree |
| [__init__](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/__init__/#) | Created the MarkdownSyntaxTree. |


### Properties
| Property | Description |
| :- | :- |
| [parent](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/parent) | Get the parent node. |
| [first_child](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/first_child) | Get the first child. |
| [last_child](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/last_child) | Get the last child. |
| [previous_sibling](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/previous_sibling) | Get the previous sibling. |
| [next_sibling](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/next_sibling) | Get ghe next sibling. |
| [syntax_factory](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/syntax_factory) | Get the SyntaxFactory. |


### Methods
| Method | Description |
| :- | :- |
| [save](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/save/#str) | Saves the syntax tree to the specified path. |
| [save](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/save/#io.RawIOBase) | Saves the syntax tree to the specified stream. |
| [create_node_iterator](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/create_node_iterator/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNodeFilter) | Defines the interface for create of the node iterator. |
| [create_node_iterator](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/create_node_iterator/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode) | Defines the interface for create of the node iterator. |
| [create_node_iterator](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/create_node_iterator/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode-aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNodeFilter) | Defines the interface for create of the node iterator. |
| [create_tree_walker](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/create_tree_walker/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNodeFilter) | Defines the interface for create the tree walker. |
| [create_tree_walker](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/create_tree_walker/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode) | Defines the interface for create the tree walker. |
| [create_tree_walker](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/create_tree_walker/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode-aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNodeFilter) | Defines the interface for create the tree walker. |
| [get_syntax_tree](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/get_syntax_tree/#) | Get the syntax tree. |
| [child_nodes](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/child_nodes/#) | Get the child nodes collection. |
| [get_leading_trivia](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/get_leading_trivia/#) | Get the leading trivia. |
| [get_trailing_trivia](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/get_trailing_trivia/#) | Get the Trailing trivia. |
| [append_child](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/append_child/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode) | Append child node. |
| [remove_child](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/remove_child/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode) | Remove the child. |
| [replace_child](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/replace_child/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode-aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode) | Replace the child node. |
| [insert_before](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/insert_before/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode-aspose.html.toolkit.markdown.syntax.MarkdownSyntaxNode) | Insert before node. |
| [accept](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/accept/#aspose.html.toolkit.markdown.syntax.MarkdownSyntaxVisitor) | Defines the interface for visiting nodes of the syntax tree. |
| [write_to](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree/write_to/#aspose.html.toolkit.markdown.syntax.MarkdownTextWriter) | Write to MarkdownTextWriter. |



### See Also
* module [`aspose.html.toolkit.markdown.syntax`](..)
* class [`MarkdownSyntaxNode`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxnode)
* class [`MarkdownSyntaxTree`](/html/python-net/aspose.html.toolkit.markdown.syntax/markdownsyntaxtree)
