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

Unified Diff: tools/idl_parser/idl_lexer.py

Issue 803933003: IDL: various adjustments to match Web IDL specification better (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years 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 | « no previous file | tools/idl_parser/idl_parser.py » ('j') | tools/idl_parser/idl_parser.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/idl_parser/idl_lexer.py
diff --git a/tools/idl_parser/idl_lexer.py b/tools/idl_parser/idl_lexer.py
index 5ba1d4e4e9e74ef34d6912451cefeb70e881b7f3..abbed37abd920dd3f082e1fb63ef3da15042d4ad 100755
--- a/tools/idl_parser/idl_lexer.py
+++ b/tools/idl_parser/idl_lexer.py
@@ -77,16 +77,19 @@ class IDLLexer(object):
'DOMString' : 'DOMSTRING',
'double' : 'DOUBLE',
'enum' : 'ENUM',
+ 'exception' : 'EXCEPTION',
'false' : 'FALSE',
'float' : 'FLOAT',
- 'exception' : 'EXCEPTION',
'getter': 'GETTER',
'implements' : 'IMPLEMENTS',
'Infinity' : 'INFINITY',
'inherit' : 'INHERIT',
'interface' : 'INTERFACE',
+ 'iterable': 'ITERABLE',
'legacycaller' : 'LEGACYCALLER',
+ 'legacyiterable' : 'LEGACYITERABLE',
'long' : 'LONG',
+ 'maplike': 'MAPLIKE',
'Nan' : 'NAN',
'null' : 'NULL',
'object' : 'OBJECT',
@@ -97,8 +100,10 @@ class IDLLexer(object):
'Promise' : 'PROMISE',
'readonly' : 'READONLY',
'RegExp' : 'REGEXP',
+ 'required' : 'REQUIRED',
'sequence' : 'SEQUENCE',
'serializer' : 'SERIALIZER',
+ 'setlike' : 'SETLIKE',
'setter': 'SETTER',
'short' : 'SHORT',
'static' : 'STATIC',
« no previous file with comments | « no previous file | tools/idl_parser/idl_parser.py » ('j') | tools/idl_parser/idl_parser.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698