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

Unified Diff: pkg/analyzer/lib/src/generated/parser.dart

Issue 200583002: Analyzer snapshot with disabled 'this.field' generation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_core.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/parser.dart
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart
index dd2d9827c89d99a153393b162faf2491a70145cc..16a7bc165c64bfa16909531b07be33fc18d58f90 100644
--- a/pkg/analyzer/lib/src/generated/parser.dart
+++ b/pkg/analyzer/lib/src/generated/parser.dart
@@ -26,12 +26,12 @@ class CommentAndMetadata {
/**
* The documentation comment that was parsed, or `null` if none was given.
*/
- final Comment comment;
+ Comment comment;
/**
* The metadata that was parsed.
*/
- final List<Annotation> metadata;
+ List<Annotation> metadata;
/**
* Initialize a newly created holder with the given data.
@@ -39,7 +39,10 @@ class CommentAndMetadata {
* @param comment the documentation comment that was parsed
* @param metadata the metadata that was parsed
*/
- CommentAndMetadata(this.comment, this.metadata);
+ CommentAndMetadata(Comment comment, List<Annotation> metadata) {
+ this.comment = comment;
+ this.metadata = metadata;
+ }
}
/**
@@ -50,12 +53,12 @@ class FinalConstVarOrType {
/**
* The 'final', 'const' or 'var' keyword, or `null` if none was given.
*/
- final Token keyword;
+ Token keyword;
/**
* The type, of `null` if no type was specified.
*/
- final TypeName type;
+ TypeName type;
/**
* Initialize a newly created holder with the given data.
@@ -63,7 +66,10 @@ class FinalConstVarOrType {
* @param keyword the 'final', 'const' or 'var' keyword
* @param type the type
*/
- FinalConstVarOrType(this.keyword, this.type);
+ FinalConstVarOrType(Token keyword, TypeName type) {
+ this.keyword = keyword;
+ this.type = type;
+ }
}
/**
« no previous file with comments | « pkg/analyzer/lib/src/generated/java_core.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698