зеркало из https://github.com/github/codeql.git
add explicit this
This commit is contained in:
Родитель
f46a8faf00
Коммит
55558120d9
|
@ -49,15 +49,15 @@ module Spife {
|
|||
t.start() and
|
||||
result = this.getArgument(0).getALocalSource()
|
||||
or
|
||||
exists(TypeBackTracker t2 | result = getHandlerDefinitions(t2).backtrack(t2, t))
|
||||
exists(TypeBackTracker t2 | result = this.getHandlerDefinitions(t2).backtrack(t2, t))
|
||||
}
|
||||
|
||||
DataFlow::SourceNode getHandlerDefinitions() {
|
||||
result = getHandlerDefinitions(TypeBackTracker::end())
|
||||
result = this.getHandlerDefinitions(TypeBackTracker::end())
|
||||
}
|
||||
|
||||
DataFlow::SourceNode getHandlerByName(string name) {
|
||||
result = getHandlerDefinitions().getAPropertySource(name)
|
||||
result = this.getHandlerDefinitions().getAPropertySource(name)
|
||||
}
|
||||
|
||||
DataFlow::SourceNode getHandlerByRoute(string method, string path) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче