Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74243d3

Browse files
committed
remove location for arguments/parameters print node
1 parent d3e3c11 commit 74243d3

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

javascript/ql/src/semmle/javascript/PrintAst.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ private module PrintJavaScript {
245245
override PrintAstNode getChild(int childIndex) {
246246
result.(ElementNode).getElement() = invk.getArgument(childIndex)
247247
}
248-
249-
override Location getLocation() { result = invk.getLocation() }
250248
}
251249

252250
/**
@@ -269,8 +267,6 @@ private module PrintJavaScript {
269267
override PrintAstNode getChild(int childIndex) {
270268
result.(ElementNode).getElement() = invk.getTypeArgument(childIndex)
271269
}
272-
273-
override Location getLocation() { result = invk.getLocation() }
274270
}
275271

276272
/**
@@ -424,8 +420,6 @@ private module PrintJavaScript {
424420
override PrintAstNode getChild(int childIndex) {
425421
result.(ElementNode).getElement() = f.getParameter(childIndex)
426422
}
427-
428-
override Location getLocation() { result = f.getLocation() }
429423
}
430424

431425
/**
@@ -446,8 +440,6 @@ private module PrintJavaScript {
446440
override PrintAstNode getChild(int childIndex) {
447441
result.(ElementNode).getElement() = f.getTypeParameter(childIndex)
448442
}
449-
450-
override Location getLocation() { result = f.getLocation() }
451443
}
452444
}
453445

0 commit comments

Comments
 (0)