servo/servo — pull request #3726 by ChrisParis (2014-10-18 23:12:39+00:00)
Title: Support callback interfaces with constants.

This addresses https://github.com/servo/servo/issues/3149. The immediate purpose is to support the constants in NodeFilter. The changes mostly follow the current Gecko Codegen.py. The main gist is that the generation of certain code artifacts is now gated by hasInterfaceObject() or hasInterfacePrototypeObject(), rather than by isCallback().