| Index: lib/compiler/implementation/scanner/listener.dart
|
| diff --git a/lib/compiler/implementation/scanner/listener.dart b/lib/compiler/implementation/scanner/listener.dart
|
| index 2c74e0cf351a864d5fbd59150fd0dcb6f14e1499..8e8dab55d6a7432d0061642f26f4a4670f19c605 100644
|
| --- a/lib/compiler/implementation/scanner/listener.dart
|
| +++ b/lib/compiler/implementation/scanner/listener.dart
|
| @@ -436,6 +436,9 @@ class Listener {
|
| void handleEmptyStatement(Token token) {
|
| }
|
|
|
| + void handleAssertStatement(Token assertKeyword, Token semicolonToken) {
|
| + }
|
| +
|
| /** Called with either the token containing a double literal, or
|
| * an immediately preceding "unary plus" token.
|
| */
|
| @@ -1695,6 +1698,13 @@ class NodeListener extends ElementListener {
|
| beginToken, inKeyword));
|
| }
|
|
|
| + void handleAssertStatement(Token assertKeyword, Token semicolonToken) {
|
| + NodeList arguments = popNode();
|
| + Node selector = new Identifier(assertKeyword);
|
| + Node send = new Send(null, selector, arguments);
|
| + pushNode(new ExpressionStatement(send, semicolonToken));
|
| + }
|
| +
|
| void endUnamedFunction(Token token) {
|
| Statement body = popNode();
|
| NodeList formals = popNode();
|
|
|