Package net.sourceforge.pmd.cpd
Class ModelicaTokenizer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.impl.JavaCCTokenizer
-
- net.sourceforge.pmd.cpd.ModelicaTokenizer
-
- All Implemented Interfaces:
Tokenizer
public class ModelicaTokenizer extends JavaCCTokenizer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelicaTokenizer.ModelicaTokenFilter
-
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_IDENTIFIER_AND_LITERAL_SEQUENCES, OPTION_IGNORE_LITERAL_SEQUENCES, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
-
-
Constructor Summary
Constructors Constructor Description ModelicaTokenizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JavaCCTokenFilter
getTokenFilter(TokenManager<JavaccToken> tokenManager)
protected TokenManager<JavaccToken>
makeLexerImpl(CharStream sourceCode)
-
Methods inherited from class net.sourceforge.pmd.cpd.impl.JavaCCTokenizer
getImage, getLexerForSource, processToken, tokenBehavior, tokenize
-
-
-
-
Method Detail
-
makeLexerImpl
protected TokenManager<JavaccToken> makeLexerImpl(CharStream sourceCode)
- Specified by:
makeLexerImpl
in classJavaCCTokenizer
-
getTokenFilter
protected JavaCCTokenFilter getTokenFilter(TokenManager<JavaccToken> tokenManager)
- Overrides:
getTokenFilter
in classJavaCCTokenizer
-
-