Make node for each var assignment in JS grammar
This commit is contained in:
parent
d3137c6ac6
commit
22ee68e1a9
6 changed files with 21960 additions and 29206 deletions
|
|
@ -12,13 +12,13 @@ parses constructor calls
|
|||
==========================================
|
||||
var x = new Node(5, new Node(3, null));
|
||||
---
|
||||
(var_declaration
|
||||
(var_declaration (var_assignment
|
||||
(identifier)
|
||||
(constructor_call (function_call (identifier)
|
||||
(number)
|
||||
(constructor_call (function_call (identifier)
|
||||
(number)
|
||||
(null))))))
|
||||
(null)))))))
|
||||
|
||||
==========================================
|
||||
parses property access with dot notation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue