Skip to content

Commit 396de59

Browse files
authored
Merge pull request github#6131 from erik-krogh/toUnicodeDoc
mention the new `toUnicode` method in the QL language specification
2 parents 38a38fd + 3bdd9f7 commit 396de59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/codeql/ql-language-reference/ql-language-specification.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,6 +1774,8 @@ The following built-in predicates are members of type ``int``:
17741774
+-------------------------+-------------+----------------+----------------------------------------------------------------------------------------------------------------+
17751775
| ``toString`` | string | | The result is the decimal representation of the number as a string. |
17761776
+-------------------------+-------------+----------------+----------------------------------------------------------------------------------------------------------------+
1777+
| ``toUnicode`` | string | | The result is the unicode character for the receiver seen as a unicode code point. |
1778+
+-------------------------+-------------+----------------+----------------------------------------------------------------------------------------------------------------+
17771779

17781780
The leftmost bit after ``bitShiftRightSigned`` depends on sign extension, whereas after ``bitShiftRight`` it is zero.
17791781

0 commit comments

Comments
 (0)