| 217 | }; |
| 218 | |
| 219 | class ternary_operator_expr |
| 220 | { |
| 221 | public: |
| 222 | ternary_operator_expr(expr&& first, expr&& second, expr&& third, nd::ternary_operator_type type); |
| 223 | |
| 224 | const expr& get_first() const; |
| 225 | |
| 226 | const expr& get_second() const; |
| 227 | |
| 228 | const expr& get_third() const; |
| 229 | |
| 230 | nd::ternary_operator_type get_type() const |
| 231 | { |
| 232 | return type; |
| 233 | } |
| 234 | |
| 235 | std::string to_string() const; |
| 236 | |
| 237 | private: |
| 238 | std::shared_ptr<std::array<expr, 3>> exprs; |
| 239 | nd::ternary_operator_type type; |
| 240 | }; |
| 241 | |
| 242 | class array_expr |
| 243 | { |
no outgoing calls
no test coverage detected