LaTeXML...::Array(3)

πŸ“¦ version 0.8.8, in nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this page is all about LaTeXML::Core::Array β€” β€œsupport for Arrays of objects”. It comes from the User Contributed Perl Documentation, bestie, so you already know it’s giving classic Perl manual energy 🫢

✨ DESCRIPTION ✨

It provides a representation of arrays of digested objects. The way it does that? It extends LaTeXML::Common::Object. That’s the whole vibe. Periodt.

🧚 Methods 🧚

LaTeXML::Core::Array->new(%options);

Creates an Array object. The 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, and each one 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> πŸ’Œ

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

mwah πŸ’‹ β€” this page is from perl v5.42.3, dated 2024-02-26. Byeee! 🌈

πŸ“¦ where this page comes from