Skip to content

Commit 6b9ccd6

Browse files
alexetjbj
andauthored
QLSpec: Apply suggestions from code review
Co-authored-by: Jonas Jensen <jbj@github.com>
1 parent 7ea8577 commit 6b9ccd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,20 +1310,20 @@ The abbreviated cases for an ``any`` expression are interpreted in the same way
13101310
Expression Pragma
13111311
~~~~~~~~~~~~~~~~~
13121312

1313-
Expression pragmas can be used to guide optimisation.
1313+
Expression pragmas can be used to guide optimization.
13141314

13151315
::
13161316
expression_pragma ::= "pragma" "[" expression_pragma_type "]" "(" expr ")"
13171317

13181318
expression_pragma_type ::= "only_bind_out" | "only_bind_into"
13191319

1320-
The values of an expression pragma are the values of the expression.
1320+
The values of an expression pragma are the values of the contained expression.
13211321

1322-
The type `only_bind_out` hints that uses the result of the expression pragma should not be used to guide the evaluation of the result of the contained expression.
1322+
The type `only_bind_out` hints that uses of the result of the expression pragma should not be used to guide the evaluation of the result of the contained expression.
13231323
When checking to see that all values are bound the compiler does not assume that if the result of the expression pragma is bound then the result of the contained
13241324
expression is bound.
13251325

1326-
The type `only_bind_into` hints that uses the result of expression pragma should not be used to guide the evaluation of the result of the expression pragma.
1326+
The type `only_bind_into` hints that uses of the contained expression should not be used to guide the evaluation of the result of the expression pragma.
13271327
When checking to see that all values are bound the compiler does not assume that if the result of the contained expression is bound then the result of the
13281328
expression pragma is bound.
13291329

0 commit comments

Comments
 (0)