Collect text nodes from an AST.
The AST to collect text nodes from.
The text to collect text nodes for.
Optional
The options to use when collecting text nodes.
The collected text nodes.
This function was never meant to be used directly. It is in the underlying annotatedtext module and is used by the build function.
collecttextnodes
Collect text nodes from an AST.