[Webkit-unassigned] [Bug 19200] *.in files should embed more information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 25 11:54:13 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19200





------- Comment #1 from julien.chaffraix at gmail.com  2008-05-25 11:54 PDT -------
Created an attachment (id=21337)
 --> (http://bugs.webkit.org/attachment.cgi?id=21337&action=view)
Proof of concept

Attached is a sample of what I intend to do.

make_names.pl will discriminate the files according to the first element
("tags" or "attrs").
It will use the attribute/value pair from that first element to build a
parameter map that will be used for code generation.
The different tags/attrs ("a", ...) follow and contain the different properties
that were once in make_names.pl.

In the end, make_names.pl will only accept a limited number of parameters that
cannot be included in the XML files.
Internally, we will move from arrays for attrs/tags to hashes of hashes so that
each tags/attrs holds the full list of properties (this is a bit of an overkill
but it will greatly simply extensibility).


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list