diff options
Diffstat (limited to 'crates/ra_parser/src/syntax_kind')
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs.tera | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs.tera b/crates/ra_parser/src/syntax_kind/generated.rs.tera index 837437136..f241a21a0 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs.tera +++ b/crates/ra_parser/src/syntax_kind/generated.rs.tera | |||
@@ -74,7 +74,7 @@ impl SyntaxKind { | |||
74 | EOF => &SyntaxInfo { name: "EOF" }, | 74 | EOF => &SyntaxInfo { name: "EOF" }, |
75 | } | 75 | } |
76 | } | 76 | } |
77 | pub(crate) fn from_keyword(ident: &str) -> Option<SyntaxKind> { | 77 | pub fn from_keyword(ident: &str) -> Option<SyntaxKind> { |
78 | let kw = match ident { | 78 | let kw = match ident { |
79 | {%- for kw in keywords %} | 79 | {%- for kw in keywords %} |
80 | "{{kw}}" => {{kw | upper}}_KW, | 80 | "{{kw}}" => {{kw | upper}}_KW, |
@@ -84,7 +84,7 @@ impl SyntaxKind { | |||
84 | Some(kw) | 84 | Some(kw) |
85 | } | 85 | } |
86 | 86 | ||
87 | pub(crate) fn from_char(c: char) -> Option<SyntaxKind> { | 87 | pub fn from_char(c: char) -> Option<SyntaxKind> { |
88 | let tok = match c { | 88 | let tok = match c { |
89 | {%- for t in single_byte_tokens %} | 89 | {%- for t in single_byte_tokens %} |
90 | '{{t.0}}' => {{t.1}}, | 90 | '{{t.0}}' => {{t.1}}, |