Ferreteria/v0.6/clade/Sys/Diag/Data/Stack/Deck

From WoozleCodes
Jump to navigation Jump to search
clade: Sys\Diag\Data\Stack\Deck
Clade Family
Array Deck (none)
Clade Aliases
Alias Clade
Base* [c,i] Sys\Data\Xfer\Info\Deck\Array
CardIface Sys\Diag\Data\Stack\Card
KeyedArray Data\Mem\Array\Keyed
Subpages

About

  • A Stack is basically a Keyed Array of Call objects plus an Error object.
    • This tracks only the stack data -- not the error info or location. The Native clades tie all of that stuff together -- using this class to handle stack data, and other classes for the error info and location.

Pages

History

  • 2024-06-07 (cDeck) removed protected construct-with-param because it has also been removed from parent.
  • 2024-06-08 ErrorIface does not include a stack, so it makes no sense to be able to initialize Deck with one.
    • Thrown, yes; Error, no. Removing that option. Leaving internal initialization (WithErrorWrap(), formerly WithFerretError()) so we can keep the object. Adding FromThrownWrap().
    • Also, realized that [WF]Sys\Narcissa\Error\Deck\cInfo adds exactly nothing to this class, and also this lass is the one that gets created -- so we should just use it in Narcissa. It's data, not formatting.
    • Removing the Narcissa podling-class.
  • 2024-06-25 (cDeck) added CardClass() so we don't have to pass that to CardInfoArray (formerly CardArray())
    • (because we also call that internally, so we need to know it anyway).
    • Podlings that are Bridge-aware can override to get it from Bridge object or class.
    • That's also why it needs to be a dynamic function, so we have access to a Bridge object (if any).
  • 2024-08-20 moved all the SETUP stuff from tDeck into cDeck. I'm not sure we actually need tDeck anymore.
    • I've temporarily renamed it to tStackDeck to make sure there's no outside usage (plan: finish merging it into cDeck, unless there's specific functionality which seems to belong somewhere else.
  • 2024-08-22 I've merged tStackDeck into cDeck.
  • 2024-08-24 removing anything that isn't *just* the stack array.
    • Renamed FromTraceArray() -> FromStackArray() (WithStackArray() is already correct).