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 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_IGNORE_LITERAL_SEQUENCES, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
-
-
Constructor Summary
Constructors Constructor Description AntlrTokenizer()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.antlr.v4.runtime.CharStream
getCharStreamFromSourceCode(SourceCode sourceCode)
Deprecated.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.
-
getCharStreamFromSourceCode
public static org.antlr.v4.runtime.CharStream getCharStreamFromSourceCode(SourceCode sourceCode)
Deprecated.
-
-