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

Unified Diff: utils/template/htmltree.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « utils/template/codegen.dart ('k') | utils/template/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/htmltree.dart
diff --git a/utils/template/htmltree.dart b/utils/template/htmltree.dart
index e243d1d0e50f0fae6308cdd7db8a9ed267ef2f01..16db0a9f22ebcff6b9b29851ebd014a569dead0d 100644
--- a/utils/template/htmltree.dart
+++ b/utils/template/htmltree.dart
@@ -92,7 +92,7 @@ class TemplateChildren extends ASTNode {
children.add(child);
}
- ASTNode last() => children.last();
+ ASTNode get last => children.last;
ASTNode removeLast() => children.removeLast();
bool get anyChildren => children != null && children.length > 0;
« no previous file with comments | « utils/template/codegen.dart ('k') | utils/template/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698