flattenedChildren
Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.
Example:
Input (nested node tree):
AstRoot
BlockQuote
Paragraph
Text
Paragraph
Strong
Text
Text
Emphasis
Text
Content copied to clipboard
Output (flattened sequence):
BlockQuote
Paragraph
Text
Paragraph
Strong
Text
Text
Emphasis
Text
Content copied to clipboard
Return
flattened sequence of children nodes, excluding this root node