Class ConstructObligations
java.lang.Object
org.ek9lang.compiler.phase5.ConstructObligations
The per-construct obligation rollup accumulated during the phase-5 walk of one callable body, then
squirrelled as
OBLIGATIONS_TOTAL/DISCHARGED/UNDISCHARGED at construct exit
(docs/tooling/EK9_SYMBOLIC_SCANNER_IMPLEMENTATION_SPEC.md §2.1/§2.4). One instance lives on the
ObligationCensus scope stack per callable, so a nested dynamic function's obligations never
leak into the enclosing callable's tally.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(Obligation obligation) (package private) int(package private) inttotal()(package private) int
-
Constructor Details
-
ConstructObligations
ConstructObligations()
-
-
Method Details
-
add
-
total
int total() -
discharged
int discharged() -
undischarged
int undischarged()
-