JS: Remove unused isInPlainCodeContext

This commit is contained in:
Asger Feldthaus
2021-08-19 14:22:05 +02:00
parent bef222dfcc
commit a1819a54f2

View File

@@ -116,12 +116,6 @@ module Templating {
not getRawText().regexpMatch("(?s)\\{\\{.*\\}\\}")
}
/**
* Holds if this occurs in generated code as an expression or statement,
* that is, without being enclosed in a string literal or similar.
*/
predicate isInPlainCodeContext() { this = any(GeneratedCodeExpr e).getPlaceholderTag() }
/**
* Gets the innermost JavaScript expression containing this template tag, if any.
*/