mistletoe
API Documentation
Modules
Classes
Names
mistletoe
.
ast_renderer
Toggle Private API
module documentation
Abstract syntax tree renderer for mistletoe.
Class
​ASTRenderer
No class docstring; 1/2 method documented
Function
get​_ast
Recursively unrolls token attributes into dictionaries (token.children into lists).
def
get_ast
(token):
Recursively unrolls token attributes into dictionaries (token.children into lists).
Returns
a dictionary of token's attributes.