Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias alias Import alias Import alias Import alias Import alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias ClassDef bases NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword TupleLoad Str Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr TupleLoad BinOpMod Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If CompareEq NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad BinOpMod Str Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr TupleLoad BinOpMod Str NameLoad Str If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Num keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad ListLoad keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str keyword Num FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIs AttributeLoad NameLoad attr NameLoad body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Pass Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListComp ListComp Num comprehension NameStore Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad NameLoad body If CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num body Assign NameStore Str orelse Assign NameStore BinOpMod Str TupleLoad Call NameLoad Num BinOpAdd Num BinOpDiv BinOpMult Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Call NameLoad Num BinOpSub Num BinOpDiv BinOpMult Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad If CompareEq TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword Num Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad orelse TryExcept body Delete SubscriptDel SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return For NameStore Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return If BoolOpAnd CompareEq TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore NameStore Num Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpDiv BinOpSub Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad Assign NameStore BinOpDiv BinOpSub BinOpSub Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad Num BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad BinOpDiv NameLoad Num NameLoad keyword Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad BinOpDiv NameLoad Num NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad NameLoad Num keyword Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpMult NameLoad BinOpAdd NameLoad Num NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad BinOpAdd BinOpMult NameLoad BinOpAdd NameLoad Num NameLoad keyword Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad NameLoad NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad keyword Num Assign AttributeStore NameLoad attr ListComp ListComp NameLoad comprehension NameStore Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad BinOpAdd BinOpMult BinOpAdd NameLoad Num NameLoad NameLoad BinOpAdd BinOpMult BinOpAdd NameLoad Num NameLoad NameLoad keyword Str Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Num Num BinOpAdd NameLoad Num BinOpAdd NameLoad Num keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Return If CompareIsNot NameLoad NameLoad body If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Return If CompareNotEq Call AttributeLoad NameLoad attr TupleLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr body Return For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword Num keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore Call AttributeLoad NameLoad attr Index Str NameLoad For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIs AttributeLoad NameLoad attr NameLoad body Return If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body If CompareIsNot NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub Num NameLoad BinOpSub Num NameLoad Assign SubscriptStore NameLoad Index Str BinOpMod Str TupleLoad BinOpAdd BinOpSub NameLoad NameLoad Num BinOpAdd BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Return For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIs AttributeLoad NameLoad attr NameLoad body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Pass Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str FunctionDef arguments args NameParam defaults vararg body Assign NameStore BinOpMult ListLoad Str Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIs AttributeLoad NameLoad attr NameLoad body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Pass Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore TupleLoad Str Num Assign NameStore TupleLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Num keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Num keyword Str keyword NameLoad attr keyword Str keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Num attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str If UnaryOpNot NameLoad body Return TryExcept body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str If UnaryOpNot NameLoad body Return TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpOr CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str orelse Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad Call AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr BinOpDiv BinOpSub NameLoad BinOpMult Num AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpDiv BinOpSub AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpOr CompareLtELt NameLoad NameLoad NameLoad CompareLtELt NameLoad NameLoad NameLoad CompareEqEqEq NameLoad NameLoad NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If Call NameLoad NameLoad NameLoad body Return If CompareIn NameLoad AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad Assign NameStore BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return Assign NameStore Num While NameLoad body While CompareGtE NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareGtE NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad Break AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign NameStore NameLoad Break If CompareIs NameLoad NameLoad body Return Assign NameStore BinOpMult BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpDiv BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body AugAssignAdd NameStore Call NameLoad Num BinOpDiv AttributeLoad NameLoad attr Num Assign NameStore BinOpMult BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword Str keyword Num If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore ListLoad Assign NameStore Num Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Num Assign NameStore BinOpDiv BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad Num BinOpSub NameLoad Num BinOpAdd NameLoad Num BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv BinOpAdd NameLoad NameLoad Num NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword NameLoad Return orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr TupleLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Str orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Num Num keyword Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMult Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMult BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str TupleLoad Num Num NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad Num Num NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad Num BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Num keyword Call NameLoad NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq BinOpMod NameLoad Num Num body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str orelse If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpDiv BinOpAdd NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num BinOpSub SubscriptLoad NameLoad Index Num BinOpDiv AttributeLoad NameLoad attr Num BinOpSub NameLoad Num BinOpAdd SubscriptLoad NameLoad Index Num BinOpDiv AttributeLoad NameLoad attr Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Return If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Return For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr Assign NameStore BinOpMult Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad Num Num NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpMod BinOpAdd AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareLtE Call NameLoad AttributeLoad NameLoad attr Num body Return Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad BinOpMult Num BinOpSub BinOpSub Call NameLoad AttributeLoad NameLoad attr NameLoad Num If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num BinOpSub NameLoad Num NameLoad BinOpSub NameLoad Num BinOpAdd NameLoad Num keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpDiv BinOpMult BinOpAdd BinOpMult Num NameLoad Num AttributeLoad NameLoad attr Num NameLoad AugAssignAdd NameStore Num If NameLoad body Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad orelse Assign NameStore BinOpAdd BinOpDiv BinOpMult BinOpAdd BinOpMult Num NameLoad Num AttributeLoad NameLoad attr Num NameLoad AugAssignAdd NameStore Num Assign NameStore BinOpMult NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword Str keyword Call NameLoad Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If BoolOpAnd Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Dict For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad orelse TryExcept body Delete SubscriptDel SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Return For NameStore Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AugAssignAdd NameStore TupleLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Raise decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIs AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If Call NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Pass Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad Call AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Num attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Num attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Num attr keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str keyword Str keyword AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Num keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Num keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Num keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Num keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Num keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Num keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr Num TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad BoolOpOr NameLoad Str attr keyword Num keyword Str handlers ExceptHandler body Expr Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad BoolOpOr NameLoad Str attr keyword Num decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore BinOpAdd Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str If UnaryOpNot NameLoad body Return TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str If UnaryOpNot NameLoad body Return TryExcept body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str If UnaryOpNot NameLoad body Return TryExcept body If Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword Str If UnaryOpNot NameLoad body Return TryExcept body If Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpUSub Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr orelse For NameStore AttributeLoad NameLoad attr body If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If CompareEq AttributeLoad NameLoad attr Num body Return If CompareIsNot Call AttributeLoad NameLoad attr NameLoad body If BoolOpOr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num body Return If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr orelse If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str orelse Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore ListLoad Call NameLoad Assign NameStore ListLoad Call NameLoad Assign NameStore ListLoad Call NameLoad Assign NameStore ListLoad Call NameLoad Assign NameStore ListLoad Call NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Print Str For NameStore Call AttributeLoad NameLoad attr body Print TupleLoad Str BinOpAdd Call NameLoad NameLoad Str Print Str Print BinOpMod Str NameLoad Print Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Assign NameStore ListLoad Str
N/A N/A 
A graphical tool for exploring chart parsing.

Chart parsing is a flexible parsing algorithm that uses a data
structure called a "chart" to record hypotheses about syntactic
constituents.  Each hypothesis is represented by a single "edge" on
the chart.  A set of "chart rules" determine when new edges can be
added to the chart.  This set of rules controls the overall behavior
of the parser (e.g. whether it parses top-down or bottom-up).

The chart parsing tool demonstrates the process of parsing a single
sentence, with a given grammar and lexicon.  Its display is divided
into three sections: the bottom section displays the chart; the middle
section displays the sentence; and the top section displays the
partial syntax tree corresponding to the selected edge.  Buttons along
the bottom of the window are used to control the execution of the
algorithm.

