Skip to content

Commit a1819a5

Browse files
committed
JS: Remove unused isInPlainCodeContext
1 parent bef222d commit a1819a5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ module Templating {
116116
not getRawText().regexpMatch("(?s)\\{\\{.*\\}\\}")
117117
}
118118

119-
/**
120-
* Holds if this occurs in generated code as an expression or statement,
121-
* that is, without being enclosed in a string literal or similar.
122-
*/
123-
predicate isInPlainCodeContext() { this = any(GeneratedCodeExpr e).getPlaceholderTag() }
124-
125119
/**
126120
* Gets the innermost JavaScript expression containing this template tag, if any.
127121
*/

0 commit comments

Comments
 (0)