|
CallGraph::Lang::Fortran - Fortran 77 parser for creating call graphs |
CallGraph::Lang::Fortran - Fortran 77 parser for creating call graphs
use CallGraph::Lang::Fortran;
my $graph = CallGraph::Lang::Fortran->new(files => [glob('*.f')]);
print $graph->dump;
This module is a subclass of the CallGraph manpage which implements parsing Fortran 77 code for building the call graph.
This module inherits all the methods from the CallGraph manpage. It defines only one additional method:
parse($fh)This is the one function you have to override if you want to implement your own subclass of the CallGraph manpage for parsing another language.
The parser is simplistic, so it might not handle every edge case (such as funny use of whitespace and continuation lines) properly.
0.55
the CallGraph::Node manpage, the CallGraph::Dumper manpage, the CallGraph manpage
Ivan Tubert <itub@cpan.org>
Copyright (c) 2004 Ivan Tubert. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
CallGraph::Lang::Fortran - Fortran 77 parser for creating call graphs |