mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
JS: Remove unused isInPlainCodeContext
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user