| Index: Source/bindings/scripts/v8_utilities.py
|
| diff --git a/Source/bindings/scripts/v8_utilities.py b/Source/bindings/scripts/v8_utilities.py
|
| index 9107a95a9c2e1a7bf4eea35d618ea66f62551717..251a0a6a0d0f8c991a6571f5f66aa3f09dfdbda5 100644
|
| --- a/Source/bindings/scripts/v8_utilities.py
|
| +++ b/Source/bindings/scripts/v8_utilities.py
|
| @@ -145,6 +145,13 @@ def v8_class_name(interface):
|
| return v8_types.v8_type(interface.name)
|
|
|
|
|
| +def v8_class_name_or_partial(interface):
|
| + class_name = v8_class_name(interface)
|
| + if interface.is_partial:
|
| + return ''.join([class_name, 'Partial'])
|
| + return class_name
|
| +
|
| +
|
| ################################################################################
|
| # Specific extended attributes
|
| ################################################################################
|
| @@ -296,6 +303,13 @@ def cpp_name(definition_or_member):
|
| return extended_attributes['ImplementedAs']
|
|
|
|
|
| +def cpp_name_or_partial(interface):
|
| + cpp_class_name = cpp_name(interface)
|
| + if interface.is_partial:
|
| + return ''.join([cpp_class_name, 'Partial'])
|
| + return cpp_class_name
|
| +
|
| +
|
| # [MeasureAs]
|
| def measure_as(definition_or_member):
|
| extended_attributes = definition_or_member.extended_attributes
|
|
|