net.sourceforge.pmd.lang.gherkin.cpd.GherkinCpdLexer Maven / Gradle / Ivy
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.gherkin.cpd;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Lexer;
import net.sourceforge.pmd.cpd.impl.AntlrCpdLexer;
import net.sourceforge.pmd.lang.gherkin.ast.GherkinLexer;
/**
* The Gherkin Tokenizer.
*
* Note: This class has been called GherkinTokenizer in PMD 6
.
*/
public class GherkinCpdLexer extends AntlrCpdLexer {
@Override
protected Lexer getLexerForSource(CharStream charStream) {
return new GherkinLexer(charStream);
}
}