Module Name
open class ModuleName constructor(val qualifiedName: String, val isRename: Boolean = false)
Content copied to clipboard
A ModuleName represents the canonical name of an Avail module. A canonical name is specified relative to an Avail module root and has the form R/X/Y/Z, where R is a module root on the Avail module path, X is a package within R, Y is a package within X, and Z is a module or package within Y.
Author
Todd L Smith
Parameters
qualified Name
A fully-qualified module name.
is Rename
Whether module resolution followed a renaming rule.
Throws
If the argument was malformed.
Constructors
Link copied to clipboard
fun ModuleName( packageName: String, localName: String, isRename: Boolean = false)
Content copied to clipboard
Construct a new ModuleName from the specified canonical module group name and local name.
Link copied to clipboard
Construct a new ModuleName from the specified fully-qualified module name.
Functions
Properties
Link copied to clipboard
Link copied to clipboard
The lazily-initialized root-relative ModuleName. This is the fully-qualified name minus the rootName.