diff options
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r-- | src/syntax_kinds.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index 26838d2d8..a86f203d7 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs | |||
@@ -72,10 +72,13 @@ pub const EXTERN_CRATE_ITEM: SyntaxKind = SyntaxKind(67); | |||
72 | pub const ATTR: SyntaxKind = SyntaxKind(68); | 72 | pub const ATTR: SyntaxKind = SyntaxKind(68); |
73 | pub const META_ITEM: SyntaxKind = SyntaxKind(69); | 73 | pub const META_ITEM: SyntaxKind = SyntaxKind(69); |
74 | pub const MOD_ITEM: SyntaxKind = SyntaxKind(70); | 74 | pub const MOD_ITEM: SyntaxKind = SyntaxKind(70); |
75 | pub const LITERAL: SyntaxKind = SyntaxKind(71); | 75 | pub const USE_ITEM: SyntaxKind = SyntaxKind(71); |
76 | pub const ALIAS: SyntaxKind = SyntaxKind(72); | 76 | pub const PATH: SyntaxKind = SyntaxKind(72); |
77 | pub const PATH_SEGMENT: SyntaxKind = SyntaxKind(73); | ||
78 | pub const LITERAL: SyntaxKind = SyntaxKind(74); | ||
79 | pub const ALIAS: SyntaxKind = SyntaxKind(75); | ||
77 | 80 | ||
78 | static INFOS: [SyntaxInfo; 73] = [ | 81 | static INFOS: [SyntaxInfo; 76] = [ |
79 | SyntaxInfo { name: "USE_KW" }, | 82 | SyntaxInfo { name: "USE_KW" }, |
80 | SyntaxInfo { name: "FN_KW" }, | 83 | SyntaxInfo { name: "FN_KW" }, |
81 | SyntaxInfo { name: "STRUCT_KW" }, | 84 | SyntaxInfo { name: "STRUCT_KW" }, |
@@ -147,6 +150,9 @@ static INFOS: [SyntaxInfo; 73] = [ | |||
147 | SyntaxInfo { name: "ATTR" }, | 150 | SyntaxInfo { name: "ATTR" }, |
148 | SyntaxInfo { name: "META_ITEM" }, | 151 | SyntaxInfo { name: "META_ITEM" }, |
149 | SyntaxInfo { name: "MOD_ITEM" }, | 152 | SyntaxInfo { name: "MOD_ITEM" }, |
153 | SyntaxInfo { name: "USE_ITEM" }, | ||
154 | SyntaxInfo { name: "PATH" }, | ||
155 | SyntaxInfo { name: "PATH_SEGMENT" }, | ||
150 | SyntaxInfo { name: "LITERAL" }, | 156 | SyntaxInfo { name: "LITERAL" }, |
151 | SyntaxInfo { name: "ALIAS" }, | 157 | SyntaxInfo { name: "ALIAS" }, |
152 | ]; | 158 | ]; |