|
|
|
|
@ -138,3 +138,18 @@ x["some-string"];
|
|
|
|
|
(expression_statement (subscript_access (identifier) (identifier)))
|
|
|
|
|
(expression_statement (subscript_access (identifier) (string))))
|
|
|
|
|
|
|
|
|
|
============================================
|
|
|
|
|
Function calls
|
|
|
|
|
============================================
|
|
|
|
|
|
|
|
|
|
x.someMethod(arg1, "arg2");
|
|
|
|
|
(function() {})();
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
(program
|
|
|
|
|
(expression_statement (function_call
|
|
|
|
|
(member_access (identifier) (identifier))
|
|
|
|
|
(identifier) (string)))
|
|
|
|
|
(expression_statement (function_call
|
|
|
|
|
(expression (function (formal_parameters) (statement_block))))))
|
|
|
|
|
|