Current Path: > > opt > alt > python33 > lib64 > python3.3 > > lib2to3 >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
fixes | Directory | - | - | |
pgen2 | Directory | - | - | |
Grammar.txt | File | 6589 bytes | September 19 2017 07:32:02. | |
Grammar3.3.7.final.0.pickle | File | 20850 bytes | April 17 2024 16:58:10. | |
PatternGrammar.txt | File | 793 bytes | September 19 2017 07:32:02. | |
PatternGrammar3.3.7.final.0.pickle | File | 1455 bytes | April 17 2024 16:58:10. | |
__init__.py | File | 7 bytes | April 17 2024 16:58:20. | |
__main__.py | File | 67 bytes | April 17 2024 16:58:20. | |
btm_matcher.py | File | 6833 bytes | April 17 2024 16:58:20. | |
btm_utils.py | File | 10011 bytes | April 17 2024 16:58:20. | |
fixer_base.py | File | 6706 bytes | April 17 2024 16:58:20. | |
fixer_util.py | File | 14552 bytes | April 17 2024 16:58:20. | |
main.py | File | 11624 bytes | April 17 2024 16:58:20. | |
patcomp.py | File | 7075 bytes | April 17 2024 16:58:20. | |
pygram.py | File | 1114 bytes | April 17 2024 16:58:20. | |
pytree.py | File | 28386 bytes | April 17 2024 16:58:20. | |
refactor.py | File | 28042 bytes | April 17 2024 16:58:20. |
# Copyright 2006 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Export the Python grammar and symbols.""" # Python imports import os # Local imports from .pgen2 import token from .pgen2 import driver from . import pytree # The grammar file _GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), "Grammar.txt") _PATTERN_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), "PatternGrammar.txt") class Symbols(object): def __init__(self, grammar): """Initializer. Creates an attribute for each grammar symbol (nonterminal), whose value is the symbol's type (an int >= 256). """ for name, symbol in grammar.symbol2number.items(): setattr(self, name, symbol) python_grammar = driver.load_grammar(_GRAMMAR_FILE) python_symbols = Symbols(python_grammar) python_grammar_no_print_statement = python_grammar.copy() del python_grammar_no_print_statement.keywords["print"] pattern_grammar = driver.load_grammar(_PATTERN_GRAMMAR_FILE) pattern_symbols = Symbols(pattern_grammar)
SILENT KILLER Tool