Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

Well you can hold on steady... try to be ready...

But everybody's going to get wet.

- Jackson Browne

 

aztec.system.Module

public class Module from<Metadata>

Base

Metadata

Module

The Module class provides run-time metadata information related to a single Aztec module. A module represents a single set of code that can reside either in a file or in a string. Each module can contain any number of classes, methods and data.. There are two separate constructors provided to create a new Module object and useful methods to operate on the Module.

Module Methods

Module() Constructor for the Module class using a module name
Module() Constructor for the Module class based on the module that it is called from
IsValid() Returns true if this Module metadata item is valid
GetClasses() Returns an array of Class metadata items for the module
GetMethods() Returns an array of Method metadata items for the module

Derived Classes

See Also

 


Module()

public method Module(string Name)

Parameters

Name

Name of the Aztec module

Return Value

None

Description

Constructor for the Module class. This implementation uses a module name to find the specified Module. If the module name exists, the IsValid() method will return true and false if not.

 

Module Class


Module()

public method Module()

Parameters

None

Return Value

None

Description

Constructor for the Module class. This implementation takes no arguments. The Module that contains the code that performs the call to this constructor will be used for this Module object..

 

Module Class


IsValid()

public virtual method<bool> IsValid()

Parameters

None

Return Value

True if Module corresponds to a valid Aztec source code module

Description

Virtual method which returns true if the underlying module is valid. If the constructor is called with a module name that does not exist in this Aztec script/application, this method will return false.

 

Module Class


GetClasses()

public method<Class[]> GetClasses()

Parameters

None

Return Value

Array of Class objects in this module

Description

This method returns an array of Class metadata objects that are contained in this module. This can be null.

 

Module Class


GetMethods()

public method<Method[]> GetMethods()

Parameters

None

Return Value

Array of Method objects in this module

Description

This method returns an array of Method metadata objects that are contained in this module. This can be null.

 

Module Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec