Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3e6ba8ba
Commit
3e6ba8ba
authored
Mar 12, 2010
by
Erik Verbruggen
Browse files
Added ObjC Selector dumping.
parent
48889e75
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/manual/cplusplus-dump/main.cpp
View file @
3e6ba8ba
...
@@ -110,6 +110,13 @@ protected:
...
@@ -110,6 +110,13 @@ protected:
return
spell
(
strLit
->
literal_token
);
return
spell
(
strLit
->
literal_token
);
}
else
if
(
BoolLiteralAST
*
boolLit
=
ast
->
asBoolLiteral
())
{
}
else
if
(
BoolLiteralAST
*
boolLit
=
ast
->
asBoolLiteral
())
{
return
spell
(
boolLit
->
literal_token
);
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
{
}
else
{
return
QByteArray
();
return
QByteArray
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment