Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/alt/python310/lib64/python3.10/lib2to3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python310/lib64/python3.10/lib2to3/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 '>'
Name
Size
Permissions
Options
__pycache__
--
drwxr-xr-x
fixes
--
drwxr-xr-x
pgen2
--
drwxr-xr-x
Grammar.txt
8.492 KB
-rw-r--r--
Grammar3.10.18.final.0.pickle
14.954 KB
-rw-r--r--
PatternGrammar.txt
0.774 KB
-rw-r--r--
PatternGrammar3.10.18.final.0.pickle
1.196 KB
-rw-r--r--
__init__.py
0.159 KB
-rw-r--r--
__main__.py
0.065 KB
-rw-r--r--
btm_matcher.py
6.468 KB
-rw-r--r--
btm_utils.py
9.732 KB
-rw-r--r--
fixer_base.py
6.533 KB
-rw-r--r--
fixer_util.py
14.85 KB
-rw-r--r--
main.py
11.576 KB
-rw-r--r--
patcomp.py
6.889 KB
-rw-r--r--
pygram.py
1.274 KB
-rw-r--r--
pytree.py
27.318 KB
-rw-r--r--
refactor.py
26.862 KB
-rw-r--r--