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 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2446 } | 2446 } |
2447 listener.handleContinueStatement(hasTarget, continueKeyword, token); | 2447 listener.handleContinueStatement(hasTarget, continueKeyword, token); |
2448 return expectSemicolon(token); | 2448 return expectSemicolon(token); |
2449 } | 2449 } |
2450 | 2450 |
2451 Token parseEmptyStatement(Token token) { | 2451 Token parseEmptyStatement(Token token) { |
2452 listener.handleEmptyStatement(token); | 2452 listener.handleEmptyStatement(token); |
2453 return expectSemicolon(token); | 2453 return expectSemicolon(token); |
2454 } | 2454 } |
2455 } | 2455 } |
OLD | NEW |