* @brief Expression parser: parse complex elements (bracketed expressions) */
| 411 | * @brief Expression parser: parse complex elements (bracketed expressions) |
| 412 | */ |
| 413 | static PropertySelectorBase * |
| 414 | extract_element (tl::Extractor &ex) |
| 415 | { |
| 416 | if (ex.test ("(")) { |
| 417 | PropertySelectorBase *expr = extract_top (ex); |
| 418 | ex.expect (")"); |
| 419 | return expr; |
| 420 | } else { |
| 421 | return extract_base (ex); |
| 422 | } |
| 423 | } |
| 424 | |
| 425 | /** |
| 426 | * @brief Expression parser: parse unary operations with one argument |
no test coverage detected