Lines Matching refs:script
284 var script = %MessageGetScript(message);
285 var location = script.locationFromPosition(start_position, true);
294 var script = %MessageGetScript(message);
296 var location = script.locationFromPosition(start_position, true);
608 function SourceLocation(script, position, line, column, start, end) { argument
609 this.script = script;
675 return %_CallFunction(this.script.source,
709 function SourceSlice(script, from_line, to_line, from_position, to_position) { argument
710 this.script = script;
723 return %_CallFunction(this.script.source,
738 var script = %MessageGetScript(message);
740 var location = script.locationFromPosition(start_position, false);
807 var script = %FunctionGetScript(this.fun);
808 return script && script.compilation_type == COMPILATION_TYPE_EVAL;
812 var script = %FunctionGetScript(this.fun);
813 return FormatEvalOrigin(script);
817 var script = %FunctionGetScript(this.fun);
818 return script ? script.nameOrSourceURL() : null;
834 var script = %FunctionGetScript(this.fun);
835 if (script && script.compilation_type == COMPILATION_TYPE_EVAL) {
877 var script = %FunctionGetScript(this.fun);
878 return script ? script.name : null;
885 var script = %FunctionGetScript(this.fun);
887 if (script) {
888 location = script.locationFromPosition(this.pos, true);
897 var script = %FunctionGetScript(this.fun);
899 if (script) {
900 location = script.locationFromPosition(this.pos, true);
906 var script = %FunctionGetScript(this.fun);
907 return script ? (script.type == TYPE_NATIVE) : false;
941 function FormatEvalOrigin(script) { argument
942 var sourceURL = script.nameOrSourceURL();
948 if (script.eval_from_function_name) {
949 eval_origin += script.eval_from_function_name;
954 var eval_from_script = script.eval_from_script;
964 script.eval_from_script_position, true);