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 2647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2658 /** | 2658 /** |
2659 * Returns scriptId object. | 2659 * Returns scriptId object. |
2660 */ | 2660 */ |
2661 V8_DEPRECATED("Use ScriptId instead", Handle<Value> GetScriptId() const); | 2661 V8_DEPRECATED("Use ScriptId instead", Handle<Value> GetScriptId() const); |
2662 | 2662 |
2663 /** | 2663 /** |
2664 * Returns scriptId. | 2664 * Returns scriptId. |
2665 */ | 2665 */ |
2666 int ScriptId() const; | 2666 int ScriptId() const; |
2667 | 2667 |
2668 /** | |
2669 * Returns the original function if this function is bound, else returns this | |
yurys
2013/12/12 12:47:15
"...if this function is bound using Function.proto
Alexandra Mikhaylova
2013/12/12 15:53:02
Done.
| |
2670 * function. | |
2671 */ | |
2672 Local<Function> GetBoundFunction() const; | |
2673 | |
2668 ScriptOrigin GetScriptOrigin() const; | 2674 ScriptOrigin GetScriptOrigin() const; |
2669 V8_INLINE static Function* Cast(Value* obj); | 2675 V8_INLINE static Function* Cast(Value* obj); |
2670 static const int kLineOffsetNotFound; | 2676 static const int kLineOffsetNotFound; |
2671 | 2677 |
2672 private: | 2678 private: |
2673 Function(); | 2679 Function(); |
2674 static void CheckCast(Value* obj); | 2680 static void CheckCast(Value* obj); |
2675 }; | 2681 }; |
2676 | 2682 |
2677 #ifndef V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT | 2683 #ifndef V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT |
(...skipping 4081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6759 */ | 6765 */ |
6760 | 6766 |
6761 | 6767 |
6762 } // namespace v8 | 6768 } // namespace v8 |
6763 | 6769 |
6764 | 6770 |
6765 #undef TYPE_CHECK | 6771 #undef TYPE_CHECK |
6766 | 6772 |
6767 | 6773 |
6768 #endif // V8_H_ | 6774 #endif // V8_H_ |
OLD | NEW |