The principal application programming interfaces (APIs) within Lichen are described below.
When inspecting and translating modules, common abstractions are used so that elements of the program are handled in similar ways. Various useful attributes and methods are provided by the CommonModule abstraction for use within InspectedModule and TranslatedModule methods:
Attribute or Method
An attribute providing the module name.
A method returning the qualified name of the given global name within the module being processed.
A method returning the qualified name of the namespace being processed.
A method returning the qualified name of the given local name within the namespace being processed.