Class ResolutionDirective
java.lang.Object
org.ek9lang.compiler.directives.ResolutionDirective
- All Implemented Interfaces:
- Directive
- Direct Known Subclasses:
- ByteCodeDirective, ComplexityDirective, GenusDirective, ImplementsDirective, IRDirective, NotResolvedDirective, ResolvedDirective
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintWhich line number does this directive apply to.Provide a token from the source, by default if not possible supply synthetic.booleanisForPhase(CompilationPhase phase) returns true if the directive is for the phase passed in.booleantoString()
- 
Constructor Details- 
ResolutionDirectiveResolutionDirective(DirectiveSpec spec) A new resolution style directive. The symbol Name can be single like Integer or parameterised like List of (String). If parameterised it must have the parenthesis.
 
- 
- 
Method Details- 
isForPhasereturns true if the directive is for the phase passed in.- Specified by:
- isForPhasein interface- Directive
 
- 
getDirectiveTokenDescription copied from interface:DirectiveProvide a token from the source, by default if not possible supply synthetic.- Specified by:
- getDirectiveTokenin interface- Directive
 
- 
getAppliesToLineNumberpublic int getAppliesToLineNumber()Description copied from interface:DirectiveWhich line number does this directive apply to.- Specified by:
- getAppliesToLineNumberin interface- Directive
 
- 
getSymbolCategory
- 
getSymbolName
- 
getAdditionalName
- 
isForVariablepublic boolean isForVariable()
- 
getSymbolSearch
- 
toString
 
-