Package net.sourceforge.pmd.cpd
Class ScalaTokenizer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.ScalaTokenizer
-
- All Implemented Interfaces:
net.sourceforge.pmd.cpd.Tokenizer
public class ScalaTokenizer extends java.lang.Object implements net.sourceforge.pmd.cpd.Tokenizer
Scala Tokenizer class. Uses the Scala Meta Tokenizer.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SCALA_VERSION_PROPERTY
Denotes the version of the scala dialect to use.
-
Constructor Summary
Constructors Constructor Description ScalaTokenizer()
Create the Tokenizer using properties from the system environment.ScalaTokenizer(java.util.Properties properties)
Create the Tokenizer given a set of properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode, net.sourceforge.pmd.cpd.Tokens tokenEntries)
-
-
-
Field Detail
-
SCALA_VERSION_PROPERTY
public static final java.lang.String SCALA_VERSION_PROPERTY
Denotes the version of the scala dialect to use. Based on the values in BaseLanguageModule.getVersions()- See Also:
- Constant Field Values
-
-