| 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:front_end/src/fasta/parser.dart' show ErrorKind, Listener; | 7 import 'package:front_end/src/fasta/parser.dart' show ErrorKind, Listener; |
| 8 | 8 |
| 9 import 'package:front_end/src/fasta/parser/identifier_context.dart' | 9 import 'package:front_end/src/fasta/parser/identifier_context.dart' |
| 10 show IdentifierContext; | 10 show IdentifierContext; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 BreakTarget, | 25 BreakTarget, |
| 26 CascadeReceiver, | 26 CascadeReceiver, |
| 27 Combinators, | 27 Combinators, |
| 28 ConditionalUris, | 28 ConditionalUris, |
| 29 ConstructorReferenceContinuationAfterTypeArguments, | 29 ConstructorReferenceContinuationAfterTypeArguments, |
| 30 ContinueTarget, | 30 ContinueTarget, |
| 31 Expression, | 31 Expression, |
| 32 FieldInitializer, | 32 FieldInitializer, |
| 33 FormalParameters, | 33 FormalParameters, |
| 34 FunctionBody, | 34 FunctionBody, |
| 35 FunctionBodyAsyncToken, |
| 36 FunctionBodyStarToken, |
| 35 IdentifierList, | 37 IdentifierList, |
| 36 Initializers, | 38 Initializers, |
| 37 Metadata, | 39 Metadata, |
| 38 Modifiers, | 40 Modifiers, |
| 39 ParameterDefaultValue, | 41 ParameterDefaultValue, |
| 40 SwitchScope, | 42 SwitchScope, |
| 41 Type, | 43 Type, |
| 42 TypeArguments, | 44 TypeArguments, |
| 43 TypeList, | 45 TypeList, |
| 44 TypeVariable, | 46 TypeVariable, |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 list.setRange(0, arrayLength, array); | 293 list.setRange(0, arrayLength, array); |
| 292 return list; | 294 return list; |
| 293 } | 295 } |
| 294 | 296 |
| 295 void _grow() { | 297 void _grow() { |
| 296 final List newTable = new List(array.length * 2); | 298 final List newTable = new List(array.length * 2); |
| 297 newTable.setRange(0, array.length, array, 0); | 299 newTable.setRange(0, array.length, array, 0); |
| 298 array = newTable; | 300 array = newTable; |
| 299 } | 301 } |
| 300 } | 302 } |
| OLD | NEW |