diff options
Diffstat (limited to 'crates/ra_syntax/src/syntax_kinds/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/syntax_kinds/generated.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crates/ra_syntax/src/syntax_kinds/generated.rs b/crates/ra_syntax/src/syntax_kinds/generated.rs index aa1ab3326..06faf7557 100644 --- a/crates/ra_syntax/src/syntax_kinds/generated.rs +++ b/crates/ra_syntax/src/syntax_kinds/generated.rs | |||
@@ -105,7 +105,6 @@ pub enum SyntaxKind { | |||
105 | UNION_KW, | 105 | UNION_KW, |
106 | ERROR, | 106 | ERROR, |
107 | IDENT, | 107 | IDENT, |
108 | RAW_IDENT, | ||
109 | UNDERSCORE, | 108 | UNDERSCORE, |
110 | WHITESPACE, | 109 | WHITESPACE, |
111 | INT_NUMBER, | 110 | INT_NUMBER, |
@@ -369,7 +368,6 @@ impl SyntaxKind { | |||
369 | UNION_KW => &SyntaxInfo { name: "UNION_KW" }, | 368 | UNION_KW => &SyntaxInfo { name: "UNION_KW" }, |
370 | ERROR => &SyntaxInfo { name: "ERROR" }, | 369 | ERROR => &SyntaxInfo { name: "ERROR" }, |
371 | IDENT => &SyntaxInfo { name: "IDENT" }, | 370 | IDENT => &SyntaxInfo { name: "IDENT" }, |
372 | RAW_IDENT => &SyntaxInfo { name: "RAW_IDENT" }, | ||
373 | UNDERSCORE => &SyntaxInfo { name: "UNDERSCORE" }, | 371 | UNDERSCORE => &SyntaxInfo { name: "UNDERSCORE" }, |
374 | WHITESPACE => &SyntaxInfo { name: "WHITESPACE" }, | 372 | WHITESPACE => &SyntaxInfo { name: "WHITESPACE" }, |
375 | INT_NUMBER => &SyntaxInfo { name: "INT_NUMBER" }, | 373 | INT_NUMBER => &SyntaxInfo { name: "INT_NUMBER" }, |
@@ -565,12 +563,4 @@ impl SyntaxKind { | |||
565 | }; | 563 | }; |
566 | Some(tok) | 564 | Some(tok) |
567 | } | 565 | } |
568 | |||
569 | pub(crate) fn is_ident(&self) -> bool { | ||
570 | match self { | ||
571 | | IDENT | ||
572 | | RAW_IDENT => true, | ||
573 | _ => false, | ||
574 | } | ||
575 | } | ||
576 | } | 566 | } |