Uses of Interface
org.ek9lang.compiler.directives.Directive
Packages that use Directive
Package
Description
B - For the EK9 compiler itself.
The directives are really aimed at helping the creation of the EK9 language, but they
maybe very useful in the early stages of adoption of EK9 (should there be any).
Contains critical general components used in the
Ek9Compiler
listeners.-
Uses of Directive in org.ek9lang.compiler
Methods in org.ek9lang.compiler that return types with arguments of type DirectiveModifier and TypeMethodDescriptionParsedModule.getDirectives
(DirectiveType type) Provide access to any directives recorded.ParsedModule.getDirectives
(DirectiveType type, CompilationPhase phase) Provide access to any directives recorded of a specific type and compilation phase.ParsedModuleTransientData.getDirectives
(DirectiveType type) Provide access to any directives recorded.ParsedModuleTransientData.getDirectives
(DirectiveType type, CompilationPhase phase) Provide access to any directives recorded of a specific type and compilation phase.Methods in org.ek9lang.compiler with parameters of type DirectiveModifier and TypeMethodDescriptionvoid
ParsedModule.recordDirective
(Directive directive) When processing EK9 source code the developer now has some ability to use '@directives'.void
ParsedModuleTransientData.recordDirective
(Directive directive) When processing EK9 source code the developer now has some ability to use '@directives'. -
Uses of Directive in org.ek9lang.compiler.directives
Classes in org.ek9lang.compiler.directives that implement DirectiveModifier and TypeClassDescriptionclass
To be used in EK9 source code to assert that a specific class or function has a particular level of complexity.class
To be used in EK9 source code to assert that an error will be created.class
To be used in EK9 source code to assert that a type can or cannot be resolved.class
To be used in EK9 source code to assert that a type can or cannot be resolved as extending a type or function.class
To be used in EK9 source code to assert that a type can or cannot be resolved.class
To be used in EK9 source code to assert that a type can or cannot be resolved.class
To be used in EK9 source code to assert that a type can or cannot be resolved.Method parameters in org.ek9lang.compiler.directives with type arguments of type DirectiveModifier and TypeMethodDescription(package private) void
ResolutionDirectiveListener.processDirectives
(CompilationEvent compilationEvent, List<Directive> directives) Process each of the directives and check for resolution or otherwise and call the symbolMatch or noSymbolMatch methods. -
Uses of Directive in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return DirectiveModifier and TypeMethodDescriptionDirectiveFactory.newDirective
(EK9Parser.DirectiveContext ctx) SymbolFactory.newDirective
(EK9Parser.DirectiveContext ctx) Create a new directive to be used inside the compiler.