Scroll to navigation

LaTeXML::Core::Array(3) User Contributed Perl Documentation LaTeXML::Core::Array(3)

NAME

"LaTeXML::Core::Array" - support for Arrays of objects

DESCRIPTION

Provides a representation of arrays of digested objects. It extends LaTeXML::Common::Object.

Methods

"LaTeXML::Core::Array->new(%options);"
Creates an Array object Options are
values List of values; typically Tokens, initially.
type The type of objects (as a ParameterType)

The following are Tokens lists that are used for reverting to raw TeX, each can be undef
open the opening delimiter eg "{"
close the closing delimiter eg "}"
separator the separator between items, eg ","
itemopen the opening delimiter for each item
itemclose the closing delimiter for each item

Accessors

"$value = $array->getValue($n)"
Return the $n-th item in the list.
"$array->setValue($n,$value)"
Sets the $n-th value to $value.
"@values = $keyval->getValues();"
Return the list of values.
"$keyval->beDigested;"
Return a new "LaTeXML::Core::Array" object with all values digested as appropriate.

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.

2024-02-26 perl v5.40.0