Class StandardLexerSpecification
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.module.model.base.preprocessing.StandardLexerSpecification
-
- All Implemented Interfaces:
ILexerSpecification
public class StandardLexerSpecification extends java.lang.Object implements ILexerSpecification
Provides a specification for a basic lexer for preprocessing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StandardLexerSpecification.channels
reference enum
-
Constructor Summary
Constructors Constructor Description StandardLexerSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getChannelNames()
-
-
-
Method Detail
-
getChannelNames
public java.lang.String[] getChannelNames()
- Specified by:
getChannelNames
in interfaceILexerSpecification
- Returns:
- a list of channel names, used to identify and catagorise tokens, specified in the lexer. Must be in order of the declaration in the lexer
-
-