Home | History | Annotate | Download | only in debug

Lines Matching refs:Script

79   SCRIPT_TYPE : 'script',
265 Script: 6 };
454 * Check whether the mirror reflects a script.
455 * @returns {boolean} True if the mirror reflects a script
945 * Returns the script object for the function.
946 * @return {ScriptMirror or undefined} Script object for the function or
947 * undefined if the function has no script
949 FunctionMirror.prototype.script = function() {
950 // Return script if function is resolved. Otherwise just fall through
956 var script = %FunctionGetScript(this.value_);
957 if (script) {
958 return this.script_ = MakeMirror(script);
965 * Returns the script source position for the function. Only makes sense
966 * for functions which has a script defined.
967 * @return {Number or undefined} in-script position for the function
979 * Returns the script source location object for the function. Only makes sense
980 * for functions which has a script defined.
981 * @return {Location or undefined} in-script location for the function begin
985 var script = this.script();
986 if (script) {
987 return script.locationFromPosition(this.sourcePosition_(), true);
1421 var script = this.func().script();
1422 if (script) {
1423 return script.locationFromPosition(pos, true);
1933 var script = func.script();
1934 if (script) {
1935 return script.locationFromPosition(this.sourcePosition(), true);
1989 var script = this.func().script();
1997 var offset = script.locationFromPosition(funcOffset + stepInRaw[i],
2106 var script = func.script();
2107 if (script) {
2108 if (script.name()) {
2109 result += script.name();
2282 // For local, closure and script scopes create a transient mirror
2287 this.scopeType() == ScopeType.Script;
2298 * Mirror object for script source.
2299 * @param {Script} script The script object
2303 function ScriptMirror(script) {
2305 this.script_ = script;
2306 this.context_ = new ContextMirror(script.context_data);
2570 if (mirror.script()) {
2571 o.scriptId = mirror.script().id();
2672 // Script is represented by id, name and source attributes.
2692 // For compilation type eval emit information on the script from which
2693 // eval was called if a script is present.
2764 if (mirror.script()) {
2765 content.script = this.serializeReference(mirror.script());
2766 content.scriptId = mirror.script().id();
2922 var script = func.script();
2923 if (script) {
2924 content.script = this.serializeReference(script);