Class DirectivesNextLineNumber

java.lang.Object
org.ek9lang.compiler.directives.DirectivesNextLineNumber
All Implemented Interfaces:
Function<EK9Parser.DirectiveContext,Integer>

public class DirectivesNextLineNumber extends Object implements Function<EK9Parser.DirectiveContext,Integer>
Finds the next line number from where a directive has been used. This is useful for error detection as it enables the location of the directive to indicate where the error condition is located.