package languages import ( "strings" "github.com/zzet/gortex/internal/graph" "github.com/zzet/gortex/internal/parser" sitter "github.com/zzet/gortex/internal/parser/tsitter" ) // Pinia store instance-method binding. A Pinia component reads a store via // its getter (`const user = useUserStore()`) and calls actions on the // instance (`user.login()`). The static call graph cannot see which action // runs because the instance is a runtime object. This pass binds the local // to its store getter and stamps the store-factory placeholder the existing // ResolveStoreFactoryCalls already consumes — keyed by the getter name so a // `useUserStore().login()` resolves to the user store's login, not another // store's. Shared by the JS and TS extractors (and, through Vue's