Changeset 10496 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp
- Timestamp:
- Sep 8, 2005, 6:19:19 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/nodes.cpp
r10456 r10496 147 147 148 148 149 ValueImp *Node::throwError(ExecState *exec, ErrorType e, const char *msg, Identifierlabel)149 ValueImp *Node::throwError(ExecState *exec, ErrorType e, const char *msg, const Identifier &label) 150 150 { 151 151 UString message = msg; … … 163 163 } 164 164 165 ValueImp *Node::throwError(ExecState *exec, ErrorType e, const char *msg, ValueImp *v, Node *expr, Identifierlabel)165 ValueImp *Node::throwError(ExecState *exec, ErrorType e, const char *msg, ValueImp *v, Node *expr, const Identifier &label) 166 166 { 167 167 UString message = msg; 168 168 substitute(message, v->toString(exec)); 169 169 substitute(message, expr->toString()); 170 substitute(message, label.ustring()); 170 171 return KJS::throwError(exec, e, message, lineNo(), sourceId(), &sourceURL); 171 172 } 172 173 173 ValueImp *Node::throwError(ExecState *exec, ErrorType e, const char *msg, ValueImp *v, Identifierlabel)174 ValueImp *Node::throwError(ExecState *exec, ErrorType e, const char *msg, ValueImp *v, const Identifier &label) 174 175 { 175 176 UString message = msg; … … 178 179 return KJS::throwError(exec, e, message, lineNo(), sourceId(), &sourceURL); 179 180 } 180 181 181 182 182 void Node::setExceptionDetailsIfNeeded(ExecState *exec)
Note:
See TracChangeset
for help on using the changeset viewer.