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 library compiler_helper; | 5 library compiler_helper; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
9 | 9 |
10 import 'package:compiler/compiler_new.dart'; | 10 import 'package:compiler/compiler_new.dart'; |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 "Must not find '$pattern' in:\n$generated"); | 300 "Must not find '$pattern' in:\n$generated"); |
301 } | 301 } |
302 } | 302 } |
303 } | 303 } |
304 | 304 |
305 return checker; | 305 return checker; |
306 } | 306 } |
307 | 307 |
308 RegExp _directivePattern = new RegExp( | 308 RegExp _directivePattern = new RegExp( |
309 // \1 \2 \3 | 309 // \1 \2 \3 |
310 r'''// *(present|absent): *(?:"([^"]*)"|'([^'']*)')''', | 310 r'''// *(present|absent): *(?:"([^"]*)"|'([^'']*)')''', multiLine: true); |
311 multiLine: true); | |
OLD | NEW |