Commit 3e6ba8ba authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Added ObjC Selector dumping.

parent 48889e75
......@@ -110,6 +110,13 @@ protected:
return spell(strLit->literal_token);
} else if (BoolLiteralAST *boolLit = ast->asBoolLiteral()) {
return spell(boolLit->literal_token);
} else if (ObjCSelectorArgumentAST *selArg = ast->asObjCSelectorArgument()) {
QByteArray t = spell(selArg->name_token);
if (selArg->colon_token)
t.append(spell(selArg->colon_token));
return t;
} else if (AttributeAST *attr = ast->asAttribute()) {
return spell(attr->identifier_token);
} else {
return QByteArray();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment