| 252 | } |
| 253 | |
| 254 | void importDeclarationInContext(DUContext* context, const DeclarationPointer& declaration) |
| 255 | { |
| 256 | DUContext* importedContext = QmlJS::getInternalContext(declaration); |
| 257 | |
| 258 | if (!importedContext || importedContext == context) { |
| 259 | return; |
| 260 | } |
| 261 | |
| 262 | { |
| 263 | DUChainWriteLocker lock; |
| 264 | context->addImportedParentContext(importedContext); |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | void importObjectContext(DUContext* context, TopDUContext* topContext) |
| 269 | { |
no test coverage detected