OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
7 | 7 |
8 library engine; | 8 library engine; |
9 | 9 |
10 import 'dart:collection'; | 10 import 'dart:collection'; |
(...skipping 6593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6604 formatterToken = name.endToken.next; | 6604 formatterToken = name.endToken.next; |
6605 // parse arguments | 6605 // parse arguments |
6606 List<AngularFormatterArgument> arguments = <AngularFormatterArgument>[]; | 6606 List<AngularFormatterArgument> arguments = <AngularFormatterArgument>[]; |
6607 while (formatterToken.type != TokenType.EOF) { | 6607 while (formatterToken.type != TokenType.EOF) { |
6608 // skip ":" | 6608 // skip ":" |
6609 Token colonToken = formatterToken; | 6609 Token colonToken = formatterToken; |
6610 if (colonToken.type == TokenType.COLON) { | 6610 if (colonToken.type == TokenType.COLON) { |
6611 formatterToken = formatterToken.next; | 6611 formatterToken = formatterToken.next; |
6612 } else { | 6612 } else { |
6613 _reportErrorForToken(AngularCode.MISSING_FORMATTER_COLON, colonToken); | 6613 _reportErrorForToken(AngularCode.MISSING_FORMATTER_COLON, colonToken); |
| 6614 break; |
6614 } | 6615 } |
6615 // parse argument | 6616 // parse argument |
6616 Expression argument = _parseDartExpressionInToken(formatterToken); | 6617 Expression argument = _parseDartExpressionInToken(formatterToken); |
6617 arguments.add(new AngularFormatterArgument(colonToken, argument)); | 6618 arguments.add(new AngularFormatterArgument(colonToken, argument)); |
6618 // next token | 6619 // next token |
6619 formatterToken = argument.endToken.next; | 6620 formatterToken = argument.endToken.next; |
6620 } | 6621 } |
6621 formatters.add(new AngularFormatterNode(barToken, name, arguments)); | 6622 formatters.add(new AngularFormatterNode(barToken, name, arguments)); |
6622 } | 6623 } |
6623 // done | 6624 // done |
(...skipping 6936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13560 _index++; | 13561 _index++; |
13561 if (_index >= _manager._workQueues[_queueIndex].length) { | 13562 if (_index >= _manager._workQueues[_queueIndex].length) { |
13562 _index = 0; | 13563 _index = 0; |
13563 _queueIndex++; | 13564 _queueIndex++; |
13564 while (_queueIndex < _manager._workQueues.length && _manager._workQueues[_
queueIndex].isEmpty) { | 13565 while (_queueIndex < _manager._workQueues.length && _manager._workQueues[_
queueIndex].isEmpty) { |
13565 _queueIndex++; | 13566 _queueIndex++; |
13566 } | 13567 } |
13567 } | 13568 } |
13568 } | 13569 } |
13569 } | 13570 } |
OLD | NEW |