Make expression and statement rules hidden in javascript grammar
This commit is contained in:
parent
76e2067ee0
commit
acf9280eda
7 changed files with 20060 additions and 19562 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue