Index: Source/bindings/templates/conversions.cpp |
diff --git a/Source/bindings/templates/conversions.cpp b/Source/bindings/templates/conversions.cpp |
index 98e48d9e7db706922197caddc43ed9cf6e217e77..7f759451c7be673f3470fc20b7b8469cf318a546 100644 |
--- a/Source/bindings/templates/conversions.cpp |
+++ b/Source/bindings/templates/conversions.cpp |
@@ -38,3 +38,18 @@ const char* validValues[] = { |
{% endfor %} |
}; |
{%-endmacro %} |
+ |
+ |
+{% macro property_location(member) %} |
+{% set property_location_list = [] %} |
+{% if member.on_instance %} |
+{% set property_location_list = property_location_list + ['V8DOMConfiguration::OnInstance'] %} |
+{% endif %} |
+{% if member.on_prototype %} |
+{% set property_location_list = property_location_list + ['V8DOMConfiguration::OnPrototype'] %} |
+{% endif %} |
+{% if member.on_interface %} |
+{% set property_location_list = property_location_list + ['V8DOMConfiguration::OnInterface'] %} |
+{% endif %} |
+{{property_location_list | join(' | ')}} |
+{%- endmacro %} |