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

Side by Side Diff: lib/src/scanner.dart

Issue 1608993004: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/yaml@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « lib/src/parser.dart ('k') | lib/src/style.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 library yaml.scanner;
6
7 import 'package:collection/collection.dart'; 5 import 'package:collection/collection.dart';
8 import 'package:string_scanner/string_scanner.dart'; 6 import 'package:string_scanner/string_scanner.dart';
9 import 'package:source_span/source_span.dart'; 7 import 'package:source_span/source_span.dart';
10 8
11 import 'style.dart'; 9 import 'style.dart';
12 import 'token.dart'; 10 import 'token.dart';
13 import 'utils.dart'; 11 import 'utils.dart';
14 import 'yaml_exception.dart'; 12 import 'yaml_exception.dart';
15 13
16 /// A scanner that reads a string of Unicode characters and emits [Token]s. 14 /// A scanner that reads a string of Unicode characters and emits [Token]s.
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 1673
1676 /// All trailing whitespace is preserved. 1674 /// All trailing whitespace is preserved.
1677 static const KEEP = const _Chomping("KEEP"); 1675 static const KEEP = const _Chomping("KEEP");
1678 1676
1679 final String name; 1677 final String name;
1680 1678
1681 const _Chomping(this.name); 1679 const _Chomping(this.name);
1682 1680
1683 String toString() => name; 1681 String toString() => name;
1684 } 1682 }
OLDNEW
« no previous file with comments | « lib/src/parser.dart ('k') | lib/src/style.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698