Home | History | Annotate | Download | only in src

Lines Matching defs:script

168   Object* script = JSValue::cast(object)->value();
169 return Script::cast(script)->source();
186 Object* script = JSValue::cast(object)->value();
187 return Script::cast(script)->name();
204 Object* script = JSValue::cast(object)->value();
205 return Script::cast(script)->id();
222 Object* script = JSValue::cast(object)->value();
223 return Script::cast(script)->line_offset();
240 Object* script = JSValue::cast(object)->value();
241 return Script::cast(script)->column_offset();
258 Object* script = JSValue::cast(object)->value();
259 return Script::cast(script)->data();
276 Object* script = JSValue::cast(object)->value();
277 return Script::cast(script)->type();
294 Object* script = JSValue::cast(object)->value();
295 return Smi::FromInt(Script::cast(script)->compilation_type());
315 Handle<Script> script(Script::cast(wrapper->value()), isolate);
316 InitScriptLineEnds(script);
317 ASSERT(script->line_ends()->IsFixedArray());
318 Handle<FixedArray> line_ends(FixedArray::cast(script->line_ends()));
341 Object* script = JSValue::cast(object)->value();
342 return Script::cast(script)->context_data();
359 Object* script = JSValue::cast(object)->value();
360 if (!Script::cast(script)->eval_from_shared()->IsUndefined()) {
362 SharedFunctionInfo::cast(Script::cast(script)->eval_from_shared()));
364 if (eval_from_shared->script()->IsScript()) {
365 Handle<Script> eval_from_script(Script::cast(eval_from_shared->script()));
386 Script* raw_script = Script::cast(JSValue::cast(object)->value());
388 Handle<Script> script(raw_script);
390 // If this is not a script compiled through eval there is no eval position.
391 if (script->compilation_type() != Script::COMPILATION_TYPE_EVAL) {
392 return script->GetHeap()->undefined_value();
398 script->eval_from_shared())->code());
400 script->eval_from_instructions_offset()->value()));
417 Object* script = JSValue::cast(object)->value();
419 Script::cast(script)->eval_from_shared()));