X7ROOT File Manager
Current Path:
/opt/alt/python310/lib64/python3.10/lib2to3
opt
/
alt
/
python310
/
lib64
/
python3.10
/
lib2to3
/
ðŸ“
..
📄
Grammar.txt
(8.49 KB)
📄
Grammar3.10.17.final.0.pickle
(14.95 KB)
📄
PatternGrammar.txt
(793 B)
📄
PatternGrammar3.10.17.final.0.pickle
(1.2 KB)
📄
__init__.py
(163 B)
📄
__main__.py
(67 B)
ðŸ“
__pycache__
📄
btm_matcher.py
(6.47 KB)
📄
btm_utils.py
(9.73 KB)
📄
fixer_base.py
(6.53 KB)
📄
fixer_util.py
(14.85 KB)
ðŸ“
fixes
📄
main.py
(11.58 KB)
📄
patcomp.py
(6.89 KB)
ðŸ“
pgen2
📄
pygram.py
(1.27 KB)
📄
pytree.py
(27.32 KB)
📄
refactor.py
(26.86 KB)
Editing: PatternGrammar.txt
# Copyright 2006 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. # A grammar to describe tree matching patterns. # Not shown here: # - 'TOKEN' stands for any token (leaf node) # - 'any' stands for any node (leaf or interior) # With 'any' we can still specify the sub-structure. # The start symbol is 'Matcher'. Matcher: Alternatives ENDMARKER Alternatives: Alternative ('|' Alternative)* Alternative: (Unit | NegatedUnit)+ Unit: [NAME '='] ( STRING [Repeater] | NAME [Details] [Repeater] | '(' Alternatives ')' [Repeater] | '[' Alternatives ']' ) NegatedUnit: 'not' (STRING | NAME [Details] | '(' Alternatives ')') Repeater: '*' | '+' | '{' NUMBER [',' NUMBER] '}' Details: '<' Alternatives '>'
Upload File
Create Folder