Package

A package groups modules and other packages.

Constructors

this
this(cstring pckgName, IdTable idtable)

Constructs a Package object.

Members

Functions

add
void add(Module modul)

Adds a module to this package.

add
void add(Package pckg)

Adds a package to this package.

getModuleList
Module[] getModuleList()

Returns a list of all modules in this package tree.

isRoot
bool isRoot()

Returns true if this is the root package.

parentPackage
Package parentPackage()

Returns the parent package or null if this is the root.

Variables

modules
Module[] modules;

The modules contained in this package.

packages
Package[] packages;

The sub-packages contained in this package.

pckgName
cstring pckgName;

The name of the package. E.g.: 'dil'.

Meta