diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-28 00:48:50 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-28 00:57:26 (GMT) |
commit | b865ab6508963cbad0a12319b40db17f9925bbde (patch) | |
tree | 2f9dd738ee06a12248af43591225942d45f17faa /src/declarative/qml/parser | |
parent | c8f180e7023308b8a051b53943b9a088a7f0c427 (diff) | |
download | Qt-b865ab6508963cbad0a12319b40db17f9925bbde.zip Qt-b865ab6508963cbad0a12319b40db17f9925bbde.tar.gz Qt-b865ab6508963cbad0a12319b40db17f9925bbde.tar.bz2 |
QmlBasicScript should work on the actual JS AST tree
Diffstat (limited to 'src/declarative/qml/parser')
-rw-r--r-- | src/declarative/qml/parser/javascriptast_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/parser/javascriptast_p.h b/src/declarative/qml/parser/javascriptast_p.h index b5fd922..23d59e5 100644 --- a/src/declarative/qml/parser/javascriptast_p.h +++ b/src/declarative/qml/parser/javascriptast_p.h @@ -61,8 +61,6 @@ QT_BEGIN_NAMESPACE #define JAVASCRIPT_DECLARE_AST_NODE(name) \ enum { K = Kind_##name }; -class NameId; - namespace QSOperator // ### rename { @@ -106,7 +104,9 @@ enum Op { } // namespace QSOperator -namespace JavaScript { namespace AST { +namespace JavaScript { +class NameId; +namespace AST { template <typename _T1, typename _T2> _T1 cast(_T2 *ast) |