| 1 | /**************************************************************************** |
|---|---|
| 2 | ** |
| 3 | ** Copyright (C) 2016 The Qt Company Ltd. |
| 4 | ** Contact: https://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtQml module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #ifndef QQMLJSAST_FWD_P_H |
| 41 | #define QQMLJSAST_FWD_P_H |
| 42 | |
| 43 | #include "qqmljsglobal_p.h" |
| 44 | #include <private/qqmljssourcelocation_p.h> |
| 45 | |
| 46 | #include <QtCore/qglobal.h> |
| 47 | |
| 48 | // |
| 49 | // W A R N I N G |
| 50 | // ------------- |
| 51 | // |
| 52 | // This file is not part of the Qt API. It exists purely as an |
| 53 | // implementation detail. This header file may change from version to |
| 54 | // version without notice, or even be removed. |
| 55 | // |
| 56 | // We mean it. |
| 57 | // |
| 58 | |
| 59 | QT_BEGIN_NAMESPACE |
| 60 | |
| 61 | namespace QQmlJS { namespace AST { |
| 62 | |
| 63 | class BaseVisitor; |
| 64 | class Visitor; |
| 65 | class Node; |
| 66 | class ExpressionNode; |
| 67 | class Statement; |
| 68 | class ThisExpression; |
| 69 | class IdentifierExpression; |
| 70 | class NullExpression; |
| 71 | class TrueLiteral; |
| 72 | class FalseLiteral; |
| 73 | class SuperLiteral; |
| 74 | class NumericLiteral; |
| 75 | class StringLiteral; |
| 76 | class TemplateLiteral; |
| 77 | class RegExpLiteral; |
| 78 | class Pattern; |
| 79 | class ArrayPattern; |
| 80 | class ObjectPattern; |
| 81 | class PatternElement; |
| 82 | class PatternElementList; |
| 83 | class PatternProperty; |
| 84 | class PatternPropertyList; |
| 85 | class Elision; |
| 86 | class PropertyName; |
| 87 | class IdentifierPropertyName; |
| 88 | class StringLiteralPropertyName; |
| 89 | class NumericLiteralPropertyName; |
| 90 | class ComputedPropertyName; |
| 91 | class ArrayMemberExpression; |
| 92 | class FieldMemberExpression; |
| 93 | class TaggedTemplate; |
| 94 | class NewMemberExpression; |
| 95 | class NewExpression; |
| 96 | class CallExpression; |
| 97 | class ArgumentList; |
| 98 | class PostIncrementExpression; |
| 99 | class PostDecrementExpression; |
| 100 | class DeleteExpression; |
| 101 | class VoidExpression; |
| 102 | class TypeOfExpression; |
| 103 | class PreIncrementExpression; |
| 104 | class PreDecrementExpression; |
| 105 | class UnaryPlusExpression; |
| 106 | class UnaryMinusExpression; |
| 107 | class TildeExpression; |
| 108 | class NotExpression; |
| 109 | class BinaryExpression; |
| 110 | class ConditionalExpression; |
| 111 | class Expression; // ### rename |
| 112 | class YieldExpression; |
| 113 | class Block; |
| 114 | class LeftHandSideExpression; |
| 115 | class StatementList; |
| 116 | class VariableStatement; |
| 117 | class VariableDeclarationList; |
| 118 | class EmptyStatement; |
| 119 | class ExpressionStatement; |
| 120 | class IfStatement; |
| 121 | class DoWhileStatement; |
| 122 | class WhileStatement; |
| 123 | class ForStatement; |
| 124 | class ForEachStatement; |
| 125 | class ContinueStatement; |
| 126 | class BreakStatement; |
| 127 | class ReturnStatement; |
| 128 | class WithStatement; |
| 129 | class SwitchStatement; |
| 130 | class CaseBlock; |
| 131 | class CaseClauses; |
| 132 | class CaseClause; |
| 133 | class DefaultClause; |
| 134 | class LabelledStatement; |
| 135 | class ThrowStatement; |
| 136 | class TryStatement; |
| 137 | class Catch; |
| 138 | class Finally; |
| 139 | class FunctionDeclaration; |
| 140 | class FunctionExpression; |
| 141 | class FormalParameterList; |
| 142 | class ExportSpecifier; |
| 143 | class ExportsList; |
| 144 | class ExportClause; |
| 145 | class ExportDeclaration; |
| 146 | class Program; |
| 147 | class ImportSpecifier; |
| 148 | class ImportsList; |
| 149 | class NamedImports; |
| 150 | class NameSpaceImport; |
| 151 | class NamedImport; |
| 152 | class ImportClause; |
| 153 | class FromClause; |
| 154 | class ImportDeclaration; |
| 155 | class ESModule; |
| 156 | class DebuggerStatement; |
| 157 | class NestedExpression; |
| 158 | class ClassExpression; |
| 159 | class ClassDeclaration; |
| 160 | class ClassElementList; |
| 161 | class TypeArgumentList; |
| 162 | class Type; |
| 163 | class TypeAnnotation; |
| 164 | |
| 165 | // ui elements |
| 166 | class UiProgram; |
| 167 | class UiPragma; |
| 168 | class UiImport; |
| 169 | class UiPublicMember; |
| 170 | class UiParameterList; |
| 171 | class UiObjectDefinition; |
| 172 | class UiInlineComponent; |
| 173 | class UiObjectInitializer; |
| 174 | class UiObjectBinding; |
| 175 | class UiScriptBinding; |
| 176 | class UiSourceElement; |
| 177 | class UiArrayBinding; |
| 178 | class UiObjectMember; |
| 179 | class UiObjectMemberList; |
| 180 | class UiArrayMemberList; |
| 181 | class UiQualifiedId; |
| 182 | class UiHeaderItemList; |
| 183 | class UiEnumDeclaration; |
| 184 | class UiEnumMemberList; |
| 185 | class UiVersionSpecifier; |
| 186 | class UiRequired; |
| 187 | class UiAnnotation; |
| 188 | class UiAnnotationList; |
| 189 | |
| 190 | } // namespace AST |
| 191 | } // namespace QQmlJS |
| 192 | |
| 193 | QT_END_NAMESPACE |
| 194 | |
| 195 | #endif |
| 196 |
