aboutsummaryrefslogtreecommitdiff
path: root/src/syntax_kinds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r--src/syntax_kinds.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs
index 53ea0775a..b82a4f7f2 100644
--- a/src/syntax_kinds.rs
+++ b/src/syntax_kinds.rs
@@ -66,8 +66,9 @@ pub const STRUCT_FIELD: SyntaxKind = SyntaxKind(61);
66pub const FN_ITEM: SyntaxKind = SyntaxKind(62); 66pub const FN_ITEM: SyntaxKind = SyntaxKind(62);
67pub const ATTR: SyntaxKind = SyntaxKind(63); 67pub const ATTR: SyntaxKind = SyntaxKind(63);
68pub const META_ITEM: SyntaxKind = SyntaxKind(64); 68pub const META_ITEM: SyntaxKind = SyntaxKind(64);
69pub const LITERAL: SyntaxKind = SyntaxKind(65);
69 70
70static INFOS: [SyntaxInfo; 65] = [ 71static INFOS: [SyntaxInfo; 66] = [
71 SyntaxInfo { name: "USE_KW" }, 72 SyntaxInfo { name: "USE_KW" },
72 SyntaxInfo { name: "FN_KW" }, 73 SyntaxInfo { name: "FN_KW" },
73 SyntaxInfo { name: "STRUCT_KW" }, 74 SyntaxInfo { name: "STRUCT_KW" },
@@ -133,6 +134,7 @@ static INFOS: [SyntaxInfo; 65] = [
133 SyntaxInfo { name: "FN_ITEM" }, 134 SyntaxInfo { name: "FN_ITEM" },
134 SyntaxInfo { name: "ATTR" }, 135 SyntaxInfo { name: "ATTR" },
135 SyntaxInfo { name: "META_ITEM" }, 136 SyntaxInfo { name: "META_ITEM" },
137 SyntaxInfo { name: "LITERAL" },
136]; 138];
137 139
138pub(crate) fn syntax_info(kind: SyntaxKind) -> &'static SyntaxInfo { 140pub(crate) fn syntax_info(kind: SyntaxKind) -> &'static SyntaxInfo {