mirror of https://github.com/t1meshift/js.git
Add `name` field in Identifier
parent
6372a043a2
commit
42b4e40d9e
|
@ -1099,3 +1099,4 @@ class Identifier(Expression, Pattern):
|
|||
def __init__(self, loc: Optional[SourceLocation], name: str):
|
||||
super().__init__("Identifier", loc)
|
||||
self.name = name
|
||||
self._fields.update({"name": self.name})
|
||||
|
|
Loading…
Reference in New Issue