| 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 engine.src.index_contributor; | 8 library services.src.index.index_contributor; |
| 9 | 9 |
| 10 import 'dart:collection' show Queue; | 10 import 'dart:collection' show Queue; |
| 11 | 11 |
| 12 import 'package:analyzer/index/index.dart'; | 12 import 'package:analysis_services/index/index.dart'; |
| 13 import 'package:analyzer/index/index_store.dart'; | 13 import 'package:analysis_services/index/index_store.dart'; |
| 14 import 'package:analyzer/src/generated/ast.dart'; | 14 import 'package:analyzer/src/generated/ast.dart'; |
| 15 import 'package:analyzer/src/generated/element.dart'; | 15 import 'package:analyzer/src/generated/element.dart'; |
| 16 import 'package:analyzer/src/generated/engine.dart'; | 16 import 'package:analyzer/src/generated/engine.dart'; |
| 17 import 'package:analyzer/src/generated/html.dart' as ht; | 17 import 'package:analyzer/src/generated/html.dart' as ht; |
| 18 import 'package:analyzer/src/generated/java_core.dart'; | 18 import 'package:analyzer/src/generated/java_core.dart'; |
| 19 import 'package:analyzer/src/generated/java_engine.dart'; | 19 import 'package:analyzer/src/generated/java_engine.dart'; |
| 20 import 'package:analyzer/src/generated/resolver.dart'; | 20 import 'package:analyzer/src/generated/resolver.dart'; |
| 21 import 'package:analyzer/src/generated/scanner.dart'; | 21 import 'package:analyzer/src/generated/scanner.dart'; |
| 22 import 'package:analyzer/src/generated/source.dart'; | 22 import 'package:analyzer/src/generated/source.dart'; |
| 23 | 23 |
| (...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 /** | 1206 /** |
| 1207 * @return `true` if given "node" is part of [PrefixedIdentifier] "prefix.node
". | 1207 * @return `true` if given "node" is part of [PrefixedIdentifier] "prefix.node
". |
| 1208 */ | 1208 */ |
| 1209 static bool _isIdentifierInPrefixedIdentifier(SimpleIdentifier node) { | 1209 static bool _isIdentifierInPrefixedIdentifier(SimpleIdentifier node) { |
| 1210 AstNode parent = node.parent; | 1210 AstNode parent = node.parent; |
| 1211 return parent is PrefixedIdentifier && identical(parent.identifier, node); | 1211 return parent is PrefixedIdentifier && identical(parent.identifier, node); |
| 1212 } | 1212 } |
| 1213 } | 1213 } |
| OLD | NEW |