@@ -367,25 +367,25 @@ namespace ts {
367
367
None = 0 ,
368
368
369
369
// If this node was parsed in a context where 'in-expressions' are not allowed.
370
- DisallowIn = 1 << 1 ,
370
+ DisallowIn = 1 << 0 ,
371
371
372
372
// If this node was parsed in the 'yield' context created when parsing a generator.
373
- Yield = 1 << 2 ,
373
+ Yield = 1 << 1 ,
374
374
375
375
// If this node was parsed as part of a decorator
376
- Decorator = 1 << 4 ,
376
+ Decorator = 1 << 2 ,
377
377
378
378
// If this node was parsed in the 'await' context created when parsing an async function.
379
- Await = 1 << 5 ,
379
+ Await = 1 << 3 ,
380
380
381
381
// If the parser encountered an error when parsing the code that created this node. Note
382
382
// the parser only sets this directly on the node it creates right after encountering the
383
383
// error.
384
- ThisNodeHasError = 1 << 7 ,
384
+ ThisNodeHasError = 1 << 4 ,
385
385
386
386
// This node was parsed in a JavaScript file and can be processed differently. For example
387
387
// its type can be specified usign a JSDoc comment.
388
- JavaScriptFile = 1 << 8 ,
388
+ JavaScriptFile = 1 << 5 ,
389
389
390
390
// Context flags set directly by the parser.
391
391
ParserGeneratedFlags = DisallowIn | Yield | Decorator | ThisNodeHasError | Await ,
@@ -397,13 +397,10 @@ namespace ts {
397
397
398
398
// Used during incremental parsing to determine if this node or any of its children had an
399
399
// error. Computed only once and then cached.
400
- ThisNodeOrAnySubNodesHasError = 1 << 9 ,
401
-
402
- // Used to know if we've computed whether any children of this node are or contain an 'await' or 'yield' expression.
403
- ThisNodeOrAnySubNodesHasAwaitOrYield = 1 << 10 ,
400
+ ThisNodeOrAnySubNodesHasError = 1 << 6 ,
404
401
405
402
// Used to know if we've computed data from children and cached it in this node.
406
- HasAggregatedChildData = 1 << 11
403
+ HasAggregatedChildData = 1 << 7
407
404
}
408
405
409
406
/* @internal */
0 commit comments