Module introspect

This package provides introspection into the interpreter. Introspection allows finding out what modules have been imported and what symbols that those modules hold. Note that the api that this package exports is currently limited.

One caveat with introspection is that the interpreter does not automatically load all symbols from foreign libraries. This mechanism (dynaload) means that introspecting a foreign library may not include all of the symbols inside of it. Introspection does not provide any means of finding symbols that are not loaded.

Classes

TypeEntry This is a foreign class that wraps over a type.
VarEntry This is a foreign class that wraps over a var.
PropertyEntry This is a foreign class that wraps over a class property.
FunctionEntry This is a foreign class that wraps over a toplevel function of a package.
MethodEntry This is a foreign class that wraps over a class or enum method.
ClassEntry This is a foreign class that wraps over a Lily class.
VariantEntry This is a foreign class that wraps over an enum variant.
EnumEntry This is a foreign class that wraps over an enum.
ModuleEntry This is a foreign class that wraps over a module.