/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/logilab/logilab/astroid/ |
H A D | node_classes.py | 173 if myframe is frame and mystmt.fromlineno is not None: 174 assert mystmt.fromlineno is not None, mystmt 175 mylineno = mystmt.fromlineno + offset 184 if mylineno > 0 and stmt.fromlineno > mylineno: 310 def fromlineno(self): member in Arguments 311 lineno = super(Arguments, self).fromlineno 312 return max(lineno, self.parent.fromlineno) 689 if lineno == self.body[0].fromlineno: 694 self.body[0].fromlineno - 1) 844 last = exhandler.body[0].fromlineno - 1 [all …]
|
H A D | mixins.py | 38 if lineno == self.fromlineno: 41 if lineno >= orelse[0].fromlineno: 43 return lineno, orelse[0].fromlineno - 1
|
H A D | bases.py | 385 fromlineno = None variable in NodeNG 428 self.fromlineno, 532 mylineno = self.fromlineno 537 lineno = node.fromlineno 538 if node.fromlineno > mylineno: 549 def fromlineno(self): member in NodeNG 563 return self.fromlineno 568 assert self.fromlineno is not None, self
|
H A D | scoped_nodes.py | 261 fromlineno = 0 variable in Module 337 return self.fromlineno, self.tolineno 717 def fromlineno(self): member in Function 736 return self.fromlineno, self.tolineno 986 return self.fromlineno 993 return self.fromlineno, self.tolineno
|
H A D | test_utils.py | 76 node_line = node.fromlineno
|
H A D | builder.py | 187 _key_func = lambda node: node.fromlineno
|
/dports/devel/py-astroid/astroid-2.9.0/astroid/ |
H A D | mixins.py | 35 if lineno == self.fromlineno: 38 if lineno >= orelse[0].fromlineno: 40 return lineno, orelse[0].fromlineno - 1
|
H A D | builder.py | 205 return node.fromlineno 347 node_line = node.fromlineno
|
/dports/devel/pylint/pylint-2.12.1/pylint/checkers/ |
H A D | imports.py | 98 if first.scope() is node.scope() and first.fromlineno > node.fromlineno: 570 "ungrouped-imports", import_node.fromlineno 589 if not self.linter.is_message_enabled("wrong-import-position", node.fromlineno): 631 if not self.linter.is_message_enabled("wrong-import-position", node.fromlineno): 673 self.add_message("reimported", node=node, args=(name, node.fromlineno)) 733 "wrong-import-order", node.fromlineno 763 "wrong-import-order", node.fromlineno, node 783 "wrong-import-order", node.fromlineno, node 802 "wrong-import-order", node.fromlineno, node 924 "reimported", node=node, args=(name, first.fromlineno)
|
H A D | logging.py | 281 "logging-fstring-formatting", node.fromlineno 285 "logging-format-interpolation", node.fromlineno 288 if not self.linter.is_message_enabled("logging-not-lazy", node.fromlineno):
|
H A D | variables.py | 316 return sorted(names.items(), key=lambda a: a[1].fromlineno) 742 args=(variable, outer_for.fromlineno), 868 line = definition.fromlineno 985 if stmt.fromlineno is None: 1186 if stmt.fromlineno <= defstmt.fromlineno: 1457 and frame.locals[node.name][0].fromlineno < defstmt.fromlineno 1478 maybee0601 = stmt.fromlineno <= defstmt.fromlineno 1482 maybee0601 = maybee0601 and stmt.fromlineno <= defstmt.fromlineno 1483 if maybee0601 and stmt.fromlineno == defstmt.fromlineno:
|
H A D | format.py | 596 prev_line = prev_sibl.fromlineno 606 prev_line = node.parent.statement().fromlineno 607 line = node.fromlineno
|
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/autoapi/mappers/python/ |
H A D | parser.py | 83 "from_line_no": node.fromlineno, 103 "from_line_no": node.fromlineno, 172 "from_line_no": node.fromlineno,
|
/dports/devel/pylint/pylint-2.12.1/pylint/utils/ |
H A D | file_state.py | 69 first = node.fromlineno 90 firstchildlineno = node.body[0].fromlineno
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pylint/pylint/checkers/ |
H A D | variables.py | 171 return sorted(names.items(), key=lambda a: a[1].fromlineno) 495 line = globs[name][0].fromlineno 711 if stmt.fromlineno is None: 829 maybee0601 = maybee0601 and stmt.fromlineno <= defstmt.fromlineno 857 if stmt.fromlineno <= defstmt.fromlineno:
|
H A D | imports.py | 55 if first.scope() is node.scope() and first.fromlineno > node.fromlineno: 356 args=(name, first.fromlineno))
|
H A D | utils.py | 81 return (True, (name, 'outer scope (line %s)' % stmts[0].fromlineno)) 184 lineno = stmt.fromlineno 185 while _node and _node.fromlineno == lineno:
|
H A D | classes.py | 448 args = (overridden.root().name, overridden.fromlineno) 726 lno = defstmt.fromlineno 728 if _node.frame() is frame and _node.fromlineno < lno \
|
H A D | format.py | 860 prev_line = prev_sibl.fromlineno 870 prev_line = node.parent.statement().fromlineno 871 line = node.fromlineno
|
H A D | base.py | 335 line=retnode.fromlineno) 432 args=(redeftype, defined_self.fromlineno)) 666 self.add_message('unnecessary-lambda', line=node.fromlineno, node=node)
|
/dports/devel/pylint/pylint-2.12.1/pylint/extensions/ |
H A D | docstyle.py | 68 lineno = node.fromlineno + 1
|
/dports/devel/py-astroid/astroid-2.9.0/astroid/nodes/ |
H A D | node_classes.py | 462 if myframe is frame and mystmt.fromlineno is not None: 463 assert mystmt.fromlineno is not None, mystmt 464 mylineno = mystmt.fromlineno + offset 474 if stmt.fromlineno and stmt.fromlineno > mylineno > 0: 988 def fromlineno(self): member in Arguments 993 lineno = super().fromlineno 994 return max(lineno, self.parent.fromlineno or 0) 3240 if lineno == self.body[0].fromlineno: 4163 last = exhandler.body[0].fromlineno - 1 4258 and child.fromlineno == self.fromlineno [all …]
|
H A D | node_ng.py | 230 "lineno": self.fromlineno, 427 def fromlineno(self) -> Optional[int]: member in NodeNG 442 return self.fromlineno
|
H A D | scoped_nodes.py | 387 fromlineno = 0 variable in Module 564 return self.fromlineno, self.tolineno 1750 def fromlineno(self): member in FunctionDef 1782 return self.fromlineno, self.tolineno 2348 return self.fromlineno 2359 return self.fromlineno, self.tolineno
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pylint/pylint/ |
H A D | utils.py | 370 line = node.fromlineno 507 first = node.fromlineno 525 firstchildlineno = node.body[0].fromlineno
|