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

Unified Diff: dart/pkg/compiler/lib/src/scanner/class_element_parser.dart

Issue 738743002: Incremental compilation of added class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r41886 Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
diff --git a/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart b/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
index 6c43527c1404132e7689f7b9acba432bd0b6fe2d..d1fe842c87898958e31ee274e8a033116ecefa8a 100644
--- a/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
+++ b/dart/pkg/compiler/lib/src/scanner/class_element_parser.dart
@@ -73,6 +73,10 @@ class PartialClassElement extends ClassElementX with PartialElement {
cachedNode != null ? cachedNode.modifiers : Modifiers.EMPTY;
accept(ElementVisitor visitor) => visitor.visitClassElement(this);
+
+ PartialClassElement copyWithEnclosing(CompilationUnitElement enclosing) {
+ return new PartialClassElement(name, beginToken, endToken, enclosing, id);
+ }
}
class MemberListener extends NodeListener {
« no previous file with comments | « no previous file | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698