Lines Matching defs:script

1300   Object maybe_script = frame->function().shared().script();
1302 Handle<Script> script(Script::cast(maybe_script), this);
1304 Script::GetPositionInfo(script, position, &info, Script::WITH_OFFSET);
1379 // Frames that are subject to debugging always have a valid script object.
1380 Handle<Script> script = Handle<Script>::cast(summary.script());
1382 handle(script->GetNameOrSourceURL(), isolate_);
1603 Object::SetProperty(this, exception, key_script, location->script(),
1659 if (location == nullptr || location->script().is_null()) return;
1661 // and we have a script for the location.
1666 location->script()->GetLineNumber(location->start_pos()) + 1;
1667 if (exception->IsString() && location->script()->name().IsString()) {
1671 String::cast(location->script()->name()).ToCString().get(),
1673 } else if (location->script()->name().IsString()) {
1676 String::cast(location->script()->name()).ToCString().get(),
1687 if (location->script()->source().IsString()) {
1688 Handle<String> src(String::cast(location->script()->source()),
1689 location->script()->GetIsolate());
1690 PrintF("Failing script:");
1755 Handle<Script> script = location->script();
1756 Handle<Object> name(script->GetNameOrSourceURL(), this);
1770 Script::GetLineNumber(script, location->start_pos()) + 1,
1771 Script::GetColumnNumber(script, location->start_pos()),
1772 Script::GetLineNumber(script, location->end_pos()) + 1,
1773 Script::GetColumnNumber(script, location->end_pos()));
1777 PrintF(", line %d\n", script->GetLineNumber(location->start_pos()) + 1);
2360 Handle<Object> script = summary.script();
2361 if (!script->IsScript() || Script::cast(*script).source().IsUndefined(this)) {
2371 MessageLocation(Handle<Script>::cast(script), pos, pos + 1, shared);
2373 *target = MessageLocation(Handle<Script>::cast(script), shared,
2396 Handle<Object> script = JSReceiver::GetDataProperty(
2398 if (!script->IsScript()) return false;
2400 Handle<Script> cast_script(Script::cast(*script), this);
2435 *target = MessageLocation(handle(info->script(), this), pos, pos + 1);
2536 // The embedder might run script in response to an exception.
2575 Handle<Script> script(message->script(), this);
2583 MessageLocation location(script, start_pos, end_pos);