Home | History | Annotate | Download | only in debug

Lines Matching refs:script

72   SCRIPT_TYPE : 'script',
258 Script: 6,
450 * Check whether the mirror reflects a script.
451 * @returns {boolean} True if the mirror reflects a script
941 * Returns the script object for the function.
942 * @return {ScriptMirror or undefined} Script object for the function or
943 * undefined if the function has no script
945 FunctionMirror.prototype.script = function() {
946 // Return script if function is resolved. Otherwise just fall through
952 var script = %FunctionGetScript(this.value_);
953 if (script) {
954 return this.script_ = MakeMirror(script);
961 * Returns the script source position for the function. Only makes sense
962 * for functions which has a script defined.
963 * @return {Number or undefined} in-script position for the function
975 * Returns the script source location object for the function. Only makes sense
976 * for functions which has a script defined.
977 * @return {Location or undefined} in-script location for the function begin
981 var script = this.script();
982 if (script) {
983 return script.locationFromPosition(this.sourcePosition_(), true);
1431 var script = this.func().script();
1432 if (script) {
1433 return script.locationFromPosition(pos, true);
1673 * 3: Script
1711 FrameDetails.prototype.script = function() {
1882 FrameMirror.prototype.script = function() {
1884 this.script_ = MakeMirror(this.details_.script());
1967 var script = this.script();
1968 if (script) {
1969 return script.locationFromPosition(this.sourcePosition(), true);
2117 var script = func.script();
2118 if (script) {
2119 if (script.name()) {
2120 result += script.name();
2328 // For local, closure and script scopes create a transient mirror
2333 this.scopeType() == ScopeType.Script;
2344 * Mirror object for script source.
2345 * @param {Script} script The script object
2349 function ScriptMirror(script) {
2351 this.script_ = script;
2352 this.context_ = new ContextMirror(script.context_data);
2612 if (mirror.script()) {
2613 o.scriptId = mirror.script().id();
2714 // Script is represented by id, name and source attributes.
2734 // For compilation type eval emit information on the script from which
2735 // eval was called if a script is present.
2806 if (mirror.script()) {
2807 content.script = this.serializeReference(mirror.script());
2808 content.scriptId = mirror.script().id();
2964 var script = func.script();
2965 if (script) {
2966 content.script = this.serializeReference(script);