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

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

Issue 23080005: New analysis_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
Index: pkg/analyzer_experimental/lib/src/generated/parser.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/parser.dart b/pkg/analyzer_experimental/lib/src/generated/parser.dart
index 84fec68011cde909f9b767c8f4ece076a54efa66..8d070be7210383985d9600b7542608f86d4c286e 100644
--- a/pkg/analyzer_experimental/lib/src/generated/parser.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/parser.dart
@@ -6331,7 +6331,7 @@ class ToFormattedSourceVisitor implements ASTVisitor<Object> {
}
Object visitFieldDeclaration(FieldDeclaration node) {
visit(node.documentationComment);
- visit8(node.keyword, " ");
+ visit8(node.staticKeyword, " ");
visit(node.fields);
_writer.print(";");
return null;
@@ -6528,8 +6528,8 @@ class ToFormattedSourceVisitor implements ASTVisitor<Object> {
return null;
}
Object visitListLiteral(ListLiteral node) {
- if (node.modifier != null) {
- _writer.print(node.modifier.lexeme);
+ if (node.constKeyword != null) {
+ _writer.print(node.constKeyword.lexeme);
_writer.print(' ');
}
visit6(node.typeArguments, " ");
@@ -6549,8 +6549,8 @@ class ToFormattedSourceVisitor implements ASTVisitor<Object> {
return null;
}
Object visitMapLiteral(MapLiteral node) {
- if (node.modifier != null) {
- _writer.print(node.modifier.lexeme);
+ if (node.constKeyword != null) {
+ _writer.print(node.constKeyword.lexeme);
_writer.print(' ');
}
visit6(node.typeArguments, " ");
@@ -6770,7 +6770,7 @@ class ToFormattedSourceVisitor implements ASTVisitor<Object> {
_writer.print("try ");
visit(node.body);
visitList7(" ", node.catchClauses, " ");
- visit7(" finally ", node.finallyClause);
+ visit7(" finally ", node.finallyBlock);
return null;
}
Object visitTypeArgumentList(TypeArgumentList node) {
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/java_core.dart ('k') | pkg/analyzer_experimental/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698