Ruby: inline getContents

This commit is contained in:
Asger F
2022-09-22 09:59:05 +02:00
parent e09a5e87dd
commit 032847f331

View File

@@ -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())