Boilerplate::Token Boilerplate::toToken(const QChar *data, int length) { switch(length) { case 3: return classifier3(data); case 4: return classifier4(data); case 14: return classifier14(data); case 44: return classifier44(data); default: return NoKeyword; } }
NoNamespace::Token NoNamespace::toToken(const QChar *data, int length) { switch(length) { case 3: return classifier3(data); case 4: return classifier4(data); case 14: return classifier14(data); case 15: return classifier15(data); case 44: return classifier44(data); default: return NoKeyword; } }