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

FreeBSD Manual Pages

  
 
  

home | help
LaTeXML::Core::Mouth(3User Contributed Perl DocumentatiLaTeXML::Core::Mouth(3)

NAME
       "LaTeXML::Core::Mouth" -	tokenize the input.

DESCRIPTION
       A "LaTeXML::Core::Mouth"	(and subclasses) is responsible	for
       tokenizing, ie.	converting plain text and strings into
       LaTeXML::Core::Tokens according to the current category codes
       (catcodes) stored in the	"LaTeXML::Core::State".

       It extends LaTeXML::Common::Object.

   Creating Mouths
       "$mouth = LaTeXML::Core::Mouth->create($source, %options);"
	   Creates a new Mouth of the appropriate class	for reading from
	   $source.

       "$mouth = LaTeXML::Core::Mouth->new($string, %options);"
	   Creates a new Mouth reading from $string.

   Methods
       "$token = $mouth->readToken;"
	   Returns the next LaTeXML::Core::Token from the source.

       "$boole = $mouth->hasMoreInput;"
	   Returns whether there is more data to read.

       "$string	= $mouth->getLocator;"
	   Return a description	of current position in the source, for
	   reporting errors.

       "$tokens	= $mouth->readTokens;"
	   Reads all remaining tokens in the mouth, removing any trailing
	   space catcode tokens

       "$lines = $mouth->readRawLine;"
	   Reads a raw (untokenized) line from $mouth, or undef	if none	is
	   found.

AUTHOR
       Bruce Miller <bruce.miller@nist.gov>

COPYRIGHT
       Public domain software, produced	as part	of work	done by	the United
       States Government & not subject to copyright in the US.

perl v5.32.1			  2020-11-09	       LaTeXML::Core::Mouth(3)

NAME | DESCRIPTION | AUTHOR | COPYRIGHT

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

home | help