Lines Matching refs:Script
1126 // Changes the state of a break point in a script and returns source position
1129 // args[0]: script to set break point in
1130 // args[1]: number: break source position (within the script source)
1149 // Get the script from the script wrapper.
1151 Handle<Script> script(Script::cast(wrapper->value()));
1154 if (!isolate->debug()->SetBreakPointForScript(script, break_point_object_arg,
1309 // Fill the script objects.
1313 // Convert the script objects to proper JS objects.
1315 Handle<Script> script = Handle<Script>(Script::cast(instances->get(i)));
1316 // Get the script wrapper in a local handle before calling GetScriptWrapper,
1318 // instances->set(i, *GetScriptWrapper(script))
1321 Handle<JSObject> wrapper = Script::GetWrapper(script);
1451 // Patches script source (should be called upon BeforeCompile event).
1460 Handle<Script> script(Script::cast(script_wrapper->value()));
1462 int compilation_state = script->compilation_state();
1463 RUNTIME_ASSERT(compilation_state == Script::COMPILATION_STATE_INITIAL);
1464 script->set_source(*source);
1598 // Finds the script object from the script data. NOTE: This operation uses
1609 Handle<Script> found;
1611 Script::Iterator iterator(isolate);
1612 Script* script = NULL;
1613 while ((script = iterator.Next()) != NULL) {
1614 if (!script->name()->IsString()) continue;
1615 String* name = String::cast(script->name());
1617 found = Handle<Script>(script, isolate);
1624 return *Script::GetWrapper(found);