File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
docs/codeql/ql-language-reference Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1530,9 +1530,10 @@ A range check has the following syntax:
1530
1530
1531
1531
::
1532
1532
1533
- inrange ::= expr "in" range
1533
+ inrange ::= expr "in" ( range | setliteral)
1534
1534
1535
- The formula is equivalent to ``expr "=" range ``.
1535
+
1536
+ The formula is equivalent to ``expr "=" range `` or ``expr "=" setliteral ``.
1536
1537
1537
1538
Calls
1538
1539
~~~~~
@@ -2131,7 +2132,7 @@ The complete grammar for QL is as follows:
2131
2132
2132
2133
instanceof ::= expr "instanceof" type
2133
2134
2134
- inrange ::= expr "in" range
2135
+ inrange ::= expr "in" ( range | setliteral)
2135
2136
2136
2137
call ::= predicateRef (closure)? "(" (exprs)? ")"
2137
2138
| primary "." predicateName (closure)? "(" (exprs)? ")"
You can’t perform that action at this time.
0 commit comments