Class ObligationsDirective
java.lang.Object
org.ek9lang.compiler.directives.ResolutionDirective
org.ek9lang.compiler.directives.ObligationsDirective
- All Implemented Interfaces:
Directive
Compiler self-verification directive (NOT an end-user feature) asserting the obligation census
(docs/tooling/EK9_SYMBOLIC_SCANNER_IMPLEMENTATION_SPEC.md ยง4) computed the expected tally for a
construct. Lives only in the compiler's own
.ek9 test fixtures, exactly like
@Complexity / @InputVariety, to pin the census maths.
The asserted value is the quoted triple "total:discharged:undischarged" (quoted so its
colons survive the colon-delimited directive grammar):
@Obligations: PRE_IR_CHECKS: FUNCTION: "com.acme::unitPrice": "6:2:4"
-
Constructor Summary
ConstructorsConstructorDescriptionThe Directive to test the squirrelled obligation-census tally in EK9 instrumented code. -
Method Summary
Methods inherited from class ResolutionDirective
getAdditionalName, getAppliesToLineNumber, getDirectiveToken, getSymbolCategory, getSymbolName, getSymbolSearch, isForPhase, isForVariable, toString
-
Constructor Details
-
ObligationsDirective
The Directive to test the squirrelled obligation-census tally in EK9 instrumented code.
-
-
Method Details
-
type
Description copied from interface:DirectiveWhat s the type of the directive.
-