Module Expr Str ImportFrom alias Import alias alias Assign NameStore BinOpMult Str Num ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad For NameStore NameLoad body If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameLoad orelse Assign TupleStore NameStore NameStore NameLoad Assign NameStore NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If BoolOpAnd CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad For TupleStore NameStore NameStore NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Return Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Return Num If CompareEq NameLoad NameLoad body Return Num Return BoolOpAnd Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str If CompareEq Call NameLoad NameLoad Num body Return BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad BinOpDiv Call NameLoad NameLoad Num body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str If CompareEq Call NameLoad NameLoad Num body Return BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Return BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareEq Call NameLoad NameLoad Call NameLoad ListLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad Slice Num Num If Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Str If Call AttributeLoad NameLoad attr Str body Assign NameStore Str If NameLoad body AugAssignAdd NameStore Str Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str While Num body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Break Assign AttributeStore NameLoad attr Num While Num body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Break Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad BinOpAdd Str BinOpMult Str Call NameLoad NameLoad Expr Call NameLoad SubscriptLoad BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str BinOpMult Str Num Slice Num Assign NameStore ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad While NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Delete SubscriptDel NameLoad Index Num Expr Call NameLoad Str Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad If AttributeLoad NameLoad attr body Assign NameStore ListLoad Str Expr Call NameLoad Str Call AttributeLoad Str attr BinOpAdd AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str Call AttributeLoad Str attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str If SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num BinOpMod Str TupleLoad Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Str Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return TupleLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore Str AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Break orelse Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad Str attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Num If CompareEq NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd Num NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call AttributeLoad Str attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore ListLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad NameLoad If NameLoad body If UnaryOpNot NameLoad body Expr Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr orelse Expr Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Str NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Str Call AttributeLoad Str attr NameLoad keyword AttributeLoad NameLoad attr If NameLoad body If UnaryOpNot NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad NameLoad If CompareLt Call NameLoad NameLoad BinOpSub Num Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Call AttributeLoad NameLoad attr Str NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad BinOpMod Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str BinOpAdd AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Classes used to represent parse trees and generate output.

This module defines the Generator class, which drives the generation
of Python output from a grammar parse tree.  It also defines nodes
used to represent the parse tree; they are derived from class Node.

