Lines Matching refs:if
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57 if (!opt_transient) {
60 if (mirror.value() === value) {
64 if (mirror.isNumber() && isNaN(mirror.value()) &&
71 if (IS_UNDEFINED(value)) {
73 } else if (IS_NULL(value)) {
75 } else if (IS_BOOLEAN(value)) {
77 } else if (IS_NUMBER(value)) {
79 } else if (IS_STRING(value)) {
81 } else if (IS_ARRAY(value)) {
83 } else if (IS_DATE(value)) {
85 } else if (IS_FUNCTION(value)) {
87 } else if (IS_REGEXP(value)) {
89 } else if (IS_ERROR(value)) {
91 } else if (IS_SCRIPT(value)) {
107 * undefined if no mirror with the requested handle was found
128 * function (not on Function.prototype). NOTE: If this file is to be loaded
238 * @returns {boolean} True if the mirror reflects a value.
247 * @returns {boolean} True if the mirror reflects the undefined value.
256 * @returns {boolean} True if the mirror reflects the null value
265 * @returns {boolean} True if the mirror reflects a boolean value
274 * @returns {boolean} True if the mirror reflects a number value
283 * @returns {boolean} True if the mirror reflects a string value
292 * @returns {boolean} True if the mirror reflects an object
301 * @returns {boolean} True if the mirror reflects a function
310 * @returns {boolean} True if the mirror reflects an unresolved function
319 * @returns {boolean} True if the mirror reflects an array
328 * @returns {boolean} True if the mirror reflects a date
337 * @returns {boolean} True if the mirror reflects a regular expression
346 * @returns {boolean} True if the mirror reflects an error
355 * @returns {boolean} True if the mirror reflects a property
364 * @returns {boolean} True if the mirror reflects a stack frame
373 * @returns {boolean} True if the mirror reflects a script
382 * @returns {boolean} True if the mirror reflects a context
391 * @returns {boolean} True if the mirror reflects a scope
433 if (!transient) {
449 * @return {boolean} True if the mirror reflects a primitive value
553 if (maxLength != -1 && this.length() > maxLength) {
630 if (kind & PropertyKind.Named) {
635 // Get names for named interceptor properties if any.
636 if (this.hasNamedInterceptor() && (kind & PropertyKind.Named)) {
639 if (namedInterceptorNames) {
647 if (kind & PropertyKind.Indexed) {
653 if (this.hasIndexedInterceptor() && (kind & PropertyKind.Indexed)) {
656 if (indexedInterceptorNames) {
668 if (kind & PropertyKind.Named) {
675 if (kind & PropertyKind.Indexed) {
706 if (details) {
719 * @return {PropertyMirror} The property with the specified value. If no
730 if (property.propertyType() != PropertyType.Callbacks) {
731 if (%_ObjectEquals(property.value_, value.value_)) {
765 if (!ctor.isFunction()) {
769 if (!name) {
792 * @return {boolean} True if the function is resolved. Unresolved functions can
820 * @return {string or undefined} The source code for the function. If the
824 // Return source if function is resolved. Otherwise just fall through to
826 if (this.resolved()) {
835 * undefined if the function has no script
838 // Return script if function is resolved. Otherwise just fall through
840 if (this.resolved()) {
842 if (script) {
855 // Return script if function is resolved. Otherwise just fall through
857 if (this.resolved()) {
869 if (this.resolved() && this.script()) {
883 if (this.resolved()) {
978 if (from_index > to_index) return new Array();
983 if (details) {
1113 if (details.length > 2) {
1144 if (this.name_[i] < '0' || '9' < this.name_[i]) {
1159 * @return {booolean} True if this property value is an exception
1183 * @return {booolean} True if this property has a getter
1192 * @return {booolean} True if this property has a setter
1202 * UndefinedMirror if there is no getter for this property
1205 if (this.hasGetter()) {
1216 * UndefinedMirror if there is no setter for this property
1219 if (this.hasSetter()) {
1230 * @return {boolean} True if the property is
1231 * UndefinedMirror if there is no setter for this property
1274 * Return value if any
1349 if (index >= 0 && index < this.argumentCount()) {
1359 if (index >= 0 && index < this.argumentCount()) {
1381 if (index >= 0 && index < this.localCount()) {
1393 if (index >= 0 && index < this.localCount()) {
1408 if (this.details_[kFrameDetailsAtReturnIndex]) {
1446 // value returned from the VM might be a string if the function for the
1448 if (IS_FUNCTION(f)) {
1532 if (this.func().resolved() && this.func().script()) {
1540 if (this.func().resolved()) {
1542 if (location) {
1550 if (this.func().resolved()) {
1552 if (location) {
1560 if (this.func().resolved()) {
1562 if (location) {
1596 if (this.isConstructCall()) {
1600 } else if (this.isDebuggerFrame()) {
1603 // If the receiver has a className which is 'global' don't display it.
1606 if (display_receiver) {
1612 if (receiver.isObject()) {
1619 if (!property.isUndefined()) {
1622 if (!property.isIndexed()) {
1623 if (display_receiver) {
1632 // Also known as - if the name in the function doesn't match the name
1634 if (func.name() && func.name() != property.name()) {
1639 // name if available for the backtrace.
1640 if (display_receiver) {
1648 if (!this.isDebuggerFrame()) {
1651 if (i != 0) result += ', ';
1652 if (this.argumentName(i)) {
1661 if (this.isAtReturn()) {
1674 if (func.resolved()) {
1675 if (func.script()) {
1676 if (func.script().name()) {
1681 if (!this.isDebuggerFrame()) {
1687 if (!IS_UNDEFINED(this.sourcePosition())) {
1706 if (locals_count > 0) {
1712 if (i < locals_count - 1) result += '\n';
1727 if (opt_locals) {
1898 if (!eval_from_script.isUndefined()) {
1909 if (this.lineOffset() > 0) {
2025 if (IS_UNDEFINED(this.options_) ||
2034 // If this mirror is already in the list just return.
2036 if (this.mirrors_[i] === mirror) {
2070 if (mirror.script()) {
2088 // If serializing a reference to a mirror just return the reference and add
2090 if (reference &&
2092 if (this.inlineRefs_() && mirror.isValue()) {
2104 if (mirror.isValue() || mirror.isScript() || mirror.isContext()) {
2129 if (this.maxStringLength_() != -1 &&
2165 if (mirror.name()) {
2172 if (mirror.data()) {
2175 if (this.includeSource_()) {
2185 // eval was called if a script is present.
2186 if (mirror.compilationType() == 1 &&
2191 if (evalFromLocation) {
2195 if (mirror.evalFromFunctionName()) {
2199 if (mirror.context()) {
2238 if (mirror.hasNamedInterceptor()) {
2241 if (mirror.hasIndexedInterceptor()) {
2246 if (mirror.isFunction()) {
2249 if (!IS_UNDEFINED(mirror.inferredName())) {
2253 if (mirror.resolved()) {
2256 if (mirror.script()) {
2265 if (mirror.isDate()) {
2277 if (details) {
2284 if (details) {
2302 if (!location) {
2307 if (!IS_UNDEFINED(line)) {
2311 if (!IS_UNDEFINED(column)) {
2326 * If the attribute for the property is PropertyAttribute.None it is not added.
2327 * If the propertyType for the property is PropertyType.Normal it is not added.
2341 if (this.inlineRefs_() && propertyValue.isValue()) {
2344 if (propertyMirror.attributes() != PropertyAttribute.None) {
2347 if (propertyMirror.propertyType() != PropertyType.Normal) {
2361 if (func.script()) {
2366 if (mirror.isAtReturn()) {
2374 if (argument_name) {
2391 if (!IS_UNDEFINED(source_line_text)) {
2426 if (isNaN(value)) {
2429 if (!NUMBER_IS_FINITE(value)) {
2430 if (value > 0) {