劉康民 > Parse-ExCtags-0.06 > Parse::ExCtags

Download:
Parse-ExCtags-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

Parse::ExCtags - Parse ExCtags format of TAGS file

SYNOPSIS ^

    use YAML;
    use Parse::ExCtags;
    my $tags = exctags(-file => 'tags')->tags; # hashref
    print YAML::Dump $tags;

DESCRIPTION ^

This module exports a exctags() function that returns a Parse::ExCtags object. The object has a tags() method that return an hashref of hashref which are tags presented in the file given by -file argument.

The key to $tags is the 'tag name'. Usually a subroutine name or package name. The kind of this 'tag name' is optionally store in $tags->{field}->{kind}.

Each hash has following keys:

        name:   the tag name
        file:   the associated file
        adddress: the ex pattern to search this tag
        field: tagfields, a hashref of hashref (name,value) pair.

COPYRIGHT ^

Copyright 2004 by Kang-min Liu <gugod@gugod.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

syntax highlighting: