logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

"LaTeXML::Core::Definition::Constructor" - Control sequence definitions.

Author

       Bruce Miller <bruce.miller@nist.gov>

Description

       This class represents control sequences that contribute arbitrary XML fragments to the document tree.
       During digestion, a "LaTeXML::Core::Definition::Constuctor" records the arguments used in the invocation
       to produce a LaTeXML::Core::Whatsit.  The resulting LaTeXML::Core::Whatsit (usually) generates an XML
       document fragment when absorbed by an instance of LaTeXML::Core::Document.  Additionally, a
       "LaTeXML::Core::Definition::Constructor" may have beforeDigest and afterDigest daemons defined which are
       executed for side effect, or for adding additional boxes to the output.

       It extends LaTeXML::Core::Definition.

       More documentation needed, but see LaTeXML::Package for the main user access to these.

   MoreaboutConstructors
       A constructor has as it's "replacement" a subroutine or a string pattern representing the XML fragment it
       should generate.  In the case of a string pattern, the pattern is compiled into a subroutine on first
       usage by the internal class "LaTeXML::Core::Definition::ConstructorCompiler".  Like primitives,
       constructors may have "beforeDigest" and "afterDigest".

Name

       "LaTeXML::Core::Definition::Constructor"  - Control sequence definitions.

See Also