| 1251 | |
| 1252 | template<typename T> |
| 1253 | struct Noop_AST_Node final : AST_Node_Impl<T> { |
| 1254 | Noop_AST_Node() : |
| 1255 | AST_Node_Impl<T>("", AST_Node_Type::Noop, Parse_Location()) |
| 1256 | { } |
| 1257 | |
| 1258 | Boxed_Value eval_internal(const chaiscript::detail::Dispatch_State &) const override{ |
| 1259 | // It's a no-op, that evaluates to "void" |
| 1260 | return val; |
| 1261 | } |
| 1262 | |
| 1263 | Boxed_Value val = void_var(); |
| 1264 | }; |
| 1265 | |
| 1266 | template<typename T> |
| 1267 | struct Map_Pair_AST_Node final : AST_Node_Impl<T> { |
nothing calls this directly
no test coverage detected