feat(rust,lalrpop): @attribute for lifetimes

`@keyword` is only for language-defined keywords.
This commit is contained in:
Jaehwang Jung 2024-03-16 14:39:24 +09:00 committed by Christian Clason
parent 5d75359a9a
commit 8f5513a1f2
3 changed files with 17 additions and 6 deletions

View file

@ -140,7 +140,7 @@ As languages differ quite a lot, here is a set of captures available to you when
@type.builtin ; built-in types
@type.definition ; identifiers in type definitions (e.g. `typedef <type> <identifier>` in C)
@attribute ; attribute annotations (e.g. Python decorators)
@attribute ; attribute annotations (e.g. Python decorators, Rust lifetimes)
@attribute.builtin ; builtin annotations (e.g. `@property` in Python)
@property ; the key in key/value pairs
```