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

FreeBSD Manual Pages

  
 
  

home | help
Config::AST::Root(3)  User Contributed Perl Documentation Config::AST::Root(3)

NAME
       Config::AST::Root - root	of the abstract	syntax tree

DESCRIPTION
       An auxiliary class representing the root	of the abstract	syntax tree.
       It is necessary because the tree	itself forms a circular	structure (due
       to the root attribute of	Config::AST::Node::Section). Without this
       intermediate class (if root pointed to Config::AST itself), the
       structure would have never been destroyed, because each element would
       remain referenced at least once.

CONSTRUCTOR
   $obj	= new($ci)
       $ci is one to enable case-insensitive keyword lookup, and 0 otherwise.

METHODS
   $s =	$r->mangle_key($name)
       Converts	the string $name to a form suitable for	lookups, in accordance
       with the	_ci attribute.

   $r->reset
       Destroys	the underlying syntax tree.

   $t =	$r->tree
       Returns the root	node of	the tree, initializing it if necessary.

   $bool = $r->empty
       Returns true if the tree	is empty.

SEE ALSO
       Config::AST.

perl v5.32.0			  2019-08-28		  Config::AST::Root(3)

NAME | DESCRIPTION | CONSTRUCTOR | METHODS | SEE ALSO

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

home | help