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 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2483 * kLineOffsetNotFound if no information available. | 2483 * kLineOffsetNotFound if no information available. |
2484 */ | 2484 */ |
2485 int GetScriptLineNumber() const; | 2485 int GetScriptLineNumber() const; |
2486 /** | 2486 /** |
2487 * Returns zero based column number of function body and | 2487 * Returns zero based column number of function body and |
2488 * kLineOffsetNotFound if no information available. | 2488 * kLineOffsetNotFound if no information available. |
2489 */ | 2489 */ |
2490 int GetScriptColumnNumber() const; | 2490 int GetScriptColumnNumber() const; |
2491 | 2491 |
2492 /** | 2492 /** |
| 2493 * Tells whether this function is builtin. |
| 2494 */ |
| 2495 bool IsBuiltin() const; |
| 2496 |
| 2497 /** |
2493 * Returns scriptId object. | 2498 * Returns scriptId object. |
2494 */ | 2499 */ |
2495 V8_DEPRECATED("Use ScriptId instead", Handle<Value> GetScriptId()) const; | 2500 V8_DEPRECATED("Use ScriptId instead", Handle<Value> GetScriptId()) const; |
2496 | 2501 |
2497 /** | 2502 /** |
2498 * Returns scriptId. | 2503 * Returns scriptId. |
2499 */ | 2504 */ |
2500 int ScriptId() const; | 2505 int ScriptId() const; |
2501 | 2506 |
2502 ScriptOrigin GetScriptOrigin() const; | 2507 ScriptOrigin GetScriptOrigin() const; |
(...skipping 3985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6488 */ | 6493 */ |
6489 | 6494 |
6490 | 6495 |
6491 } // namespace v8 | 6496 } // namespace v8 |
6492 | 6497 |
6493 | 6498 |
6494 #undef TYPE_CHECK | 6499 #undef TYPE_CHECK |
6495 | 6500 |
6496 | 6501 |
6497 #endif // V8_H_ | 6502 #endif // V8_H_ |
OLD | NEW |