| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library fasta.stack_listener; | 5 library fasta.stack_listener; |
| 6 | 6 |
| 7 import 'package:kernel/ast.dart' show AsyncMarker, Expression; | 7 import 'package:kernel/ast.dart' show AsyncMarker, Expression; |
| 8 | 8 |
| 9 import '../deprecated_problems.dart' show deprecated_inputError; | 9 import '../deprecated_problems.dart' show deprecated_inputError; |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 Block, | 28 Block, |
| 29 BreakTarget, | 29 BreakTarget, |
| 30 CascadeReceiver, | 30 CascadeReceiver, |
| 31 Combinators, | 31 Combinators, |
| 32 Comments, | 32 Comments, |
| 33 ConditionalUris, | 33 ConditionalUris, |
| 34 ConstructorInitializerSeparator, | 34 ConstructorInitializerSeparator, |
| 35 ConstructorInitializers, | 35 ConstructorInitializers, |
| 36 ConstructorReferenceContinuationAfterTypeArguments, | 36 ConstructorReferenceContinuationAfterTypeArguments, |
| 37 ContinueTarget, | 37 ContinueTarget, |
| 38 DocumentationComment, |
| 38 Expression, | 39 Expression, |
| 39 FieldInitializer, | 40 FieldInitializer, |
| 40 FormalParameters, | 41 FormalParameters, |
| 41 FunctionBody, | 42 FunctionBody, |
| 42 FunctionBodyAsyncToken, | 43 FunctionBodyAsyncToken, |
| 43 FunctionBodyStarToken, | 44 FunctionBodyStarToken, |
| 44 Identifier, | 45 Identifier, |
| 45 IdentifierList, | 46 IdentifierList, |
| 46 Initializers, | 47 Initializers, |
| 47 Metadata, | 48 Metadata, |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 list.setRange(0, arrayLength, array); | 335 list.setRange(0, arrayLength, array); |
| 335 return list; | 336 return list; |
| 336 } | 337 } |
| 337 | 338 |
| 338 void _grow() { | 339 void _grow() { |
| 339 final List newTable = new List(array.length * 2); | 340 final List newTable = new List(array.length * 2); |
| 340 newTable.setRange(0, array.length, array, 0); | 341 newTable.setRange(0, array.length, array, 0); |
| 341 array = newTable; | 342 array = newTable; |
| 342 } | 343 } |
| 343 } | 344 } |
| OLD | NEW |