changeset 37 | 758a864f9613 |
parent 30 | 5dc02b23752f |
--- a/src/declarative/qml/qdeclarativerewrite_p.h Fri Sep 17 08:34:18 2010 +0300 +++ b/src/declarative/qml/qdeclarativerewrite_p.h Mon Oct 04 01:19:32 2010 +0300 @@ -78,10 +78,14 @@ { unsigned _position; TextWriter *_writer; + QByteArray _name; public: QString operator()(const QString &code, bool *ok = 0); + //name of the function: used for the debugger + void setName(const QByteArray &name) { _name = name; } + protected: using AST::Visitor::visit;