Changeset 191135 in webkit for trunk/Source/JavaScriptCore/parser/SourceProvider.h
- Timestamp:
- Oct 15, 2015, 1:50:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SourceProvider.h
r187677 r191135 50 50 } 51 51 52 const String& url() { return m_url; } 52 const String& url() const { return m_url; } 53 const String& sourceURL() const { return m_sourceURL; } 54 const String& sourceMappingURL() const { return m_sourceMappingURL; } 55 53 56 TextPosition startPosition() const { return m_startPosition; } 54 57 intptr_t asID() … … 63 66 64 67 private: 68 template <typename T> friend class Parser; 69 70 void setSourceURL(const String& sourceURL) { m_sourceURL = sourceURL; } 71 void setSourceMappingURL(const String& sourceMappingURL) { m_sourceMappingURL = sourceMappingURL; } 65 72 66 73 JS_EXPORT_PRIVATE void getID(); … … 68 75 69 76 String m_url; 77 String m_sourceURL; 78 String m_sourceMappingURL; 70 79 TextPosition m_startPosition; 71 80 bool m_validated : 1;
Note:
See TracChangeset
for help on using the changeset viewer.