JS: Remove unused getTemplateContentNode

This commit is contained in:
Asger Feldthaus
2021-08-03 12:11:38 +02:00
parent 5d2bc5e40b
commit 74505544e9
5 changed files with 0 additions and 19 deletions

View File

@@ -984,8 +984,6 @@ module Express {
override DataFlow::Node getTemplateFileNode() { result = getArgument(0) }
override DataFlow::Node getTemplateContentNode() { none() }
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
override DataFlow::SourceNode getOutput() { result = getCallback(2).getParameter(1) }

View File

@@ -301,8 +301,6 @@ module Fastify {
override DataFlow::Node getTemplateFileNode() { result = getArgument(0) }
override DataFlow::Node getTemplateContentNode() { none() }
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
}
}

View File

@@ -259,8 +259,6 @@ module Hapi {
override DataFlow::Node getTemplateFileNode() { result = getArgument(0) }
override DataFlow::Node getTemplateContentNode() { none() }
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
}
}

View File

@@ -440,8 +440,6 @@ module Koa {
override DataFlow::Node getTemplateFileNode() { result = getArgument(0) }
override DataFlow::Node getTemplateContentNode() { none() }
override DataFlow::Node getTemplateParamsNode() {
result = getArgument(1)
or

View File

@@ -192,9 +192,6 @@ module Templating {
/** Gets a data flow node that refers a template file to be instantiated, if any. */
DataFlow::Node getTemplateFileNode() { result = range.getTemplateFileNode() }
/** Gets a data flow node that refers to the contents of the template to be instantiated, if any. */
DataFlow::Node getTemplateContentNode() { result = range.getTemplateContentNode() }
/** Gets a data flow node that refers to an object whose properties become variables in the template. */
DataFlow::Node getTemplateParamsNode() { result = range.getTemplateParamsNode() }
@@ -220,9 +217,6 @@ module Templating {
/** Gets a data flow node that refers a template file to be instantiated, if any. */
abstract DataFlow::Node getTemplateFileNode();
/** Gets a data flow node that refers to the contents of the template to be instantiated, if any. */
abstract DataFlow::Node getTemplateContentNode();
/** Gets a data flow node that refers to an object whose properties become variables in the template. */
abstract DataFlow::Node getTemplateParamsNode();
@@ -631,9 +625,6 @@ module Templating {
/** Gets a data flow node that refers a template file to be instantiated, if any. */
override DataFlow::Node getTemplateFileNode() { result = getArgument(0) }
/** Gets a data flow node that refers to the contents of the template to be instantiated, if any. */
override DataFlow::Node getTemplateContentNode() { none() }
/** Gets a data flow node that refers to an object whose properties become variables in the template. */
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
}
@@ -709,8 +700,6 @@ module Templating {
override DataFlow::Node getTemplateFileNode() { result = getArgument(0) }
override DataFlow::Node getTemplateContentNode() { none() }
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
}
}