@@ -96,35 +96,6 @@ let tokensFile = SourceFile {
96
96
}
97
97
}
98
98
}
99
- VariableDecl (
100
- modifiers: [ TokenSyntax . static. withLeadingTrivia ( . newlines( 1 ) + . docLineComment( " /// The `eof` token " ) + . newlines( 1 ) ) ] ,
101
- letOrVarKeyword: . var
102
- ) {
103
- // We need to use `CodeBlock` here to ensure there is braces around.
104
- let body = CodeBlock {
105
- FunctionCallExpr ( MemberAccessExpr ( base: " SyntaxFactory " , name: " makeToken " ) ) {
106
- TupleExprElement ( expression: MemberAccessExpr ( name: " eof " ) )
107
- TupleExprElement ( label: TokenSyntax . identifier ( " presence " ) , colon: . colon, expression: MemberAccessExpr ( name: " present " ) )
108
- }
109
- }
110
-
111
- createTokenSyntaxPatternBinding ( " eof " , accessor: body)
112
- }
113
- VariableDecl (
114
- modifiers: [ TokenSyntax . static. withLeadingTrivia ( . newlines( 1 ) + . docLineComment( " /// The `open` contextual token " ) + . newlines( 1 ) ) ] ,
115
- letOrVarKeyword: . var
116
- ) {
117
- // We need to use `CodeBlock` here to ensure there is braces around.
118
- let body = CodeBlock {
119
- FunctionCallExpr ( MemberAccessExpr ( base: " SyntaxFactory " , name: " makeContextualKeyword " ) ) {
120
- TupleExprElement ( expression: StringLiteralExpr ( " open " ) )
121
- }
122
-
123
- createWithTrailingTriviaCall ( )
124
- }
125
-
126
- createTokenSyntaxPatternBinding ( " open " , accessor: body)
127
- }
128
99
}
129
100
VariableDecl (
130
101
modifiers: [ TokenSyntax . static. withLeadingTrivia ( . newlines( 1 ) + . docLineComment( " /// The `eof` token " ) + . newlines( 1 ) ) ] ,
@@ -133,7 +104,7 @@ let tokensFile = SourceFile {
133
104
// We need to use `CodeBlock` here to ensure there is braces around.
134
105
let body = CodeBlock {
135
106
FunctionCallExpr ( MemberAccessExpr ( base: " SyntaxFactory " , name: " makeToken " ) ) {
136
- TupleExprElement ( expression: MemberAccessExpr ( name: " eof " ) , trailingComma : . comma )
107
+ TupleExprElement ( expression: MemberAccessExpr ( name: " eof " ) )
137
108
TupleExprElement ( label: TokenSyntax . identifier ( " presence " ) , colon: . colon, expression: MemberAccessExpr ( name: " present " ) )
138
109
}
139
110
}
0 commit comments