2021-06-12 21:54:32 +02:00
|
|
|
==================
|
|
|
|
|
simple conditional expression
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
foo = predicate() ? 1: 2
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2021-06-14 23:33:28 +02:00
|
|
|
(config_file
|
|
|
|
|
(body
|
|
|
|
|
(attribute
|
|
|
|
|
(identifier)
|
|
|
|
|
(expression
|
|
|
|
|
(conditional
|
2021-06-12 21:54:32 +02:00
|
|
|
(expression (expr_term (function_call (identifier))))
|
2021-06-14 23:33:28 +02:00
|
|
|
(expression (expr_term (literal_value (numeric_lit))))
|
|
|
|
|
(expression (expr_term (literal_value (numeric_lit)))))))))
|
2021-06-12 21:54:32 +02:00
|
|
|
|