OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3.8
/
lib2to3
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:13:53 AM
rwxr-xr-x
📄
Grammar.txt
6.41 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
PatternGrammar.txt
793 bytes
10/28/2019 04:30:34 PM
rw-r--r--
📄
__init__.py
7 bytes
10/28/2019 04:30:34 PM
rw-r--r--
📄
__main__.py
67 bytes
10/28/2019 04:30:34 PM
rw-r--r--
📄
btm_matcher.py
6.47 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
btm_utils.py
9.73 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
fixer_base.py
6.53 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
fixer_util.py
14.85 KB
10/28/2019 04:30:34 PM
rw-r--r--
📁
fixes
-
05/09/2024 06:57:52 AM
rwxr-xr-x
📄
main.py
11.38 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
patcomp.py
6.89 KB
10/28/2019 04:30:34 PM
rw-r--r--
📁
pgen2
-
05/09/2024 06:57:52 AM
rwxr-xr-x
📄
pygram.py
1.27 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
pytree.py
27.3 KB
10/28/2019 04:30:34 PM
rw-r--r--
📄
refactor.py
26.76 KB
10/28/2019 04:30:34 PM
rw-r--r--
Editing: PatternGrammar.txt
Close
# 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 '>'