| OLD | NEW | 
|---|
| 1 // Copyright (c) 2017, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 library services.src.completion.statement; | 5 library services.src.completion.statement; | 
| 6 | 6 | 
| 7 import 'dart:async'; | 7 import 'dart:async'; | 
| 8 import 'dart:math'; | 8 import 'dart:math'; | 
| 9 | 9 | 
| 10 import 'package:analysis_server/protocol/protocol_generated.dart'; |  | 
| 11 import 'package:analysis_server/src/protocol_server.dart' hide Element; | 10 import 'package:analysis_server/src/protocol_server.dart' hide Element; | 
| 12 import 'package:analysis_server/src/services/correction/source_buffer.dart'; | 11 import 'package:analysis_server/src/services/correction/source_buffer.dart'; | 
| 13 import 'package:analysis_server/src/services/correction/util.dart'; | 12 import 'package:analysis_server/src/services/correction/util.dart'; | 
| 14 import 'package:analyzer/dart/ast/ast.dart'; | 13 import 'package:analyzer/dart/ast/ast.dart'; | 
| 15 import 'package:analyzer/dart/ast/token.dart'; | 14 import 'package:analyzer/dart/ast/token.dart'; | 
| 16 import 'package:analyzer/dart/element/element.dart'; | 15 import 'package:analyzer/dart/element/element.dart'; | 
| 17 import 'package:analyzer/error/error.dart'; | 16 import 'package:analyzer/error/error.dart'; | 
| 18 import 'package:analyzer/error/error.dart' as engine; | 17 import 'package:analyzer/error/error.dart' as engine; | 
| 19 import 'package:analyzer/src/dart/ast/utilities.dart'; | 18 import 'package:analyzer/src/dart/ast/utilities.dart'; | 
| 20 import 'package:analyzer/src/dart/error/hint_codes.dart'; | 19 import 'package:analyzer/src/dart/error/hint_codes.dart'; | 
| (...skipping 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1236   final Token keyword; | 1235   final Token keyword; | 
| 1237   final Token leftParenthesis, rightParenthesis; | 1236   final Token leftParenthesis, rightParenthesis; | 
| 1238   final Expression condition; | 1237   final Expression condition; | 
| 1239   final Statement block; | 1238   final Statement block; | 
| 1240 | 1239 | 
| 1241   _KeywordConditionBlockStructure(this.keyword, this.leftParenthesis, | 1240   _KeywordConditionBlockStructure(this.keyword, this.leftParenthesis, | 
| 1242       this.condition, this.rightParenthesis, this.block); | 1241       this.condition, this.rightParenthesis, this.block); | 
| 1243 | 1242 | 
| 1244   int get offset => keyword.offset; | 1243   int get offset => keyword.offset; | 
| 1245 } | 1244 } | 
| OLD | NEW | 
|---|