src/declarative/qml/qdeclarativerewrite_p.h
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    76 
    76 
    77 class RewriteBinding: protected AST::Visitor
    77 class RewriteBinding: protected AST::Visitor
    78 {
    78 {
    79     unsigned _position;
    79     unsigned _position;
    80     TextWriter *_writer;
    80     TextWriter *_writer;
       
    81     QByteArray _name;
    81 
    82 
    82 public:
    83 public:
    83     QString operator()(const QString &code, bool *ok = 0);
    84     QString operator()(const QString &code, bool *ok = 0);
       
    85 
       
    86     //name of the function:  used for the debugger
       
    87     void setName(const QByteArray &name) { _name = name; }
    84 
    88 
    85 protected:
    89 protected:
    86     using AST::Visitor::visit;
    90     using AST::Visitor::visit;
    87 
    91 
    88     void accept(AST::Node *node);
    92     void accept(AST::Node *node);