[Webkit-unassigned] [Bug 72835] Web Inspector: [protocol] generate C++ classes for protocol JSON named types
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 25 00:42:23 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=72835
Andrey Kosyakov <caseq at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |caseq at chromium.org
--- Comment #15 from Andrey Kosyakov <caseq at chromium.org> 2011-11-25 00:42:23 PST ---
(In reply to comment #13)
> Sample generated file (caseq template technique)
I generally like the result, but still got a few notes:
- reinterpret_cast from InspectorObject to a specific object type looks quite unfortunate. Why not use a concrete type for m_result?
- why do we need explicit inlines on every method?
- let's pass string parameters by a const reference;
- Builder constructor should by private, with outer class a friend;
- it's probably worth implementing cast operator for PassRefPtr via cast operator for RefPtr;
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list