The main logic of Yapps is in this module.
 __future__ print_function N/A sys re N/A INDENT N/A 4 Generator N/A N/A __init__ N/A N/A self name options tokens rules N/A N/A N/A N/A self change_count 0 N/A N/A self name name N/A N/A self options options N/A N/A self preparser N/A N/A self postparser None N/A N/A self tokens N/A N/A N/A self ignore N/A N/A N/A self terminals N/A N/A t tokens N/A N/A N/A N/A len t 3 N/A N/A N/A n t s t N/A N/A N/A n t t N/A s None N/A N/A n #ignore N/A N/A n t N/A N/A N/A self ignore N/A n s N/A N/A N/A n N/A N/A N/A self tokens keys N/A N/A N/A self tokens N/A n t N/A N/A N/A print N/A Warning: token %s defined more than once. n file N/A sys stderr N/A N/A N/A self tokens N/A n t N/A N/A N/A N/A self terminals append n N/A N/A self rules N/A N/A N/A self params N/A N/A N/A self goals N/A N/A N/A n p r rules N/A N/A N/A N/A self params N/A n p N/A N/A N/A self rules N/A n r N/A N/A N/A N/A self goals append n N/A N/A self output N/A sys stdout N/A has_option N/A N/A self name N/A N/A N/A N/A N/A N/A self options get name False N/A non_ignored_tokens N/A N/A self N/A N/A N/A N/A x N/A x N/A self terminals N/A x N/A self ignore N/A changed N/A N/A self N/A N/A N/A Increments the change count.

        >>> t = Generator('', [], [], [])
        >>> old_count = t.change_count
        >>> t.changed()
        >>> assert t.change_count == old_count + 1
         N/A N/A self change_count N/A 1 N/A self change_count N/A set_subtract N/A N/A self a b N/A N/A N/A Returns the elements of a that are not in b.

        >>> t = Generator('', [], [], [])
        >>> t.set_subtract([], [])
        []
        >>> t.set_subtract([1, 2], [1, 2])
        []
        >>> t.set_subtract([1, 2, 3], [2])
        [1, 3]
        >>> t.set_subtract([1], [2, 3, 4])
        [1]
         N/A result N/A N/A x a N/A N/A N/A x b N/A N/A N/A N/A result append x N/A result N/A subset N/A N/A self a b N/A N/A N/A True iff all elements of sequence a are inside sequence b

        >>> t = Generator('', [], [], [])
        >>> t.subset([], [1, 2, 3])
        1
        >>> t.subset([1, 2, 3], [])
        0
        >>> t.subset([1], [1, 2, 3])
        1
        >>> t.subset([3, 2, 1], [1, 2, 3])
        1
        >>> t.subset([1, 1, 1], [1, 2, 3])
        1
        >>> t.subset([1, 2, 3], [1, 1, 1])
        0
         N/A x a N/A N/A N/A x b N/A N/A 0 N/A 1 N/A equal_set N/A N/A self a b N/A N/A N/A True iff subset(a, b) and subset(b, a)

        >>> t = Generator('', [], [], [])
        >>> a_set = [1, 2, 3]
        >>> t.equal_set(a_set, a_set)
        1
        >>> t.equal_set(a_set, a_set[:])
        1
        >>> t.equal_set([], a_set)
        0
        >>> t.equal_set([1, 2, 3], [3, 2, 1])
        1
         N/A N/A N/A len a N/A len b N/A N/A 0 N/A N/A a b N/A N/A 1 N/A N/A N/A N/A self subset a b N/A N/A self subset b a N/A add_to N/A N/A self parent additions N/A N/A N/A Modify _parent_ to include all elements in _additions_ N/A x additions N/A N/A N/A x parent N/A N/A N/A N/A parent append x N/A N/A N/A self changed N/A equate N/A N/A self a b N/A N/A N/A Extend (a) and (b) so that they contain each others' elements.

        >>> t = Generator('', [], [], [])
        >>> a = [1, 2]
        >>> b = [2, 3]
        >>> t.equate(a, b)
        >>> a
        [1, 2, 3]
        >>> b
        [2, 3, 1]
         N/A N/A N/A self add_to a b N/A N/A N/A self add_to b a N/A write N/A N/A self N/A args N/A N/A a args N/A N/A N/A N/A N/A self output write a N/A in_test N/A N/A self expr full set N/A N/A N/A Generate a test of (expr) being in (set), where (set) is a subset of (full)

        expr is a string (Python expression)
        set is a list of values (which will be converted with repr)
        full is the list of all values expr could possibly evaluate to

        >>> t = Generator('', [], [], [])
        >>> t.in_test('x', [1,2,3,4], [])
        '0'
        >>> t.in_test('x', [1,2,3,4], [1,2,3,4])
        '1'
        >>> t.in_test('x', [1,2,3,4], [1])
        'x == 1'
        >>> t.in_test('a+b', [1,2,3,4], [1,2])
        'a+b in [1, 2]'
        >>> t.in_test('x', [1,2,3,4,5], [1,2,3])
        'x not in [4, 5]'
        >>> t.in_test('x', [1,2,3,4,5], [1,2,3,4])
        'x != 5'
         N/A N/A set N/A N/A 0 N/A N/A N/A len set 1 N/A N/A N/A %s == %s N/A expr N/A repr N/A set N/A 0 N/A N/A full N/A N/A len set N/A N/A len full 2 N/A N/A not_set N/A x N/A x full N/A x set N/A N/A N/A self not_in_test expr full not_set N/A N/A %s in %s N/A expr N/A repr set N/A not_in_test N/A N/A self expr full set N/A N/A N/A Like in_test, but the reverse test. N/A N/A set N/A N/A 1 N/A N/A N/A len set 1 N/A N/A N/A %s != %s N/A expr N/A repr N/A set N/A 0 N/A N/A %s not in %s N/A expr N/A repr set N/A peek_call N/A N/A self a N/A N/A N/A Generate a call to scan for a token in the set 'a' N/A N/A N/A type a N/A type N/A N/A a_set N/A N/A repr a N/A 1 -1 N/A N/A N/A self equal_set a N/A N/A self non_ignored_tokens N/A N/A a_set N/A N/A N/A self has_option context_insensitive_scanner N/A N/A a_set N/A a_set N/A N/A a_set , N/A N/A self._peek(%s context=_context) a_set N/A peek_test N/A N/A self a b N/A N/A N/A Generate a call to test whether the next token (which could be any of
        the elements in a) is in the set b. N/A N/A N/A self subset a b N/A N/A 1 N/A N/A N/A self has_option context_insensitive_scanner N/A N/A a N/A N/A self non_ignored_tokens N/A N/A N/A self in_test N/A N/A self peek_call a a b N/A not_peek_test N/A N/A self a b N/A N/A N/A Like peek_test, but the opposite sense. N/A N/A N/A self subset a b N/A N/A 0 N/A N/A N/A self not_in_test N/A N/A self peek_call a a b N/A calculate N/A N/A self N/A N/A N/A The main loop to compute the epsilon, first, follow sets.
        The loop continues until the sets converge.  This works because
        each set can only get larger, so when they stop getting larger,
        we're done. N/A 1 N/A N/A r N/A self goals N/A N/A N/A N/A N/A N/A self rules N/A r setup self N/A N/A N/A self change_count 0 N/A N/A N/A N/A self change_count 0 N/A 1 N/A N/A r N/A self goals N/A N/A N/A N/A N/A N/A self rules N/A r update self N/A N/A N/A self change_count 0 N/A N/A N/A N/A self change_count 0 N/A dump_information N/A N/A self N/A N/A N/A Display the grammar in somewhat human-readable form. N/A N/A N/A self calculate N/A r N/A self goals N/A N/A N/A print N/A     _____ N/A _ N/A len r N/A N/A print N/A N/A N/A N/A ___/Rule  r \ N/A _ 80 N/A 79 N/A queue N/A N/A N/A self rules N/A r N/A queue N/A N/A top N/A queue N/A 0 N/A N/A queue N/A 0 N/A N/A print Rule N/A repr top of class N/A N/A top __class__ __name__ N/A N/A N/A N/A top first sort N/A N/A N/A N/A top follow sort N/A eps N/A N/A N/A top accepts_epsilon N/A N/A eps N/A (null) N/A N/A print      FIRST: N/A N/A ,  join N/A N/A top first eps N/A N/A print     FOLLOW: N/A N/A ,  join N/A top follow N/A x N/A N/A top get_children N/A N/A N/A N/A queue append x N/A repr_ignore N/A N/A self N/A N/A N/A out { N/A N/A t s N/A N/A N/A self ignore items N/A N/A N/A s None N/A N/A s N/A repr s N/A out N/A %s:%s, N/A N/A repr t s N/A out } N/A out N/A generate_output N/A N/A self N/A N/A N/A N/A N/A self calculate N/A N/A N/A self write N/A self preparser N/A N/A N/A self write # Begin -- grammar generated by Yapps
 N/A N/A N/A self write from __future__ import print_function
 N/A N/A N/A self write import sys, re
 N/A N/A N/A self write from yapps import runtime
 N/A N/A N/A self write N/A N/A N/A self write class  N/A self name Scanner(runtime.Scanner):
 N/A N/A N/A self write INDENT patterns = [
 N/A p N/A self terminals N/A N/A N/A N/A self write N/A INDENT 2 N/A (%s, re.compile(%s)),
 N/A N/A repr p N/A repr N/A N/A self tokens N/A p N/A N/A N/A self write INDENT ]
 N/A N/A N/A self write INDENT def __init__(self, str,*args,**kw):
 N/A N/A N/A self write N/A INDENT 2 N/A runtime.Scanner.__init__(self,None,%s,str,*args,**kw)
 N/A N/A self repr_ignore N/A N/A N/A self write N/A N/A N/A self write class  N/A self name (runtime.Parser):
 N/A N/A N/A self write INDENT Context = runtime.Context
 N/A r N/A self goals N/A N/A N/A N/A self write INDENT def  r (self N/A N/A N/A self params N/A r N/A N/A N/A N/A self write ,  N/A N/A self params N/A r N/A N/A N/A self write , _parent=None):
 N/A N/A N/A self write N/A INDENT 2 N/A _context = self.Context(_parent, self._scanner, %s, [%s])
 N/A N/A repr r N/A N/A N/A self params get r N/A N/A N/A N/A N/A self rules N/A r output self N/A INDENT 2 N/A N/A N/A self write N/A N/A N/A self write N/A N/A N/A self write def parse(rule, text):
 N/A N/A N/A self write INDENT P =  N/A self name ( N/A self name Scanner(text))
 N/A N/A N/A self write INDENT return runtime.wrap_error_reporter(P, rule)
 N/A N/A N/A self write N/A N/A N/A self postparser None N/A N/A N/A N/A self write # End -- grammar generated by Yapps
 N/A N/A N/A self write N/A self postparser N/A N/A N/A N/A self write if __name__ == '__main__':
 N/A N/A N/A self write INDENT from sys import argv, stdin
 N/A N/A N/A self write INDENT if len(argv) >= 2:
 N/A N/A N/A self write N/A INDENT 2 if len(argv) >= 3:
 N/A N/A N/A self write N/A INDENT 3 f = open(argv[2],'r')
 N/A N/A N/A self write N/A INDENT 2 else:
 N/A N/A N/A self write N/A INDENT 3 f = stdin
 N/A N/A N/A self write N/A INDENT 2 print(parse(argv[1], f.read()))
 N/A N/A N/A self write INDENT else: print ('Args:  <rule> [<filename>]', file=sys.stderr)
 N/A N/A N/A self write # End -- grammar generated by Yapps
 N/A N/A Node N/A N/A N/A This is the base class for all components of a grammar. __init__ N/A N/A self rule N/A N/A N/A N/A self rule rule N/A N/A self first N/A N/A N/A self follow N/A N/A N/A self accepts_epsilon 0 N/A setup N/A N/A self gen N/A N/A N/A N/A used N/A N/A self vars N/A N/A N/A Return two lists: one of vars used, and the other of vars assigned N/A N/A vars N/A N/A get_children N/A N/A self N/A N/A N/A Return a list of sub-nodes N/A N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A str self N/A update N/A N/A self gen N/A N/A N/A N/A self accepts_epsilon N/A N/A N/A N/A gen add_to N/A self first N/A self follow N/A output N/A N/A self gen indent N/A N/A N/A Write out code to _gen_ with _indent_:string indentation N/A N/A N/A gen write indent assert 0 # Invalid parser node
 N/A N/A Terminal N/A Node N/A N/A This class stores terminal nodes, which are tokens. __init__ N/A N/A self rule token N/A N/A N/A N/A N/A Node __init__ self rule N/A N/A self token token N/A N/A self accepts_epsilon 0 N/A __str__ N/A N/A self N/A N/A N/A N/A self token N/A update N/A N/A self gen N/A N/A N/A N/A N/A Node update self gen N/A N/A N/A self first N/A N/A self token N/A N/A N/A self first N/A N/A self token N/A N/A N/A gen changed N/A output N/A N/A self gen indent N/A N/A N/A N/A N/A gen write indent N/A N/A N/A re match [a-zA-Z_][a-zA-Z_0-9]*$ N/A self token N/A N/A N/A N/A gen write N/A self token  =  N/A N/A N/A gen write N/A self._scan(%s, context=_context)
 N/A repr N/A self token N/A N/A Eval N/A Node N/A N/A This class stores evaluation nodes, from {{ ... }} clauses. __init__ N/A N/A self rule expr N/A N/A N/A N/A N/A Node __init__ self rule N/A N/A self expr expr N/A setup N/A N/A self gen N/A N/A N/A N/A N/A Node setup self gen N/A N/A N/A self accepts_epsilon N/A N/A N/A self accepts_epsilon 1 N/A N/A N/A gen changed N/A __str__ N/A N/A self N/A N/A N/A N/A {{ %s }} N/A N/A N/A self expr strip N/A output N/A N/A self gen indent N/A N/A N/A N/A N/A gen write indent N/A N/A N/A self expr strip N/A N/A NonTerminal N/A Node N/A N/A This class stores nonterminal nodes, which are rules with arguments. __init__ N/A N/A self rule name args N/A N/A N/A N/A N/A Node __init__ self rule N/A N/A self name name N/A N/A self args args N/A setup N/A N/A self gen N/A N/A N/A N/A N/A Node setup self gen N/A N/A N/A N/A self target N/A N/A gen rules N/A N/A self name N/A N/A N/A self accepts_epsilon N/A N/A self target accepts_epsilon N/A N/A N/A self accepts_epsilon N/A N/A self target accepts_epsilon N/A N/A N/A gen changed N/A N/A N/A KeyError N/A N/A N/A print N/A Error: no rule <%s> N/A self name file N/A sys stderr N/A N/A self target self N/A __str__ N/A N/A self N/A N/A N/A N/A %s N/A self name N/A update N/A N/A self gen N/A N/A N/A N/A N/A Node update self gen N/A N/A N/A gen equate N/A self first N/A N/A self target first N/A N/A N/A gen equate N/A self follow N/A N/A self target follow N/A output N/A N/A self gen indent N/A N/A N/A N/A N/A gen write indent N/A N/A N/A gen write N/A self name  =  N/A args N/A self args N/A args N/A N/A args ,  N/A args _context N/A N/A N/A gen write self. N/A self name ( args )
 N/A N/A Sequence N/A Node N/A N/A This class stores a sequence of nodes (A B C ...) __init__ N/A N/A self rule N/A children N/A N/A N/A N/A Node __init__ self rule N/A N/A self children children N/A setup N/A N/A self gen N/A N/A N/A N/A N/A Node setup self gen N/A c N/A self children N/A N/A N/A N/A c setup gen N/A N/A N/A self accepts_epsilon N/A N/A c N/A self children N/A N/A N/A N/A c accepts_epsilon N/A N/A N/A N/A N/A self accepts_epsilon 1 N/A N/A N/A gen changed N/A get_children N/A N/A self N/A N/A N/A N/A self children N/A __str__ N/A N/A self N/A N/A N/A N/A ( %s ) N/A N/A join N/A map str N/A self children N/A update N/A N/A self gen N/A N/A N/A N/A N/A Node update self gen N/A g N/A self children N/A N/A N/A N/A g update gen N/A empty 1 N/A g_i N/A range N/A len N/A self children N/A N/A g N/A N/A self children N/A g_i N/A empty N/A N/A N/A N/A gen add_to N/A self first N/A g first N/A N/A N/A g accepts_epsilon N/A N/A empty 0 N/A N/A g_i N/A N/A len N/A self children 1 N/A N/A next N/A self follow N/A N/A next N/A N/A N/A self children N/A N/A 1 g_i first N/A N/A N/A gen add_to N/A g follow next N/A N/A self children N/A N/A N/A N/A gen add_to N/A self follow N/A N/A N/A self children N/A -1 follow N/A output N/A N/A self gen indent N/A N/A N/A N/A self children N/A N/A c N/A self children N/A N/A N/A N/A c output gen indent N/A N/A N/A N/A gen write indent pass
 N/A N/A Choice N/A Node N/A N/A This class stores a choice between nodes (A | B | C | ...) __init__ N/A N/A self rule N/A children N/A N/A N/A N/A Node __init__ self rule N/A N/A self children children N/A setup N/A N/A self gen N/A N/A N/A N/A N/A Node setup self gen N/A c N/A self children N/A N/A N/A N/A c setup gen N/A N/A N/A self accepts_epsilon N/A N/A c N/A self children N/A N/A N/A c accepts_epsilon N/A N/A N/A self accepts_epsilon 1 N/A N/A N/A gen changed N/A get_children N/A N/A self N/A N/A N/A N/A self children N/A __str__ N/A N/A self N/A N/A N/A N/A ( %s ) N/A N/A  |  join N/A map str N/A self children N/A update N/A N/A self gen N/A N/A N/A N/A N/A Node update self gen N/A g N/A self children N/A N/A N/A N/A g update gen N/A g N/A self children N/A N/A N/A N/A gen add_to N/A self first N/A g first N/A N/A N/A gen add_to N/A self follow N/A g follow N/A g N/A self children N/A N/A N/A N/A gen add_to N/A g follow N/A self follow N/A N/A self accepts_epsilon N/A N/A N/A N/A gen add_to N/A self first N/A self follow N/A output N/A N/A self gen indent N/A N/A N/A test if N/A N/A N/A gen write indent _token =  N/A N/A gen peek_call N/A self first N/A tokens_seen N/A N/A tokens_unseen N/A N/A self first N/A N/A N/A N/A gen has_option context_insensitive_scanner N/A N/A tokens_unseen N/A N/A gen non_ignored_tokens N/A c N/A self children N/A N/A testset N/A N/A c first N/A N/A removed N/A N/A x testset N/A N/A N/A x tokens_seen N/A N/A N/A N/A testset remove x N/A N/A N/A removed append x N/A N/A x tokens_unseen N/A N/A N/A N/A tokens_unseen remove x N/A tokens_seen N/A tokens_seen testset N/A removed N/A N/A N/A testset N/A N/A N/A print Error in rule N/A N/A self rule : file N/A sys stderr N/A N/A N/A print Warning in rule N/A N/A self rule : file N/A sys stderr N/A N/A print  * self file N/A sys stderr N/A N/A print  * These tokens could be matched by more than one clause: file N/A sys stderr N/A N/A print  * N/A N/A join removed file N/A sys stderr N/A testset N/A N/A N/A tokens_unseen N/A N/A N/A test if N/A N/A N/A N/A c output gen indent N/A N/A N/A N/A gen write indent else: N/A t N/A N/A gen in_test N/A testset N/A N/A N/A len t N/A 70 N/A len indent N/A N/A N/A N/A gen write  # t N/A N/A N/A gen write N/A N/A N/A c output gen N/A indent INDENT N/A N/A N/A N/A gen write indent test N/A N/A gen in_test _token tokens_unseen testset :
 N/A N/A N/A c output gen N/A indent INDENT N/A test elif N/A tokens_unseen N/A N/A N/A N/A gen write indent else:
 N/A N/A N/A gen write indent INDENT raise runtime.SyntaxError(_token[0],  N/A N/A N/A gen write 'Could not match  N/A self rule ')
 N/A N/A Wrapper N/A Node N/A N/A This is a base class for nodes that modify a single child. __init__ N/A N/A self rule child N/A N/A N/A N/A N/A Node __init__ self rule N/A N/A self child child N/A setup N/A N/A self gen N/A N/A N/A N/A N/A Node setup self gen N/A N/A N/A N/A self child setup gen N/A get_children N/A N/A self N/A N/A N/A N/A N/A self child N/A update N/A N/A self gen N/A N/A N/A N/A N/A Node update self gen N/A N/A N/A N/A self child update gen N/A N/A N/A gen add_to N/A self first N/A N/A self child first N/A N/A N/A gen equate N/A self follow N/A N/A self child follow N/A N/A Option N/A Wrapper N/A N/A This class represents an optional clause of the form [A] setup N/A N/A self gen N/A N/A N/A N/A N/A Wrapper setup self gen N/A N/A N/A self accepts_epsilon N/A N/A N/A self accepts_epsilon 1 N/A N/A N/A gen changed N/A __str__ N/A N/A self N/A N/A N/A N/A [ %s ] N/A str N/A self child N/A output N/A N/A self gen indent N/A N/A N/A N/A N/A self child accepts_epsilon N/A N/A N/A print Warning in rule N/A N/A self rule : contents may be empty. file N/A sys stderr N/A N/A N/A gen write indent N/A if %s:
 N/A N/A gen peek_test N/A self first N/A N/A self child first N/A N/A N/A N/A self child output gen N/A indent INDENT N/A N/A N/A gen has_option context_insensitive_scanner N/A N/A N/A N/A gen write indent N/A if %s:
 N/A N/A gen not_peek_test N/A N/A gen non_ignored_tokens N/A self follow N/A N/A N/A gen write N/A indent INDENT N/A raise runtime.SyntaxError(pos=self._scanner.get_pos(), context=_context, msg='Need one of ' + ', '.join(%s))
 N/A repr N/A self first N/A N/A Plus N/A Wrapper N/A N/A This class represents a 1-or-more repetition clause of the form A+ setup N/A N/A self gen N/A N/A N/A N/A N/A Wrapper setup self gen N/A N/A N/A self accepts_epsilon N/A N/A self child accepts_epsilon N/A N/A N/A self accepts_epsilon N/A N/A self child accepts_epsilon N/A N/A N/A gen changed N/A __str__ N/A N/A self N/A N/A N/A N/A %s+ N/A str N/A self child N/A update N/A N/A self gen N/A N/A N/A N/A N/A Wrapper update self gen N/A N/A N/A gen add_to N/A N/A self child follow N/A N/A self child first N/A output N/A N/A self gen indent N/A N/A N/A N/A N/A self child accepts_epsilon N/A N/A N/A print Warning in rule N/A N/A self rule : file N/A sys stderr N/A N/A print  * The repeated pattern could be empty.  The resulting parser may not work properly. file N/A sys stderr N/A N/A N/A gen write indent while 1:
 N/A N/A N/A N/A self child output gen N/A indent INDENT N/A union N/A N/A self first N/A N/A N/A N/A gen add_to union N/A self follow N/A N/A N/A gen write N/A indent INDENT N/A if %s: break
 N/A N/A gen not_peek_test union N/A N/A self child first N/A N/A N/A gen has_option context_insensitive_scanner N/A N/A N/A N/A gen write indent N/A if %s:
 N/A N/A gen not_peek_test N/A N/A gen non_ignored_tokens N/A self follow N/A N/A N/A gen write N/A indent INDENT N/A raise runtime.SyntaxError(pos=self._scanner.get_pos(), context=_context, msg='Need one of ' + ', '.join(%s))
 N/A repr N/A self first N/A N/A Star N/A Wrapper N/A N/A This class represents a 0-or-more repetition clause of the form A* setup N/A N/A self gen N/A N/A N/A N/A N/A Wrapper setup self gen N/A N/A N/A self accepts_epsilon N/A N/A N/A self accepts_epsilon 1 N/A N/A N/A gen changed N/A __str__ N/A N/A self N/A N/A N/A N/A %s* N/A str N/A self child N/A update N/A N/A self gen N/A N/A N/A N/A N/A Wrapper update self gen N/A N/A N/A gen add_to N/A N/A self child follow N/A N/A self child first N/A output N/A N/A self gen indent N/A N/A N/A N/A N/A self child accepts_epsilon N/A N/A N/A print Warning in rule N/A N/A self rule : file N/A sys stderr N/A N/A print  * The repeated pattern could be empty.  The resulting parser probably will not work properly. file N/A sys stderr N/A N/A N/A gen write indent N/A while %s:
 N/A N/A gen peek_test N/A self follow N/A N/A self child first N/A N/A N/A N/A self child output gen N/A indent INDENT N/A N/A N/A gen has_option context_insensitive_scanner N/A N/A N/A N/A gen write indent N/A if %s:
 N/A N/A gen not_peek_test N/A N/A gen non_ignored_tokens N/A self follow N/A N/A N/A gen write N/A indent INDENT N/A raise runtime.SyntaxError(pos=self._scanner.get_pos(), context=_context, msg='Need one of ' + ', '.join(%s))
 N/A repr N/A self first N/A N/A