Removed obsolete code

Done with: Erik
This commit is contained in:
Roberto Raggi
2010-01-27 14:37:24 +01:00
parent d89b7ecb73
commit 39c2575ab3
27 changed files with 8 additions and 1855 deletions

View File

@@ -37,7 +37,6 @@
#include "parser/qmljsengine_p.h"
#include "qmljs_global.h"
#include "qmljssymbol.h"
namespace QmlJS {
@@ -46,7 +45,6 @@ class QMLJS_EXPORT Document
public:
typedef QSharedPointer<Document> Ptr;
typedef QList<Document::Ptr> PtrList;
typedef QMap<QString, IdSymbol*> IdTable;
protected:
Document(const QString &fileName);
@@ -76,16 +74,10 @@ public:
int documentRevision() const;
void setDocumentRevision(int documentRevision);
IdTable ids() const { return _ids; }
QString fileName() const { return _fileName; }
QString path() const { return _path; }
QString componentName() const { return _componentName; }
QmlJS::SymbolFromFile *findSymbol(QmlJS::AST::Node *node) const;
QmlJS::Symbol::List symbols() const
{ return _symbols; }
private:
QmlJS::Engine *_engine;
QmlJS::NodePool *_pool;
@@ -97,8 +89,6 @@ private:
QString _path;
QString _componentName;
QString _source;
IdTable _ids;
QmlJS::Symbol::List _symbols;
};
class QMLJS_EXPORT Snapshot