o bc@sdZddlZddlmZddlmZddlmZejej e dZ ejej e dZ Gd d d e Zed e ZeeZeZejd =eZejd =ed e ZeeZdS)z&Export the Python grammar and symbols.N)token)driver)pytreez Grammar.txtzPatternGrammar.txtc@seZdZddZdS)SymbolscCs$|jD] \}}t|||qdS)zInitializer. Creates an attribute for each grammar symbol (nonterminal), whose value is the symbol's type (an int >= 256). N) symbol2numberitemssetattr)selfgrammarnamesymbolr%/usr/lib/python3.10/lib2to3/pygram.py__init__szSymbols.__init__N)__name__ __module__ __qualname__rrrrrrs rlib2to3printexec)__doc__ospgen2rrrpathjoindirname__file__ _GRAMMAR_FILE_PATTERN_GRAMMAR_FILEobjectrload_packaged_grammarpython_grammarpython_symbolscopy!python_grammar_no_print_statementkeywords*python_grammar_no_print_and_exec_statementpattern_grammarpattern_symbolsrrrrs$