EnsEMBL::Web::Tools::Document::Module

Location: /modules/EnsEMBL/Web/Tools/Document/Module.pm
Source code · Permalink
No superclasses
No subclasses

Overview

Inside-out class for representing Perl modules.

Accessor

Constructor

Desctructor

Method

Documentation coverage: 100 %

Methods

    DESTROY
    Desctructor.
    View source

    _parse_package_file
    Opens and parses Perl package files for methods and comments in e! doc format.
    View source

    add_method
    Adds a method name to the method array.
    View source

    add_subclass
    Adds a subclass to the subclass array.
    View source

    add_superclass
    Adds a superclass to the inheritance array.
    View source

    all_methods
    returns all methods from this class, and its superclasses.
    View source

    convert_keyword
    Accepts a single abbreviation and returns its long form. This method is called on all lines that contain a single word, and replaces shorcuts with longer descriptions. For example, 'a' is elongates to 'accessor'. Keywords can be specified using {keyword}.
    View source

    coverage
    Calculates and returns the documentation coverage for all callable methods in a module. This includes any inherited methods. Use module_coverage to calculate the documentation coverage for a module's methods only.
    View source

    find_methods
    Scans package files for method definitions, and creates new method objects for each one found. Method object references are stored in the methods array.
    View source

    identifier
    Accessor.
    View source

    inheritance
    Accessor.
    View source

    keywords
    Accessor. Accepts a string with key-value pairings, a la qw(). For example: 'a accessor c constructor d destructor'.
    View source

    lines
    Accessor.
    View source

    location
    Accessor.
    View source

    methods
    Accessor.
    View source

    methods_of_type
    types. Includes methods inherited from superclasses.Returns all methods of a particular type. Useful when used with
    View source

    module_coverage
    Calculates and returns the documentation coverage for a module's methods. This does not include inherited methods (see coverage).
    View source

    name
    Accessor.
    View source

    new
    Constructor. Inside-out class for representing Perl modules.
    View source

    overview
    Accessor.
    View source

    overview_documentation
    Accessor.
    View source

    subclasses
    Accessor.
    View source

    superclass
    Convenience accessor for inheritance
    View source

    types
    Returns an array of all types of methods.
    View source