Fix handling of ubiquitous tokens used in grammar rules
This commit is contained in:
parent
59cc65c2e3
commit
83a1b9439e
30 changed files with 39086 additions and 32890 deletions
|
|
@ -34,6 +34,18 @@ print(object.property);
|
|||
(identifier)
|
||||
(property_access (identifier) (identifier)))))
|
||||
|
||||
==========================================
|
||||
parses property access across lines
|
||||
==========================================
|
||||
object
|
||||
.someProperty
|
||||
.otherProperty
|
||||
---
|
||||
(program (expression_statement
|
||||
(property_access
|
||||
(property_access (identifier) (identifier))
|
||||
(identifier))))
|
||||
|
||||
===========================================
|
||||
parses dynamic property access
|
||||
==========================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue