Add public semantic token modifier for public items

This commit is contained in:
Aramis Razzaghipour 2021-05-28 09:25:32 +10:00
parent 3762cb4535
commit 3e7472f76c
No known key found for this signature in database
GPG key ID: F788F7E990136003
9 changed files with 67 additions and 35 deletions

View file

@ -137,6 +137,7 @@ pub struct HlRange {
// injected:: Emitted for doc-string injected highlighting like rust source blocks in documentation.
// intraDocLink:: Emitted for intra doc links in doc-strings.
// library:: Emitted for items that are defined outside of the current crate.
// public:: Emitted for items that are from the current crate and are `pub`.
// mutable:: Emitted for mutable locals and statics.
// static:: Emitted for "static" functions, also known as functions that do not take a `self` param, as well as statics and consts.
// trait:: Emitted for associated trait items.