OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17200
/
usr
/
lib
/
python3.5
/
lib2to3
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
Grammar.txt
6.59 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
PatternGrammar.txt
793 bytes
11/22/2023 03:35:02 PM
rw-r--r--
📄
__init__.py
7 bytes
11/22/2023 03:35:02 PM
rw-r--r--
📄
__main__.py
67 bytes
11/22/2023 03:35:02 PM
rw-r--r--
📁
__pycache__
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
btm_matcher.py
6.67 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
btm_utils.py
9.73 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
fixer_base.py
6.55 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
fixer_util.py
14.88 KB
11/22/2023 03:35:02 PM
rw-r--r--
📁
fixes
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
main.py
11.37 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
patcomp.py
6.9 KB
11/22/2023 03:35:02 PM
rw-r--r--
📁
pgen2
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
pygram.py
1.09 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
pytree.py
27.39 KB
11/22/2023 03:35:02 PM
rw-r--r--
📄
refactor.py
27.38 KB
11/22/2023 03:35:02 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 '>'