Module Expr Str ImportFrom alias alias FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Num If CompareEq AttributeLoad NameLoad attr Str body Return Num orelse Return Num decorator_list ClassDef bases body Assign NameStore TupleLoad Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Break decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num orelse Raise NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Num Return Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad Str body Return If CompareNotEq AttributeLoad NameLoad attr Str body Return Raise NameLoad BinOpAdd Str Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Import alias ImportFrom alias alias For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Print NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad Print AttributeLoad NameLoad attr Print
N/A N/A Parser for future statements

 lib2to3.compiler ast walk is_future N/A N/A stmt N/A N/A N/A Return true if statement is a well-formed future statement N/A N/A N/A isinstance stmt N/A ast From N/A N/A 0 N/A N/A N/A stmt modname __future__ N/A N/A 1 N/A N/A 0 N/A FutureParser N/A N/A N/A features N/A nested_scopes generators division absolute_import with_statement print_function unicode_literals __init__ N/A N/A self N/A N/A N/A N/A self found N/A N/A visitModule N/A N/A self node N/A N/A N/A stmt N/A node node N/A s N/A stmt nodes N/A N/A N/A N/A N/A self check_stmt s N/A N/A N/A check_stmt N/A N/A self stmt N/A N/A N/A N/A is_future stmt N/A N/A N/A name asname N/A stmt names N/A N/A N/A name N/A self features N/A N/A N/A N/A self found N/A name 1 N/A N/A SyntaxError N/A future feature %s is not defined name N/A N/A stmt valid_future 1 N/A 1 N/A 0 N/A get_features N/A N/A self N/A N/A N/A Return list of features enabled by future statements N/A N/A N/A N/A self found keys N/A N/A BadFutureParser N/A N/A N/A Check for invalid future statements visitFrom N/A N/A self node N/A N/A N/A N/A hasattr node valid_future N/A N/A N/A N/A N/A node modname __future__ N/A N/A N/A SyntaxError N/A invalid future statement  N/A repr node N/A N/A find_futures N/A N/A node N/A N/A N/A p1 N/A FutureParser N/A p2 N/A BadFutureParser N/A N/A walk node p1 N/A N/A walk node p2 N/A N/A N/A p1 get_features N/A N/A N/A __name__ __main__ N/A N/A sys compiler parseFile walk N/A file N/A N/A sys argv N/A 1 N/A N/A file N/A tree N/A parseFile file N/A v N/A FutureParser N/A N/A walk tree v N/A N/A v found N/A