# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt OP_PRECEDENCE = { op: precedence for precedence, ops in enumerate( [ ["Lambda"], # lambda x: x + 1 ["IfExp"], # 1 if True else 2 ["or"], ["and"], ["not"], ["Compare"], # in, not in, is, is not, <, <=, >, >=, !=, == ["|"], ["^"], ["&"], ["<<", ">>"], ["+", "-"], ["*", "@", "/", "//", "%"], ["UnaryOp"], # +, -, ~ ["**"], ["Await"], ] ) for op in ops }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
scoped_nodes | Folder | 0755 |
|
|
__init__.py | File | 4.95 KB | 0644 |
|
_base_nodes.py | File | 7.22 KB | 0644 |
|
as_string.py | File | 24.46 KB | 0644 |
|
const.py | File | 797 B | 0644 |
|
node_classes.py | File | 168.69 KB | 0644 |
|
node_ng.py | File | 27.57 KB | 0644 |
|
utils.py | File | 423 B | 0644 |
|