Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: packages/intl/lib/src/icu_parser.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « packages/intl/lib/src/http_request_data_reader.dart ('k') | packages/intl/lib/src/intl/bidi_formatter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698