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

Side by Side Diff: lib/src/event.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/equality.dart ('k') | lib/src/loader.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.event;
6
7 import 'package:source_span/source_span.dart'; 5 import 'package:source_span/source_span.dart';
8 6
9 import 'style.dart'; 7 import 'style.dart';
10 import 'yaml_document.dart'; 8 import 'yaml_document.dart';
11 9
12 /// An event emitted by a [Parser]. 10 /// An event emitted by a [Parser].
13 class Event { 11 class Event {
14 /// The event type. 12 /// The event type.
15 final EventType type; 13 final EventType type;
16 14
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 146
149 static const MAPPING_START = const EventType._("MAPPING_START"); 147 static const MAPPING_START = const EventType._("MAPPING_START");
150 static const MAPPING_END = const EventType._("MAPPING_END"); 148 static const MAPPING_END = const EventType._("MAPPING_END");
151 149
152 final String name; 150 final String name;
153 151
154 const EventType._(this.name); 152 const EventType._(this.name);
155 153
156 String toString() => name; 154 String toString() => name;
157 } 155 }
OLDNEW
« no previous file with comments | « lib/src/equality.dart ('k') | lib/src/loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698