TokensAnalyzer::detectBlockType - move method to Tokens class