| OLD | NEW | 
|---|
| 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /** | 5 /** | 
| 6  * Contains a parser for ICU format plural/gender/select format for localized | 6  * Contains a parser for ICU format plural/gender/select format for localized | 
| 7  * messages. See extract_to_arb.dart and make_hardcoded_translation.dart. | 7  * messages. See extract_to_arb.dart and make_hardcoded_translation.dart. | 
| 8  */ | 8  */ | 
| 9 library icu_parser; | 9 library icu_parser; | 
| 10 | 10 | 
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 99 | 99 | 
| 100   get stuff => (pluralOrGenderOrSelect | empty) | 100   get stuff => (pluralOrGenderOrSelect | empty) | 
| 101       .map((chunk) => Message.from(chunk, null)); | 101       .map((chunk) => Message.from(chunk, null)); | 
| 102 | 102 | 
| 103   IcuParser() { | 103   IcuParser() { | 
| 104     // There is a cycle here, so we need the explicit set to avoid | 104     // There is a cycle here, so we need the explicit set to avoid | 
| 105     // infinite recursion. | 105     // infinite recursion. | 
| 106     interiorText.set(contents.plus() | empty); | 106     interiorText.set(contents.plus() | empty); | 
| 107   } | 107   } | 
| 108 } | 108 } | 
| OLD | NEW | 
|---|