Skip to content

Commit 3998c9a

Browse files
committed
document the existence of a global QlBuiltins module
1 parent 127b1ac commit 3998c9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/codeql/ql-language-reference/name-resolution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ The namespaces containing all the built-in entities are called **global namespac
199199
and are automatically available in any module.
200200
In particular:
201201

202-
- The **global module namespace** is empty.
202+
- The **global module namespace** has a single entry ``QlBuiltins``.
203203
- The **global type namespace** has entries for the :ref:`primitive types <primitive-types>` ``int``, ``float``,
204204
``string``, ``boolean``, and ``date``, as well as any :ref:`database types <database-types>` defined in the database schema.
205205
- The **global predicate namespace** includes all the `built-in predicates <https://codeql.github.com/docs/ql-language-reference/ql-language-specification/#built-ins>`_,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ A *definite* environment has at most one entry for each key. Resolution is uniqu
120120
Global environments
121121
~~~~~~~~~~~~~~~~~~~
122122

123-
The global module environment is empty.
123+
The global module environment has a single entry ``QlBuiltins``.
124124

125125
The global type environment has entries for the primitive types ``int``, ``float``, ``string``, ``boolean``, and ``date``, as well as any types defined in the database schema.
126126

0 commit comments

Comments
 (0)