The chart parsing tool allows for flexible control of the parsing
algorithm.  At each step of the algorithm, you can select which rule
or strategy you wish to apply.  This allows you to experiment with
mixing different strategies (e.g. top-down and bottom-up).  You can
exercise fine-grained control over the algorithm by selecting which
edge you wish to apply a rule to.
 __future__ division N/A nltk.compat N/A pickle tkinter.filedialog asksaveasfilename askopenfilename N/A tkinter N/A math N/A os.path N/A tkinter.font tkinter.messagebox nltk.parse.chart BottomUpPredictCombineRule BottomUpPredictRule Chart LeafEdge LeafInitRule SingleEdgeFundamentalRule SteppingChartParser TopDownInitRule TopDownPredictRule TreeEdge nltk.tree Tree nltk.grammar Nonterminal CFG nltk.util in_idle nltk.draw.util CanvasFrame ColorizedList EntryDialog MutableOptionMenu ShowText SymbolWidget nltk.draw CFGEditor tree_to_treesegment TreeSegmentWidget EdgeList N/A ColorizedList N/A N/A ARROW N/A N/A SymbolWidget SYMBOLS N/A rightarrow _init_colortags N/A N/A self textwidget options N/A N/A N/A N/A N/A textwidget tag_config terminal foreground #006000 N/A N/A N/A textwidget tag_config arrow font symbol underline 0 N/A N/A N/A textwidget tag_config dot foreground #000000 N/A N/A N/A textwidget tag_config nonterminal foreground blue font N/A helvetica -12 bold N/A _item_repr N/A N/A self item N/A N/A N/A contents N/A N/A N/A N/A contents append N/A N/A %s	 N/A N/A item lhs nonterminal N/A N/A N/A contents append N/A N/A self ARROW arrow N/A N/A i elt N/A enumerate N/A N/A item rhs N/A N/A N/A i N/A N/A item dot N/A N/A N/A N/A contents append N/A  * dot N/A N/A isinstance elt Nonterminal N/A N/A N/A N/A contents append N/A N/A  %s N/A N/A elt symbol nonterminal N/A N/A N/A N/A contents append N/A N/A  %r elt terminal N/A N/A N/A item is_complete N/A N/A N/A N/A contents append N/A  * dot N/A contents N/A N/A ChartMatrixView N/A object N/A N/A 
    A view of a chart that displays the contents of the corresponding matrix.
     __init__ N/A N/A self parent chart toplevel title show_numedges N/A True Chart Matrix False N/A N/A N/A self _chart chart N/A N/A self _cells N/A N/A N/A self _marks N/A N/A N/A self _selected_cell None N/A toplevel N/A N/A N/A self _root N/A N/A tkinter Toplevel parent N/A N/A N/A N/A self _root title title N/A N/A N/A N/A self _root bind <Control-q> N/A self destroy N/A N/A N/A self _init_quit N/A self _root N/A N/A N/A self _root N/A N/A tkinter Frame parent N/A N/A N/A self _init_matrix N/A self _root N/A N/A N/A self _init_list N/A self _root N/A show_numedges N/A N/A N/A N/A self _init_numedges N/A self _root N/A N/A N/A self _numedges_label None N/A N/A self _callbacks N/A N/A N/A self _num_edges 0 N/A N/A N/A self draw N/A _init_quit N/A N/A self root N/A N/A N/A quit N/A N/A tkinter Button root text Quit command N/A self destroy N/A N/A N/A quit pack side bottom expand 0 fill none N/A _init_matrix N/A N/A self root N/A N/A N/A cframe N/A N/A tkinter Frame root border 2 relief sunken N/A N/A N/A cframe pack expand 0 fill none padx 1 pady 3 side top N/A N/A self _canvas N/A N/A tkinter Canvas cframe width 200 height 200 background white N/A N/A N/A N/A self _canvas pack expand 0 fill none N/A _init_numedges N/A N/A self root N/A N/A N/A N/A self _numedges_label N/A N/A tkinter Label root text 0 edges N/A N/A N/A N/A self _numedges_label pack expand 0 fill none side top N/A _init_list N/A N/A self root N/A N/A N/A N/A self _list N/A EdgeList root N/A width 20 height 5 N/A N/A N/A N/A self _list pack side top expand 1 fill both pady 3 cb N/A N/A edge self N/A self N/A N/A N/A N/A self _fire_callbacks select edge N/A N/A N/A N/A N/A self _list add_callback select cb N/A N/A N/A N/A self _list focus N/A destroy N/A N/A self N/A e N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A N/A N/A self _root destroy N/A N/A N/A N/A N/A N/A self _root None N/A set_chart N/A N/A self chart N/A N/A N/A N/A chart N/A self _chart N/A N/A N/A self _chart chart N/A N/A self _num_edges 0 N/A N/A N/A self draw N/A update N/A N/A self N/A N/A N/A N/A N/A self _root None N/A N/A N/A N N/A len N/A self _cells N/A cell_edges N/A N/A 0 N/A i N/A range N N/A j N/A range N N/A edge N/A self _chart N/A N/A N/A N/A cell_edges N/A N/A N/A edge start N/A N/A N/A edge end 1 N/A i N/A range N N/A N/A j N/A range i N N/A N/A N/A N/A N/A cell_edges N/A i N/A j 0 N/A N/A color gray20 N/A N/A color N/A #00%02x%02x N/A N/A min 255 N/A 50 N/A N/A 128 N/A N/A cell_edges N/A i N/A j 10 N/A max 0 N/A 128 N/A N/A 128 N/A N/A cell_edges N/A i N/A j 10 N/A cell_tag N/A N/A N/A self _cells N/A i N/A j N/A N/A N/A N/A self _canvas itemconfig cell_tag fill color N/A N/A N/A i j N/A self _selected_cell N/A N/A N/A N/A N/A self _canvas itemconfig cell_tag outline #00ffff width 3 N/A N/A N/A N/A self _canvas tag_raise cell_tag N/A N/A N/A N/A N/A self _canvas itemconfig cell_tag outline black width 1 N/A edges N/A list N/A N/A N/A self _chart select span N/A self _selected_cell N/A N/A N/A N/A self _list set edges N/A N/A self _num_edges N/A N/A N/A self _chart num_edges N/A N/A N/A self _numedges_label None N/A N/A N/A N/A self _numedges_label N/A text N/A %d edges N/A self _num_edges N/A activate N/A N/A self N/A N/A N/A N/A N/A N/A self _canvas itemconfig inactivebox state hidden N/A N/A N/A self update N/A inactivate N/A N/A self N/A N/A N/A N/A N/A N/A self _canvas itemconfig inactivebox state normal N/A N/A N/A self update N/A add_callback N/A N/A self event func N/A N/A N/A N/A N/A N/A N/A self _callbacks setdefault event N/A N/A func 1 N/A remove_callback N/A N/A self event func N/A None N/A N/A N/A func None N/A N/A N/A N/A self _callbacks N/A event N/A N/A N/A N/A N/A N/A N/A self _callbacks N/A event N/A func N/A N/A N/A N/A N/A _fire_callbacks N/A N/A self event N/A args N/A N/A N/A event N/A self _callbacks N/A N/A N/A cb_func N/A list N/A N/A N/A N/A self _callbacks N/A event keys N/A N/A N/A cb_func args N/A select_cell N/A N/A self i j N/A N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A i j N/A self _selected_cell N/A N/A N/A N/A self _chart num_edges N/A self _num_edges N/A N/A N/A N/A self _selected_cell N/A i j N/A N/A N/A self update N/A N/A N/A self _fire_callbacks select_cell i j N/A deselect_cell N/A N/A self N/A N/A N/A N/A N/A self _root None N/A N/A N/A N/A self _selected_cell None N/A N/A N/A N/A self _list set N/A N/A N/A N/A self update N/A _click_cell N/A N/A self i j N/A N/A N/A N/A N/A self _selected_cell N/A i j N/A N/A N/A N/A self deselect_cell N/A N/A N/A N/A self select_cell i j N/A view_edge N/A N/A self edge N/A N/A N/A N/A N/A self select_cell N/A N/A edge span N/A N/A N/A N/A self _list view edge N/A mark_edge N/A N/A self edge N/A N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A self select_cell N/A N/A edge span N/A N/A N/A N/A self _list mark edge N/A unmark_edge N/A N/A self edge N/A None N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A self _list unmark edge N/A markonly_edge N/A N/A self edge N/A N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A self select_cell N/A N/A edge span N/A N/A N/A N/A self _list markonly edge N/A draw N/A N/A self N/A N/A N/A N/A N/A self _root None N/A N/A N/A LEFT_MARGIN BOT_MARGIN 15 N/A TOP_MARGIN 5 N/A c N/A self _canvas N/A N/A N/A c delete all N/A N N/A N/A N/A N/A self _chart num_leaves 1 N/A dx N/A N/A N/A int N/A c N/A width LEFT_MARGIN N N/A dy N/A N/A N/A N/A int N/A c N/A height TOP_MARGIN BOT_MARGIN N N/A N/A N/A c delete all N/A i N/A range N N/A N/A N/A N/A c create_text N/A LEFT_MARGIN 2 N/A N/A N/A i dy N/A dy 2 TOP_MARGIN text N/A repr i anchor e N/A N/A N/A c create_text N/A N/A N/A i dx N/A dx 2 LEFT_MARGIN N/A N/A N/A N dy TOP_MARGIN 1 text N/A repr i anchor n N/A N/A N/A c create_line LEFT_MARGIN N/A N/A dy N/A i 1 TOP_MARGIN N/A N/A dx N LEFT_MARGIN N/A N/A dy N/A i 1 TOP_MARGIN dash . N/A N/A N/A c create_line N/A N/A dx i LEFT_MARGIN TOP_MARGIN N/A N/A dx i LEFT_MARGIN N/A N/A dy N TOP_MARGIN dash . N/A N/A N/A c create_rectangle LEFT_MARGIN TOP_MARGIN N/A LEFT_MARGIN N/A dx N N/A N/A dy N TOP_MARGIN width 2 N/A N/A self _cells N/A N/A None N/A i N/A range N N/A j N/A range N N/A i N/A range N N/A N/A j N/A range i N N/A N/A t N/A N/A c create_rectangle N/A N/A j dx LEFT_MARGIN N/A N/A i dy TOP_MARGIN N/A N/A N/A j 1 dx LEFT_MARGIN N/A N/A N/A i 1 dy TOP_MARGIN fill gray20 N/A N/A N/A N/A self _cells N/A i N/A j t cb N/A N/A event self i j N/A self i j N/A N/A N/A N/A self _click_cell i j N/A N/A N/A N/A c tag_bind t <Button-1> cb N/A N/A xmax ymax N/A N/A int N/A c N/A width N/A int N/A c N/A height N/A t N/A N/A c create_rectangle -100 -100 N/A xmax 100 N/A ymax 100 fill gray50 state hidden tag inactivebox N/A N/A N/A c tag_lower t N/A N/A N/A self update N/A pack N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _root pack args kwargs N/A N/A ChartResultsView N/A object N/A __init__ N/A N/A self parent chart grammar toplevel N/A True N/A N/A N/A self _chart chart N/A N/A self _grammar grammar N/A N/A self _trees N/A N/A N/A self _y 10 N/A N/A self _treewidgets N/A N/A N/A self _selection None N/A N/A self _selectbox None N/A toplevel N/A N/A N/A self _root N/A N/A tkinter Toplevel parent N/A N/A N/A N/A self _root title Chart Parser Application: Results N/A N/A N/A N/A self _root bind <Control-q> N/A self destroy N/A N/A N/A self _root N/A N/A tkinter Frame parent N/A toplevel N/A N/A buttons N/A N/A tkinter Frame N/A self _root N/A N/A N/A buttons pack side bottom expand 0 fill x N/A N/A N/A N/A N/A tkinter Button buttons text Quit command N/A self destroy pack side right N/A N/A N/A N/A N/A tkinter Button buttons text Print All command N/A self print_all pack side left N/A N/A N/A N/A N/A tkinter Button buttons text Print Selection command N/A self print_selection pack side left N/A N/A self _cframe N/A CanvasFrame N/A self _root closeenough 20 N/A N/A N/A N/A self _cframe pack side top expand 1 fill both N/A N/A N/A self update N/A update N/A N/A self edge N/A None N/A N/A N/A N/A self _root None N/A N/A N/A N/A edge None N/A N/A N/A N/A N/A edge lhs N/A N/A N/A self _grammar start N/A N/A N/A N/A N/A N/A edge span N/A 0 N/A N/A N/A self _chart num_leaves N/A N/A N/A parse N/A N/A N/A self _chart parses N/A N/A N/A self _grammar start N/A N/A N/A parse N/A self _trees N/A N/A N/A N/A self _add parse N/A _add N/A N/A self parse N/A N/A N/A N/A N/A N/A self _trees append parse N/A c N/A N/A N/A self _cframe canvas N/A treewidget N/A tree_to_treesegment c parse N/A N/A N/A N/A self _treewidgets append treewidget N/A N/A N/A N/A self _cframe add_widget treewidget 10 N/A self _y N/A N/A N/A treewidget bind_click N/A self _click N/A N/A self _y N/A N/A N/A N/A treewidget bbox N/A 3 10 N/A _click N/A N/A self widget N/A N/A N/A c N/A N/A N/A self _cframe canvas N/A N/A N/A self _selection None N/A N/A N/A N/A c delete N/A self _selectbox N/A N/A self _selection widget N/A N/A x1 y1 x2 y2 N/A N/A widget bbox N/A N/A self _selectbox N/A N/A c create_rectangle x1 y1 x2 y2 width 2 outline #088 N/A _color N/A N/A self treewidget color N/A N/A N/A N/A N/A N/A treewidget label N/A color color N/A child N/A N/A treewidget subtrees N/A N/A N/A isinstance child TreeSegmentWidget N/A N/A N/A N/A self _color child color N/A N/A N/A child N/A color color N/A print_all N/A N/A self N/A e N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A self _cframe print_to_file N/A print_selection N/A N/A self N/A e N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A self _selection None N/A N/A N/A N/A N/A tkinter messagebox showerror Print Error No tree selected N/A N/A c N/A N/A N/A self _cframe canvas N/A widget N/A self _treewidgets N/A N/A N/A widget N/A self _selection N/A N/A N/A N/A N/A self _cframe destroy_widget widget N/A N/A N/A c delete N/A self _selectbox N/A N/A x1 y1 x2 y2 N/A N/A N/A self _selection bbox N/A N/A N/A N/A self _selection move N/A 10 x1 N/A 10 y1 N/A N/A c N/A scrollregion N/A 0 0 %s %s N/A N/A N/A x2 x1 20 N/A N/A y2 y1 20 N/A N/A N/A N/A self _cframe print_to_file N/A N/A self _treewidgets N/A N/A self _selection N/A N/A N/A self clear N/A N/A N/A self update N/A clear N/A N/A self N/A N/A N/A N/A N/A self _root None N/A N/A N/A treewidget N/A self _treewidgets N/A N/A N/A N/A N/A self _cframe destroy_widget treewidget N/A N/A self _trees N/A N/A N/A self _treewidgets N/A N/A N/A N/A self _selection None N/A N/A N/A N/A N/A N/A N/A self _cframe canvas delete N/A self _selectbox N/A N/A self _selection None N/A N/A self _y 10 N/A set_chart N/A N/A self chart N/A N/A N/A N/A N/A self clear N/A N/A self _chart chart N/A N/A N/A self update N/A set_grammar N/A N/A self grammar N/A N/A N/A N/A N/A self clear N/A N/A self _grammar grammar N/A N/A N/A self update N/A destroy N/A N/A self N/A e N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A N/A N/A self _root destroy N/A N/A N/A N/A N/A N/A self _root None N/A pack N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _root pack args kwargs N/A N/A ChartComparer N/A object N/A N/A 

    :ivar _root: The root window

    :ivar _charts: A dictionary mapping names to charts.  When
        charts are loaded, they are added to this dictionary.

    :ivar _left_chart: The left ``Chart``.
    :ivar _left_name: The name ``_left_chart`` (derived from filename)
    :ivar _left_matrix: The ``ChartMatrixView`` for ``_left_chart``
    :ivar _left_selector: The drop-down ``MutableOptionsMenu`` used
          to select ``_left_chart``.

    :ivar _right_chart: The right ``Chart``.
    :ivar _right_name: The name ``_right_chart`` (derived from filename)
    :ivar _right_matrix: The ``ChartMatrixView`` for ``_right_chart``
    :ivar _right_selector: The drop-down ``MutableOptionsMenu`` used
          to select ``_right_chart``.

    :ivar _out_chart: The out ``Chart``.
    :ivar _out_name: The name ``_out_chart`` (derived from filename)
    :ivar _out_matrix: The ``ChartMatrixView`` for ``_out_chart``
    :ivar _out_label: The label for ``_out_chart``.

    :ivar _op_label: A Label containing the most recent operation.
     N/A _OPSYMBOL N/A - and or - N/A N/A SymbolWidget SYMBOLS N/A intersection N/A N/A SymbolWidget SYMBOLS N/A union __init__ N/A N/A self N/A chart_filenames N/A N/A faketok N/A N/A 8 N/A N/A self _emptychart N/A Chart faketok N/A N/A self _left_name None N/A N/A self _right_name None N/A N/A self _left_chart N/A self _emptychart N/A N/A self _right_chart N/A self _emptychart N/A N/A self _charts N/A None N/A self _emptychart N/A N/A self _out_chart N/A self _emptychart N/A N/A self _operator None N/A N/A self _root N/A N/A tkinter Tk N/A N/A N/A N/A self _root title Chart Comparison N/A N/A N/A N/A self _root bind <Control-q> N/A self destroy N/A N/A N/A N/A self _root bind <Control-x> N/A self destroy N/A N/A N/A self _init_menubar N/A self _root N/A N/A N/A self _init_chartviews N/A self _root N/A N/A N/A self _init_divider N/A self _root N/A N/A N/A self _init_buttons N/A self _root N/A N/A N/A self _init_bindings N/A self _root N/A filename chart_filenames N/A N/A N/A N/A self load_chart filename N/A destroy N/A N/A self N/A e N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A N/A N/A self _root destroy N/A N/A N/A N/A N/A N/A self _root None N/A mainloop N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A self _root mainloop args kwargs N/A _init_menubar N/A N/A self root N/A N/A N/A menubar N/A N/A tkinter Menu root N/A filemenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A filemenu add_command label Load Chart accelerator Ctrl-o underline 0 command N/A self load_chart_dialog N/A N/A N/A filemenu add_command label Save Output accelerator Ctrl-s underline 0 command N/A self save_chart_dialog N/A N/A N/A filemenu add_separator N/A N/A N/A filemenu add_command label Exit underline 1 command N/A self destroy accelerator Ctrl-x N/A N/A N/A menubar add_cascade label File underline 0 menu filemenu N/A opmenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A opmenu add_command label Intersection command N/A self _intersection accelerator + N/A N/A N/A opmenu add_command label Union command N/A self _union accelerator * N/A N/A N/A opmenu add_command label Difference command N/A self _difference accelerator - N/A N/A N/A opmenu add_separator N/A N/A N/A opmenu add_command label Swap Charts command N/A self _swapcharts N/A N/A N/A menubar add_cascade label Compare underline 0 menu opmenu N/A N/A N/A N/A self _root config menu menubar N/A _init_divider N/A N/A self root N/A N/A N/A divider N/A N/A tkinter Frame root border 2 relief sunken N/A N/A N/A divider pack side top fill x ipady 2 N/A _init_chartviews N/A N/A self root N/A N/A N/A opfont N/A symbol -36 N/A eqfont N/A helvetica -36 N/A frame N/A N/A tkinter Frame root background #c0c0c0 N/A N/A N/A frame pack side top expand 1 fill both N/A cv1_frame N/A N/A tkinter Frame frame border 3 relief groove N/A N/A N/A cv1_frame pack side left padx 8 pady 7 expand 1 fill both N/A N/A self _left_selector N/A MutableOptionMenu cv1_frame N/A list N/A N/A N/A self _charts keys command N/A self _select_left N/A N/A N/A N/A self _left_selector pack side top pady 5 fill x N/A N/A self _left_matrix N/A ChartMatrixView cv1_frame N/A self _emptychart toplevel False show_numedges True N/A N/A N/A N/A self _left_matrix pack side bottom padx 5 pady 5 expand 1 fill both N/A N/A N/A N/A self _left_matrix add_callback select N/A self select_edge N/A N/A N/A N/A self _left_matrix add_callback select_cell N/A self select_cell N/A N/A N/A N/A self _left_matrix inactivate N/A N/A self _op_label N/A N/A tkinter Label frame text width 3 background #c0c0c0 font opfont N/A N/A N/A N/A self _op_label pack side left padx 5 pady 5 N/A cv2_frame N/A N/A tkinter Frame frame border 3 relief groove N/A N/A N/A cv2_frame pack side left padx 8 pady 7 expand 1 fill both N/A N/A self _right_selector N/A MutableOptionMenu cv2_frame N/A list N/A N/A N/A self _charts keys command N/A self _select_right N/A N/A N/A N/A self _right_selector pack side top pady 5 fill x N/A N/A self _right_matrix N/A ChartMatrixView cv2_frame N/A self _emptychart toplevel False show_numedges True N/A N/A N/A N/A self _right_matrix pack side bottom padx 5 pady 5 expand 1 fill both N/A N/A N/A N/A self _right_matrix add_callback select N/A self select_edge N/A N/A N/A N/A self _right_matrix add_callback select_cell N/A self select_cell N/A N/A N/A N/A self _right_matrix inactivate N/A N/A N/A N/A N/A tkinter Label frame text = width 3 background #c0c0c0 font eqfont pack side left padx 5 pady 5 N/A out_frame N/A N/A tkinter Frame frame border 3 relief groove N/A N/A N/A out_frame pack side left padx 8 pady 7 expand 1 fill both N/A N/A self _out_label N/A N/A tkinter Label out_frame text Output N/A N/A N/A N/A self _out_label pack side top pady 9 N/A N/A self _out_matrix N/A ChartMatrixView out_frame N/A self _emptychart toplevel False show_numedges True N/A N/A N/A N/A self _out_matrix pack side bottom padx 5 pady 5 expand 1 fill both N/A N/A N/A N/A self _out_matrix add_callback select N/A self select_edge N/A N/A N/A N/A self _out_matrix add_callback select_cell N/A self select_cell N/A N/A N/A N/A self _out_matrix inactivate N/A _init_buttons N/A N/A self root N/A N/A N/A buttons N/A N/A tkinter Frame root N/A N/A N/A buttons pack side bottom pady 5 fill x expand 0 N/A N/A N/A N/A N/A tkinter Button buttons text Intersection command N/A self _intersection pack side left N/A N/A N/A N/A N/A tkinter Button buttons text Union command N/A self _union pack side left N/A N/A N/A N/A N/A tkinter Button buttons text Difference command N/A self _difference pack side left N/A N/A N/A N/A N/A tkinter Frame buttons width 20 pack side left N/A N/A N/A N/A N/A tkinter Button buttons text Swap Charts command N/A self _swapcharts pack side left N/A N/A N/A N/A N/A tkinter Button buttons text Detatch Output command N/A self _detatch_out pack side right N/A _init_bindings N/A N/A self root N/A N/A N/A N/A N/A root bind <Control-o> N/A self load_chart_dialog N/A _select_left N/A N/A self name N/A N/A N/A N/A self _left_name name N/A N/A self _left_chart N/A N/A self _charts N/A name N/A N/A N/A N/A self _left_matrix set_chart N/A self _left_chart N/A N/A name None N/A N/A N/A N/A N/A self _left_matrix inactivate N/A N/A N/A self _apply_op N/A _select_right N/A N/A self name N/A N/A N/A N/A self _right_name name N/A N/A self _right_chart N/A N/A self _charts N/A name N/A N/A N/A N/A self _right_matrix set_chart N/A self _right_chart N/A N/A name None N/A N/A N/A N/A N/A self _right_matrix inactivate N/A N/A N/A self _apply_op N/A _apply_op N/A N/A self N/A N/A N/A N/A N/A self _operator - N/A N/A N/A N/A self _difference N/A N/A N/A N/A self _operator or N/A N/A N/A N/A self _union N/A N/A N/A N/A self _operator and N/A N/A N/A N/A self _intersection N/A N/A CHART_FILE_TYPES N/A N/A Pickle file .pickle N/A All files * save_chart_dialog N/A N/A self N/A args N/A N/A filename N/A asksaveasfilename filetypes N/A self CHART_FILE_TYPES defaultextension .pickle N/A N/A filename N/A N/A N/A N/A N/A N/A open filename wb outfile N/A N/A N/A N/A pickle dump N/A self _out_chart outfile N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A tkinter messagebox showerror Error Saving Chart N/A Unable to open file: %r
