mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
remove location for arguments/parameters print node
This commit is contained in:
@@ -245,8 +245,6 @@ private module PrintJavaScript {
|
||||
override PrintAstNode getChild(int childIndex) {
|
||||
result.(ElementNode).getElement() = invk.getArgument(childIndex)
|
||||
}
|
||||
|
||||
override Location getLocation() { result = invk.getLocation() }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -269,8 +267,6 @@ private module PrintJavaScript {
|
||||
override PrintAstNode getChild(int childIndex) {
|
||||
result.(ElementNode).getElement() = invk.getTypeArgument(childIndex)
|
||||
}
|
||||
|
||||
override Location getLocation() { result = invk.getLocation() }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -424,8 +420,6 @@ private module PrintJavaScript {
|
||||
override PrintAstNode getChild(int childIndex) {
|
||||
result.(ElementNode).getElement() = f.getParameter(childIndex)
|
||||
}
|
||||
|
||||
override Location getLocation() { result = f.getLocation() }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -446,8 +440,6 @@ private module PrintJavaScript {
|
||||
override PrintAstNode getChild(int childIndex) {
|
||||
result.(ElementNode).getElement() = f.getTypeParameter(childIndex)
|
||||
}
|
||||
|
||||
override Location getLocation() { result = f.getLocation() }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user