diff options
Diffstat (limited to 'src/syntax_kinds.rs')
-rw-r--r-- | src/syntax_kinds.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax_kinds.rs b/src/syntax_kinds.rs index 4a27b0eae..6099cd6e0 100644 --- a/src/syntax_kinds.rs +++ b/src/syntax_kinds.rs | |||
@@ -61,8 +61,9 @@ pub const SHEBANG: SyntaxKind = SyntaxKind(56); | |||
61 | pub const FILE: SyntaxKind = SyntaxKind(57); | 61 | pub const FILE: SyntaxKind = SyntaxKind(57); |
62 | pub const STRUCT_ITEM: SyntaxKind = SyntaxKind(58); | 62 | pub const STRUCT_ITEM: SyntaxKind = SyntaxKind(58); |
63 | pub const STRUCT_FIELD: SyntaxKind = SyntaxKind(59); | 63 | pub const STRUCT_FIELD: SyntaxKind = SyntaxKind(59); |
64 | pub const FN_ITEM: SyntaxKind = SyntaxKind(60); | ||
64 | 65 | ||
65 | static INFOS: [SyntaxInfo; 60] = [ | 66 | static INFOS: [SyntaxInfo; 61] = [ |
66 | SyntaxInfo { name: "USE_KW" }, | 67 | SyntaxInfo { name: "USE_KW" }, |
67 | SyntaxInfo { name: "FN_KW" }, | 68 | SyntaxInfo { name: "FN_KW" }, |
68 | SyntaxInfo { name: "STRUCT_KW" }, | 69 | SyntaxInfo { name: "STRUCT_KW" }, |
@@ -123,6 +124,7 @@ static INFOS: [SyntaxInfo; 60] = [ | |||
123 | SyntaxInfo { name: "FILE" }, | 124 | SyntaxInfo { name: "FILE" }, |
124 | SyntaxInfo { name: "STRUCT_ITEM" }, | 125 | SyntaxInfo { name: "STRUCT_ITEM" }, |
125 | SyntaxInfo { name: "STRUCT_FIELD" }, | 126 | SyntaxInfo { name: "STRUCT_FIELD" }, |
127 | SyntaxInfo { name: "FN_ITEM" }, | ||
126 | ]; | 128 | ]; |
127 | 129 | ||
128 | pub(crate) fn syntax_info(kind: SyntaxKind) -> &'static SyntaxInfo { | 130 | pub(crate) fn syntax_info(kind: SyntaxKind) -> &'static SyntaxInfo { |