mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Merge pull request #9852 from tausbn/python-add-str-class
Python: Add `Str` class
This commit is contained in:
@@ -616,6 +616,9 @@ private string non_byte_prefix() {
|
||||
not result.charAt(_) in ["b", "B"]
|
||||
}
|
||||
|
||||
/** A string constant. This is a placeholder class -- use `StrConst` instead. */
|
||||
class Str = StrConst;
|
||||
|
||||
/** A string constant. */
|
||||
class StrConst extends Str_, ImmutableLiteral {
|
||||
/* syntax: "hello" */
|
||||
|
||||
Reference in New Issue
Block a user