You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
If exporter.js exports export { name1 as exportedName1 } and importer.js imports import { exportedName1 as importedName1 } from "exporter", then:
exporter.parsedFilePath is /path/to/codemodel/rifle/resources/exporter.js
import.moduleSpecifier is simply exporter
This is usually enough if there are only few modules with significantly different names, but is not perfect: if there are more than one exporter.js in different paths, there will be collisions, I guess. Edge cases and solutions are to be examined.
The text was updated successfully, but these errors were encountered:
A workbench path has to be set when importing the project, the path for the modules should be a relative path to this, and the import statements have to be processed to import the same. Thus relying on GraphIterator to preprocess and Cypher only to search for complete matches.
The modules in the import-export cypher queries are connected with the following condition:
If
exporter.js
exportsexport { name1 as exportedName1 }
andimporter.js
importsimport { exportedName1 as importedName1 } from "exporter"
, then:exporter.parsedFilePath
is/path/to/codemodel/rifle/resources/exporter.js
import.moduleSpecifier
is simplyexporter
This is usually enough if there are only few modules with significantly different names, but is not perfect: if there are more than one
exporter.js
in different paths, there will be collisions, I guess. Edge cases and solutions are to be examined.The text was updated successfully, but these errors were encountered: