Lines Matching refs:script
573 Handle<Script> script(Script::cast(fun->shared()->script()));
576 int script_line_offset = script->line_offset()->value();
578 int line_number = GetScriptLineNumber(script, position);
582 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends()));
587 // For the case where the code is on the same line as the script
589 column_offset += script->column_offset()->value();
605 Handle<Object> script_name(script->name(), this);
612 Handle<Object> script_name(script->name(), this);
613 Handle<JSValue> script_wrapper = GetScriptWrapper(script);
641 int type = Smi::cast(script->compilation_type())->value();
642 Handle<Object> is_eval = (type == Script::COMPILATION_TYPE_EVAL) ?
991 *target = MessageLocation(Handle<Script>(heap_.empty_script()), -1, -1);
996 Object* script = fun->shared()->script();
997 if (script->IsScript() &&
998 !(Script::cast(script)->source()->IsUndefined())) {
1001 Handle<Script> casted_script(Script::cast(script));
1122 thread_local_top()->pending_message_script_ = *location->script();
1126 } else if (location != NULL && !location->script().is_null()) {
1128 // and we have a script for the location.
1132 int line_number = GetScriptLineNumberSafe(location->script(),
1215 Handle<Script> script(thread_local_top_.pending_message_script_);
1218 MessageLocation location(script, start_pos, end_pos);