We require the use of certain internal structs that the Darklua project uses. Is there a reason for the limited visibility on most of them or is this open to change?
First, the RequirePathLocator struct and PathLocator trait that we need to compute our own dependency graph so as to be able to do static analysis (there's also the Configuration::location method).
Second, when using the ScopeVisitor ourselves, we found the need for the ScopedHashMap struct and its methods to be public and exported, and it makes sense since the ScopedHashMap struct seems like the usual way of keeping track of bindings.
We require the use of certain internal structs that the Darklua project uses. Is there a reason for the limited visibility on most of them or is this open to change?
First, the
RequirePathLocatorstruct andPathLocatortrait that we need to compute our own dependency graph so as to be able to do static analysis (there's also theConfiguration::locationmethod).Second, when using the
ScopeVisitorourselves, we found the need for theScopedHashMapstruct and its methods to be public and exported, and it makes sense since theScopedHashMapstruct seems like the usual way of keeping track of bindings.