Lines Matching defs:formatter
178 if (!bodyConfig->Get(context, toV8String(isolate, "formatter"))
184 reportError(context, tryCatch, "formatter should be an Object");
187 v8::Local<v8::Object> formatter = formatterValue.As<v8::Object>();
190 if (!formatter->Get(context, toV8String(isolate, "body"))
232 if (!bodyFunction->Call(context, formatter, 2, args)
288 reportError(context, tryCatch, "formatter should be an Object");
291 v8::Local<v8::Object> formatter = formatterValue.As<v8::Object>();
294 if (!formatter->Get(context, headerLiteral).ToLocal(&headerValue)) {
306 if (!headerFunction->Call(context, formatter, 2, args)
315 if (!formatter->Get(context, hasBodyLiteral)
324 if (!hasBodyFunction->Call(context, formatter, 2, args)
353 ->CreateDataProperty(context, toV8String(isolate, "formatter"),
354 formatter)