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

Unified Diff: client/dom/scripts/idlparser.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/idlnode_test.py ('k') | client/dom/scripts/idlparser_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlparser.py
diff --git a/client/dom/scripts/idlparser.py b/client/dom/scripts/idlparser.py
index 8f38365cc7aaa88ff07c46001fb8707bbdc5db99..8de223e20877f5f79ffd7421a8aab63e4196fcff 100755
--- a/client/dom/scripts/idlparser.py
+++ b/client/dom/scripts/idlparser.py
@@ -104,7 +104,7 @@ class IDLParser(object):
# WebKit:
OR(Const, Attribute, Operation),
# FremontCut:
- OR(Const, Attribute, Operation, Snippet))
+ OR(Const, Attribute, Operation))
# Interface inheritance:
def _ParentInterfaces():
@@ -381,13 +381,6 @@ class IDLParser(object):
def AnnotationArgValue():
return re.compile(r'[\w&0-9:/\-\.]+')
- # Snippets - used in the FremontCut IDL grammer:
- def Snippet():
- return [MAYBE(_Annotations), 'snippet', '{', SnippetText, '}', ';']
-
- def SnippetText():
- return re.compile(r'[^\}]*')
-
###################### END GRAMMAR #####################
# Return the grammar's root rule:
« no previous file with comments | « client/dom/scripts/idlnode_test.py ('k') | client/dom/scripts/idlparser_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698