Skip to content

Commit ebdd96b

Browse files
committed
Update tests to use new symbol keyword
1 parent e508bf7 commit ebdd96b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+969
-814
lines changed

tests/baselines/reference/APISample_compile.js

Lines changed: 96 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -179,110 +179,111 @@ declare module "typescript" {
179179
NumberKeyword = 117,
180180
SetKeyword = 118,
181181
StringKeyword = 119,
182-
TypeKeyword = 120,
183-
QualifiedName = 121,
184-
ComputedPropertyName = 122,
185-
TypeParameter = 123,
186-
Parameter = 124,
187-
PropertySignature = 125,
188-
PropertyDeclaration = 126,
189-
MethodSignature = 127,
190-
MethodDeclaration = 128,
191-
Constructor = 129,
192-
GetAccessor = 130,
193-
SetAccessor = 131,
194-
CallSignature = 132,
195-
ConstructSignature = 133,
196-
IndexSignature = 134,
197-
TypeReference = 135,
198-
FunctionType = 136,
199-
ConstructorType = 137,
200-
TypeQuery = 138,
201-
TypeLiteral = 139,
202-
ArrayType = 140,
203-
TupleType = 141,
204-
UnionType = 142,
205-
ParenthesizedType = 143,
206-
ObjectBindingPattern = 144,
207-
ArrayBindingPattern = 145,
208-
BindingElement = 146,
209-
ArrayLiteralExpression = 147,
210-
ObjectLiteralExpression = 148,
211-
PropertyAccessExpression = 149,
212-
ElementAccessExpression = 150,
213-
CallExpression = 151,
214-
NewExpression = 152,
215-
TaggedTemplateExpression = 153,
216-
TypeAssertionExpression = 154,
217-
ParenthesizedExpression = 155,
218-
FunctionExpression = 156,
219-
ArrowFunction = 157,
220-
DeleteExpression = 158,
221-
TypeOfExpression = 159,
222-
VoidExpression = 160,
223-
PrefixUnaryExpression = 161,
224-
PostfixUnaryExpression = 162,
225-
BinaryExpression = 163,
226-
ConditionalExpression = 164,
227-
TemplateExpression = 165,
228-
YieldExpression = 166,
229-
SpreadElementExpression = 167,
230-
OmittedExpression = 168,
231-
TemplateSpan = 169,
232-
Block = 170,
233-
VariableStatement = 171,
234-
EmptyStatement = 172,
235-
ExpressionStatement = 173,
236-
IfStatement = 174,
237-
DoStatement = 175,
238-
WhileStatement = 176,
239-
ForStatement = 177,
240-
ForInStatement = 178,
241-
ContinueStatement = 179,
242-
BreakStatement = 180,
243-
ReturnStatement = 181,
244-
WithStatement = 182,
245-
SwitchStatement = 183,
246-
LabeledStatement = 184,
247-
ThrowStatement = 185,
248-
TryStatement = 186,
249-
DebuggerStatement = 187,
250-
VariableDeclaration = 188,
251-
VariableDeclarationList = 189,
252-
FunctionDeclaration = 190,
253-
ClassDeclaration = 191,
254-
InterfaceDeclaration = 192,
255-
TypeAliasDeclaration = 193,
256-
EnumDeclaration = 194,
257-
ModuleDeclaration = 195,
258-
ModuleBlock = 196,
259-
ImportDeclaration = 197,
260-
ExportAssignment = 198,
261-
ExternalModuleReference = 199,
262-
CaseClause = 200,
263-
DefaultClause = 201,
264-
HeritageClause = 202,
265-
CatchClause = 203,
266-
PropertyAssignment = 204,
267-
ShorthandPropertyAssignment = 205,
268-
EnumMember = 206,
269-
SourceFile = 207,
270-
SyntaxList = 208,
271-
Count = 209,
182+
SymbolKeyword = 120,
183+
TypeKeyword = 121,
184+
QualifiedName = 122,
185+
ComputedPropertyName = 123,
186+
TypeParameter = 124,
187+
Parameter = 125,
188+
PropertySignature = 126,
189+
PropertyDeclaration = 127,
190+
MethodSignature = 128,
191+
MethodDeclaration = 129,
192+
Constructor = 130,
193+
GetAccessor = 131,
194+
SetAccessor = 132,
195+
CallSignature = 133,
196+
ConstructSignature = 134,
197+
IndexSignature = 135,
198+
TypeReference = 136,
199+
FunctionType = 137,
200+
ConstructorType = 138,
201+
TypeQuery = 139,
202+
TypeLiteral = 140,
203+
ArrayType = 141,
204+
TupleType = 142,
205+
UnionType = 143,
206+
ParenthesizedType = 144,
207+
ObjectBindingPattern = 145,
208+
ArrayBindingPattern = 146,
209+
BindingElement = 147,
210+
ArrayLiteralExpression = 148,
211+
ObjectLiteralExpression = 149,
212+
PropertyAccessExpression = 150,
213+
ElementAccessExpression = 151,
214+
CallExpression = 152,
215+
NewExpression = 153,
216+
TaggedTemplateExpression = 154,
217+
TypeAssertionExpression = 155,
218+
ParenthesizedExpression = 156,
219+
FunctionExpression = 157,
220+
ArrowFunction = 158,
221+
DeleteExpression = 159,
222+
TypeOfExpression = 160,
223+
VoidExpression = 161,
224+
PrefixUnaryExpression = 162,
225+
PostfixUnaryExpression = 163,
226+
BinaryExpression = 164,
227+
ConditionalExpression = 165,
228+
TemplateExpression = 166,
229+
YieldExpression = 167,
230+
SpreadElementExpression = 168,
231+
OmittedExpression = 169,
232+
TemplateSpan = 170,
233+
Block = 171,
234+
VariableStatement = 172,
235+
EmptyStatement = 173,
236+
ExpressionStatement = 174,
237+
IfStatement = 175,
238+
DoStatement = 176,
239+
WhileStatement = 177,
240+
ForStatement = 178,
241+
ForInStatement = 179,
242+
ContinueStatement = 180,
243+
BreakStatement = 181,
244+
ReturnStatement = 182,
245+
WithStatement = 183,
246+
SwitchStatement = 184,
247+
LabeledStatement = 185,
248+
ThrowStatement = 186,
249+
TryStatement = 187,
250+
DebuggerStatement = 188,
251+
VariableDeclaration = 189,
252+
VariableDeclarationList = 190,
253+
FunctionDeclaration = 191,
254+
ClassDeclaration = 192,
255+
InterfaceDeclaration = 193,
256+
TypeAliasDeclaration = 194,
257+
EnumDeclaration = 195,
258+
ModuleDeclaration = 196,
259+
ModuleBlock = 197,
260+
ImportDeclaration = 198,
261+
ExportAssignment = 199,
262+
ExternalModuleReference = 200,
263+
CaseClause = 201,
264+
DefaultClause = 202,
265+
HeritageClause = 203,
266+
CatchClause = 204,
267+
PropertyAssignment = 205,
268+
ShorthandPropertyAssignment = 206,
269+
EnumMember = 207,
270+
SourceFile = 208,
271+
SyntaxList = 209,
272+
Count = 210,
272273
FirstAssignment = 52,
273274
LastAssignment = 63,
274275
FirstReservedWord = 65,
275276
LastReservedWord = 100,
276277
FirstKeyword = 65,
277-
LastKeyword = 120,
278+
LastKeyword = 121,
278279
FirstFutureReservedWord = 101,
279280
LastFutureReservedWord = 109,
280-
FirstTypeNode = 135,
281-
LastTypeNode = 143,
281+
FirstTypeNode = 136,
282+
LastTypeNode = 144,
282283
FirstPunctuation = 14,
283284
LastPunctuation = 63,
284285
FirstToken = 0,
285-
LastToken = 120,
286+
LastToken = 121,
286287
FirstTriviaToken = 2,
287288
LastTriviaToken = 6,
288289
FirstLiteralToken = 7,
@@ -291,7 +292,7 @@ declare module "typescript" {
291292
LastTemplateToken = 13,
292293
FirstBinaryOperator = 24,
293294
LastBinaryOperator = 63,
294-
FirstNode = 121,
295+
FirstNode = 122,
295296
}
296297
const enum NodeFlags {
297298
Export = 1,

0 commit comments

Comments
 (0)