Class StatementBudgetOf
java.lang.Object
org.ek9lang.compiler.phase5.StatementBudgetOf
- All Implemented Interfaces:
ToIntFunction<ISymbol>
THE per-construct statement budget - the maximum number of statements permitted for the construct the symbol
represents, keyed off the symbol kind (the limits live in
QualityMetricLimits). Held by
AcceptableStatementCountOrError (which enforces the budget) and
AcceptableCombinedComplexitySizeOrError (which normalises its size ratio against the same budget), so the two
stay in lock-step; the construct's label beside it is ConstructLabelOf. Was
ConstructStatementBudget.maxStatementsFor (no-statics lane P2, 2026-10-29).-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StatementBudgetOf
StatementBudgetOf()
-
-
Method Details
-
applyAsInt
- Specified by:
applyAsIntin interfaceToIntFunction<ISymbol>
-