src/script/parser/qscriptastfwd_p.h
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /****************************************************************************
       
     2 **
       
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 ** All rights reserved.
       
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     6 **
       
     7 ** This file is part of the QtScript module of the Qt Toolkit.
       
     8 **
       
     9 ** $QT_BEGIN_LICENSE:LGPL$
       
    10 ** No Commercial Usage
       
    11 ** This file contains pre-release code and may not be distributed.
       
    12 ** You may use this file in accordance with the terms and conditions
       
    13 ** contained in the Technology Preview License Agreement accompanying
       
    14 ** this package.
       
    15 **
       
    16 ** GNU Lesser General Public License Usage
       
    17 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    18 ** General Public License version 2.1 as published by the Free Software
       
    19 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    20 ** packaging of this file.  Please review the following information to
       
    21 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    23 **
       
    24 ** In addition, as a special exception, Nokia gives you certain additional
       
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    27 **
       
    28 ** If you have questions regarding the use of this file, please contact
       
    29 ** Nokia at qt-info@nokia.com.
       
    30 **
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    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