JS: Make MkExtendedInstance handle cross-module flow

This commit is contained in:
Asger Feldthaus
2021-08-17 14:14:34 +02:00
parent 76c38a564d
commit f7f69dc3ab

View File

@@ -39,7 +39,7 @@ module Vue {
MkVueInstance(DataFlow::NewNode def) { def = vueLibrary().getAnInstantiation() } or
MkExtendedVue(VueExtend extend) or
MkExtendedInstance(VueExtend extend, DataFlow::NewNode sub) {
sub = extend.getAnInstantiation()
sub = extend.getReturn().getAnInstantiation()
} or
MkComponentRegistration(DataFlow::CallNode def) { def = vueLibrary().getMember("component").getACall() } or
MkSingleFileComponent(VueFile file)