Skip to content

Commit 89d246b

Browse files
committed
add documentation for additional annotation
1 parent 6f012d5 commit 89d246b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ Various kinds of syntax can have *annotations* applied to them. Annotations are
710710
| "private"
711711
| "deprecated"
712712
| "override"
713+
| "additional"
713714
| "query"
714715

715716
argsAnnotation ::= "pragma" "[" ("inline" | "inline_late" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"
@@ -746,6 +747,8 @@ The following table summarizes the syntactic constructs which can be marked with
746747
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
747748
| ``override`` | | | yes | | | yes | | |
748749
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
750+
| ``additional`` | yes | | | yes | | | yes | yes |
751+
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
749752
| ``query`` | | | | yes | | | | yes |
750753
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
751754

@@ -2165,6 +2168,7 @@ The complete grammar for QL is as follows:
21652168
| "private"
21662169
| "deprecated"
21672170
| "override"
2171+
| "additional"
21682172
| "query"
21692173

21702174
argsAnnotation ::= "pragma" "[" ("inline" | "inline_late" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"

0 commit comments

Comments
 (0)