Class GenusDirective

java.lang.Object
org.ek9lang.compiler.directives.ResolutionDirective
org.ek9lang.compiler.directives.GenusDirective
All Implemented Interfaces:
Directive

public class GenusDirective extends ResolutionDirective
To be used in EK9 source code to assert that a type can or cannot be resolved. //@Genus: EXPLICIT_TYPE_SYMBOL_DEFINITION: TYPE: "SomeService": SERVICE_APPLICATION
  • Constructor Details

    • GenusDirective

      public GenusDirective(DirectiveSpec spec)
      New directive for genus checking.
  • Method Details

    • type

      public DirectiveType type()
      Description copied from interface: Directive
      What s the type of the directive.