| OLD | NEW |
| 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 /** | 912 /** |
| 913 * Returns true if this value is a 32-bit unsigned integer. | 913 * Returns true if this value is a 32-bit unsigned integer. |
| 914 */ | 914 */ |
| 915 V8EXPORT bool IsUint32() const; | 915 V8EXPORT bool IsUint32() const; |
| 916 | 916 |
| 917 /** | 917 /** |
| 918 * Returns true if this value is a Date. | 918 * Returns true if this value is a Date. |
| 919 */ | 919 */ |
| 920 V8EXPORT bool IsDate() const; | 920 V8EXPORT bool IsDate() const; |
| 921 | 921 |
| 922 /** |
| 923 * Returns true if this value is a RegExp. |
| 924 */ |
| 925 V8EXPORT bool IsRegExp() const; |
| 926 |
| 922 V8EXPORT Local<Boolean> ToBoolean() const; | 927 V8EXPORT Local<Boolean> ToBoolean() const; |
| 923 V8EXPORT Local<Number> ToNumber() const; | 928 V8EXPORT Local<Number> ToNumber() const; |
| 924 V8EXPORT Local<String> ToString() const; | 929 V8EXPORT Local<String> ToString() const; |
| 925 V8EXPORT Local<String> ToDetailString() const; | 930 V8EXPORT Local<String> ToDetailString() const; |
| 926 V8EXPORT Local<Object> ToObject() const; | 931 V8EXPORT Local<Object> ToObject() const; |
| 927 V8EXPORT Local<Integer> ToInteger() const; | 932 V8EXPORT Local<Integer> ToInteger() const; |
| 928 V8EXPORT Local<Uint32> ToUint32() const; | 933 V8EXPORT Local<Uint32> ToUint32() const; |
| 929 V8EXPORT Local<Int32> ToInt32() const; | 934 V8EXPORT Local<Int32> ToInt32() const; |
| 930 | 935 |
| 931 /** | 936 /** |
| (...skipping 2675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3607 | 3612 |
| 3608 | 3613 |
| 3609 } // namespace v8 | 3614 } // namespace v8 |
| 3610 | 3615 |
| 3611 | 3616 |
| 3612 #undef V8EXPORT | 3617 #undef V8EXPORT |
| 3613 #undef TYPE_CHECK | 3618 #undef TYPE_CHECK |
| 3614 | 3619 |
| 3615 | 3620 |
| 3616 #endif // V8_H_ | 3621 #endif // V8_H_ |
| OLD | NEW |