Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Apache::Config::PreproUseroContributed Perl DApache::Config::Preproc::locus(3)

NAME
       Apache::Config::Preproc::locus -	attach file location to	each parse
       node

SYNOPSIS
	   $x =	new Apache::Config::Preproc '/path/to/httpd.conf',
		       -expand => [ qw(locus) ];

	   foreach ($x->select)	{
	       print $_->locus
	   }

DESCRIPTION
       Locus attaches to each node in the parse	tree a Text::Locus object
       which describes the location of the corresponding statement in the
       source file.  The location of a node can	be accessed via	the locus
       method as illustrated in	the synopsis.

       Technically speaking, this module replaces each instance	of
       Apache::Admin::Config::Tree in the parse	tree with an instance of its
       derived class Apache::Config::Preproc::locus::node, which provides the
       locus accessor.

SEE ALSO
       Apache::Config::Preproc

       Text::Locus

perl v5.32.0			  2020-01-20 Apache::Config::Preproc::locus(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Apache::Config::Preproc::locus&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help