Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Expr Yield Call NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Assign NameStore ListLoad Assign NameStore Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num If CompareEq NameLoad NameLoad body Assign NameStore Num Expr Yield Call NameLoad NameLoad Assign NameStore ListLoad If BoolOpAnd NameLoad CompareGt NameLoad Num body Expr Yield Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad NameLoad If CompareIsNot NameLoad NameLoad body For NameStore Call NameLoad NameLoad body Expr Yield NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Yield AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Expr Yield SubscriptLoad NameLoad Slice Num Num orelse If Call AttributeLoad NameLoad attr Str body Expr Yield SubscriptLoad NameLoad Slice Num Num orelse If Call AttributeLoad NameLoad attr Str body Expr Yield SubscriptLoad NameLoad Slice Num Num orelse If Call AttributeLoad NameLoad attr Str body Expr Yield SubscriptLoad NameLoad Slice Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Yield AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr BinOpDiv AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body Expr Yield AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr orelse For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr ListLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Yield Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Yield Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Yield NameLoad orelse Expr Yield IfExp CompareEq NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad body If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str body Expr Yield NameLoad Return orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str body Expr Yield NameLoad Return For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Yield Call AttributeLoad Str attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad decorator_list decorator_list
N/A collections deque lib2to3.pytree Leaf lib2to3.pgen2 token textwrap dedent N/A classes N/A __all__ N/A TreeVisitor CoreGenerator itail N/A N/A iterable size N/A 1 N/A N/A Yields `size` elements of iterable and iterator over rest of elements N/A iterator N/A iter iterable N/A _ N/A range size N/A N/A N/A N/A next iterator N/A N/A iterator N/A unchain N/A N/A iterable size tail N/A 1 False N/A N/A buff N/A N/A counter 0 N/A element iterable N/A N/A N/A N/A buff append element N/A counter 1 N/A N/A counter size N/A N/A counter 0 N/A N/A N/A tuple buff N/A buff N/A N/A N/A tail N/A counter 0 N/A N/A N/A N/A tuple buff N/A TreeVisitor N/A object N/A N/A 
    Generic 2to3 AST-visitor
     __init__ N/A N/A self grammar N/A N/A N/A N/A self grammar grammar N/A N/A self types N/A set N/A visit N/A N/A self N/A tree N/A N/A Abstract routing method. Executes methods depending of ast-node-type N/A queue N/A deque tree N/A queue N/A N/A node N/A N/A queue popleft N/A N/A N/A node type N/A N/A self grammar number2symbol N/A N/A node_type N/A N/A N/A self grammar number2symbol N/A N/A node type N/A N/A N/A N/A node type N/A token tok_name N/A N/A node_type N/A N/A token tok_name N/A N/A node type N/A N/A node_type unknown N/A N/A N/A N/A self types add node_type N/A method N/A getattr self N/A on_ node_type None N/A N/A method None N/A N/A part N/A method node N/A N/A N/A part N/A N/A N/A N/A queue extend N/A node children N/A N/A CodeGenerator N/A TreeVisitor N/A N/A 
    Visitor over AST which converts nodes into instances structure.
     __init__ N/A N/A self grammar lookupdir N/A N/A N/A N/A N/A N/A super CodeGenerator self __init__ grammar N/A N/A self lookupdir lookupdir N/A on_NUMBER N/A N/A self node N/A N/A N/A N/A N/A node value N/A on_STRING N/A N/A self node N/A N/A N/A value N/A node value N/A N/A N/A value startswith """ N/A N/A N/A N/A value N/A 3 -3 N/A N/A N/A N/A value startswith ''' N/A N/A N/A N/A value N/A 3 -3 N/A N/A N/A N/A value startswith " N/A N/A N/A N/A value N/A 1 -1 N/A N/A N/A N/A value startswith ' N/A N/A N/A N/A value N/A 1 -1 N/A on_indent N/A N/A self node N/A N/A N/A N/A N/A N/A N/A node children N/A 0 value N/A N/A on_label on_indent on_import N/A N/A self node N/A N/A N/A N/A filename N/A N/A self visit N/A node children N/A N/A N/A N/A classes Import N/A N/A self lookupdir filename N/A on_type N/A N/A self node N/A N/A N/A 
        type: ( "double" | "float" | "int32" | "int64" | "uint32" | "uint64"
            | "sint32" | "sint64" | "fixed32" | "fixed64" | "sfixed32"
            | "sfixed64" | "bool" | "string" | "bytes" | userType )
         N/A N/A isinstance N/A N/A node children N/A 0 Leaf N/A N/A N/A N/A N/A N/A node children N/A 0 value N/A N/A child N/A N/A self visit N/A node children N/A N/A N/A child N/A on_package N/A N/A self node N/A N/A N/A 
        package: "package" indent ( "." indent )* ";"
         N/A N/A name N/A N/A self visit N/A node children N/A N/A N/A N/A classes Property N/A package_name name N/A on_fieldTail N/A N/A self node N/A N/A N/A 
        fieldTail: type indent "=" NUMBER [ "[" fieldOption ( "," fieldOption )* "]" ] ";"
         N/A N/A type name index options N/A itail N/A N/A self visit N/A node children 3 N/A options N/A dict options N/A N/A N/A N/A classes Field index name type options N/A on_fieldOption N/A N/A self node N/A N/A N/A N/A name value N/A N/A self visit N/A node children N/A N/A N/A name value N/A on_extension N/A N/A self node N/A N/A N/A 
        extension: NUMBER [ "to" ( NUMBER | "max" ) ]
         N/A N/A N/A len N/A node children 1 N/A N/A N/A N/A N/A classes Extension N/A N/A N/A node children N/A 0 value N/A N/A N/A N/A len N/A node children 3 N/A N/A N/A N/A N/A classes Extension N/A N/A N/A node children N/A 0 value N/A N/A N/A node children N/A 2 value N/A N/A N/A SyntaxError Invalid extension N/A on_groupOrField N/A N/A self node N/A N/A N/A 
        groupOrField: label (groupTail | fieldTail)
        groupTail: "group" indent "=" NUMBER messageBody
         N/A N/A label child N/A N/A self visit N/A node children N/A N/A child kind label N/A N/A child N/A on_intlit N/A N/A self node N/A N/A N/A value N/A float N/A str node N/A N/A N/A ivalue N/A int value N/A N/A N/A ValueError N/A N/A N/A value N/A N/A N/A N/A N/A value ivalue ivalue value N/A on_constant N/A N/A self node N/A N/A N/A N/A isinstance N/A N/A node children N/A 0 Leaf N/A N/A N/A N/A N/A N/A node children N/A 0 value true N/A N/A N/A True N/A N/A N/A N/A N/A N/A N/A node children N/A 0 value false N/A N/A N/A False N/A N/A child N/A N/A self visit N/A node children N/A N/A N/A child N/A on_option N/A N/A self node N/A N/A N/A 
        option: "option" optionBody ";"
        optionBody: indent ( "." indent )* "=" constant
        constant: indent | intlit | STRING | "true" | "false"
         N/A parts N/A list N/A N/A self visit N/A node children N/A N/A N/A N/A classes Property N/A parts N/A -1 N/A parts N/A -1 N/A on_enum N/A N/A self node N/A N/A N/A 
        enum: "enum" indent "{" ( option | enumField | ";" )* "}"
         N/A N/A name _ N/A itail N/A N/A self visit N/A node children N/A N/A N/A N/A classes Enum name N/A on_message N/A N/A self node N/A N/A N/A 
        message: "message" indent messageBody
        messageBody: "{" ( enum | message | extend | extensions | groupOrField | option | ";" )* "}"
         N/A N/A name children N/A itail N/A N/A self visit N/A node children N/A code N/A dedent N/A N/A N/A N/A N/A str node strip replace #// // N/A message N/A N/A classes Message name code N/A child children N/A N/A N/A N/A child set message N/A N/A message N/A on_userType N/A N/A self node N/A N/A N/A 
        userType: ["."] indent ( "." indent )*
         N/A N/A N/A N/A _ join N/A N/A self visit N/A node children N/A on_rpc N/A N/A self node N/A N/A N/A 
        rpc: "rpc" indent "(" userType ")" "returns" "(" userType ")" ";"
         N/A N/A name input_type output_type N/A N/A self visit N/A node children N/A N/A N/A N/A classes RPC name input_type output_type N/A on_service N/A N/A self node N/A N/A N/A 
        service: "service" indent "{" ( option | rpc | ";" )* "}"
         N/A N/A name children N/A itail N/A N/A self visit N/A node children N/A service N/A N/A classes Service name N/A child children N/A N/A N/A N/A child set service N/A N/A service N/A on_file_input N/A N/A self node N/A N/A N/A 
        file_input: ( NEWLINE | message | extend | enum | import | package | option | service | ";" )* ENDMARKER
         N/A protocol N/A N/A classes Protocol N/A child N/A N/A self visit N/A node children N/A N/A N/A N/A child set protocol N/A N/A protocol N/A N/A