mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
import javascript
|
|
|
|
query string getAccessModifier(DataFlow::PropRef ref, Expr prop) {
|
|
prop = ref.getPropertyNameExpr() and
|
|
if ref.isPrivateField() then result = "Private" else result = "Public"
|
|
}
|