1LaTeXML::Core::Array(3)User Contributed Perl DocumentatioLnaTeXML::Core::Array(3)
2
3
4

NAME

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

DESCRIPTION

9       Provides a representation of arrays  of digested objects.  It extends
10       LaTeXML::Common::Object.
11
12   Methods
13       "LaTeXML::Core::Array->new(%options);"
14           Creates an Array object Options are
15             values  List of values; typically Tokens, initially.
16             type    The type of objects (as a ParameterType)
17
18           The following are Tokens lists that are used for reverting to raw
19           TeX, each can be undef
20             open      the opening delimiter eg "{"
21             close     the closing delimiter eg "}"
22             separator the separator between items, eg ","
23             itemopen  the opening delimiter for each item
24             itemclose the closing delimiter for each item
25
26   Accessors
27       "$value = $array->getValue($n)"
28           Return the $n-th item in the list.
29
30       "$array->setValue($n,$value)"
31           Sets the $n-th value to $value.
32
33       "@values = $keyval->getValues();"
34           Return the list of values.
35
36       "$keyval->beDigested;"
37           Return a new "LaTeXML::Core::Array" object with all values digested
38           as appropriate.
39

AUTHOR

41       Bruce Miller <bruce.miller@nist.gov>
42
44       Public domain software, produced as part of work done by the United
45       States Government & not subject to copyright in the US.
46
47
48
49perl v5.34.0                      2021-11-24           LaTeXML::Core::Array(3)
Impressum