Package net.sourceforge.pmd.cpd
Class AbstractTokenizer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.AbstractTokenizer
-
- All Implemented Interfaces:
Tokenizer
public abstract class AbstractTokenizer extends java.lang.Object implements Tokenizer
- Author:
- Zev Blut [email protected], Romain PELISSE [email protected]
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
ignorableCharacter
protected java.util.List<java.lang.String>
ignorableStmt
protected char
oneLineCommentChar
protected java.lang.Character
spanMultipleLinesLineContinuationCharacter
protected boolean
spanMultipleLinesString
protected java.util.List<java.lang.String>
stringToken
-
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 AbstractTokenizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tokenize(SourceCode tokens, Tokens tokenEntries)
-
-
-
Field Detail
-
stringToken
protected java.util.List<java.lang.String> stringToken
-
ignorableCharacter
protected java.util.List<java.lang.String> ignorableCharacter
-
ignorableStmt
protected java.util.List<java.lang.String> ignorableStmt
-
oneLineCommentChar
protected char oneLineCommentChar
-
spanMultipleLinesString
protected boolean spanMultipleLinesString
-
spanMultipleLinesLineContinuationCharacter
protected java.lang.Character spanMultipleLinesLineContinuationCharacter
-
-
Method Detail
-
tokenize
public void tokenize(SourceCode tokens, Tokens tokenEntries)
-
-