mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
JS: Make CaptureNode.toString() more explicit
This commit is contained in:
@@ -55,7 +55,7 @@ class CaptureNode extends DataFlow::Node, TSynthCaptureNode {
|
||||
override StmtContainer getContainer() { result = this.getNode().getEnclosingCallable() }
|
||||
|
||||
cached
|
||||
private string toStringInternal() { result = this.getNode().toString() }
|
||||
private string toStringInternal() { result = this.getNode().toString() + " [capture node]" }
|
||||
|
||||
override string toString() { result = this.toStringInternal() } // cached in parent class
|
||||
|
||||
|
||||
Reference in New Issue
Block a user