| 1 | /****************************************************************************
|
|---|
| 2 | **
|
|---|
| 3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|---|
| 4 | ** Contact: Qt Software Information (qt-info@nokia.com)
|
|---|
| 5 | **
|
|---|
| 6 | ** This file is part of the QtScript module of the Qt Toolkit.
|
|---|
| 7 | **
|
|---|
| 8 | ** $QT_BEGIN_LICENSE:LGPL$
|
|---|
| 9 | ** Commercial Usage
|
|---|
| 10 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
|---|
| 11 | ** accordance with the Qt Commercial License Agreement provided with the
|
|---|
| 12 | ** Software or, alternatively, in accordance with the terms contained in
|
|---|
| 13 | ** a written agreement between you and Nokia.
|
|---|
| 14 | **
|
|---|
| 15 | ** GNU Lesser General Public License Usage
|
|---|
| 16 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
|---|
| 17 | ** General Public License version 2.1 as published by the Free Software
|
|---|
| 18 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
|---|
| 19 | ** packaging of this file. Please review the following information to
|
|---|
| 20 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
|---|
| 21 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|---|
| 22 | **
|
|---|
| 23 | ** In addition, as a special exception, Nokia gives you certain
|
|---|
| 24 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
|---|
| 25 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
|---|
| 26 | ** package.
|
|---|
| 27 | **
|
|---|
| 28 | ** GNU General Public License Usage
|
|---|
| 29 | ** Alternatively, this file may be used under the terms of the GNU
|
|---|
| 30 | ** General Public License version 3.0 as published by the Free Software
|
|---|
| 31 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
|---|
| 32 | ** packaging of this file. Please review the following information to
|
|---|
| 33 | ** ensure the GNU General Public License version 3.0 requirements will be
|
|---|
| 34 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
|---|
| 35 | **
|
|---|
| 36 | ** If you are unsure which license is appropriate for your use, please
|
|---|
| 37 | ** contact the sales department at qt-sales@nokia.com.
|
|---|
| 38 | ** $QT_END_LICENSE$
|
|---|
| 39 | **
|
|---|
| 40 | ****************************************************************************/
|
|---|
| 41 |
|
|---|
| 42 | #ifndef QSCRIPTAST_FWD_P_H
|
|---|
| 43 | #define QSCRIPTAST_FWD_P_H
|
|---|
| 44 |
|
|---|
| 45 | #include <QtCore/qglobal.h>
|
|---|
| 46 |
|
|---|
| 47 | //
|
|---|
| 48 | // W A R N I N G
|
|---|
| 49 | // -------------
|
|---|
| 50 | //
|
|---|
| 51 | // This file is not part of the Qt API. It exists purely as an
|
|---|
| 52 | // implementation detail. This header file may change from version to
|
|---|
| 53 | // version without notice, or even be removed.
|
|---|
| 54 | //
|
|---|
| 55 | // We mean it.
|
|---|
| 56 | //
|
|---|
| 57 |
|
|---|
| 58 | QT_BEGIN_NAMESPACE
|
|---|
| 59 |
|
|---|
| 60 | namespace QScript { namespace AST {
|
|---|
| 61 |
|
|---|
| 62 | class Visitor;
|
|---|
| 63 | class Node;
|
|---|
| 64 | class ExpressionNode;
|
|---|
| 65 | class Statement;
|
|---|
| 66 | class ThisExpression;
|
|---|
| 67 | class IdentifierExpression;
|
|---|
| 68 | class NullExpression;
|
|---|
| 69 | class TrueLiteral;
|
|---|
| 70 | class FalseLiteral;
|
|---|
| 71 | class NumericLiteral;
|
|---|
| 72 | class StringLiteral;
|
|---|
| 73 | class RegExpLiteral;
|
|---|
| 74 | class ArrayLiteral;
|
|---|
| 75 | class ObjectLiteral;
|
|---|
| 76 | class ElementList;
|
|---|
| 77 | class Elision;
|
|---|
| 78 | class PropertyNameAndValueList;
|
|---|
| 79 | class PropertyName;
|
|---|
| 80 | class IdentifierPropertyName;
|
|---|
| 81 | class StringLiteralPropertyName;
|
|---|
| 82 | class NumericLiteralPropertyName;
|
|---|
| 83 | class ArrayMemberExpression;
|
|---|
| 84 | class FieldMemberExpression;
|
|---|
| 85 | class NewMemberExpression;
|
|---|
| 86 | class NewExpression;
|
|---|
| 87 | class CallExpression;
|
|---|
| 88 | class ArgumentList;
|
|---|
| 89 | class PostIncrementExpression;
|
|---|
| 90 | class PostDecrementExpression;
|
|---|
| 91 | class DeleteExpression;
|
|---|
| 92 | class VoidExpression;
|
|---|
| 93 | class TypeOfExpression;
|
|---|
| 94 | class PreIncrementExpression;
|
|---|
| 95 | class PreDecrementExpression;
|
|---|
| 96 | class UnaryPlusExpression;
|
|---|
| 97 | class UnaryMinusExpression;
|
|---|
| 98 | class TildeExpression;
|
|---|
| 99 | class NotExpression;
|
|---|
| 100 | class BinaryExpression;
|
|---|
| 101 | class ConditionalExpression;
|
|---|
| 102 | class Expression; // ### rename
|
|---|
| 103 | class Block;
|
|---|
| 104 | class StatementList;
|
|---|
| 105 | class VariableStatement;
|
|---|
| 106 | class VariableDeclarationList;
|
|---|
| 107 | class VariableDeclaration;
|
|---|
| 108 | class EmptyStatement;
|
|---|
| 109 | class ExpressionStatement;
|
|---|
| 110 | class IfStatement;
|
|---|
| 111 | class DoWhileStatement;
|
|---|
| 112 | class WhileStatement;
|
|---|
| 113 | class ForStatement;
|
|---|
| 114 | class LocalForStatement;
|
|---|
| 115 | class ForEachStatement;
|
|---|
| 116 | class LocalForEachStatement;
|
|---|
| 117 | class ContinueStatement;
|
|---|
| 118 | class BreakStatement;
|
|---|
| 119 | class ReturnStatement;
|
|---|
| 120 | class WithStatement;
|
|---|
| 121 | class SwitchStatement;
|
|---|
| 122 | class CaseBlock;
|
|---|
| 123 | class CaseClauses;
|
|---|
| 124 | class CaseClause;
|
|---|
| 125 | class DefaultClause;
|
|---|
| 126 | class LabelledStatement;
|
|---|
| 127 | class ThrowStatement;
|
|---|
| 128 | class TryStatement;
|
|---|
| 129 | class Catch;
|
|---|
| 130 | class Finally;
|
|---|
| 131 | class FunctionDeclaration;
|
|---|
| 132 | class FunctionExpression;
|
|---|
| 133 | class FormalParameterList;
|
|---|
| 134 | class FunctionBody;
|
|---|
| 135 | class Program;
|
|---|
| 136 | class SourceElements;
|
|---|
| 137 | class SourceElement;
|
|---|
| 138 | class FunctionSourceElement;
|
|---|
| 139 | class StatementSourceElement;
|
|---|
| 140 | class DebuggerStatement;
|
|---|
| 141 |
|
|---|
| 142 | } } // namespace AST
|
|---|
| 143 |
|
|---|
| 144 | QT_END_NAMESPACE
|
|---|
| 145 |
|
|---|
| 146 | #endif
|
|---|