| 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 service.correction.stubs; | 8 library service.correction.stubs; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/ast.dart' show AstNode; | 10 import 'package:analyzer/src/generated/ast.dart' show AstNode; |
| 11 import 'package:analyzer/src/generated/element.dart'; | 11 import 'package:analyzer/src/generated/element.dart'; |
| 12 import 'package:analyzer/src/generated/scanner.dart'; | 12 import 'package:analyzer/src/generated/scanner.dart'; |
| 13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
| 14 | 14 |
| 15 |
| 16 abstract class SearchFilter { |
| 17 bool passes(SearchMatch match); |
| 18 } |
| 19 |
| 15 class SearchMatch { | 20 class SearchMatch { |
| 16 final Element element = null; | 21 final Element element = null; |
| 17 final SourceRange sourceRange = null; | 22 final SourceRange sourceRange = null; |
| 18 } | 23 } |
| 19 | 24 |
| 20 | 25 |
| 21 class SearchEngine { | 26 class SearchEngine { |
| 22 } | 27 } |
| 23 | 28 |
| 24 | 29 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 144 |
| 140 static List<String> split(String s, [String pattern = '']) { | 145 static List<String> split(String s, [String pattern = '']) { |
| 141 return s.split(pattern); | 146 return s.split(pattern); |
| 142 } | 147 } |
| 143 | 148 |
| 144 static List<String> splitByWholeSeparatorPreserveAllTokens(String s, String | 149 static List<String> splitByWholeSeparatorPreserveAllTokens(String s, String |
| 145 pattern) { | 150 pattern) { |
| 146 return s.split(pattern); | 151 return s.split(pattern); |
| 147 } | 152 } |
| 148 } | 153 } |
| OLD | NEW |