| 225 | void pushArg (bool v) override { currentCallContext->functionArgs.emplace_back (v8::Boolean::New (isolate, v)); } |
| 226 | |
| 227 | void prepareForCall (std::string_view name, uint32_t numArgs) override |
| 228 | { |
| 229 | currentCallContext = std::make_unique<CurrentCallContext> (*this); |
| 230 | currentCallContext->functionName = stringToV8 (name, v8::NewStringType::kInternalized); |
| 231 | currentCallContext->functionArgs.reserve (numArgs); |
| 232 | } |
| 233 | |
| 234 | choc::value::Value performCall() override |
| 235 | { |
no test coverage detected