From 3bdd9f7a304e97a371d7f0c1d725dddc86fb1e9b Mon Sep 17 00:00:00 2001 From: Erik Krogh Kristensen Date: Tue, 22 Jun 2021 13:08:19 +0200 Subject: [PATCH] mention the new toUnicode method in the QL language specification --- docs/codeql/ql-language-reference/ql-language-specification.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/codeql/ql-language-reference/ql-language-specification.rst b/docs/codeql/ql-language-reference/ql-language-specification.rst index bd305bdbadc..c1b2f830dba 100644 --- a/docs/codeql/ql-language-reference/ql-language-specification.rst +++ b/docs/codeql/ql-language-reference/ql-language-specification.rst @@ -1774,6 +1774,8 @@ The following built-in predicates are members of type ``int``: +-------------------------+-------------+----------------+----------------------------------------------------------------------------------------------------------------+ | ``toString`` | string | | The result is the decimal representation of the number as a string. | +-------------------------+-------------+----------------+----------------------------------------------------------------------------------------------------------------+ +| ``toUnicode`` | string | | The result is the unicode character for the receiver seen as a unicode code point. | ++-------------------------+-------------+----------------+----------------------------------------------------------------------------------------------------------------+ The leftmost bit after ``bitShiftRightSigned`` depends on sign extension, whereas after ``bitShiftRight`` it is zero.