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

Side by Side Diff: pkg/front_end/lib/src/base/timestamped_data.dart

Issue 2486923007: Create pkg/front_end/src/base and begin populating with general use classes. (Closed)
Patch Set: Fix formatting Created 4 years, 1 month 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 /**
6 * Analysis data for which we have a modification time.
7 */
8 class TimestampedData<E> {
9 /**
10 * The modification time of the source from which the data was created.
11 */
12 final int modificationTime;
13
14 /**
15 * The data that was created from the source.
16 */
17 final E data;
18
19 /**
20 * Initialize a newly created holder to associate the given [data] with the
21 * given [modificationTime].
22 */
23 TimestampedData(this.modificationTime, this.data);
24 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/base/syntactic_entity.dart ('k') | pkg/front_end/lib/src/base/uri_kind.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698