Lines Matching refs:Script
39 return script->type() == Script::TYPE_NATIVE; in IsNative()
46 return script->compilation_type() == Script::COMPILATION_TYPE_EVAL; in IsEval()
78 Handle<Script> script; in GetLineNumber()
81 int line_number = Script::GetLineNumber(script, position) + 1; in GetLineNumber()
99 Handle<Script> script; in GetColumnNumber()
101 int column_number = Script::GetColumnNumber(script, position) + 1; in GetColumnNumber()
103 if (Script::GetLineNumber(script, position) == script->line_offset()) { in GetColumnNumber()
120 Handle<Script> script; in GetEnclosingLineNumber()
130 return Script::GetLineNumber(script, position) + 1; in GetEnclosingLineNumber()
134 return Script::GetLineNumber(script, position) + 1; in GetEnclosingLineNumber()
147 Handle<Script> script; in GetEnclosingColumnNumber()
157 return Script::GetColumnNumber(script, position) + 1; in GetEnclosingColumnNumber()
161 return Script::GetColumnNumber(script, position) + 1; in GetEnclosingColumnNumber()
203 MaybeHandle<String> FormatEvalOrigin(Isolate* isolate, Handle<Script> script) { in FormatEvalOrigin()
218 Handle<Script> eval_script(Script::cast(eval_shared->script()), isolate); in FormatEvalOrigin()
220 if (eval_script->compilation_type() == Script::COMPILATION_TYPE_EVAL) { in FormatEvalOrigin()
231 Script::PositionInfo info; in FormatEvalOrigin()
232 if (Script::GetPositionInfo(eval_script, in FormatEvalOrigin()
233 Script::GetEvalPosition(isolate, script), in FormatEvalOrigin()
234 &info, Script::NO_OFFSET)) { in FormatEvalOrigin()
258 Handle<Script> script; in GetEvalOrigin()
260 script->compilation_type() != Script::COMPILATION_TYPE_EVAL) { in GetEvalOrigin()
532 Handle<Script> script(info->GetWasmInstance().module_object().script(), in ComputeLocation()
541 Handle<Script> script(Script::cast(shared->script()), isolate); in ComputeLocation()
573 base::Optional<Script> CallSiteInfo::GetScript() const { in GetScript()
580 if (script.IsScript()) return Script::cast(script); in GetScript()
592 MaybeHandle<Script> CallSiteInfo::GetScript(Isolate* isolate, in GetScript()