We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7c496 commit a326149Copy full SHA for a326149
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -613,12 +613,12 @@ module API {
613
614
/** A node corresponding to a definition of an API component. */
615
class Definition extends Node, Impl::TDef {
616
- override string toString() { result = "def " + this.getPath() }
+ override string toString() { result = "def " + this.getInducingNode().toString() }
617
}
618
619
/** A node corresponding to the use of an API component. */
620
class Use extends Node, Impl::TUse {
621
- override string toString() { result = "use " + this.getPath() }
+ override string toString() { result = "use " + this.getInducingNode().toString() }
622
623
624
/** Gets the root node. */
0 commit comments