Lines Matching refs:Script
1476 Local<Script> Script::New(v8::Handle<String> source,
1481 ON_BAILOUT(isolate, "v8::Script::New()", return Local<Script>());
1482 LOG_API(isolate, "Script::New");
1522 EXCEPTION_BAILOUT_CHECK(isolate, Local<Script>());
1526 return Local<Script>(ToApi<Script>(result));
1530 Local<Script> Script::New(v8::Handle<String> source,
1537 Local<Script> Script::Compile(v8::Handle<String> source,
1542 ON_BAILOUT(isolate, "v8::Script::Compile()", return Local<Script>());
1543 LOG_API(isolate, "Script::Compile");
1545 Local<Script> generic = New(source, origin, pre_data, script_data);
1555 return Local<Script>(ToApi<Script>(result));
1559 Local<Script> Script::Compile(v8::Handle<String> source,
1567 Local<Value> Script::Run() {
1569 ON_BAILOUT(isolate, "v8::Script::Run()", return Local<Value>());
1570 LOG_API(isolate, "Script::Run");
1598 static i::Handle<i::SharedFunctionInfo> OpenScript(Script* script) {
1599 i::Handle<i::Object> obj = Utils::OpenHandle(script);
1612 Local<Value> Script::Id() {
1614 ON_BAILOUT(isolate, "v8::Script::Id()", return Local<Value>());
1615 LOG_API(isolate, "Script::Id");
1620 i::Handle<i::Script> script(i::Script::cast(function_info->script()));
1621 i::Handle<i::Object> id(script->id());
1629 void Script::SetData(v8::Handle<String> data) {
1631 ON_BAILOUT(isolate, "v8::Script::SetData()", return);
1632 LOG_API(isolate, "Script::SetData");
1637 i::Handle<i::Script> script(i::Script::cast(function_info->script()));
1638 script->set_data(*raw_data);
1771 // Return this.script.name.
1772 i::Handle<i::JSValue> script =
1773 i::Handle<i::JSValue>::cast(i::Handle<i::Object>(message->script()));
1774 i::Handle<i::Object> resource_name(i::Script::cast(script->value())->name());
1788 // Return this.script.data.
1789 i::Handle<i::JSValue> script =
1790 i::Handle<i::JSValue>::cast(i::Handle<i::Object>(message->script()));
1791 i::Handle<i::Object> data(i::Script::cast(script->value())->data());
3644 if (func->shared()->script()->IsScript()) {
3645 i::Handle<i::Script> script(i::Script::cast(func->shared()->script()));
3647 Utils::ToLocal(i::Handle<i::Object>(script->name())),
3648 v8::Integer::New(script->line_offset()->value()),
3649 v8::Integer::New(script->column_offset()->value()));
3661 if (func->shared()->script()->IsScript()) {
3662 i::Handle<i::Script> script(i::Script::cast(func->shared()->script()));
3663 return i::GetScriptLineNumber(script, func->shared()->start_position());
3671 if (func->shared()->script()->IsScript()) {
3672 i::Handle<i::Script> script(i::Script::cast(func->shared()->script()));
3673 return i::GetScriptColumnNumber(script, func->shared()->start_position());
3680 if (!func->shared()->script()->IsScript())
3682 i::Handle<i::Script> script(i::Script::cast(func->shared()->script()));
3683 return Utils::ToLocal(i::Handle<i::Object>(script->id()));