OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 Google Inc. All rights reserved. | 2 * Copyright (c) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 public: | 43 public: |
44 ScriptCallFrame(); | 44 ScriptCallFrame(); |
45 ScriptCallFrame(const String& functionName, const String& scriptId, const St
ring& scriptName, unsigned lineNumber, unsigned column = 0); | 45 ScriptCallFrame(const String& functionName, const String& scriptId, const St
ring& scriptName, unsigned lineNumber, unsigned column = 0); |
46 ~ScriptCallFrame(); | 46 ~ScriptCallFrame(); |
47 | 47 |
48 const String& functionName() const { return m_functionName; } | 48 const String& functionName() const { return m_functionName; } |
49 const String& scriptId() const { return m_scriptId; } | 49 const String& scriptId() const { return m_scriptId; } |
50 const String& sourceURL() const { return m_scriptName; } | 50 const String& sourceURL() const { return m_scriptName; } |
51 unsigned lineNumber() const { return m_lineNumber; } | 51 unsigned lineNumber() const { return m_lineNumber; } |
52 unsigned columnNumber() const { return m_column; } | 52 unsigned columnNumber() const { return m_column; } |
| 53 bool isEmpty() const { return m_isEmpty; } |
53 | 54 |
54 PassRefPtr<TypeBuilder::Console::CallFrame> buildInspectorObject() const; | 55 PassRefPtr<TypeBuilder::Console::CallFrame> buildInspectorObject() const; |
55 void toTracedValue(TracedValue*) const; | 56 void toTracedValue(TracedValue*) const; |
56 | 57 |
57 private: | 58 private: |
58 String m_functionName; | 59 String m_functionName; |
59 String m_scriptId; | 60 String m_scriptId; |
60 String m_scriptName; | 61 String m_scriptName; |
61 unsigned m_lineNumber; | 62 unsigned m_lineNumber; |
62 unsigned m_column; | 63 unsigned m_column; |
| 64 bool m_isEmpty; |
63 }; | 65 }; |
64 | 66 |
65 } // namespace blink | 67 } // namespace blink |
66 | 68 |
67 #endif // ScriptCallFrame_h | 69 #endif // ScriptCallFrame_h |
OLD | NEW |