| 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 3097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3108 AccessControl settings = DEFAULT); | 3108 AccessControl settings = DEFAULT); |
| 3109 | 3109 |
| 3110 // This function is not yet stable and should not be used at this time. | 3110 // This function is not yet stable and should not be used at this time. |
| 3111 bool SetDeclaredAccessor(Local<String> name, | 3111 bool SetDeclaredAccessor(Local<String> name, |
| 3112 Local<DeclaredAccessorDescriptor> descriptor, | 3112 Local<DeclaredAccessorDescriptor> descriptor, |
| 3113 PropertyAttribute attribute = None, | 3113 PropertyAttribute attribute = None, |
| 3114 Local<AccessorSignature> signature = | 3114 Local<AccessorSignature> signature = |
| 3115 Local<AccessorSignature>(), | 3115 Local<AccessorSignature>(), |
| 3116 AccessControl settings = DEFAULT); | 3116 AccessControl settings = DEFAULT); |
| 3117 | 3117 |
| 3118 /** Returns the isolate associated with the template. */ |
| 3119 v8::Isolate* GetIsolate(); |
| 3120 |
| 3118 private: | 3121 private: |
| 3119 Template(); | 3122 Template(); |
| 3120 | 3123 |
| 3121 friend class ObjectTemplate; | 3124 friend class ObjectTemplate; |
| 3122 friend class FunctionTemplate; | 3125 friend class FunctionTemplate; |
| 3123 }; | 3126 }; |
| 3124 | 3127 |
| 3125 | 3128 |
| 3126 /** | 3129 /** |
| 3127 * NamedProperty[Getter|Setter] are used as interceptors on object. | 3130 * NamedProperty[Getter|Setter] are used as interceptors on object. |
| (...skipping 3377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6505 */ | 6508 */ |
| 6506 | 6509 |
| 6507 | 6510 |
| 6508 } // namespace v8 | 6511 } // namespace v8 |
| 6509 | 6512 |
| 6510 | 6513 |
| 6511 #undef TYPE_CHECK | 6514 #undef TYPE_CHECK |
| 6512 | 6515 |
| 6513 | 6516 |
| 6514 #endif // V8_H_ | 6517 #endif // V8_H_ |
| OLD | NEW |