OK, the subject doesn't really match with your question.
SonarQube has (obviously so, I might say) the possibility to perform analyses on several languages: it all depends on what language plugins your installation has. And in fact, it is not SonarQube, the server, which performs analyses, but the sonar runner.
Your question is in fact whether there is a mechanism to perform "language within language" analysis, right?