Make node for each var assignment in JS grammar

This commit is contained in:
Max Brunsfeld 2014-10-15 15:04:57 -07:00
parent d3137c6ac6
commit 22ee68e1a9
6 changed files with 21960 additions and 29206 deletions

View file

@ -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