Commit Graph

5 Commits

Author SHA1 Message Date
Gregory Szorc
efb5eabf87 Bug 778495 - Part 2: Add query related APIs for functions and expansions
khuey gave permission to land without review.
2012-08-06 10:24:10 -07:00
Gregory Szorc
63c3b69b05 Bug 778495 - Part 1: Add BaseExpansion class and new methods for expansions
khuey gave permission to land without review.
2012-08-06 10:23:58 -07:00
Gregory Szorc
2ccfc884c7 Bug 769976 - Statement reformatting and equality operators
You can now call to_source() on Expansion, StringExpansion, Function
(and derived), Statement (and derived), Condition (and derived), and
StatementList to obtain make "source code" for that entity. This means
you can write out make files by constructing an appropriate set of
Statement instances.

This also implements __eq__ and __ne__ on all of the above. This is
being used in the tests to verify that the reformatting code works
properly (produces an equivalent StatementList).

khuey gave permission to land without review.
2012-08-06 10:23:25 -07:00
Benjamin Smedberg
eec51a1b08 Update pymake for better memory usage and faster execution. 2009-04-01 16:13:55 -04:00
Benjamin Smedberg
87b0769ac8 Import pymake into Mozilla. This is not used by default (yet), but this snapshot should be good enough for doing relative-srcdir builds on Windows. r=ted 2009-03-19 10:19:38 -04:00