Package net.sourceforge.pmd.cpd
Class AntlrTokenizer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.AntlrTokenizer
-
- All Implemented Interfaces:
Tokenizer
@Deprecated @InternalApi public abstract class AntlrTokenizer extends java.lang.Object implements Tokenizer
Deprecated.This is an internal API.Generic implementation of aTokenizer
useful to any Antlr grammar.
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
-
-
Constructor Summary
Constructors Constructor Description AntlrTokenizer()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract AntlrTokenManager
getLexerForSource(SourceCode sourceCode)
Deprecated.protected AntlrTokenFilter
getTokenFilter(AntlrTokenManager tokenManager)
Deprecated.void
tokenize(SourceCode sourceCode, Tokens tokenEntries)
Deprecated.
-
-
-
Method Detail
-
getLexerForSource
protected abstract AntlrTokenManager getLexerForSource(SourceCode sourceCode)
Deprecated.
-
tokenize
public void tokenize(SourceCode sourceCode, Tokens tokenEntries)
Deprecated.
-
getTokenFilter
protected AntlrTokenFilter getTokenFilter(AntlrTokenManager tokenManager)
Deprecated.
-
-