2021-06-11 23:32:22 +02:00
|
|
|
==================
|
|
|
|
|
nonary function call
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
foo = bar()
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
(config_file
|
|
|
|
|
(body
|
|
|
|
|
(attribute
|
|
|
|
|
(identifier)
|
2021-06-14 00:55:24 +02:00
|
|
|
(expression (expr_term (function_call (identifier)))))))
|
2021-06-11 23:32:22 +02:00
|
|
|
|
|
|
|
|
==================
|
|
|
|
|
unary function call
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
foo = bar("foo")
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
(config_file
|
|
|
|
|
(body
|
|
|
|
|
(attribute
|
|
|
|
|
(identifier)
|
|
|
|
|
(expression
|
|
|
|
|
(expr_term
|
|
|
|
|
(function_call
|
|
|
|
|
(identifier)
|
|
|
|
|
(function_arguments
|
2021-06-14 00:55:24 +02:00
|
|
|
(expression (expr_term (template_expr (quoted_template)))))))))))
|
2021-06-11 23:32:22 +02:00
|
|
|
|
|
|
|
|
==================
|
|
|
|
|
variadic function call
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
foo = bar(x...)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
(config_file
|
|
|
|
|
(body
|
|
|
|
|
(attribute
|
|
|
|
|
(identifier)
|
|
|
|
|
(expression
|
|
|
|
|
(expr_term
|
|
|
|
|
(function_call
|
|
|
|
|
(identifier)
|
|
|
|
|
(function_arguments
|
2021-06-11 23:57:34 +02:00
|
|
|
(expression (expr_term (variable_expr (identifier)))) (ellipsis))))))))
|
2021-06-11 23:32:22 +02:00
|
|
|
|
|
|
|
|
==================
|
|
|
|
|
multiline function call
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
foo = bar(
|
|
|
|
|
"a",
|
|
|
|
|
"b",
|
|
|
|
|
"c"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
(config_file
|
|
|
|
|
(body
|
|
|
|
|
(attribute
|
|
|
|
|
(identifier)
|
|
|
|
|
(expression
|
|
|
|
|
(expr_term
|
|
|
|
|
(function_call
|
|
|
|
|
(identifier)
|
|
|
|
|
(function_arguments
|
2021-06-14 00:55:24 +02:00
|
|
|
(expression (expr_term (template_expr (quoted_template))))
|
|
|
|
|
(expression (expr_term (template_expr (quoted_template))))
|
|
|
|
|
(expression (expr_term (template_expr (quoted_template)))))))))))
|
2021-06-11 23:32:22 +02:00
|
|
|
|