OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of scanner; | 5 part of scanner; |
6 | 6 |
7 class FormalParameterType { | 7 class FormalParameterType { |
8 final String type; | 8 final String type; |
9 const FormalParameterType(this.type); | 9 const FormalParameterType(this.type); |
10 bool get isRequired => this == REQUIRED; | 10 bool get isRequired => this == REQUIRED; |
(...skipping 2558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2569 } | 2569 } |
2570 listener.handleContinueStatement(hasTarget, continueKeyword, token); | 2570 listener.handleContinueStatement(hasTarget, continueKeyword, token); |
2571 return expectSemicolon(token); | 2571 return expectSemicolon(token); |
2572 } | 2572 } |
2573 | 2573 |
2574 Token parseEmptyStatement(Token token) { | 2574 Token parseEmptyStatement(Token token) { |
2575 listener.handleEmptyStatement(token); | 2575 listener.handleEmptyStatement(token); |
2576 return expectSemicolon(token); | 2576 return expectSemicolon(token); |
2577 } | 2577 } |
2578 } | 2578 } |
OLD | NEW |