Expand description
Canonical Workshop element-count analysis.
The calculator operates on validated WIR, not source-language syntax or emitted text. Its rules are the documented Workshop.codes model: rules, actions, conditions, and ordinary values cost one element; arrays and evaluate-once values cost two; localized strings cost two; direct action or condition arguments are reduced by one; and every pair of hero literals in those arguments adds one. Custom game settings and rule parameters cost zero.
Structs§
- Element
Count Node - One node’s contribution, including its nested WIR provenance.
- Element
Count Report - A structured element-count report for one canonical Workshop program.
Enums§
- Element
Count Error - A construct for which an exact canonical element count cannot be produced.
- Element
Node Kind - The WIR node category represented in an element-count report.