Lines Matching refs:Script
562 Handle<Script> script(Script::cast(fun->shared()->script()));
565 int script_line_offset = script->line_offset()->value();
567 int line_number = GetScriptLineNumber(script, position);
571 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends()));
576 // For the case where the code is on the same line as the script
578 column_offset += script->column_offset()->value();
594 Handle<Smi> script_id(script->id(), this);
602 Handle<Object> script_name(script->name(), this);
610 Handle<Object> result = GetScriptNameOrSourceURL(script);
629 script->compilation_type() == Script::COMPILATION_TYPE_EVAL ?
972 Object* script = reinterpret_cast<Object*>(handler->message_script_);
974 ASSERT(script->IsScript() || script->IsTheHole());
976 thread_local_top()->pending_message_script_ = script;
1019 *target = MessageLocation(Handle<Script>(heap_.empty_script()), -1, -1);
1024 Object* script = fun->shared()->script();
1025 if (script->IsScript() &&
1026 !(Script::cast(script)->source()->IsUndefined())) {
1029 Handle<Script> casted_script(Script::cast(script));
1170 thread_local_top()->pending_message_script_ = *location->script();
1189 } else if (location != NULL && !location->script().is_null()) {
1191 // and we have a script for the location.
1195 int line_number = GetScriptLineNumberSafe(location->script(),
1197 if (exception->IsString() && location->script()->name()->IsString()) {
1201 *String::cast(location->script()->name())->ToCString(),
1203 } else if (location->script()->name()->IsString()) {
1206 *String::cast(location->script()->name())->ToCString(),
1291 Handle<Script> script(
1292 Script::cast(thread_local_top_.pending_message_script_));
1295 MessageLocation location(script, start_pos, end_pos);
1315 Handle<Script> script(
1316 Script::cast(thread_local_top_.pending_message_script_));
1319 return MessageLocation(script, start_pos, end_pos);