Lines Matching refs:info
118 static void New(const FunctionCallbackInfo<Value>& info) {
119 Environment* env = Environment::GetCurrent(info);
120 CHECK(info[0]->IsFunction());
121 Local<Function> callback = info[0].As<Function>();
122 new JSBindingsConnection(env, info.This(), callback);
132 static void Disconnect(const FunctionCallbackInfo<Value>& info) {
134 ASSIGN_OR_RETURN_UNWRAP(&session, info.Holder());
138 static void Dispatch(const FunctionCallbackInfo<Value>& info) {
139 Environment* env = Environment::GetCurrent(info);
141 ASSIGN_OR_RETURN_UNWRAP(&session, info.Holder());
142 CHECK(info[0]->IsString());
146 ToProtocolString(env->isolate(), info[0])->string());
173 void SetConsoleExtensionInstaller(const FunctionCallbackInfo<Value>& info) {
174 auto env = Environment::GetCurrent(info);
176 CHECK_EQ(info.Length(), 1);
177 CHECK(info[0]->IsFunction());
179 env->set_inspector_console_extension_installer(info[0].As<Function>());
196 void InspectorConsoleCall(const FunctionCallbackInfo<Value>& info) {
197 Environment* env = Environment::GetCurrent(info);
200 CHECK_GE(info.Length(), 2);
201 SlicedArguments call_args(info, /* start */ 2);
203 Local<Value> inspector_method = info[0];
209 info.Holder(),
218 Local<Value> node_method = info[1];
221 info.Holder(),