mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
JavaScript: Consolidate Classes tests.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import javascript
|
||||
|
||||
query predicate test_ClassNodeInstanceMethod(
|
||||
DataFlow::ClassNode class_, string name, DataFlow::FunctionNode res
|
||||
) {
|
||||
res = class_.getInstanceMethod(name)
|
||||
}
|
||||
Reference in New Issue
Block a user