- Index
- »
- fan.hx
- »
- RuntimeLibs
RuntimeLibs
const mixin RuntimeLibs
Runtime Xeto namespace library management
Convenience to add one library
Remove one or more libraries from the namespace
Add one or more libraries to the namespace
Lookup an project library by name
Check if there is an enabled library with given name
Xeto environment used to manage/cache Xeto libraries
List of Xeto libraries installed in the project
Convenience to remove one library
abstract Void add(Str name)
Convenience to add one library
abstract Void addAll(Str[] names)
Add one or more libraries to the namespace. Raise exception if a lib is not found or has a dependency error.
abstract XetoEnv env()
Xeto environment used to manage/cache Xeto libraries
abstract RuntimeLib? get(Str name, Bool checked)
Lookup an project library by name. If not found then return null or raise UnknownLibErr based on checked flag.
abstract Bool has(Str name)
Check if there is an enabled library with given name
abstract RuntimeLib[] list()
List of Xeto libraries installed in the project
abstract Void remove(Str name)
Convenience to remove one library
abstract Void removeAll(Str[] names)
Remove one or more libraries from the namespace. Raise exception if removing lib would cause a dependency error.