Rinchi::DOM - DOM Interface.
use Rinchi::DOM; use Rinchi::Fortran::Preprocessor; my @args = ( 'test.pl', '-I/usr/include', '-Uccc', ); my $closed = 0; my $rd = new Rinchi::DOM; my $fpp = new Rinchi::Fortran::Preprocessor; my $document = $rd->process_to_DOM($fpp, 'test_src/bisect.f90',\@args);
This module provides XML::DOM suuport for Rinchi preprocessors.
None by default.
Constructor for Rinchi::DOM.
my $document = $rdom->process_to_DOM($processor, 'some_file.fpp' ,\@args);
Where $processor is as preprocessor such as Rinchi::CPlusPlus::Proprocessor or Rinchi::Fortran::Proprocessor, $path is the path to the file to be parsed and $args is an optional reference to an array of arguments.
Parse the given file after passing the arguments if given. Print the new source to standard output.
XML::DOM Rinchi::CPlusPlus::Preprocessor Rinchi::Fortran::Preprocessor
Brian M. Ames, <bames@apk.net>
Copyright (C) 2008 by Brian M. Ames
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Rinchi::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rinchi::DOM
CPAN shell
perl -MCPAN -e shell install Rinchi::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.