| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1101 /** | 1101 /** |
| 1102 * Returns true if this value is a NativeError. | 1102 * Returns true if this value is a NativeError. |
| 1103 */ | 1103 */ |
| 1104 bool IsNativeError() const; | 1104 bool IsNativeError() const; |
| 1105 | 1105 |
| 1106 /** | 1106 /** |
| 1107 * Returns true if this value is a RegExp. | 1107 * Returns true if this value is a RegExp. |
| 1108 */ | 1108 */ |
| 1109 bool IsRegExp() const; | 1109 bool IsRegExp() const; |
| 1110 | 1110 |
| 1111 |
| 1112 /** |
| 1113 * Returns true if this value is an ArrayBuffer. |
| 1114 * This is an experimental feature. |
| 1115 */ |
| 1116 bool IsArrayBuffer() const; |
| 1117 |
| 1118 /** |
| 1119 * Returns true if this value is one of TypedArrays. |
| 1120 * This is an experimental feature. |
| 1121 */ |
| 1122 bool IsTypedArray() const; |
| 1123 |
| 1124 /** |
| 1125 * Returns true if this value is an Uint8Array. |
| 1126 * This is an experimental feature. |
| 1127 */ |
| 1128 bool IsUint8Array() const; |
| 1129 |
| 1130 /** |
| 1131 * Returns true if this value is an Int8Array. |
| 1132 * This is an experimental feature. |
| 1133 */ |
| 1134 bool IsInt8Array() const; |
| 1135 |
| 1136 /** |
| 1137 * Returns true if this value is an Uint16Array. |
| 1138 * This is an experimental feature. |
| 1139 */ |
| 1140 bool IsUint16Array() const; |
| 1141 |
| 1142 /** |
| 1143 * Returns true if this value is an Int16Array. |
| 1144 * This is an experimental feature. |
| 1145 */ |
| 1146 bool IsInt16Array() const; |
| 1147 |
| 1148 /** |
| 1149 * Returns true if this value is an Uint32Array. |
| 1150 * This is an experimental feature. |
| 1151 */ |
| 1152 bool IsUint32Array() const; |
| 1153 |
| 1154 /** |
| 1155 * Returns true if this value is an Int32Array. |
| 1156 * This is an experimental feature. |
| 1157 */ |
| 1158 bool IsInt32Array() const; |
| 1159 |
| 1160 /** |
| 1161 * Returns true if this value is a Float32Array. |
| 1162 * This is an experimental feature. |
| 1163 */ |
| 1164 bool IsFloat32Array() const; |
| 1165 |
| 1166 /** |
| 1167 * Returns true if this value is a Float64Array. |
| 1168 * This is an experimental feature. |
| 1169 */ |
| 1170 bool IsFloat64Array() const; |
| 1171 |
| 1111 Local<Boolean> ToBoolean() const; | 1172 Local<Boolean> ToBoolean() const; |
| 1112 Local<Number> ToNumber() const; | 1173 Local<Number> ToNumber() const; |
| 1113 Local<String> ToString() const; | 1174 Local<String> ToString() const; |
| 1114 Local<String> ToDetailString() const; | 1175 Local<String> ToDetailString() const; |
| 1115 Local<Object> ToObject() const; | 1176 Local<Object> ToObject() const; |
| 1116 Local<Integer> ToInteger() const; | 1177 Local<Integer> ToInteger() const; |
| 1117 Local<Uint32> ToUint32() const; | 1178 Local<Uint32> ToUint32() const; |
| 1118 Local<Int32> ToInt32() const; | 1179 Local<Int32> ToInt32() const; |
| 1119 | 1180 |
| 1120 /** | 1181 /** |
| (...skipping 4458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5579 | 5640 |
| 5580 | 5641 |
| 5581 } // namespace v8 | 5642 } // namespace v8 |
| 5582 | 5643 |
| 5583 | 5644 |
| 5584 #undef V8EXPORT | 5645 #undef V8EXPORT |
| 5585 #undef TYPE_CHECK | 5646 #undef TYPE_CHECK |
| 5586 | 5647 |
| 5587 | 5648 |
| 5588 #endif // V8_H_ | 5649 #endif // V8_H_ |
| OLD | NEW |