Skip to content

Commit 149ec20

Browse files
committed
JS: Add comment about internal edge
1 parent f64bdcc commit 149ec20

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,10 @@ module API {
17951795
/** Gets the argument index at which the spread argument appears. */
17961796
int getIndex() { result = index }
17971797

1798-
override string toString() { result = "getSpreadArgument(" + index + ")" }
1798+
override string toString() {
1799+
// Note: This refers to the internal edge that has no corresponding method on API::Node
1800+
result = "getSpreadArgument(" + index + ")"
1801+
}
17991802
}
18001803

18011804
/** A label for a function that is a wrapper around another function. */

0 commit comments

Comments
 (0)