OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 import 'package:analyzer/dart/ast/ast_factory.dart'; | |
6 import 'package:analyzer/src/dart/ast/ast_factory.dart'; | |
7 | |
8 /** | |
9 * Gets an instance of [AstFactory] based on the standard AST implementation. | |
10 */ | |
11 final AstFactory astFactory = new AstFactoryImpl(); | |
Brian Wilkerson
2016/11/23 15:58:18
Any chance that I could convince you to make this
Paul Berry
2016/11/24 15:03:17
(Assuming you mean "move this into lib/dart/ast/as
Brian Wilkerson
2016/11/28 16:27:38
I have a strong negative reaction to global state.
Paul Berry
2016/11/28 18:02:30
Ok, since I got your LGTM, I'm going to land as is
Brian Wilkerson
2016/11/28 18:35:48
I would prefer that we didn't need this global mem
| |
OLD | NEW |