Ruby: EntryPoint.getNode -> getANode

This commit is contained in:
Asger Feldthaus
2022-03-16 11:02:26 +01:00
parent ecf7073bf1
commit 33ca55770c
2 changed files with 2 additions and 2 deletions

View File

@@ -295,7 +295,7 @@ module API {
DataFlow::CallNode getACall() { none() }
/** Gets an API-node for this entry point. */
API::Node getNode() { result = root().getASuccessor(Label::entryPoint(this)) }
API::Node getANode() { result = root().getASuccessor(Label::entryPoint(this)) }
}
/** Gets the root node. */

View File

@@ -61,7 +61,7 @@ API::Node getExtraNodeFromPath(string package, string type, AccessPath path, int
n = 1 and
exists(EntryPointFromAnyType entry |
methodMatchedByName(path, entry.getName()) and
result = entry.getNode()
result = entry.getANode()
)
}