HugoFrontMatterSyntaxNode class
HugoFrontMatterSyntaxNode class
Defines the base class HugoFrontMatterSyntaxNode
Inheritance: HugoFrontMatterSyntaxNode →
BlockSyntaxNode →
MarkdownSyntaxNode
The HugoFrontMatterSyntaxNode type exposes the following members:
Properties
| Property | Description | 
|---|---|
| parent | Get the parent node. | 
| first_child | Get the first child. | 
| last_child | Get the last child. | 
| previous_sibling | Get the previous sibling. | 
| next_sibling | Get ghe next sibling. | 
| front_matter_root_node | Get and set the RootNode | 
Methods
| Method | Description | 
|---|---|
| get_syntax_tree | Get the syntax tree. | 
| child_nodes | Get the child nodes collection. | 
| get_leading_trivia | Get the leading trivia. | 
| get_trailing_trivia | Get the Trailing trivia. | 
| append_child | Append child node. | 
| remove_child | Remove the child. | 
| replace_child | Replace the child node. | 
| insert_before | Insert before node. | 
| accept | Defines the interface for accept visitor. | 
| write_to | Write to MarkdownTextWriter. | 
| find | Defines the interface for find BaseSyntaxNode |