| 107 | } |
| 108 | |
| 109 | DeclarationPointer NodeJS::moduleMember(const QString& moduleName, |
| 110 | const QString& memberName, |
| 111 | const IndexedString& url) |
| 112 | { |
| 113 | DeclarationPointer module = moduleExports(moduleName, url); |
| 114 | DeclarationPointer member; |
| 115 | |
| 116 | if (module) { |
| 117 | member = QmlJS::getDeclaration( |
| 118 | QualifiedIdentifier(memberName), |
| 119 | QmlJS::getInternalContext(module), |
| 120 | false |
| 121 | ); |
| 122 | } |
| 123 | |
| 124 | return member; |
| 125 | } |
| 126 | |
| 127 | Path::List NodeJS::moduleDirectories(const QString& url) |
| 128 | { |
no test coverage detected