@@ -623,9 +623,9 @@ private static void functionsItem(LexerlessGrammarBuilder b) {
623623
624624 b .rule (SHORTHAND_SELF ).is (
625625 b .optional (b .firstOf (b .sequence (RustPunctuator .AND , LIFETIME , SPC ), RustPunctuator .AND )),
626- b .optional (RustKeyword .KW_MUT , SPC ), RustKeyword .KW_SELFVALUE );
626+ b .optional (RustKeyword .KW_MUT , SPC ), RustKeyword .KW_SELF_VALUE );
627627
628- b .rule (TYPED_SELF ).is (b .optional (RustKeyword .KW_MUT , SPC ), RustKeyword .KW_SELFVALUE , SPC ,
628+ b .rule (TYPED_SELF ).is (b .optional (RustKeyword .KW_MUT , SPC ), RustKeyword .KW_SELF_VALUE , SPC ,
629629 RustPunctuator .COLON , SPC , TYPE );
630630
631631 }
@@ -757,7 +757,7 @@ private static void assocItem(LexerlessGrammarBuilder b) {
757757 private static void visibilityItem (LexerlessGrammarBuilder b ) {
758758 b .rule (VISIBILITY ).is (b .firstOf (
759759 b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_CRATE , SPC , ")" ),
760- b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_SELFVALUE , SPC , ")" ),
760+ b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_SELF_VALUE , SPC , ")" ),
761761 b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_SUPER , SPC , ")" ),
762762 b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_IN , SIMPLE_PATH , SPC , ")" ),
763763 RustKeyword .KW_PUB
@@ -768,7 +768,7 @@ private static void visibilityItem(LexerlessGrammarBuilder b) {
768768 private static void externcrates (LexerlessGrammarBuilder b ) {
769769 b .rule (EXTERN_CRATE ).is (
770770 RustKeyword .KW_EXTERN , SPC , RustKeyword .KW_CRATE , SPC , CRATE_REF , SPC , b .optional (SPC , AS_CLAUSE , SPC ), RustPunctuator .SEMI );
771- b .rule (CRATE_REF ).is (b .firstOf (RustKeyword .KW_SELFVALUE , IDENTIFIER ));
771+ b .rule (CRATE_REF ).is (b .firstOf (RustKeyword .KW_SELF_VALUE , IDENTIFIER ));
772772 b .rule (AS_CLAUSE ).is (RustKeyword .KW_AS , SPC , b .firstOf (RustPunctuator .UNDERSCORE , IDENTIFIER ));
773773
774774 }
@@ -1799,7 +1799,7 @@ public static void lexicalpath(LexerlessGrammarBuilder b) {
17991799 b .zeroOrMore (b .sequence (RustPunctuator .PATHSEP , SIMPLE_PATH_SEGMENT )));
18001800 b .rule (SIMPLE_PATH_SEGMENT ).is (b .firstOf (
18011801 b .sequence (RustKeyword .KW_SUPER , b .nextNot (IDENTIFIER )),
1802- RustKeyword .KW_SELFVALUE , b .regexp ("^crate$" ), b .regexp (DOLLAR_CRATE_REGEX ), IDENTIFIER ));
1802+ RustKeyword .KW_SELF_VALUE , b .regexp ("^crate$" ), b .regexp (DOLLAR_CRATE_REGEX ), IDENTIFIER ));
18031803
18041804 b .rule (PATH_IN_EXPRESSION ).is (
18051805 b .optional (RustPunctuator .PATHSEP ),
0 commit comments