Make expression and statement rules hidden in javascript grammar

This commit is contained in:
Max Brunsfeld 2015-09-02 13:05:31 -07:00
parent 76e2067ee0
commit acf9280eda
7 changed files with 20060 additions and 19562 deletions

View file

@ -83,7 +83,7 @@ var thing = {
(formal_parameters (identifier) (comment))
(statement_block
(comment)
(expression_statement (function_call (identifier))))))))))
(expression_statement (function_call (identifier) (arguments))))))))))
==========================================
comments within expressions
@ -95,4 +95,4 @@ y // comment
---
(program (expression_statement
(math_op (expression (identifier) (comment)) (identifier))))
(math_op (identifier) (comment) (identifier))))