GO::Mo...terator(3pm)

πŸ“¦
version 0.15 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– GO::Model::GraphIterator πŸ’–

okay bestie, so this page lives in the User Contributed Perl Documentation section of the manual (you know the one, the (3pm) girlies 🌸), and yes the header trims it all cute to GO::Mo...terator. Per the vibes, here's what she does: GO::Model::GraphIterator wraps GO::Model::GraphIterator. yeah. she wraps herself. self-love era. πŸͺžβœ¨


✨ NAME ✨

GO::Model::GraphIterator β€” literally just wraps GO::Model::GraphIterator πŸŽ€


✨ SYNOPSIS ✨

(blank. empty. the void. no synopsis was provided, and honestly? iconic of her πŸ’… nothing here, no cap.)


✨ DESCRIPTION ✨

so. this is a hack. 🫣 she said it not me. It wraps GO::Model::GraphIterator and hands you a tree-like iteration instead of that graph-like iteration energy. it's giving structured, it's giving organized, it's giving main character who actually has a plan 🌈

the way this works?? she gives TreeIterator a template array πŸ“

and the array looks like this :

[ [3674, 'isa', 3673], [9277, 'isa', 5618] ]

so like, 3674 is selected iff it is the child of 3673. and 9277 is selected iff it is the child of 5618. conditional queen πŸ‘‘


🌟 order 🌟

  • Usage β€” $graphiter->order("breadth");
  • Returns β€” string
  • Args β€” string

gets/sets the traversal order bestie β€” breadth or depth. the default is depth. so if you don't say anything she's going deep, periodt 🌊


🌟 direction 🌟

  • Usage β€” $graphiter->direction("up");
  • Returns β€” string
  • Args β€” string

gets/sets the direction 🧭 and the default is "down". she's going down unless you tell her otherwise, fr fr ⬇️


🌟 reset_cursor 🌟

  • Usage β€” (none given)
  • Returns β€” GO::Model::Term
  • Args β€” (none given)

🌟 next_node 🌟

  • Usage β€” (none given)
  • Returns β€” GO::Model::Term
  • Args β€” (none given)

🌟 set_bootstrap_mode 🌟

  • Usage β€” (none given)
  • Returns β€” (none given)
  • Args β€” (none given)

🌟 get_bootstrap_mode 🌟

  • Usage β€” (none given)
  • Returns β€” (none given)
  • Args β€” (none given)

🌟 get_current_path 🌟

  • Usage β€” (none given)
  • Returns β€” array ref
  • Args β€” none

🌟 next_node_instance 🌟

  • Usage β€” (none given)
  • Returns β€” GO::Model::GraphNodeInstance
  • Args β€” (none given)

heads up bestie: the Usage, Returns and Args fields above are exactly what the page gives β€” some of them are just blank, and I'm not about to invent details for you. no cap, no made-up lore πŸ™ˆ

and that's the whole page, babe πŸ¦‹ if you see her out there, she was documented by the Perl crew and shipped with perl v5.36.0, dated 2023-12-18. obsessed with her. mwah πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from