File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/codeql/ql-language-reference Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ Use the following syntax to define an alias for a :ref:`type <types>`:
63
63
Note that ``class `` is just a keyword. You can define an alias for any type—namely, :ref: `primitive types <primitive-types >`,
64
64
:ref: `database types <database-types >` and user-defined :ref: `classes <classes >`.
65
65
66
- For example, you can use an alias to abbreviate the name of the primitive type ``boolean `` to ``bool ``:
66
+ For example, you can use an alias to abbreviate the name of the primitive type ``boolean `` to ``Bool ``:
67
67
68
68
.. code-block :: ql
69
69
70
- class bool = boolean;
70
+ class Bool = boolean;
71
71
72
72
Or, to use a class ``OneTwo `` defined in a :ref: `module <explicit-modules >` ``M `` in
73
73
``OneTwoThreeLib.qll ``, you could create an alias to use the shorter name ``OT `` instead:
You can’t perform that action at this time.
0 commit comments