Uses of Interface
org.ek9lang.compiler.directives.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
Modifier 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.Modifier 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
Modifier and TypeClassDescriptionclass
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.Modifier 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
Modifier and TypeMethodDescriptionSymbolFactory.newDirective
(EK9Parser.DirectiveContext ctx) Create a new directive to be used inside the compiler.