Update javascript/ql/src/semmle/javascript/frameworks/Templating.qll

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Asger F
2021-08-24 14:16:41 +02:00
committed by GitHub
parent 2553338bce
commit 8f8a46848d

View File

@@ -630,7 +630,10 @@ module Templating {
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
}
/** The `include` function, seen as an API node, so we can treat it as a template instantiation. */
/**
* The `include` function, seen as an API node, so we can treat it as a template instantiation.
* These API nodes are used in the `getTemplateInput` predicate.
*/```
private class IncludeFunctionAsEntryPoint extends API::EntryPoint {
IncludeFunctionAsEntryPoint() { this = "IncludeFunctionAsEntryPoint" }