We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c1c0f commit dc10277Copy full SHA for dc10277
src/nomparser/helper.rs
@@ -19,6 +19,8 @@ pub fn tag_token_symbol(token: TokenType) -> impl Fn(Span) -> IResult<Span, (Tok
19
})(input)
20
}
21
22
+
23
+/// 不能直接接 `字母`、`数字` 或 `_`,用于关键字
24
pub fn tag_token_word(token: TokenType) -> impl Fn(Span) -> IResult<Span, (TokenType, Range)> {
25
move |input| {
26
let (s1, s2): (LocatedSpan<&str, bool>, LocatedSpan<&str, bool>) =
0 commit comments