Class IRDirective
java.lang.Object
org.ek9lang.compiler.directives.ResolutionDirective
org.ek9lang.compiler.directives.IRDirective
- All Implemented Interfaces:
Directive
To be used in EK9 source code to check that the IR generated matches what is expected.
Note use the 'back ticks' for the string as the IR is very likely to have double quotes used within it.
@IR
: IR_GENERATION: TYPE: "Example": `ConstructDfn: introduction::Example ...`@IR
: IR_GENERATION: FUNCTION: "TestFunction": `ConstructDfn: introduction::TestFunction ...`
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ek9lang.compiler.directives.ResolutionDirective
getAdditionalName, getAppliesToLineNumber, getDirectiveToken, getSymbolCategory, getSymbolName, getSymbolSearch, isForPhase, isForVariable, toString
-
Constructor Details
-
IRDirective
New directive checker for implements.
-
-
Method Details
-
type
Description copied from interface:Directive
What s the type of the directive.
-