Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: Source/bindings/scripts/unstable/idl_definitions.py

Issue 179423002: Use a class for CodeGeneratorV8 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tweaks Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/unstable/idl_compiler.py ('k') | Source/bindings/scripts/unstable/idl_reader.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/unstable/idl_definitions.py
diff --git a/Source/bindings/scripts/unstable/idl_definitions.py b/Source/bindings/scripts/unstable/idl_definitions.py
index a17f75cb0f70f9d1dab2b2d2c8ddb52e8215ba37..623ca48316dd54ebff82cbda9d694bd17fe51cd8 100644
--- a/Source/bindings/scripts/unstable/idl_definitions.py
+++ b/Source/bindings/scripts/unstable/idl_definitions.py
@@ -47,7 +47,7 @@ import re
# Base classes
-class BaseIdl:
+class BaseIdl(object):
"""Abstract base class, used for JSON serialization."""
__metaclass__ = abc.ABCMeta
@@ -63,7 +63,7 @@ class BaseIdl:
pass
-class TypedObject:
+class TypedObject(object):
"""Object with a type, such as an Attribute or Operation (return value).
The type can be an actual type, or can be a typedef, which must be resolved
@@ -329,7 +329,7 @@ def resolve_typedefs(idl_type, typedefs):
return str(IdlType.from_string(idl_type).resolve_typedefs(typedefs))
-class IdlType:
+class IdlType(object):
# FIXME: replace type strings with these objects,
# so don't need to parse everywhere types are used.
# Types are stored internally as strings, not objects,
« no previous file with comments | « Source/bindings/scripts/unstable/idl_compiler.py ('k') | Source/bindings/scripts/unstable/idl_reader.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698