| 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 library code_transformer.src.resolver; | 5 library code_transformer.src.resolver; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analyzer/src/generated/ast.dart' show Expression; | 9 import 'package:analyzer/src/generated/ast.dart' show Expression; |
| 10 import 'package:analyzer/src/generated/constant.dart' show EvaluationResult; | 10 import 'package:analyzer/src/generated/constant.dart' show EvaluationResult; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 SourceFile getSourceFile(Element element); | 92 SourceFile getSourceFile(Element element); |
| 93 | 93 |
| 94 /// Creates a text edit transaction for the given element if it is able | 94 /// Creates a text edit transaction for the given element if it is able |
| 95 /// to be edited, returns null otherwise. | 95 /// to be edited, returns null otherwise. |
| 96 /// | 96 /// |
| 97 /// The transaction contains the entire text of the source file where the | 97 /// The transaction contains the entire text of the source file where the |
| 98 /// element originated. If the element was from a library part then the | 98 /// element originated. If the element was from a library part then the |
| 99 /// source file is the part file rather than the library. | 99 /// source file is the part file rather than the library. |
| 100 TextEditTransaction createTextEditTransaction(Element element); | 100 TextEditTransaction createTextEditTransaction(Element element); |
| 101 } | 101 } |
| OLD | NEW |