Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm

This commit is contained in:
Chris Manchester 2015-02-25 17:06:29 -08:00
parent 26567ef2e6
commit c81f1cc541
5 changed files with 47 additions and 20 deletions

View file

@ -3262,7 +3262,8 @@ class IDLAttribute(IDLInterfaceMember):
identifier == "Frozen" or
identifier == "AvailableIn" or
identifier == "NewObject" or
identifier == "CheckPermissions"):
identifier == "CheckPermissions" or
identifier == "BinaryName"):
# Known attributes that we don't need to do anything with here
pass
else:
@ -3861,7 +3862,8 @@ class IDLMethod(IDLInterfaceMember, IDLScope):
identifier == "Pref" or
identifier == "Func" or
identifier == "AvailableIn" or
identifier == "CheckPermissions"):
identifier == "CheckPermissions" or
identifier == "BinaryName"):
# Known attributes that we don't need to do anything with here
pass
else: