Python: Change all remaining occurrences of StrConst

Done using
```
git grep StrConst | xargs sed -i 's/StrConst/StringLiteral/g'
```
This commit is contained in:
Taus
2024-04-17 16:03:45 +00:00
parent f6487d7b13
commit 1c68c987b0
101 changed files with 211 additions and 211 deletions

View File

@@ -21,7 +21,7 @@ predicate comparison_using_is(Compare comp, ControlFlowNode left, Cmpop op, Cont
}
private predicate cpython_interned_value(Expr e) {
exists(string text | text = e.(StrConst).getText() |
exists(string text | text = e.(StringLiteral).getText() |
text.length() = 0
or
text.length() = 1 and text.regexpMatch("[U+0000-U+00ff]")
@@ -34,7 +34,7 @@ private predicate cpython_interned_value(Expr e) {
predicate uninterned_literal(Expr e) {
(
e instanceof StrConst
e instanceof StringLiteral
or
e instanceof IntegerLiteral
or