Changeset 15526 in webkit for trunk/JavaScriptCore/kjs/nodes2string.cpp
- Timestamp:
- Jul 19, 2006, 10:32:15 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes2string.cpp
r14502 r15526 23 23 #include "config.h" 24 24 #include "nodes.h" 25 #include "function.h" 25 26 26 27 namespace KJS { … … 117 118 void StringNode::streamTo(SourceStream &s) const 118 119 { 119 s << '"' << value << '"'; 120 } 121 122 void RegExpNode::streamTo(SourceStream &s) const { s << pattern; } 120 s << '"' << escapeStringForPrettyPrinting(value) << '"'; 121 } 122 123 void RegExpNode::streamTo(SourceStream &s) const 124 { 125 s << "/" << pattern << "/" << flags; 126 } 123 127 124 128 void ThisNode::streamTo(SourceStream &s) const { s << "this"; }
Note:
See TracChangeset
for help on using the changeset viewer.