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 8fc273b commit 183dd68Copy full SHA for 183dd68
1 file changed
javascript/ql/src/semmle/javascript/dataflow/DataFlow.qll
@@ -536,6 +536,9 @@ module DataFlow {
536
pragma[noinline]
537
predicate accesses(Node base, string p) { getBase() = base and getPropertyName() = p }
538
539
+ /**
540
+ * Holds if this data flow node reads or writes a private field in a class.
541
+ */
542
predicate isPrivateField() {
543
getPropertyName().charAt(0) = "#" and getPropertyNameExpr() instanceof Label
544
}
0 commit comments