Package org.ek9lang.compiler.directives
Class DirectivesSymbolName
java.lang.Object
org.ek9lang.compiler.directives.DirectivesSymbolName
- All Implemented Interfaces:
Function<EK9Parser.DirectiveContext,
String>
public class DirectivesSymbolName
extends Object
implements Function<EK9Parser.DirectiveContext,String>
Just extracts the symbol name or throws an illegal argument exception.
-
Constructor Details
-
DirectivesSymbolName
public DirectivesSymbolName(int position) New extractor of symbol name for a position in the source.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<EK9Parser.DirectiveContext,
String>
-