summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/javascriptast_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/parser/javascriptast_p.h')
-rw-r--r--src/declarative/qml/parser/javascriptast_p.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/declarative/qml/parser/javascriptast_p.h b/src/declarative/qml/parser/javascriptast_p.h
index 816835e..571fdff 100644
--- a/src/declarative/qml/parser/javascriptast_p.h
+++ b/src/declarative/qml/parser/javascriptast_p.h
@@ -53,11 +53,8 @@
// We mean it.
//
-#include <QtCore/QString>
-
-
-
#include "javascriptastvisitor_p.h"
+#include <QtCore/QString>
QT_BEGIN_NAMESPACE
@@ -120,27 +117,6 @@ _T1 cast(_T2 *ast)
return 0;
}
-class SourceLocation
-{
-public:
- SourceLocation(quint32 offset = 0, quint32 length = 0)
- : offset(offset), length(length),
- startLine(0), startColumn(0)
- { }
-
- bool isValid() const { return length != 0; }
-
- quint32 begin() const { return offset; }
- quint32 end() const { return offset + length; }
-
-// attributes
- // ### encode
- quint32 offset;
- quint32 length;
- quint32 startLine;
- quint32 startColumn;
-};
-
class Node
{
public: