@@ -301,7 +301,7 @@ public let ATTRIBUTE_NODES: [Node] = [
301301 children: [
302302 Child (
303303 name: " DeclBaseName " ,
304- kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) , . token( tokenKind: " PrefixOperatorToken " ) , . keyword( text: " init " ) ] ) ,
304+ kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) , . token( tokenKind: " BinaryOperatorToken " ) , . keyword( text: " init " ) , . keyword ( text : " self " ) , . keyword ( text : " Self " ) ] ) ,
305305 nameForDiagnostics: " base name " ,
306306 description: " The base name of the protocol's requirement. "
307307 ) ,
@@ -468,7 +468,7 @@ public let ATTRIBUTE_NODES: [Node] = [
468468 children: [
469469 Child (
470470 name: " DiffKind " ,
471- kind: . token( choices: [ . keyword( text: " forward " ) , . keyword( text: " reverse " ) , . keyword( text: " linear " ) ] ) ,
471+ kind: . token( choices: [ . keyword( text: " _forward " ) , . keyword( text: " reverse " ) , . keyword( text: " _linear " ) ] ) ,
472472 isOptional: true
473473 ) ,
474474 Child (
@@ -644,7 +644,7 @@ public let ATTRIBUTE_NODES: [Node] = [
644644 children: [
645645 Child (
646646 name: " Label " ,
647- kind: . token ( choices : [ . token ( tokenKind : " IdentifierToken " ) , . keyword ( text : " available " ) , . keyword ( text : " exported " ) , . keyword ( text : " kind " ) , . keyword ( text : " spi " ) , . keyword ( text : " spiModule " ) ] ) ,
647+ kind: . node ( kind: " Token " ) ,
648648 nameForDiagnostics: " label " ,
649649 description: " The label of the argument "
650650 ) ,
@@ -677,7 +677,7 @@ public let ATTRIBUTE_NODES: [Node] = [
677677 children: [
678678 Child (
679679 name: " Name " ,
680- kind: . token ( choices : [ . token ( tokenKind : " IdentifierToken " ) ] ) ,
680+ kind: . node ( kind : " Token " ) ,
681681 nameForDiagnostics: " name " ,
682682 isOptional: true
683683 ) ,
@@ -779,7 +779,7 @@ public let ATTRIBUTE_NODES: [Node] = [
779779 ) ,
780780 Child (
781781 name: " Name " ,
782- kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) , . token ( tokenKind : " BinaryOperatorToken " ) , . token ( tokenKind : " PrefixOperatorToken " ) , . token( tokenKind: " PostfixOperatorToken " ) ] ) ,
782+ kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) , . keyword ( text : " self " ) , . keyword ( text : " Self " ) , . keyword ( text : " init " ) , . token( tokenKind: " BinaryOperatorToken " ) ] ) ,
783783 nameForDiagnostics: " base name " ,
784784 description: " The base name of the referenced function. "
785785 ) ,
0 commit comments