mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
add documentation for additional annotation
This commit is contained in:
@@ -710,6 +710,7 @@ Various kinds of syntax can have *annotations* applied to them. Annotations are
|
||||
| "private"
|
||||
| "deprecated"
|
||||
| "override"
|
||||
| "additional"
|
||||
| "query"
|
||||
|
||||
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
|
||||
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
|
||||
| ``override`` | | | yes | | | yes | | |
|
||||
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
|
||||
| ``additional`` | yes | | | yes | | | yes | yes |
|
||||
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
|
||||
| ``query`` | | | | yes | | | | yes |
|
||||
+----------------+---------+------------+-------------------+-----------------------+---------+--------+---------+---------+
|
||||
|
||||
@@ -2165,6 +2168,7 @@ The complete grammar for QL is as follows:
|
||||
| "private"
|
||||
| "deprecated"
|
||||
| "override"
|
||||
| "additional"
|
||||
| "query"
|
||||
|
||||
argsAnnotation ::= "pragma" "[" ("inline" | "inline_late" | "noinline" | "nomagic" | "noopt" | "assume_small_delta") "]"
|
||||
|
||||
Reference in New Issue
Block a user