@@ -45,8 +45,8 @@ You can also find a summary table in the Annotations section of the
4545.. index :: abstract
4646.. _abstract :
4747
48- abstract
49- ========
48+ `` abstract ``
49+ ============
5050
5151**Available for **: |classes |, |member predicates |
5252
@@ -89,8 +89,8 @@ own body, or they must inherit from another class that overrides ``isSource``::
8989.. index :: cached
9090.. _cached :
9191
92- cached
93- ======
92+ `` cached ``
93+ ==========
9494
9595**Available for **: |classes |, |algebraic datatypes |, |characteristic predicates |, |member predicates |, |non-member predicates |, |modules |
9696
@@ -112,8 +112,8 @@ body must also be annotated with ``cached``, otherwise a compiler error is repor
112112.. index :: deprecated
113113.. _deprecated :
114114
115- deprecated
116- ==========
115+ `` deprecated ``
116+ ==============
117117
118118**Available for **: |classes |, |algebraic datatypes |, |member predicates |, |non-member predicates |, |fields |, |modules |, |aliases |
119119
@@ -141,8 +141,8 @@ This QLDoc comment appears when you use the name ``DataFlowNode`` in a QL editor
141141.. index :: external
142142.. _external :
143143
144- external
145- ========
144+ `` external ``
145+ ============
146146
147147**Available for **: |non-member predicates |
148148
@@ -152,8 +152,8 @@ predicate. This is similar to a :ref:`database predicate <database-predicates>`.
152152.. index :: transient
153153.. _transient :
154154
155- transient
156- =========
155+ `` transient ``
156+ =============
157157**Available for **: |non-member predicates |
158158
159159The ``transient `` annotation is applied to non-member predicates that are also annotated with ``external ``,
@@ -163,8 +163,8 @@ without ``external``, the compiler will report an error.
163163.. index :: final
164164.. _final :
165165
166- final
167- =====
166+ `` final ``
167+ =========
168168
169169**Available for **: |classes |, |member predicates |, |fields |
170170
@@ -185,8 +185,8 @@ change this definition. In this case, ``hasName`` should be final::
185185
186186.. _library :
187187
188- library
189- =======
188+ `` library ``
189+ ===========
190190
191191**Available for **: |classes |
192192
@@ -202,8 +202,8 @@ compiler returns an error.
202202.. index :: override
203203.. _override :
204204
205- override
206- ========
205+ `` override ``
206+ ============
207207
208208**Available for **: |member predicates |, |fields |
209209
@@ -216,8 +216,8 @@ warning.
216216.. index :: private
217217.. _private :
218218
219- private
220- =======
219+ `` private ``
220+ ===========
221221
222222**Available for **: |classes |, |algebraic datatypes |, |member predicates |, |non-member predicates |, |imports |, |fields |, |modules |, |aliases |
223223
@@ -229,8 +229,8 @@ module's :ref:`namespace <namespaces>`.
229229
230230.. _query :
231231
232- query
233- =====
232+ `` query ``
233+ =========
234234
235235**Available for **: |non-member predicates |, |aliases |
236236
@@ -265,25 +265,25 @@ and a call to that predicate ``... one(y) ...``. The QL optimizer may inline the
265265You can use the following compiler pragma annotations to control the way the QL optimizer inlines
266266predicates.
267267
268- pragma[inline]
269- --------------
268+ `` pragma[inline] ``
269+ ------------------
270270
271271The ``pragma[inline] `` annotation tells the QL optimizer to always inline the annotated predicate
272272into the places where it is called. This can be useful when a predicate body is very expensive to
273273compute entirely, as it ensures that the predicate is evaluated with the other contextual information
274274at the places where it is called.
275275
276- pragma[noinline]
277- ----------------
276+ `` pragma[noinline] ``
277+ --------------------
278278
279279The ``pragma[noinline] `` annotation is used to prevent a predicate from being inlined into the
280280place where it is called. In practice, this annotation is useful when you've already grouped
281281certain variables together in a "helper" predicate, to ensure that the relation is evaluated
282282in one piece. This can help to improve performance. The QL optimizer's inlining may undo the
283283work of the helper predicate, so it's a good idea to annotate it with ``pragma[noinline] ``.
284284
285- pragma[nomagic]
286- ---------------
285+ `` pragma[nomagic] ``
286+ -------------------
287287
288288The ``pragma[nomagic] `` annotation is used to prevent the QL optimizer from performing the "magic sets"
289289optimization on a predicate.
@@ -295,8 +295,8 @@ by Semmle.
295295
296296Note that ``nomagic `` implies ``noinline ``.
297297
298- pragma[noopt]
299- -------------
298+ `` pragma[noopt] ``
299+ -----------------
300300
301301The ``pragma[noopt] `` annotation is used to prevent the QL optimizer from optimizing a
302302predicate, except when it's absolutely necessary for compilation and evaluation to work.
@@ -352,8 +352,8 @@ Language pragmas
352352
353353**Available for **: |classes |, |characteristic predicates |, |member predicates |, |non-member predicates |
354354
355- language[monotonicAggregates]
356- -----------------------------
355+ `` language[monotonicAggregates] ``
356+ ---------------------------------
357357
358358This annotation allows you to use **monotonic aggregates ** instead of the standard QL
359359:ref: `aggregates <aggregations >`.
@@ -367,8 +367,8 @@ Binding sets
367367
368368**Available for **: |characteristic predicates |, |member predicates |, |non-member predicates |
369369
370- bindingset[...]
371- ---------------
370+ `` bindingset[...] ``
371+ -------------------
372372
373373You can use this annotation to explicitly state the binding sets for a predicate. A binding set
374374is a subset of the predicate's arguments such that, if those arguments are constrained to a
0 commit comments