Viewing File: /opt/alt/python35/lib64/python3.5/lib2to3/__pycache__/pygram.cpython-35.pyc



¯ÕYfZã@sêdZddlZddlmZddlmZddlmZejjejj	e
ƒdƒZejjejj	e
ƒdƒZGd	d
„d
e
ƒZejeƒZeeƒZejƒZejd=ejeƒZeeƒZdS)z&Export the Python grammar and symbols.éNé)Útoken)Údriver)ÚpytreezGrammar.txtzPatternGrammar.txtc@seZdZdd„ZdS)ÚSymbolscCs4x-|jjƒD]\}}t|||ƒqWdS)z”Initializer.

        Creates an attribute for each grammar symbol (nonterminal),
        whose value is the symbol's type (an int >= 256).
        N)Z
symbol2numberÚitemsÚsetattr)ÚselfZgrammarÚnameZsymbol©rú3/opt/alt/python35/lib64/python3.5/lib2to3/pygram.pyÚ__init__szSymbols.__init__N)Ú__name__Ú
__module__Ú__qualname__r
rrrrrsrÚprint)Ú__doc__ÚosZpgen2rrÚrÚpathÚjoinÚdirnameÚ__file__Z
_GRAMMAR_FILEZ_PATTERN_GRAMMAR_FILEÚobjectrZload_grammarZpython_grammarZpython_symbolsÚcopyZ!python_grammar_no_print_statementÚkeywordsZpattern_grammarZpattern_symbolsrrrrÚ<module>s!	

Back to Directory File Manager