@@ -623,9 +623,9 @@ private static void functionsItem(LexerlessGrammarBuilder b) {
623
623
624
624
b .rule (SHORTHAND_SELF ).is (
625
625
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 );
627
627
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 ,
629
629
RustPunctuator .COLON , SPC , TYPE );
630
630
631
631
}
@@ -757,7 +757,7 @@ private static void assocItem(LexerlessGrammarBuilder b) {
757
757
private static void visibilityItem (LexerlessGrammarBuilder b ) {
758
758
b .rule (VISIBILITY ).is (b .firstOf (
759
759
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 , ")" ),
761
761
b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_SUPER , SPC , ")" ),
762
762
b .sequence (RustKeyword .KW_PUB , SPC , "(" , SPC , RustKeyword .KW_IN , SIMPLE_PATH , SPC , ")" ),
763
763
RustKeyword .KW_PUB
@@ -768,7 +768,7 @@ private static void visibilityItem(LexerlessGrammarBuilder b) {
768
768
private static void externcrates (LexerlessGrammarBuilder b ) {
769
769
b .rule (EXTERN_CRATE ).is (
770
770
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 ));
772
772
b .rule (AS_CLAUSE ).is (RustKeyword .KW_AS , SPC , b .firstOf (RustPunctuator .UNDERSCORE , IDENTIFIER ));
773
773
774
774
}
@@ -1799,7 +1799,7 @@ public static void lexicalpath(LexerlessGrammarBuilder b) {
1799
1799
b .zeroOrMore (b .sequence (RustPunctuator .PATHSEP , SIMPLE_PATH_SEGMENT )));
1800
1800
b .rule (SIMPLE_PATH_SEGMENT ).is (b .firstOf (
1801
1801
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 ));
1803
1803
1804
1804
b .rule (PATH_IN_EXPRESSION ).is (
1805
1805
b .optional (RustPunctuator .PATHSEP ),
0 commit comments