Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
ede1c491
Commit
ede1c491
authored
Nov 07, 2018
by
Alexander Saltanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `group` to the list of possible annotations targets.
parent
12d346b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
language.md
doc/language.md
+3
-3
No files found.
doc/language.md
View file @
ede1c491
...
@@ -595,9 +595,9 @@ struct MyType $foo("bar") {
...
@@ -595,9 +595,9 @@ struct MyType $foo("bar") {
}
}
{% endhighlight %}
{% endhighlight %}
The possible targets for an annotation are:
`file`
,
`struct`
,
`field`
,
`union`
,
`
enum`
,
`enumerant
`
,
The possible targets for an annotation are:
`file`
,
`struct`
,
`field`
,
`union`
,
`
group`
,
`enum
`
,
`
interface`
,
`method`
,
`parameter`
,
`annotation`
,
`const`
. You may also specify
`*`
to cover them
`
enumerant`
,
`interface`
,
`method`
,
`parameter`
,
`annotation`
,
`const`
.
all.
You may also specify
`*`
to cover them
all.
{% highlight capnp %}
{% highlight capnp %}
annotation baz(
*
) :Int32;
annotation baz(
*
) :Int32;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment