1- // Autogenerated by hob
1+ // Autogenerated by hob
22window . cls || ( window . cls = { } ) ;
33cls . EcmascriptDebugger || ( cls . EcmascriptDebugger = { } ) ;
44cls . EcmascriptDebugger [ "6.14" ] || ( cls . EcmascriptDebugger [ "6.14" ] = { } ) ;
55
6- /**
6+ /**
77 * Frames are in innermost-first order.
88 */
99cls . EcmascriptDebugger [ "6.14" ] . BacktraceFrameList = function ( arr )
@@ -12,11 +12,11 @@ cls.EcmascriptDebugger["6.14"].BacktraceFrameList = function(arr)
1212 {
1313 return new cls . EcmascriptDebugger [ "6.14" ] . BacktraceFrame ( item ) ;
1414 } ) ;
15- /**
15+ /**
1616 * The list of return values that were returned from the most recent
1717 * function calls. List is cleared upon calling a function.
1818 * Most recently returned value is first in the list.
19- *
19+ *
2020 * @since 6.10
2121 */
2222 this . returnValueList = ( arr [ 1 ] || [ ] ) . map ( function ( item )
@@ -31,29 +31,29 @@ cls.EcmascriptDebugger["6.14"].BacktraceFrame = function(arr)
3131 this . argumentObject = arr [ 1 ] ;
3232 this . variableObject = arr [ 2 ] ;
3333 this . thisObject = arr [ 3 ] ;
34- /**
34+ /**
3535 * TODO: Spec says repeated, while the code only assumes one (required)
3636 */
3737 this . objectValue = arr [ 4 ] ? new cls . EcmascriptDebugger [ "6.14" ] . ObjectValue ( arr [ 4 ] , this ) : null ;
3838 this . scriptID = arr [ 5 ] ;
3939 this . lineNumber = arr [ 6 ] ;
40- /**
40+ /**
4141 * The variable objects in the scope chain of the function. The first
4242 * element in the list is the innermost scope (the scope of the function
4343 * itself). The list includes the global scope.
44- *
44+ *
4545 * @since 6.1
4646 */
4747 this . scopeList = arr [ 7 ] || [ ] ;
48- /**
48+ /**
4949 * The full value of the 'arguments' object.
50- *
50+ *
5151 * @since 6.2
5252 */
5353 this . argumentValue = arr [ 8 ] ? new cls . EcmascriptDebugger [ "6.14" ] . ObjectValue ( arr [ 8 ] , this ) : null ;
54- /**
54+ /**
5555 * The full value of the 'this' object.
56- *
56+ *
5757 * @since 6.2
5858 */
5959 this . thisValue = arr [ 9 ] ? new cls . EcmascriptDebugger [ "6.14" ] . ObjectValue ( arr [ 9 ] , this ) : null ;
@@ -63,149 +63,149 @@ cls.EcmascriptDebugger["6.14"].ObjectValue = function(arr)
6363{
6464 this . objectID = arr [ 0 ] ;
6565 this . isCallable = arr [ 1 ] ;
66- /**
66+ /**
6767 * type, function or object
6868 */
6969 this . type = arr [ 2 ] ;
7070 this . prototypeID = arr [ 3 ] ;
71- /**
71+ /**
7272 * The class of the object.
7373 */
7474 this . className = arr [ 4 ] ;
75- /**
75+ /**
7676 * If the object is a function, this is the name of
7777 * the variable associated with that function (if any).
7878 */
7979 this . functionName = arr [ 5 ] ;
8080} ;
8181
82- /**
82+ /**
8383 * The object representing return value of a function. Includes context
8484 * information indicating where from and where to the value was returned (script
8585 * id, line number), returned value and function object itself that returned
8686 * the value.
87- *
87+ *
8888 * @since 6.10
8989 */
9090cls . EcmascriptDebugger [ "6.14" ] . ReturnValue = function ( arr )
9191{
92- /**
92+ /**
9393 * The value that was returned.
9494 */
9595 this . value = arr [ 0 ] ? new cls . EcmascriptDebugger [ "6.14" ] . Value ( arr [ 0 ] , this ) : null ;
96- /**
96+ /**
9797 * The function object from which the value was returned.
9898 */
9999 this . functionFrom = arr [ 1 ] ? new cls . EcmascriptDebugger [ "6.14" ] . ObjectValue ( arr [ 1 ] , this ) : null ;
100- /**
100+ /**
101101 * The position where the value was returned from.
102102 */
103103 this . positionFrom = arr [ 2 ] ? new cls . EcmascriptDebugger [ "6.14" ] . Position ( arr [ 2 ] , this ) : null ;
104- /**
104+ /**
105105 * The position where the value was returned to.
106106 */
107107 this . positionTo = arr [ 3 ] ? new cls . EcmascriptDebugger [ "6.14" ] . Position ( arr [ 3 ] , this ) : null ;
108108} ;
109109
110- /**
110+ /**
111111 * Represents an ECMAScript value, a value is either one of the primitives
112112 * like string or boolean or an object.
113113 */
114114cls . EcmascriptDebugger [ "6.14" ] . Value = function ( arr )
115115{
116- /**
116+ /**
117117 * The type of value.
118- *
118+ *
119119 * @note Booleans are encoded as either TRUE or FALSE to shorten the number
120120 * fields in use.
121121 */
122122 // cls.EcmascriptDebugger["6.14"].Value.Type
123123 this . type = arr [ 0 ] ;
124- /**
124+ /**
125125 * The numeric value, set if type = NUMBER.
126126 */
127127 this . number = arr [ 1 ] ;
128- /**
128+ /**
129129 * The string, set if type = STRING.
130130 */
131131 this . str = arr [ 2 ] ;
132- /**
132+ /**
133133 * Object information, set if type = OBJECT.
134134 */
135135 this . object = arr [ 3 ] ? new cls . EcmascriptDebugger [ "6.14" ] . ObjectValue ( arr [ 3 ] , this ) : null ;
136136} ;
137137cls . EcmascriptDebugger [ "6.14" ] . Value . Type =
138138{
139- /**
139+ /**
140140 * The undefined type, returned when no value was found or "undefined"
141141 * was referenced.
142142 */
143143 0 : "UNDEFINED" ,
144- /**
144+ /**
145145 * A null value.
146146 */
147147 1 : "NULL" ,
148- /**
148+ /**
149149 * Boolean value true.
150150 */
151151 2 : "TRUE" ,
152- /**
152+ /**
153153 * Boolean value false.
154154 */
155155 3 : "FALSE" ,
156- /**
156+ /**
157157 * NaN value which cannot be exported to JSON directly.
158158 * Should be treated like a number.
159- *
159+ *
160160 * ECMAScript users should use this code to get the value natively::
161- *
161+ *
162162 * parseFloat("NaN")
163163 */
164164 4 : "NAN" ,
165- /**
165+ /**
166166 * Plus infinity value which cannot be export to JSON directly.
167167 * Should be treated like a number.
168- *
168+ *
169169 * ECMAScript users should use this code to get the value natively::
170- *
170+ *
171171 * parseFloat("Infinity")
172172 */
173173 5 : "PLUS_INFINITY" ,
174- /**
174+ /**
175175 * Minus infinity value which cannot be export to JSON directly.
176176 * Should be treated like a number.
177- *
177+ *
178178 * ECMAScript users should use this code to get the value natively::
179- *
179+ *
180180 * parseFloat("-Infinity")
181181 */
182182 6 : "MINUS_INFINITY" ,
183- /**
183+ /**
184184 * A number, use the field 'number' for the actual value.
185185 */
186186 7 : "NUMBER" ,
187- /**
187+ /**
188188 * A string, use the field 'str' for the actual string data.
189189 */
190190 8 : "STRING" ,
191- /**
191+ /**
192192 * An object, the field 'object' contains object details.
193193 */
194194 9 : "OBJECT" ,
195195} ;
196196
197- /**
197+ /**
198198 * Defines the position in a script. The position is identified by the ID of
199199 * the script and the line number in the script.
200200 */
201201cls . EcmascriptDebugger [ "6.14" ] . Position = function ( arr )
202202{
203- /**
203+ /**
204204 * ID of the script which contains the position.
205205 * The ID will be set in the ScriptInfo message when a new script appears.
206206 */
207207 this . scriptID = arr [ 0 ] ;
208- /**
208+ /**
209209 * The line number in the script.
210210 */
211211 this . lineNumber = arr [ 1 ] ;
0 commit comments