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 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2472 | 2472 |
2473 /** | 2473 /** |
2474 * Name inferred from variable or property assignment of this function. | 2474 * Name inferred from variable or property assignment of this function. |
2475 * Used to facilitate debugging and profiling of JavaScript code written | 2475 * Used to facilitate debugging and profiling of JavaScript code written |
2476 * in an OO style, where many functions are anonymous but are assigned | 2476 * in an OO style, where many functions are anonymous but are assigned |
2477 * to object properties. | 2477 * to object properties. |
2478 */ | 2478 */ |
2479 Handle<Value> GetInferredName() const; | 2479 Handle<Value> GetInferredName() const; |
2480 | 2480 |
2481 /** | 2481 /** |
2482 * User-defined name assigned to the "displayName" property of this function. | |
2483 * Used to facilitate debugging and profiling of JavaScript code. | |
2484 */ | |
2485 Handle<Value> GetDisplayName() const; | |
2486 | |
2487 /** | |
2488 * Returns zero based line number of function body and | 2482 * Returns zero based line number of function body and |
2489 * kLineOffsetNotFound if no information available. | 2483 * kLineOffsetNotFound if no information available. |
2490 */ | 2484 */ |
2491 int GetScriptLineNumber() const; | 2485 int GetScriptLineNumber() const; |
2492 /** | 2486 /** |
2493 * Returns zero based column number of function body and | 2487 * Returns zero based column number of function body and |
2494 * kLineOffsetNotFound if no information available. | 2488 * kLineOffsetNotFound if no information available. |
2495 */ | 2489 */ |
2496 int GetScriptColumnNumber() const; | 2490 int GetScriptColumnNumber() const; |
2497 | 2491 |
(...skipping 4001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6499 */ | 6493 */ |
6500 | 6494 |
6501 | 6495 |
6502 } // namespace v8 | 6496 } // namespace v8 |
6503 | 6497 |
6504 | 6498 |
6505 #undef TYPE_CHECK | 6499 #undef TYPE_CHECK |
6506 | 6500 |
6507 | 6501 |
6508 #endif // V8_H_ | 6502 #endif // V8_H_ |
OLD | NEW |