forked from phoedos/pmd

The Scala tokenizer was extracted from the Sonar Scala plugin. (https://github.com/SonarCommunity/sonar-scala) I copied the code because the Sonar Scala plugin has a lot of unwanted dependencies. I tried to keep the changes to the Scala Sonar plugin as minimal as possible. To tokenize the source files the official Scala compiler is used.