BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
694 stars 265 forks source link

Fix module import with respect to functions, variables, and types (fixes #2048) #2342

Closed GuntherRademacher closed 3 weeks ago

GuntherRademacher commented 3 weeks ago

This change fixes 3 problems:

For functions and variables, a hasImport flag is introduced, that serves for detecting the absence of a required module import.

For getting the type import right, QueryContext now has a new member libs, that provides the LibraryModule holding the declared public types.