transonic.analyses.extast

Extended AST with CommentLine nodes

Functions

gast_to_ast(node)

parse(code, *args, **kwargs)

Parse a code and produce the extended AST

unparse(tree[, with_comments])

Classes

CommentInserter(tree, code)

Insert the CommentLine nodes in an AST tree

CommentLine(s[, lineno])

New AST node representing a comment line

Constant(value)

FunctionDef(name, args, body[, ...])

GAstToAst3WithCommentLine()

Name([id, ctx, annotation])

UnparserExtended(*[, with_comments])