mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Ruby: inline getContents
This commit is contained in:
@@ -268,6 +268,7 @@ module API {
|
||||
/**
|
||||
* Gets a node representing the `contents` stored on the base object.
|
||||
*/
|
||||
pragma[inline]
|
||||
Node getContents(DataFlow::ContentSet contents) {
|
||||
// We always use getAStoreContent when generating the graph, and we always use getAReadContent when querying the graph.
|
||||
result = this.getContent(contents.getAReadContent())
|
||||
|
||||
Reference in New Issue
Block a user