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

Unified Diff: frog/leg/scanner/listener.dart

Issue 9618053: Introduce the TYPEDEF element, and use it in order to catch passing closures to the DOM. I make the… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: frog/leg/scanner/listener.dart
===================================================================
--- frog/leg/scanner/listener.dart (revision 5070)
+++ frog/leg/scanner/listener.dart (working copy)
@@ -573,6 +573,7 @@
void endFunctionTypeAlias(Token typedefKeyword, Token endToken) {
Identifier name = popNode();
TypeAnnotation returnType = popNode();
+ pushElement(new TypedefElement(name.source, compilationUnitElement));
}
void handleVoidKeyword(Token token) {

Powered by Google App Engine
This is Rietveld 408576698