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

Side by Side Diff: pkg/analyzer/lib/src/task/html.dart

Issue 2093033003: Fix ResynthesizerResultProvider's handling of parts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 analyzer.src.task.html; 5 library analyzer.src.task.html;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/src/context/cache.dart'; 9 import 'package:analyzer/src/context/cache.dart';
10 import 'package:analyzer/src/dart/scanner/scanner.dart'; 10 import 'package:analyzer/src/dart/scanner/scanner.dart';
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 @override 67 @override
68 String get encoding => source.encoding; 68 String get encoding => source.encoding;
69 69
70 @override 70 @override
71 String get fullName => source.fullName; 71 String get fullName => source.fullName;
72 72
73 @override 73 @override
74 bool get isInSystemLibrary => source.isInSystemLibrary; 74 bool get isInSystemLibrary => source.isInSystemLibrary;
75 75
76 @override 76 @override
77 Source get librarySource => source;
78
79 @override
77 int get modificationStamp => source.modificationStamp; 80 int get modificationStamp => source.modificationStamp;
78 81
79 @override 82 @override
80 String get shortName => source.shortName; 83 String get shortName => source.shortName;
81 84
82 @override 85 @override
83 Uri get uri => source.uri 86 Uri get uri => source.uri
84 .replace(queryParameters: {'offset': fragments[0].offset.toString()}); 87 .replace(queryParameters: {'offset': fragments[0].offset.toString()});
85 88
86 @override 89 @override
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 * The content of the fragment. 415 * The content of the fragment.
413 */ 416 */
414 final String content; 417 final String content;
415 418
416 /** 419 /**
417 * Initialize a newly created script fragment to have the given [offset] and 420 * Initialize a newly created script fragment to have the given [offset] and
418 * [content]. 421 * [content].
419 */ 422 */
420 ScriptFragment(this.offset, this.line, this.column, this.content); 423 ScriptFragment(this.offset, this.line, this.column, this.content);
421 } 424 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/package_bundle_reader.dart ('k') | pkg/analyzer/lib/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698