mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update the WebIDL parser.
This commit is contained in:
parent
2382d71242
commit
4157a2b02b
5 changed files with 339 additions and 105 deletions
|
@ -1,16 +1,18 @@
|
|||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -450,44 +450,8 @@ class IDLIdentifierPlaceholder(IDLObjectWithIdentifier):
|
||||
@@ -505,46 +505,8 @@ class IDLExposureMixins():
|
||||
|
||||
class IDLExternalInterface(IDLObjectWithIdentifier):
|
||||
class IDLExternalInterface(IDLObjectWithIdentifier, IDLExposureMixins):
|
||||
def __init__(self, location, parentScope, identifier):
|
||||
- assert isinstance(identifier, IDLUnresolvedIdentifier)
|
||||
- assert isinstance(parentScope, IDLScope)
|
||||
- self.parent = None
|
||||
- IDLObjectWithIdentifier.__init__(self, location, parentScope, identifier)
|
||||
- IDLExposureMixins.__init__(self, location)
|
||||
- IDLObjectWithIdentifier.resolve(self, parentScope)
|
||||
-
|
||||
- def finish(self, scope):
|
||||
- IDLExposureMixins.finish(self, scope)
|
||||
- pass
|
||||
-
|
||||
- def validate(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue