net.sourceforge.pmd.cpd.ObjectiveCTokenizer Maven / Gradle / Ivy
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import net.sourceforge.pmd.cpd.internal.JavaCCTokenizer;
import net.sourceforge.pmd.lang.TokenManager;
import net.sourceforge.pmd.lang.ast.impl.javacc.CharStream;
import net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken;
import net.sourceforge.pmd.lang.objectivec.ast.ObjectiveCTokenKinds;
/**
* The Objective-C Tokenizer
*/
public class ObjectiveCTokenizer extends JavaCCTokenizer {
@Override
protected TokenManager makeLexerImpl(CharStream sourceCode) {
return ObjectiveCTokenKinds.newTokenManager(sourceCode);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy