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

Unified Diff: client/dom/scripts/idlnode.py

Issue 9152018: Remove everything to do with snippets (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « client/dom/scripts/databasebuilder_test.py ('k') | client/dom/scripts/idlnode_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlnode.py
diff --git a/client/dom/scripts/idlnode.py b/client/dom/scripts/idlnode.py
index a76a1ae809faed8a344b8b5cfa8031b3e01ead80..9e65fe945cc33851acb76d31e4d49f270769ce62 100755
--- a/client/dom/scripts/idlnode.py
+++ b/client/dom/scripts/idlnode.py
@@ -345,7 +345,6 @@ class IDLInterface(IDLNode):
self.operations = self._convert_all(ast, 'Operation', IDLOperation)
self.attributes = self._convert_all(ast, 'Attribute', IDLAttribute)
self.constants = self._convert_all(ast, 'Const', IDLConstant)
- self.snippets = self._convert_all(ast, 'Snippet', IDLSnippet)
self.is_supplemental = 'Supplemental' in self.ext_attrs
self.is_no_interface_object = 'NoInterfaceObject' in self.ext_attrs
self.is_fc_suppressed = 'Suppressed' in self.ext_attrs
@@ -414,14 +413,6 @@ class IDLConstant(IDLMember):
self.value = self._find_first(ast, 'ConstExpr')
-class IDLSnippet(IDLMember):
- """IDLNode specialization for 'snippet { data };"""
- def __init__(self, ast):
- IDLMember.__init__(self, ast)
- self._convert_annotations(ast)
- self.text = self._find_first(ast, 'SnippetText')
-
-
class IDLArgument(IDLNode):
"""IDLNode specialization for operation arguments."""
def __init__(self, ast):
« no previous file with comments | « client/dom/scripts/databasebuilder_test.py ('k') | client/dom/scripts/idlnode_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698