--- a/eric6/Utilities/ClassBrowsers/jsclbr.py Mon Sep 23 19:10:42 2019 +0200 +++ b/eric6/Utilities/ClassBrowsers/jsclbr.py Mon Sep 23 19:22:12 2019 +0200 @@ -151,9 +151,11 @@ @param node reference to the node (jasy.script.parse.Node.Node) """ - if node.type == "function" and \ - getattr(node, "name", None) and \ - node.functionForm == "declared_form": + if ( + node.type == "function" and + getattr(node, "name", None) and + node.functionForm == "declared_form" + ): if self.__stack and self.__stack[-1].endlineno < node.line: del self.__stack[-1] endline = node.line + self.__source.count( @@ -225,9 +227,11 @@ @param node reference to the node (jasy.script.parse.Node.Node) """ - if node.type == "var" and \ - node.parent.type == "script" and \ - node.getChildrenLength(): + if ( + node.type == "var" and + node.parent.type == "script" and + node.getChildrenLength() + ): if self.__stack and self.__stack[-1].endlineno < node[0].line: del self.__stack[-1] if self.__stack: @@ -251,9 +255,11 @@ @param node reference to the node (jasy.script.parse.Node.Node) """ - if node.type == "const" and \ - node.parent.type == "script" and \ - node.getChildrenLength(): + if ( + node.type == "const" and + node.parent.type == "script" and + node.getChildrenLength() + ): if self.__stack and self.__stack[-1].endlineno < node[0].line: del self.__stack[-1] if self.__stack: