Use TokenExtractor for Scala code.