ModuleHeader

class ModuleHeader(val moduleName: ResolvedModuleName)

A module's header information.

Author

Mark van Gulik

Todd L Smith

Parameters

moduleName

The resolved name of the module.

Constructors

Link copied to clipboard
constructor(moduleName: ResolvedModuleName)

Construct a new ModuleHeader.

Properties

Link copied to clipboard

A List of Strings which name entry points defined in this module header.

Link copied to clipboard

The names of methods that are module entry points.

Link copied to clipboard

The names defined and exported by the module undergoing compilation.

Link copied to clipboard

The list of local module names imported by this module header, in the order they appear in the Uses and Extends clauses.

Link copied to clipboard

The module imports imported by the module undergoing compilation. This includes both modules being extended and modules being simply used.

Link copied to clipboard

The ModuleName of the module undergoing compilation.

Link copied to clipboard

The pragma tokens, which are always string literals.

Link copied to clipboard

The line number in the file where the body starts (on the same line as the "body" token).

Link copied to clipboard

The position in the file where the body starts (right after the "body" token).

Link copied to clipboard

The versions for which the module undergoing compilation guarantees support.

Functions

Link copied to clipboard

Update the given AvailLoader's module to correspond with information that has been accumulated in this ModuleHeader.

Link copied to clipboard

Extract the module's header information from the Deserializer.

Link copied to clipboard
fun serializeHeaderOn(serializer: Serializer)

Output the module header.