Home | History | Annotate | Download | only in src

Lines Matching defs:script

479       Handle<Script> script(Script::cast(fun->shared()->script()));
482 int script_line_offset = script->line_offset()->value();
484 int line_number = Script::GetLineNumber(script, position);
488 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends()));
493 // For the case where the code is on the same line as the script
495 column_offset += script->column_offset()->value();
507 Handle<Smi> script_id(script->id(), this);
513 Handle<Object> script_name(script->name(), this);
519 Handle<Object> result = Script::GetNameOrSourceURL(script);
535 script->compilation_type() == Script::COMPILATION_TYPE_EVAL ?
901 Object* script = reinterpret_cast<Object*>(handler->message_script_);
903 ASSERT(script->IsScript() || script->IsTheHole());
905 thread_local_top()->pending_message_script_ = script;
948 *target = MessageLocation(Handle<Script>(heap_.empty_script()), -1, -1);
953 Object* script = fun->shared()->script();
954 if (script->IsScript() &&
955 !(Script::cast(script)->source()->IsUndefined())) {
958 Handle<Script> casted_script(Script::cast(script));
1095 thread_local_top()->pending_message_script_ = *location->script();
1114 } else if (location != NULL && !location->script().is_null()) {
1116 // and we have a script for the location.
1121 location->script()->GetLineNumber(location->start_pos()) + 1;
1122 if (exception->IsString() && location->script()->name()->IsString()) {
1126 String::cast(location->script()->name())->ToCString().get(),
1128 } else if (location->script()->name()->IsString()) {
1131 String::cast(location->script()->name())->ToCString().get(),
1139 if (location->script()->source()->IsString()) {
1140 Handle<String> src(String::cast(location->script()->source()));
1141 PrintF("Failing script:\n");
1223 Handle<Script> script(
1224 Script::cast(thread_local_top_.pending_message_script_));
1227 MessageLocation location(script, start_pos, end_pos);
1246 Handle<Script> script(
1247 Script::cast(thread_local_top_.pending_message_script_));
1250 return MessageLocation(script, start_pos, end_pos);