Support paths to names rather than just raw idents (#5778)
* Support paths to names rather than just raw idents Signed-off-by: Nick Cameron <nrc@ncameron.org> * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 --------- Signed-off-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -351,6 +351,8 @@ pub enum TokenType {
|
||||
Comma,
|
||||
/// A colon.
|
||||
Colon,
|
||||
/// A double colon: `::`
|
||||
DoubleColon,
|
||||
/// A period.
|
||||
Period,
|
||||
/// A double period: `..`.
|
||||
@ -393,6 +395,7 @@ impl TryFrom<TokenType> for SemanticTokenType {
|
||||
| TokenType::Brace
|
||||
| TokenType::Comma
|
||||
| TokenType::Colon
|
||||
| TokenType::DoubleColon
|
||||
| TokenType::Period
|
||||
| TokenType::DoublePeriod
|
||||
| TokenType::Hash
|
||||
|
Reference in New Issue
Block a user