Skip to content

Commit b914686

Browse files
committed
Swift: Reluctantly QLDoc the toString.
1 parent 6fa0445 commit b914686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

swift/ql/lib/codeql/swift/regex/Regex.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ class RegexParseMode extends TRegexParseMode {
110110
this = MkUnicode() and result = "UNICODE"
111111
}
112112

113+
/**
114+
* Gets a textual representation of this `RegexParseMode`.
115+
*/
113116
string toString() { result = this.getName() }
114117
}
115118

0 commit comments

Comments
 (0)