File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
python/ql/src/semmle/python Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -297,8 +297,6 @@ class StmtListNode extends PrintAstNode, TStmtListNode {
297297
298298 override string toString ( ) { result = "(StmtList) " + getLabel ( ) }
299299
300- override Location getLocation ( ) { result = list .getItem ( 0 ) .getLocation ( ) }
301-
302300 override PrintAstNode getChild ( int childIndex ) {
303301 exists ( AstNode el | result .( AstElementNode ) .getAstNode ( ) = el | el = list .getItem ( childIndex ) )
304302 }
@@ -358,8 +356,6 @@ class FunctionParamsNode extends PrintAstNode, TFunctionParamsNode {
358356
359357 override string toString ( ) { result = "(parameters)" }
360358
361- override Location getLocation ( ) { result = func .getLocation ( ) }
362-
363359 override PrintAstNode getChild ( int childIndex ) {
364360 // everything that is not a stmt is a parameter.
365361 exists ( AstNode el | result .( AstElementNode ) .getAstNode ( ) = el |
You can’t perform that action at this time.
0 commit comments