%s N/A filename e N/A load_chart_dialog N/A N/A self N/A args N/A N/A filename N/A askopenfilename filetypes N/A self CHART_FILE_TYPES defaultextension .pickle N/A N/A filename N/A N/A N/A N/A N/A N/A N/A self load_chart filename N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A tkinter messagebox showerror Error Loading Chart N/A Unable to open file: %r
%s N/A filename e N/A load_chart N/A N/A self filename N/A N/A N/A N/A open filename rb infile N/A N/A chart N/A N/A pickle load infile N/A name N/A N/A N/A os path basename filename N/A N/A N/A name endswith .pickle N/A N/A name N/A name N/A -7 N/A N/A N/A name endswith .chart N/A N/A name N/A name N/A -6 N/A N/A N/A self _charts N/A name chart N/A N/A N/A N/A self _left_selector add name N/A N/A N/A N/A self _right_selector add name N/A N/A N/A self _left_chart N/A self _emptychart N/A N/A N/A N/A N/A self _left_selector set name N/A N/A N/A N/A self _right_chart N/A self _emptychart N/A N/A N/A N/A N/A self _right_selector set name N/A _update_chartviews N/A N/A self N/A N/A N/A N/A N/A N/A self _left_matrix update N/A N/A N/A N/A self _right_matrix update N/A N/A N/A N/A self _out_matrix update N/A select_edge N/A N/A self edge N/A N/A N/A N/A edge N/A self _left_chart N/A N/A N/A N/A N/A self _left_matrix markonly_edge edge N/A N/A N/A N/A N/A self _left_matrix unmark_edge N/A N/A edge N/A self _right_chart N/A N/A N/A N/A N/A self _right_matrix markonly_edge edge N/A N/A N/A N/A N/A self _right_matrix unmark_edge N/A N/A edge N/A self _out_chart N/A N/A N/A N/A N/A self _out_matrix markonly_edge edge N/A N/A N/A N/A N/A self _out_matrix unmark_edge N/A select_cell N/A N/A self i j N/A N/A N/A N/A N/A N/A self _left_matrix select_cell i j N/A N/A N/A N/A self _right_matrix select_cell i j N/A N/A N/A N/A self _out_matrix select_cell i j N/A _difference N/A N/A self N/A N/A N/A N/A N/A N/A self _checkcompat N/A N/A N/A out_chart N/A Chart N/A N/A N/A self _left_chart tokens N/A edge N/A self _left_chart N/A N/A N/A edge N/A self _right_chart N/A N/A N/A N/A out_chart insert edge N/A N/A N/A N/A self _update - out_chart N/A _intersection N/A N/A self N/A N/A N/A N/A N/A N/A self _checkcompat N/A N/A N/A out_chart N/A Chart N/A N/A N/A self _left_chart tokens N/A edge N/A self _left_chart N/A N/A N/A edge N/A self _right_chart N/A N/A N/A N/A out_chart insert edge N/A N/A N/A N/A self _update and out_chart N/A _union N/A N/A self N/A N/A N/A N/A N/A N/A self _checkcompat N/A N/A N/A out_chart N/A Chart N/A N/A N/A self _left_chart tokens N/A edge N/A self _left_chart N/A N/A N/A N/A out_chart insert edge N/A N/A edge N/A self _right_chart N/A N/A N/A N/A out_chart insert edge N/A N/A N/A N/A self _update or out_chart N/A _swapcharts N/A N/A self N/A N/A N/A N/A left right N/A N/A self _left_name N/A self _right_name N/A N/A N/A N/A self _left_selector set right N/A N/A N/A N/A self _right_selector set left N/A _checkcompat N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self _left_chart tokens N/A N/A N/A self _right_chart tokens N/A N/A N/A N/A self _left_chart property_names N/A N/A N/A self _right_chart property_names N/A N/A self _left_chart N/A self _emptychart N/A N/A self _right_chart N/A self _emptychart N/A N/A N/A self _out_chart N/A self _emptychart N/A N/A N/A N/A self _out_matrix set_chart N/A self _out_chart N/A N/A N/A N/A self _out_matrix inactivate N/A N/A N/A self _out_label N/A text Output N/A False N/A N/A True N/A _update N/A N/A self operator out_chart N/A N/A N/A N/A self _operator operator N/A N/A N/A self _op_label N/A text N/A N/A self _OPSYMBOL N/A operator N/A N/A self _out_chart out_chart N/A N/A N/A N/A self _out_matrix set_chart out_chart N/A N/A N/A self _out_label N/A text N/A %s %s %s N/A N/A self _left_name N/A self _operator N/A self _right_name N/A _clear_out_chart N/A N/A self N/A N/A N/A N/A self _out_chart N/A self _emptychart N/A N/A N/A N/A self _out_matrix set_chart N/A self _out_chart N/A N/A N/A self _op_label N/A text N/A N/A N/A N/A self _out_matrix inactivate N/A _detatch_out N/A N/A self N/A N/A N/A N/A ChartMatrixView N/A self _root N/A self _out_chart title N/A N/A self _out_label N/A text N/A N/A ChartView N/A object N/A N/A 
    A component for viewing charts.  This is used by ``ChartParserApp`` to
    allow students to interactively experiment with various chart
    parsing techniques.  It is also used by ``Chart.draw()``.

    :ivar _chart: The chart that we are giving a view of.  This chart
       may be modified; after it is modified, you should call
       ``update``.
    :ivar _sentence: The list of tokens that the chart spans.

    :ivar _root: The root window.
    :ivar _chart_canvas: The canvas we're using to display the chart
        itself.
    :ivar _tree_canvas: The canvas we're using to display the tree
        that each edge spans.  May be None, if we're not displaying
        trees.
    :ivar _sentence_canvas: The canvas we're using to display the sentence
        text.  May be None, if we're not displaying the sentence text.
    :ivar _edgetags: A dictionary mapping from edges to the tags of
        the canvas elements (lines, etc) used to display that edge.
        The values of this dictionary have the form
        ``(linetag, rhstag1, dottag, rhstag2, lhstag)``.
    :ivar _treetags: A list of all the tags that make up the tree;
        used to erase the tree (without erasing the loclines).
    :ivar _chart_height: The height of the chart canvas.
    :ivar _sentence_height: The height of the sentence canvas.
    :ivar _tree_height: The height of the tree

    :ivar _text_height: The height of a text string (in the normal
        font).

    :ivar _edgelevels: A list of edges at each level of the chart (the
        top level is the 0th element).  This list is used to remember
        where edges should be drawn; and to make sure that no edges
        are overlapping on the chart view.

    :ivar _unitsize: Pixel size of one unit (from the location).  This
       is determined by the span of the chart's location, and the
       width of the chart display canvas.

    :ivar _fontsize: The current font size

    :ivar _marks: A dictionary from edges to marks.  Marks are
        strings, specifying colors (e.g. 'green').
     N/A _LEAF_SPACING 10 N/A _MARGIN 10 N/A _TREE_LEVEL_SIZE 12 N/A _CHART_LEVEL_SIZE 40 __init__ N/A N/A self chart root N/A None kw N/A N/A 
        Construct a new ``Chart`` display.
         N/A draw_tree N/A N/A kw get draw_tree 0 N/A draw_sentence N/A N/A kw get draw_sentence 1 N/A N/A self _fontsize N/A N/A kw get fontsize -12 N/A N/A self _chart chart N/A N/A self _callbacks N/A N/A N/A self _edgelevels N/A N/A N/A self _edgetags N/A N/A N/A self _marks N/A N/A N/A self _treetoks N/A N/A N/A self _treetoks_edge None N/A N/A self _treetoks_index 0 N/A N/A self _tree_tags N/A N/A N/A self _compact 0 N/A N/A root None N/A N/A top N/A N/A tkinter Tk N/A N/A N/A top title Chart View destroy1 N/A N/A e top N/A top N/A N/A N/A N/A top destroy N/A destroy2 N/A N/A top N/A top N/A N/A N/A N/A top destroy N/A N/A N/A N/A top bind q destroy1 N/A b N/A N/A tkinter Button top text Done command destroy2 N/A N/A N/A b pack side bottom N/A N/A self _root top N/A N/A N/A self _root root N/A N/A N/A self _init_fonts root N/A N/A N/A self _chart_sb N/A self _chart_canvas N/A N/A self _sb_canvas N/A self _root N/A N/A N/A self _chart_canvas N/A height 300 N/A N/A N/A self _chart_canvas N/A closeenough 15 N/A draw_sentence N/A N/A cframe N/A N/A tkinter Frame N/A self _root relief sunk border 2 N/A N/A N/A cframe pack fill both side bottom N/A N/A self _sentence_canvas N/A N/A tkinter Canvas cframe height 50 N/A N/A N/A self _sentence_canvas N/A background #e0e0e0 N/A N/A N/A N/A self _sentence_canvas pack fill both N/A N/A N/A self _sentence_canvas None N/A draw_tree N/A N/A N/A sb canvas N/A N/A self _sb_canvas N/A self _root n x N/A N/A N/A self _tree_sb N/A self _tree_canvas N/A sb canvas N/A N/A N/A self _tree_canvas N/A height 200 N/A N/A N/A self _tree_canvas None N/A N/A N/A self _analyze N/A N/A N/A self draw N/A N/A N/A self _resize N/A N/A N/A self _grow N/A N/A N/A N/A self _chart_canvas bind <Configure> N/A self _configure N/A _init_fonts N/A N/A self root N/A N/A N/A N/A self _boldfont N/A N/A N/A tkinter font Font family helvetica weight bold size N/A self _fontsize N/A N/A self _font N/A N/A N/A tkinter font Font family helvetica size N/A self _fontsize N/A N/A self _sysfont N/A N/A N/A tkinter font Font font N/A N/A N/A tkinter Button N/A font N/A N/A N/A root option_add *Font N/A self _sysfont N/A _sb_canvas N/A N/A self root expand fill side N/A y both bottom N/A N/A 
        Helper for __init__: construct a canvas with a scrollbar.
         N/A cframe N/A N/A tkinter Frame root relief sunk border 2 N/A N/A N/A cframe pack fill fill expand expand side side N/A canvas N/A N/A tkinter Canvas cframe background #e0e0e0 N/A sb N/A N/A tkinter Scrollbar cframe orient vertical N/A N/A N/A sb pack side right fill y N/A N/A N/A canvas pack side left fill fill expand yes N/A N/A sb N/A command N/A canvas yview N/A N/A canvas N/A yscrollcommand N/A sb set N/A N/A sb canvas N/A scroll_up N/A N/A self N/A e N/A N/A N/A N/A N/A self _chart_canvas yview scroll -1 units N/A scroll_down N/A N/A self N/A e N/A N/A N/A N/A N/A self _chart_canvas yview scroll 1 units N/A page_up N/A N/A self N/A e N/A N/A N/A N/A N/A self _chart_canvas yview scroll -1 pages N/A page_down N/A N/A self N/A e N/A N/A N/A N/A N/A self _chart_canvas yview scroll 1 pages N/A _grow N/A N/A self N/A N/A N/A 
        Grow the window, if necessary
         N/A N N/A N/A N/A self _chart num_leaves N/A width N/A max N/A int N/A N/A self _chart_canvas N/A width N/A N/A N N/A self _unitsize N/A N/A ChartView _MARGIN 2 N/A N/A N/A N/A self _chart_canvas configure width width N/A N/A N/A N/A self _chart_canvas configure height N/A N/A self _chart_canvas N/A height N/A N/A self _unitsize N/A N/A width N/A 2 N/A ChartView _MARGIN N N/A N/A N/A self _sentence_canvas None N/A N/A N/A N/A self _sentence_canvas N/A height N/A self _sentence_height N/A set_font_size N/A N/A self size N/A N/A N/A N/A N/A N/A self _font configure size N/A N/A abs size N/A N/A N/A N/A self _boldfont configure size N/A N/A abs size N/A N/A N/A N/A self _sysfont configure size N/A N/A abs size N/A N/A N/A self _analyze N/A N/A N/A self _grow N/A N/A N/A self draw N/A get_font_size N/A N/A self N/A N/A N/A N/A abs N/A self _fontsize N/A _configure N/A N/A self e N/A N/A N/A 
        The configure callback.  This is called whenever the window is
        resized.  It is also called when the window is first mapped.
        It figures out the unit size, and redraws the contents of each
        canvas.
         N/A N N/A N/A N/A self _chart num_leaves N/A N/A self _unitsize N/A N/A N/A e width N/A 2 N/A ChartView _MARGIN N N/A N/A N/A self draw N/A update N/A N/A self chart N/A None N/A N/A 
        Draw any edges that have not been drawn.  This is typically
        called when a after modifies the canvas that a CanvasView is
        displaying.  ``update`` will cause any edges that have been
        added to the chart to be drawn.

        If update is given a ``chart`` argument, then it will replace
        the current chart with the given chart.
         N/A N/A chart None N/A N/A N/A self _chart chart N/A N/A self _edgelevels N/A N/A N/A self _marks N/A N/A N/A N/A self _analyze N/A N/A N/A self _grow N/A N/A N/A self draw N/A N/A N/A self erase_tree N/A N/A N/A self _resize N/A N/A edge N/A self _chart N/A N/A N/A edge N/A self _edgetags N/A N/A N/A N/A self _add_edge edge N/A N/A N/A self _resize N/A _edge_conflict N/A N/A self edge lvl N/A N/A N/A 
        Return True if the given edge overlaps with any edge on the given
        level.  This is used by _add_edge to figure out what level a
        new edge should be added to.
         N/A N/A s1 e1 N/A N/A edge span N/A otheredge N/A N/A self _edgelevels N/A lvl N/A N/A N/A s2 e2 N/A N/A otheredge span N/A N/A N/A s1 s2 e1 N/A s2 s1 e2 N/A s1 s2 e1 e2 N/A N/A True N/A False N/A _analyze_edge N/A N/A self edge N/A N/A N/A 
        Given a new edge, recalculate:

            - _text_height
            - _unitsize (if the edge text is too big for the current
              _unitsize, then increase _unitsize)
         N/A c N/A self _chart_canvas N/A N/A isinstance edge TreeEdge N/A N/A lhs N/A N/A edge lhs N/A rhselts N/A N/A elt N/A N/A edge rhs N/A N/A N/A isinstance elt Nonterminal N/A N/A N/A N/A rhselts append N/A str N/A N/A elt symbol N/A N/A N/A N/A rhselts append N/A repr elt N/A rhs N/A N/A join rhselts N/A N/A lhs N/A N/A edge lhs N/A rhs N/A s N/A lhs rhs N/A N/A tag N/A N/A c create_text 0 0 text s font N/A self _boldfont anchor nw justify left N/A bbox N/A N/A c bbox tag N/A N/A N/A c delete tag N/A width N/A bbox N/A 2 N/A edgelen N/A max N/A N/A edge length 1 N/A N/A self _unitsize N/A max N/A self _unitsize N/A width edgelen N/A N/A self _text_height N/A max N/A self _text_height N/A N/A bbox N/A 3 N/A bbox N/A 1 N/A _add_edge N/A N/A self edge minlvl N/A 0 N/A N/A 
        Add a single edge to the ChartView:

            - Call analyze_edge to recalculate display parameters
            - Find an available level
            - Call _draw_edge
         N/A N/A isinstance edge LeafEdge N/A N/A N/A N/A edge N/A self _edgetags N/A N/A N/A N/A N/A self _analyze_edge edge N/A N/A N/A self _grow N/A N/A N/A self _compact N/A N/A N/A N/A N/A self _edgelevels append N/A edge N/A lvl N/A N/A len N/A self _edgelevels 1 N/A N/A N/A self _draw_edge edge lvl N/A N/A N/A self _resize N/A N/A lvl 0 N/A True N/A N/A N/A lvl N/A len N/A self _edgelevels N/A N/A N/A N/A N/A self _edgelevels append N/A N/A N/A N/A self _resize N/A N/A N/A lvl minlvl N/A N/A N/A self _edge_conflict edge lvl N/A N/A N/A N/A N/A N/A self _edgelevels N/A lvl append edge N/A N/A lvl 1 N/A N/A N/A self _draw_edge edge lvl N/A view_edge N/A N/A self edge N/A N/A N/A level None N/A i N/A range N/A len N/A self _edgelevels N/A N/A N/A edge N/A N/A self _edgelevels N/A i N/A N/A level i N/A N/A N/A level None N/A N/A N/A y N/A N/A level 1 N/A self _chart_level_size N/A dy N/A N/A self _text_height 10 N/A N/A N/A N/A self _chart_canvas yview moveto 1.0 N/A N/A N/A self _chart_height 0 N/A N/A N/A N/A N/A self _chart_canvas yview moveto N/A N/A y dy N/A self _chart_height N/A _draw_edge N/A N/A self edge lvl N/A N/A N/A 
        Draw a single edge on the ChartView.
         N/A c N/A self _chart_canvas N/A x1 N/A N/A N/A N/A edge start N/A self _unitsize N/A ChartView _MARGIN N/A x2 N/A N/A N/A N/A edge end N/A self _unitsize N/A ChartView _MARGIN N/A N/A x2 x1 N/A N/A x2 N/A max 4 N/A N/A self _unitsize 5 N/A y N/A N/A lvl 1 N/A self _chart_level_size N/A linetag N/A N/A c create_line x1 y x2 y arrow last width 3 N/A N/A isinstance edge TreeEdge N/A N/A rhs N/A N/A elt N/A N/A edge rhs N/A N/A N/A isinstance elt Nonterminal N/A N/A N/A N/A rhs append N/A str N/A N/A elt symbol N/A N/A N/A N/A rhs append N/A repr elt N/A pos N/A N/A edge dot N/A N/A rhs N/A N/A pos 0 N/A rhs1 N/A N/A join N/A rhs N/A pos N/A rhs2 N/A N/A join N/A rhs N/A pos N/A rhstag1 N/A N/A c create_text N/A x1 3 y text rhs1 font N/A self _font anchor nw N/A dotx N/A N/A N/A N/A c bbox rhstag1 N/A 2 6 N/A doty N/A N/A N/A N/A N/A c bbox rhstag1 N/A 1 N/A N/A N/A c bbox rhstag1 N/A 3 2 N/A dottag N/A N/A c create_oval N/A dotx 2 N/A doty 2 N/A dotx 2 N/A doty 2 N/A rhstag2 N/A N/A c create_text N/A dotx 6 y text rhs2 font N/A self _font anchor nw N/A lhstag N/A N/A c create_text N/A N/A x1 x2 2 y text N/A str N/A N/A edge lhs anchor s font N/A self _boldfont N/A N/A N/A self _edgetags N/A edge N/A linetag rhstag1 dottag rhstag2 lhstag cb N/A N/A event self edge N/A self edge N/A N/A N/A N/A self _fire_callbacks select edge N/A N/A N/A N/A c tag_bind rhstag1 <Button-1> cb N/A N/A N/A c tag_bind rhstag2 <Button-1> cb N/A N/A N/A c tag_bind linetag <Button-1> cb N/A N/A N/A c tag_bind dottag <Button-1> cb N/A N/A N/A c tag_bind lhstag <Button-1> cb N/A N/A N/A self _color_edge edge N/A _color_edge N/A N/A self edge linecolor textcolor N/A None None N/A N/A 
        Color in an edge with the given colors.
        If no colors are specified, use intelligent defaults
        (dependent on selection, etc.)
         N/A N/A edge N/A self _edgetags N/A N/A N/A c N/A self _chart_canvas N/A N/A N/A linecolor None N/A textcolor None N/A N/A N/A edge N/A self _marks N/A N/A linecolor N/A N/A self _marks N/A edge N/A tags N/A N/A self _edgetags N/A edge N/A N/A N/A c itemconfig N/A tags N/A 0 fill linecolor N/A N/A N/A c itemconfig N/A tags N/A 1 fill textcolor N/A N/A N/A c itemconfig N/A tags N/A 2 fill textcolor outline textcolor N/A N/A N/A c itemconfig N/A tags N/A 3 fill textcolor N/A N/A N/A c itemconfig N/A tags N/A 4 fill textcolor N/A N/A N/A N N/A N/A N/A self _chart num_leaves N/A N/A edge N/A self _marks N/A N/A N/A N/A self _color_edge N/A N/A self _marks N/A edge N/A N/A N/A N/A edge is_complete N/A N/A N/A edge span N/A 0 N N/A N/A N/A N/A self _color_edge edge #084 #042 N/A N/A N/A isinstance edge LeafEdge N/A N/A N/A N/A self _color_edge edge #48c #246 N/A N/A N/A N/A self _color_edge edge #00f #008 N/A mark_edge N/A N/A self edge mark N/A #0df N/A N/A 
        Mark an edge
         N/A N/A N/A self _marks N/A edge mark N/A N/A N/A self _color_edge edge N/A unmark_edge N/A N/A self edge N/A None N/A N/A 
        Unmark an edge (or all edges)
         N/A N/A edge None N/A N/A old_marked_edges N/A list N/A N/A N/A self _marks keys N/A N/A self _marks N/A N/A edge old_marked_edges N/A N/A N/A N/A self _color_edge edge N/A N/A N/A N/A self _marks N/A edge N/A N/A N/A self _color_edge edge N/A markonly_edge N/A N/A self edge mark N/A #0df N/A N/A N/A N/A self unmark_edge N/A N/A N/A self mark_edge edge mark N/A _analyze N/A N/A self N/A N/A N/A 
        Analyze the sentence string, to figure out how big a unit needs
        to be, How big the tree should be, etc.
         N/A unitsize 70 N/A text_height 0 N/A c N/A self _chart_canvas N/A leaf N/A N/A N/A self _chart leaves N/A N/A tag N/A N/A c create_text 0 0 text N/A repr leaf font N/A self _font anchor nw justify left N/A bbox N/A N/A c bbox tag N/A N/A N/A c delete tag N/A width N/A N/A bbox N/A 2 N/A ChartView _LEAF_SPACING N/A unitsize N/A max width unitsize N/A text_height N/A max text_height N/A N/A bbox N/A 3 N/A bbox N/A 1 N/A N/A self _unitsize unitsize N/A N/A self _text_height text_height N/A N/A self _sentence_height N/A N/A self _text_height N/A 2 N/A ChartView _MARGIN N/A edge N/A N/A N/A self _chart edges N/A N/A N/A N/A self _analyze_edge edge N/A N/A self _chart_level_size N/A N/A self _text_height 2 N/A N/A self _tree_height N/A 3 N/A N/A ChartView _TREE_LEVEL_SIZE N/A self _text_height N/A N/A N/A self _resize N/A _resize N/A N/A self N/A N/A N/A 
        Update the scroll-regions for each canvas.  This ensures that
        everything is within a scroll-region, so the user can use the
        scrollbars to view the entire display.  This does *not*
        resize the window.
         N/A c N/A self _chart_canvas N/A width N/A N/A N/A N/A N/A self _chart num_leaves N/A self _unitsize N/A N/A ChartView _MARGIN 2 N/A levels N/A len N/A self _edgelevels N/A N/A self _chart_height N/A N/A levels 2 N/A self _chart_level_size N/A N/A c N/A scrollregion N/A 0 0 width N/A self _chart_height N/A N/A self _tree_canvas N/A N/A N/A N/A self _tree_canvas N/A scrollregion N/A 0 0 width N/A self _tree_height N/A _draw_loclines N/A N/A self N/A N/A N/A 
        Draw location lines.  These are vertical gridlines used to
        show where each location unit is.
         N/A BOTTOM 50000 N/A c1 N/A self _tree_canvas N/A c2 N/A self _sentence_canvas N/A c3 N/A self _chart_canvas N/A margin N/A ChartView _MARGIN N/A N/A self _loclines N/A N/A i N/A range 0 N/A N/A N/A N/A self _chart num_leaves 1 N/A N/A x N/A N/A i N/A self _unitsize margin N/A c1 N/A N/A t1 N/A N/A c1 create_line x 0 x BOTTOM N/A N/A N/A c1 tag_lower t1 N/A c2 N/A N/A t2 N/A N/A c2 create_line x 0 x N/A self _sentence_height N/A N/A N/A c2 tag_lower t2 N/A t3 N/A N/A c3 create_line x 0 x BOTTOM N/A N/A N/A c3 tag_lower t3 N/A t4 N/A N/A c3 create_text N/A x 2 0 text N/A repr i anchor nw font N/A self _font N/A N/A N/A c3 tag_lower t4 N/A N/A N/A i 2 0 N/A N/A c1 N/A N/A N/A N/A c1 itemconfig t1 fill gray60 N/A c2 N/A N/A N/A N/A c2 itemconfig t2 fill gray60 N/A N/A N/A c3 itemconfig t3 fill gray60 N/A N/A c1 N/A N/A N/A N/A c1 itemconfig t1 fill gray80 N/A c2 N/A N/A N/A N/A c2 itemconfig t2 fill gray80 N/A N/A N/A c3 itemconfig t3 fill gray80 N/A _draw_sentence N/A N/A self N/A N/A N/A Draw the sentence string. N/A N/A N/A N/A N/A self _chart num_leaves 0 N/A N/A N/A c N/A self _sentence_canvas N/A margin N/A ChartView _MARGIN N/A y N/A ChartView _MARGIN N/A N/A i leaf N/A enumerate N/A N/A N/A self _chart leaves N/A N/A x1 N/A N/A i N/A self _unitsize margin N/A x2 N/A x1 N/A self _unitsize N/A x N/A N/A x1 x2 2 N/A tag N/A N/A c create_text x y text N/A repr leaf font N/A self _font anchor n justify left N/A bbox N/A N/A c bbox tag N/A rt N/A N/A c create_rectangle N/A x1 2 N/A N/A bbox N/A 1 N/A N/A ChartView _LEAF_SPACING 2 N/A x2 2 N/A N/A bbox N/A 3 N/A N/A ChartView _LEAF_SPACING 2 fill #f0f0f0 outline #f0f0f0 N/A N/A N/A c tag_lower rt N/A erase_tree N/A N/A self N/A N/A N/A tag N/A self _tree_tags N/A N/A N/A N/A N/A self _tree_canvas delete tag N/A N/A self _treetoks N/A N/A N/A self _treetoks_edge None N/A N/A self _treetoks_index 0 N/A draw_tree N/A N/A self edge N/A None N/A N/A N/A N/A edge None N/A N/A self _treetoks_edge None N/A N/A N/A N/A edge None N/A N/A edge N/A self _treetoks_edge N/A N/A N/A self _treetoks_edge edge N/A N/A N/A self _treetoks N/A t N/A t N/A N/A N/A self _chart trees edge N/A isinstance t Tree N/A N/A self _treetoks_edge edge N/A N/A self _treetoks_index 0 N/A N/A N/A len N/A self _treetoks 0 N/A N/A N/A tag N/A self _tree_tags N/A N/A N/A N/A N/A self _tree_canvas delete tag N/A tree N/A N/A self _treetoks N/A N/A self _treetoks_index N/A N/A N/A self _draw_treetok tree N/A N/A edge start N/A N/A N/A self _draw_treecycle N/A w N/A N/A N/A N/A N/A self _chart num_leaves N/A self _unitsize N/A 2 N/A ChartView _MARGIN N/A h N/A N/A N/A tree height N/A N/A ChartView _TREE_LEVEL_SIZE N/A self _text_height N/A N/A N/A self _tree_canvas N/A scrollregion N/A 0 0 w h N/A cycle_tree N/A N/A self N/A N/A N/A N/A self _treetoks_index N/A N/A N/A self _treetoks_index 1 N/A len N/A self _treetoks N/A N/A N/A self draw_tree N/A self _treetoks_edge N/A _draw_treecycle N/A N/A self N/A N/A N/A N/A N/A len N/A self _treetoks 1 N/A N/A N/A label N/A %d Trees N/A len N/A self _treetoks N/A c N/A self _tree_canvas N/A margin N/A ChartView _MARGIN N/A right N/A N/A N/A N/A N/A N/A self _chart num_leaves N/A self _unitsize margin 2 N/A tag N/A N/A c create_text right 2 anchor ne text label font N/A self _boldfont N/A N/A N/A N/A self _tree_tags append tag N/A N/A _ _ _ y N/A N/A c bbox tag N/A i N/A range N/A len N/A self _treetoks N/A N/A x N/A right N/A 20 N/A N/A N/A len N/A self _treetoks i 1 N/A N/A i N/A self _treetoks_index N/A N/A fill #084 N/A N/A fill #fff N/A tag N/A N/A c create_polygon x N/A y 10 N/A x 5 y N/A x 10 N/A y 10 fill fill outline black N/A N/A N/A N/A self _tree_tags append tag cb N/A N/A event self i N/A self i N/A N/A N/A self _treetoks_index i N/A N/A N/A self draw_tree N/A N/A N/A N/A c tag_bind tag <Button-1> cb N/A _draw_treetok N/A N/A self treetok index depth N/A 0 N/A N/A 
        :param index: The index of the first leaf in the tree.
        :return: The index of the first leaf after the tree.
         N/A c N/A self _tree_canvas N/A margin N/A ChartView _MARGIN N/A child_xs N/A N/A child treetok N/A N/A N/A isinstance child Tree N/A N/A N/A child_x index N/A N/A self _draw_treetok child index N/A depth 1 N/A N/A N/A child_xs append child_x N/A N/A N/A N/A child_xs append N/A N/A N/A N/A N/A 2 index 1 N/A self _unitsize 2 margin N/A index 1 N/A child_xs N/A N/A nodex N/A N/A sum child_xs N/A len child_xs N/A N/A nodex N/A N/A N/A N/A N/A 2 index 1 N/A self _unitsize 2 margin N/A index 1 N/A nodey N/A depth N/A N/A ChartView _TREE_LEVEL_SIZE N/A self _text_height N/A tag N/A N/A c create_text nodex nodey anchor n justify center text N/A str N/A N/A treetok label fill #042 font N/A self _boldfont N/A N/A N/A N/A self _tree_tags append tag N/A childy N/A N/A nodey N/A ChartView _TREE_LEVEL_SIZE N/A self _text_height N/A N/A childx child N/A zip child_xs treetok N/A N/A N/A N/A isinstance child Tree child N/A N/A tag N/A N/A c create_line nodex N/A nodey N/A self _text_height childx childy width 2 fill #084 N/A N/A N/A N/A self _tree_tags append tag N/A N/A N/A isinstance child Tree N/A child N/A N/A tag N/A N/A c create_line nodex N/A nodey N/A self _text_height childx childy width 2 fill #048 dash 2 3 N/A N/A N/A N/A self _tree_tags append tag N/A N/A N/A isinstance child Tree N/A N/A tag N/A N/A c create_line nodex N/A nodey N/A self _text_height childx 10000 width 2 fill #084 N/A N/A N/A N/A self _tree_tags append tag N/A N/A nodex index N/A draw N/A N/A self N/A N/A N/A 
        Draw everything (from scratch).
         N/A N/A self _tree_canvas N/A N/A N/A N/A N/A self _tree_canvas delete all N/A N/A N/A self draw_tree N/A N/A self _sentence_canvas N/A N/A N/A N/A N/A self _sentence_canvas delete all N/A N/A N/A self _draw_sentence N/A N/A N/A N/A self _chart_canvas delete all N/A N/A self _edgetags N/A N/A lvl N/A range N/A len N/A self _edgelevels N/A N/A edge N/A N/A self _edgelevels N/A lvl N/A N/A N/A N/A self _draw_edge edge lvl N/A edge N/A self _chart N/A N/A N/A N/A self _add_edge edge N/A N/A N/A self _draw_loclines N/A add_callback N/A N/A self event func N/A N/A N/A N/A N/A N/A N/A self _callbacks setdefault event N/A N/A func 1 N/A remove_callback N/A N/A self event func N/A None N/A N/A N/A func None N/A N/A N/A N/A self _callbacks N/A event N/A N/A N/A N/A N/A N/A N/A self _callbacks N/A event N/A func N/A N/A N/A N/A N/A _fire_callbacks N/A N/A self event N/A args N/A N/A N/A event N/A self _callbacks N/A N/A N/A cb_func N/A list N/A N/A N/A N/A self _callbacks N/A event keys N/A N/A N/A cb_func args N/A N/A EdgeRule N/A object N/A N/A 
    To create an edge rule, make an empty base class that uses
    EdgeRule as the first base class, and the basic rule as the
    second base class.  (Order matters!)
     __init__ N/A N/A self edge N/A N/A N/A super N/A N/A N/A self __class__ __bases__ N/A 1 N/A N/A self _edge edge N/A N/A self NUM_EDGES N/A N/A super NUM_EDGES 1 N/A apply N/A N/A self chart grammar N/A edges N/A N/A super N/A N/A N/A self __class__ __bases__ N/A 1 N/A edges N/A N/A self _edge N/A e N/A N/A super apply self chart grammar edges N/A N/A N/A e N/A __str__ N/A N/A self N/A N/A N/A super N/A N/A N/A self __class__ __bases__ N/A 1 N/A N/A N/A super __str__ self N/A N/A TopDownPredictEdgeRule N/A EdgeRule TopDownPredictRule N/A N/A N/A BottomUpEdgeRule N/A EdgeRule BottomUpPredictRule N/A N/A N/A BottomUpLeftCornerEdgeRule N/A EdgeRule BottomUpPredictCombineRule N/A N/A N/A FundamentalEdgeRule N/A EdgeRule SingleEdgeFundamentalRule N/A N/A N/A ChartParserApp N/A object N/A __init__ N/A N/A self grammar tokens title N/A Chart Parser Application N/A N/A N/A N/A self _init_parser grammar tokens N/A N/A self _root None N/A N/A N/A N/A self _root N/A N/A tkinter Tk N/A N/A N/A N/A self _root title title N/A N/A N/A N/A self _root bind <Control-q> N/A self destroy N/A frame3 N/A N/A tkinter Frame N/A self _root N/A frame2 N/A N/A tkinter Frame N/A self _root N/A frame1 N/A N/A tkinter Frame N/A self _root N/A N/A N/A frame3 pack side bottom fill none N/A N/A N/A frame2 pack side bottom fill x N/A N/A N/A frame1 pack side bottom fill both expand 1 N/A N/A N/A self _init_fonts N/A self _root N/A N/A N/A self _init_animation N/A N/A N/A self _init_chartview frame1 N/A N/A N/A self _init_rulelabel frame2 N/A N/A N/A self _init_buttons frame3 N/A N/A N/A self _init_menubar N/A N/A self _matrix None N/A N/A self _results None N/A N/A N/A self _init_bindings N/A N/A N/A N/A Error creating Tree View N/A N/A N/A self destroy N/A N/A destroy N/A N/A self N/A args N/A N/A N/A N/A self _root None N/A N/A N/A N/A N/A N/A self _root destroy N/A N/A self _root None N/A mainloop N/A N/A self N/A args kwargs N/A N/A 
        Enter the Tkinter mainloop.  This function must be called if
        this demo is created from a non-interactive program (e.g.
        from a secript); otherwise, the demo will close as soon as
        the script completes.
         N/A N/A in_idle N/A N/A N/A N/A N/A N/A self _root mainloop args kwargs N/A _init_parser N/A N/A self grammar tokens N/A N/A N/A N/A self _grammar grammar N/A N/A self _tokens tokens N/A N/A N/A self _reset_parser N/A _reset_parser N/A N/A self N/A N/A N/A N/A self _cp N/A SteppingChartParser N/A self _grammar N/A N/A N/A N/A self _cp initialize N/A self _tokens N/A N/A self _chart N/A N/A N/A self _cp chart N/A _new_edge N/A N/A N/A LeafInitRule apply N/A self _chart N/A self _grammar N/A N/A N/A N/A self _cpstep N/A N/A N/A self _cp step N/A N/A self _selection None N/A _init_fonts N/A N/A self root N/A N/A N/A N/A self _sysfont N/A N/A N/A tkinter font Font font N/A N/A N/A tkinter Button N/A font N/A N/A N/A root option_add *Font N/A self _sysfont N/A N/A self _size N/A N/A tkinter IntVar root N/A N/A N/A N/A self _size set N/A N/A N/A self _sysfont cget size N/A N/A self _boldfont N/A N/A N/A tkinter font Font family helvetica weight bold size N/A N/A N/A self _size get N/A N/A self _font N/A N/A N/A tkinter font Font family helvetica size N/A N/A N/A self _size get N/A _init_animation N/A N/A self N/A N/A N/A N/A self _step N/A N/A tkinter IntVar N/A self _root N/A N/A N/A N/A self _step set 1 N/A N/A self _animate N/A N/A tkinter IntVar N/A self _root N/A N/A N/A N/A self _animate set 3 N/A N/A self _animating 0 N/A _init_chartview N/A N/A self parent N/A N/A N/A N/A self _cv N/A ChartView N/A self _chart parent draw_tree 1 draw_sentence 1 N/A N/A N/A N/A self _cv add_callback select N/A self _click_cv_edge N/A _init_rulelabel N/A N/A self parent N/A N/A N/A ruletxt Last edge generated by: N/A N/A self _rulelabel1 N/A N/A tkinter Label parent text ruletxt font N/A self _boldfont N/A N/A self _rulelabel2 N/A N/A tkinter Label parent width 40 relief groove anchor w font N/A self _boldfont N/A N/A N/A N/A self _rulelabel1 pack side left N/A N/A N/A N/A self _rulelabel2 pack side left N/A step N/A N/A tkinter Checkbutton parent variable N/A self _step text Step N/A N/A N/A step pack side right N/A _init_buttons N/A N/A self parent N/A N/A N/A frame1 N/A N/A tkinter Frame parent N/A frame2 N/A N/A tkinter Frame parent N/A N/A N/A frame1 pack side bottom fill x N/A N/A N/A frame2 pack side top fill none N/A N/A N/A N/A N/A tkinter Button frame1 text Reset
Parser background #90c0d0 foreground black command N/A self reset pack side right N/A N/A N/A N/A N/A tkinter Button frame1 text Top Down
Strategy background #90c0d0 foreground black command N/A self top_down_strategy pack side left N/A N/A N/A N/A N/A tkinter Button frame1 text Bottom Up
Strategy background #90c0d0 foreground black command N/A self bottom_up_strategy pack side left N/A N/A N/A N/A N/A tkinter Button frame1 text Bottom Up
Left-Corner Strategy background #90c0d0 foreground black command N/A self bottom_up_leftcorner_strategy pack side left N/A N/A N/A N/A N/A tkinter Button frame2 text Top Down Init
Rule background #90f090 foreground black command N/A self top_down_init pack side left N/A N/A N/A N/A N/A tkinter Button frame2 text Top Down Predict
Rule background #90f090 foreground black command N/A self top_down_predict pack side left N/A N/A N/A N/A N/A tkinter Frame frame2 width 20 pack side left N/A N/A N/A N/A N/A tkinter Button frame2 text Bottom Up Predict
Rule background #90f090 foreground black command N/A self bottom_up pack side left N/A N/A N/A N/A N/A tkinter Frame frame2 width 20 pack side left N/A N/A N/A N/A N/A tkinter Button frame2 text Bottom Up Left-Corner
Predict Rule background #90f090 foreground black command N/A self bottom_up_leftcorner pack side left N/A N/A N/A N/A N/A tkinter Frame frame2 width 20 pack side left N/A N/A N/A N/A N/A tkinter Button frame2 text Fundamental
Rule background #90f090 foreground black command N/A self fundamental pack side left N/A _init_bindings N/A N/A self N/A N/A N/A N/A N/A N/A self _root bind <Up> N/A N/A self _cv scroll_up N/A N/A N/A N/A self _root bind <Down> N/A N/A self _cv scroll_down N/A N/A N/A N/A self _root bind <Prior> N/A N/A self _cv page_up N/A N/A N/A N/A self _root bind <Next> N/A N/A self _cv page_down N/A N/A N/A N/A self _root bind <Control-q> N/A self destroy N/A N/A N/A N/A self _root bind <Control-x> N/A self destroy N/A N/A N/A N/A self _root bind <F1> N/A self help N/A N/A N/A N/A self _root bind <Control-s> N/A self save_chart N/A N/A N/A N/A self _root bind <Control-o> N/A self load_chart N/A N/A N/A N/A self _root bind <Control-r> N/A self reset N/A N/A N/A N/A self _root bind t N/A self top_down_strategy N/A N/A N/A N/A self _root bind b N/A self bottom_up_strategy N/A N/A N/A N/A self _root bind c N/A self bottom_up_leftcorner_strategy N/A N/A N/A N/A self _root bind <space> N/A self _stop_animation N/A N/A N/A N/A self _root bind <Control-g> N/A self edit_grammar N/A N/A N/A N/A self _root bind <Control-t> N/A self edit_sentence N/A N/A N/A N/A self _root bind - N/A N/A N/A e a N/A N/A self _animate N/A N/A a set 1 N/A N/A N/A N/A self _root bind = N/A N/A N/A e a N/A N/A self _animate N/A N/A a set 2 N/A N/A N/A N/A self _root bind + N/A N/A N/A e a N/A N/A self _animate N/A N/A a set 3 N/A N/A N/A N/A self _root bind s N/A N/A N/A e s N/A N/A self _step N/A N/A s set N/A N/A N/A s get N/A _init_menubar N/A N/A self N/A N/A N/A menubar N/A N/A tkinter Menu N/A self _root N/A filemenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A filemenu add_command label Save Chart underline 0 command N/A self save_chart accelerator Ctrl-s N/A N/A N/A filemenu add_command label Load Chart underline 0 command N/A self load_chart accelerator Ctrl-o N/A N/A N/A filemenu add_command label Reset Chart underline 0 command N/A self reset accelerator Ctrl-r N/A N/A N/A filemenu add_separator N/A N/A N/A filemenu add_command label Save Grammar command N/A self save_grammar N/A N/A N/A filemenu add_command label Load Grammar command N/A self load_grammar N/A N/A N/A filemenu add_separator N/A N/A N/A filemenu add_command label Exit underline 1 command N/A self destroy accelerator Ctrl-x N/A N/A N/A menubar add_cascade label File underline 0 menu filemenu N/A editmenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A editmenu add_command label Edit Grammar underline 5 command N/A self edit_grammar accelerator Ctrl-g N/A N/A N/A editmenu add_command label Edit Text underline 5 command N/A self edit_sentence accelerator Ctrl-t N/A N/A N/A menubar add_cascade label Edit underline 0 menu editmenu N/A viewmenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A viewmenu add_command label Chart Matrix underline 6 command N/A self view_matrix N/A N/A N/A viewmenu add_command label Results underline 0 command N/A self view_results N/A N/A N/A menubar add_cascade label View underline 0 menu viewmenu N/A rulemenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A rulemenu add_command label Top Down Strategy underline 0 command N/A self top_down_strategy accelerator t N/A N/A N/A rulemenu add_command label Bottom Up Strategy underline 0 command N/A self bottom_up_strategy accelerator b N/A N/A N/A rulemenu add_command label Bottom Up Left-Corner Strategy underline 0 command N/A self bottom_up_leftcorner_strategy accelerator c N/A N/A N/A rulemenu add_separator N/A N/A N/A rulemenu add_command label Bottom Up Rule command N/A self bottom_up N/A N/A N/A rulemenu add_command label Bottom Up Left-Corner Rule command N/A self bottom_up_leftcorner N/A N/A N/A rulemenu add_command label Top Down Init Rule command N/A self top_down_init N/A N/A N/A rulemenu add_command label Top Down Predict Rule command N/A self top_down_predict N/A N/A N/A rulemenu add_command label Fundamental Rule command N/A self fundamental N/A N/A N/A menubar add_cascade label Apply underline 0 menu rulemenu N/A animatemenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A animatemenu add_checkbutton label Step underline 0 variable N/A self _step accelerator s N/A N/A N/A animatemenu add_separator N/A N/A N/A animatemenu add_radiobutton label No Animation underline 0 variable N/A self _animate value 0 N/A N/A N/A animatemenu add_radiobutton label Slow Animation underline 0 variable N/A self _animate value 1 accelerator - N/A N/A N/A animatemenu add_radiobutton label Normal Animation underline 0 variable N/A self _animate value 2 accelerator = N/A N/A N/A animatemenu add_radiobutton label Fast Animation underline 0 variable N/A self _animate value 3 accelerator + N/A N/A N/A menubar add_cascade label Animate underline 1 menu animatemenu N/A zoommenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A zoommenu add_radiobutton label Tiny variable N/A self _size underline 0 value 10 command N/A self resize N/A N/A N/A zoommenu add_radiobutton label Small variable N/A self _size underline 0 value 12 command N/A self resize N/A N/A N/A zoommenu add_radiobutton label Medium variable N/A self _size underline 0 value 14 command N/A self resize N/A N/A N/A zoommenu add_radiobutton label Large variable N/A self _size underline 0 value 18 command N/A self resize N/A N/A N/A zoommenu add_radiobutton label Huge variable N/A self _size underline 0 value 24 command N/A self resize N/A N/A N/A menubar add_cascade label Zoom underline 0 menu zoommenu N/A helpmenu N/A N/A tkinter Menu menubar tearoff 0 N/A N/A N/A helpmenu add_command label About underline 0 command N/A self about N/A N/A N/A helpmenu add_command label Instructions underline 0 command N/A self help accelerator F1 N/A N/A N/A menubar add_cascade label Help underline 0 menu helpmenu N/A N/A N/A N/A self _root config menu menubar N/A _click_cv_edge N/A N/A self edge N/A N/A N/A N/A edge N/A self _selection N/A N/A N/A N/A self _select_edge edge N/A N/A N/A N/A N/A self _cv cycle_tree N/A _select_matrix_edge N/A N/A self edge N/A N/A N/A N/A N/A self _select_edge edge N/A N/A N/A N/A self _cv view_edge edge N/A _select_edge N/A N/A self edge N/A N/A N/A N/A self _selection edge N/A N/A N/A N/A self _cv markonly_edge edge #f00 N/A N/A N/A N/A self _cv draw_tree edge N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix markonly_edge edge N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix view_edge edge N/A _deselect_edge N/A N/A self N/A N/A N/A N/A self _selection None N/A N/A N/A N/A self _cv unmark_edge N/A N/A N/A N/A self _cv erase_tree N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix unmark_edge N/A _show_new_edge N/A N/A self edge N/A N/A N/A N/A N/A self _display_rule N/A N/A N/A self _cp current_chartrule N/A N/A N/A N/A self _cv update N/A N/A N/A N/A self _cv draw_tree edge N/A N/A N/A N/A self _cv markonly_edge edge #0df N/A N/A N/A N/A self _cv view_edge edge N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix update N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix markonly_edge edge N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix view_edge edge N/A N/A self _results N/A N/A N/A N/A N/A self _results update edge N/A help N/A N/A self N/A e N/A N/A N/A self _animating 0 N/A N/A N/A N/A ShowText N/A self _root Help: Chart Parser Application N/A N/A N/A __doc__ strip width 75 font fixed N/A N/A N/A N/A N/A ShowText N/A self _root Help: Chart Parser Application N/A N/A N/A __doc__ strip width 75 N/A about N/A N/A self N/A e N/A N/A ABOUT N/A NLTK Chart Parser Application
 Written by Edward Loper N/A N/A N/A N/A tkinter messagebox showinfo About: Chart Parser Application ABOUT N/A N/A CHART_FILE_TYPES N/A N/A Pickle file .pickle N/A All files * N/A GRAMMAR_FILE_TYPES N/A N/A Plaintext grammar file .cfg N/A Pickle file .pickle N/A All files * load_chart N/A N/A self N/A args N/A N/A Load a chart from a pickle file N/A filename N/A askopenfilename filetypes N/A self CHART_FILE_TYPES defaultextension .pickle N/A N/A filename N/A N/A N/A N/A N/A N/A open filename rb infile N/A N/A chart N/A N/A pickle load infile N/A N/A self _chart chart N/A N/A N/A N/A self _cv update chart N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix set_chart chart N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix deselect_cell N/A N/A self _results N/A N/A N/A N/A N/A self _results set_chart chart N/A N/A N/A N/A self _cp set_chart chart N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A N/A tkinter messagebox showerror Error Loading Chart N/A Unable to open file: %r filename N/A save_chart N/A N/A self N/A args N/A N/A Save a chart to a pickle file N/A filename N/A asksaveasfilename filetypes N/A self CHART_FILE_TYPES defaultextension .pickle N/A N/A filename N/A N/A N/A N/A N/A N/A open filename wb outfile N/A N/A N/A N/A pickle dump N/A self _chart outfile N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A N/A tkinter messagebox showerror Error Saving Chart N/A Unable to open file: %r filename N/A load_grammar N/A N/A self N/A args N/A N/A Load a grammar from a pickle file N/A filename N/A askopenfilename filetypes N/A self GRAMMAR_FILE_TYPES defaultextension .cfg N/A N/A filename N/A N/A N/A N/A N/A N/A N/A filename endswith .pickle N/A N/A N/A open filename rb infile N/A N/A grammar N/A N/A pickle load infile N/A N/A N/A open filename r infile N/A N/A grammar N/A N/A CFG fromstring N/A N/A infile read N/A N/A N/A self set_grammar grammar N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A tkinter messagebox showerror Error Loading Grammar N/A Unable to open file: %r filename N/A save_grammar N/A N/A self N/A args N/A N/A filename N/A asksaveasfilename filetypes N/A self GRAMMAR_FILE_TYPES defaultextension .cfg N/A N/A filename N/A N/A N/A N/A N/A N/A N/A filename endswith .pickle N/A N/A N/A open filename wb outfile N/A N/A N/A N/A pickle dump N/A N/A self _chart N/A self _tokens outfile N/A N/A N/A open filename w outfile N/A N/A prods N/A N/A N/A self _grammar productions N/A start N/A p N/A p prods N/A N/A N/A p lhs N/A N/A N/A self _grammar start N/A rest N/A p N/A p prods N/A N/A N/A p lhs N/A N/A N/A self _grammar start N/A prod start N/A N/A N/A N/A outfile write N/A %s
 prod N/A prod rest N/A N/A N/A N/A outfile write N/A %s
 prod N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A tkinter messagebox showerror Error Saving Grammar N/A Unable to open file: %r filename N/A reset N/A N/A self N/A args N/A N/A N/A self _animating 0 N/A N/A N/A self _reset_parser N/A N/A N/A N/A self _cv update N/A self _chart N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix set_chart N/A self _chart N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix deselect_cell N/A N/A self _results N/A N/A N/A N/A N/A self _results set_chart N/A self _chart N/A edit_grammar N/A N/A self N/A e N/A N/A N/A CFGEditor N/A self _root N/A self _grammar N/A self set_grammar N/A set_grammar N/A N/A self grammar N/A N/A N/A N/A self _grammar grammar N/A N/A N/A N/A self _cp set_grammar grammar N/A N/A self _results N/A N/A N/A N/A N/A self _results set_grammar grammar N/A edit_sentence N/A N/A self N/A e N/A N/A sentence N/A N/A join N/A self _tokens N/A title Edit Text N/A instr Enter a new sentence to parse. N/A N/A EntryDialog N/A self _root sentence instr N/A self set_sentence title N/A set_sentence N/A N/A self sentence N/A N/A N/A N/A self _tokens N/A list N/A N/A sentence split N/A N/A N/A self reset N/A view_matrix N/A N/A self N/A e N/A N/A N/A N/A self _matrix None N/A N/A N/A N/A N/A self _matrix destroy N/A N/A self _matrix N/A ChartMatrixView N/A self _root N/A self _chart N/A N/A N/A N/A self _matrix add_callback select N/A self _select_matrix_edge N/A view_results N/A N/A self N/A e N/A N/A N/A N/A self _results None N/A N/A N/A N/A N/A self _results destroy N/A N/A self _results N/A ChartResultsView N/A self _root N/A self _chart N/A self _grammar N/A resize N/A N/A self N/A N/A N/A N/A self _animating 0 N/A N/A N/A self set_font_size N/A N/A N/A self _size get N/A set_font_size N/A N/A self size N/A N/A N/A N/A N/A N/A self _cv set_font_size size N/A N/A N/A N/A self _font configure size N/A N/A abs size N/A N/A N/A N/A self _boldfont configure size N/A N/A abs size N/A N/A N/A N/A self _sysfont configure size N/A N/A abs size N/A get_font_size N/A N/A self N/A N/A N/A N/A abs N/A N/A N/A self _size get N/A apply_strategy N/A N/A self strategy edge_strategy N/A None N/A N/A N/A self _animating N/A N/A N/A self _animating 0 N/A N/A N/A N/A self _display_rule None N/A N/A N/A N/A self _step get N/A N/A selection N/A self _selection N/A N/A N/A selection None N/A edge_strategy None N/A N/A N/A N/A N/A self _cp set_strategy N/A N/A edge_strategy selection N/A newedge N/A N/A self _apply_strategy N/A N/A newedge None N/A N/A N/A N/A N/A self _cv unmark_edge N/A N/A self _selection None N/A N/A N/A N/A N/A self _cp set_strategy strategy N/A N/A N/A self _apply_strategy N/A N/A N/A N/A N/A self _cp set_strategy strategy N/A N/A N/A N/A self _animate get N/A N/A N/A self _animating 1 N/A N/A N/A self _animate_strategy N/A N/A edge N/A self _cpstep N/A N/A N/A edge None N/A N/A N/A N/A N/A N/A self _cv update N/A N/A self _matrix N/A N/A N/A N/A N/A self _matrix update N/A N/A self _results N/A N/A N/A N/A N/A self _results update N/A _stop_animation N/A N/A self N/A e N/A N/A N/A self _animating 0 N/A _animate_strategy N/A N/A self speed N/A 1 N/A N/A N/A N/A self _animating 0 N/A N/A N/A N/A N/A N/A self _apply_strategy None N/A N/A N/A N/A N/A N/A N/A self _animate get 0 N/A N/A N/A N/A self _step get 1 N/A N/A N/A N/A N/A N/A N/A self _animate get 1 N/A N/A N/A N/A N/A self _root after 3000 N/A self _animate_strategy N/A N/A N/A N/A N/A N/A self _animate get 2 N/A N/A N/A N/A N/A self _root after 1000 N/A self _animate_strategy N/A N/A N/A N/A N/A self _root after 20 N/A self _animate_strategy N/A _apply_strategy N/A N/A self N/A N/A N/A new_edge N/A next N/A self _cpstep N/A N/A new_edge None N/A N/A N/A N/A self _show_new_edge new_edge N/A new_edge N/A _display_rule N/A N/A self rule N/A N/A N/A N/A rule None N/A N/A N/A N/A self _rulelabel2 N/A text N/A N/A name N/A str rule N/A N/A N/A self _rulelabel2 N/A text name N/A size N/A N/A N/A self _cv get_font_size N/A N/A _TD_INIT N/A N/A TopDownInitRule N/A _TD_PREDICT N/A N/A TopDownPredictRule N/A _BU_RULE N/A N/A BottomUpPredictRule N/A _BU_LC_RULE N/A N/A BottomUpPredictCombineRule N/A _FUNDAMENTAL N/A N/A SingleEdgeFundamentalRule N/A _TD_STRATEGY N/A N/A _TD_INIT _TD_PREDICT _FUNDAMENTAL N/A _BU_STRATEGY N/A _BU_RULE _FUNDAMENTAL N/A _BU_LC_STRATEGY N/A _BU_LC_RULE _FUNDAMENTAL top_down_init N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _TD_INIT None N/A top_down_predict N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _TD_PREDICT TopDownPredictEdgeRule N/A bottom_up N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _BU_RULE BottomUpEdgeRule N/A bottom_up_leftcorner N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _BU_LC_RULE BottomUpLeftCornerEdgeRule N/A fundamental N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _FUNDAMENTAL FundamentalEdgeRule N/A bottom_up_strategy N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _BU_STRATEGY BottomUpEdgeRule N/A bottom_up_leftcorner_strategy N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _BU_LC_STRATEGY BottomUpLeftCornerEdgeRule N/A top_down_strategy N/A N/A self N/A e N/A N/A N/A N/A self apply_strategy N/A self _TD_STRATEGY TopDownPredictEdgeRule N/A N/A app N/A N/A N/A N/A N/A grammar N/A N/A CFG fromstring 
    # Grammatical productions.
        S -> NP VP
        VP -> VP PP | V NP | V
        NP -> Det N | NP PP
        PP -> P NP
    # Lexical productions.
        NP -> 'John' | 'I'
        Det -> 'the' | 'my' | 'a'
        N -> 'dog' | 'cookie' | 'table' | 'cake' | 'fork'
        V -> 'ate' | 'saw'
        P -> 'on' | 'under' | 'with'
     N/A sent John ate the cake on the table with a fork N/A sent John ate the cake on the table N/A tokens N/A list N/A N/A sent split N/A grammar= ( N/A rule N/A N/A grammar productions N/A N/A N/A N/A N/A repr rule , N/A ) N/A N/A tokens = %r tokens N/A Calling "ChartParserApp(grammar, tokens)"... N/A N/A N/A N/A ChartParserApp grammar tokens mainloop N/A N/A N/A __name__ __main__ N/A N/A N/A app N/A __all__ N/A app