Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 999e0c8 commit b6648deCopy full SHA for b6648de
1 file changed
javascript/ql/src/semmle/javascript/dataflow/Nodes.qll
@@ -650,6 +650,15 @@ class ClassNode extends DataFlow::SourceNode {
650
.(AbstractCallable)
651
.getFunction()
652
}
653
+
654
+ /**
655
+ * Gets the receiver of an instance member or constructor of this class.
656
+ */
657
+ DataFlow::SourceNode getAReceiverNode() {
658
+ result = getConstructor().getReceiver()
659
+ or
660
+ result = getAnInstanceMember().getReceiver()
661
+ }
662
663
664
module ClassNode {
0 commit comments