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; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 144 |
145 static List<String> split(String s, [String pattern = '']) { | 145 static List<String> split(String s, [String pattern = '']) { |
146 return s.split(pattern); | 146 return s.split(pattern); |
147 } | 147 } |
148 | 148 |
149 static List<String> splitByWholeSeparatorPreserveAllTokens(String s, String | 149 static List<String> splitByWholeSeparatorPreserveAllTokens(String s, String |
150 pattern) { | 150 pattern) { |
151 return s.split(pattern); | 151 return s.split(pattern); |
152 } | 152 } |
153 } | 153 } |
OLD | NEW |