annotate generator/parser/parser.h @ 414:b2a803c73b89 default tip

Declare tabArray const.
author David Nadlinger <code@klickverbot.at>
date Fri, 06 May 2011 13:39:49 +0200
parents 09a0f1d048f2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
e78566595089 initial import
mandel
parents:
diff changeset
1 /****************************************************************************
e78566595089 initial import
mandel
parents:
diff changeset
2 **
52
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
3 ** Copyright (C) 1992-2009 Nokia. All rights reserved.
1
e78566595089 initial import
mandel
parents:
diff changeset
4 ** Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org>
e78566595089 initial import
mandel
parents:
diff changeset
5 **
e78566595089 initial import
mandel
parents:
diff changeset
6 ** This file is part of Qt Jambi.
e78566595089 initial import
mandel
parents:
diff changeset
7 **
52
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
8 ** Commercial Usage
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
9 Licensees holding valid Qt Commercial licenses may use this file in
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
10 accordance with the Qt Commercial License Agreement provided with the
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
11 Software or, alternatively, in accordance with the terms contained in
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
12 a written agreement between you and Nokia.
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
13
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
14 GNU Lesser General Public License Usage
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
15 Alternatively, this file may be used under the terms of the GNU Lesser
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
16 General Public License version 2.1 as published by the Free Software
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
17 Foundation and appearing in the file LICENSE.LGPL included in the
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
18 packaging of this file. Please review the following information to
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
19 ensure the GNU Lesser General Public License version 2.1 requirements
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
20 will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
21
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
22 In addition, as a special exception, Nokia gives you certain
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
23 additional rights. These rights are described in the Nokia Qt LGPL
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
24 Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
25 package.
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
26
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
27 GNU General Public License Usage
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
28 Alternatively, this file may be used under the terms of the GNU
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
29 General Public License version 3.0 as published by the Free Software
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
30 Foundation and appearing in the file LICENSE.GPL included in the
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
31 packaging of this file. Please review the following information to
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
32 ensure the GNU General Public License version 3.0 requirements will be
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
33 met: http://www.gnu.org/copyleft/gpl.html.
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
34
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
35 If you are unsure which license is appropriate for your use, please
09a0f1d048f2 update parser to that from jambi 4.5, attemt to fix building with gcc 4.4
eldar
parents: 1
diff changeset
36 contact the sales department at qt-sales@nokia.com.
1
e78566595089 initial import
mandel
parents:
diff changeset
37
e78566595089 initial import
mandel
parents:
diff changeset
38 **
e78566595089 initial import
mandel
parents:
diff changeset
39 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
e78566595089 initial import
mandel
parents:
diff changeset
40 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
e78566595089 initial import
mandel
parents:
diff changeset
41 **
e78566595089 initial import
mandel
parents:
diff changeset
42 ****************************************************************************/
e78566595089 initial import
mandel
parents:
diff changeset
43
e78566595089 initial import
mandel
parents:
diff changeset
44
e78566595089 initial import
mandel
parents:
diff changeset
45 #ifndef PARSER_H
e78566595089 initial import
mandel
parents:
diff changeset
46 #define PARSER_H
e78566595089 initial import
mandel
parents:
diff changeset
47
e78566595089 initial import
mandel
parents:
diff changeset
48 #include "ast.h"
e78566595089 initial import
mandel
parents:
diff changeset
49 #include "lexer.h"
e78566595089 initial import
mandel
parents:
diff changeset
50
e78566595089 initial import
mandel
parents:
diff changeset
51 #include <QtCore/QString>
e78566595089 initial import
mandel
parents:
diff changeset
52
e78566595089 initial import
mandel
parents:
diff changeset
53 class FileSymbol;
e78566595089 initial import
mandel
parents:
diff changeset
54 class Control;
e78566595089 initial import
mandel
parents:
diff changeset
55
e78566595089 initial import
mandel
parents:
diff changeset
56 class Parser
e78566595089 initial import
mandel
parents:
diff changeset
57 {
e78566595089 initial import
mandel
parents:
diff changeset
58 public:
e78566595089 initial import
mandel
parents:
diff changeset
59 Parser(Control *control);
e78566595089 initial import
mandel
parents:
diff changeset
60 ~Parser();
e78566595089 initial import
mandel
parents:
diff changeset
61
e78566595089 initial import
mandel
parents:
diff changeset
62 LocationManager &location() { return _M_location; }
e78566595089 initial import
mandel
parents:
diff changeset
63
e78566595089 initial import
mandel
parents:
diff changeset
64 TranslationUnitAST *parse(const char *contents, std::size_t size, pool *p);
e78566595089 initial import
mandel
parents:
diff changeset
65
e78566595089 initial import
mandel
parents:
diff changeset
66 private:
e78566595089 initial import
mandel
parents:
diff changeset
67 void reportError(const QString& msg);
e78566595089 initial import
mandel
parents:
diff changeset
68 void syntaxError();
e78566595089 initial import
mandel
parents:
diff changeset
69 void tokenRequiredError(int expected);
e78566595089 initial import
mandel
parents:
diff changeset
70
e78566595089 initial import
mandel
parents:
diff changeset
71 public:
e78566595089 initial import
mandel
parents:
diff changeset
72 bool skipFunctionBody(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
73
e78566595089 initial import
mandel
parents:
diff changeset
74 public:
e78566595089 initial import
mandel
parents:
diff changeset
75 bool parse_Attribute__();
e78566595089 initial import
mandel
parents:
diff changeset
76 bool parseAbstractDeclarator(DeclaratorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
77 bool parseAccessSpecifier(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
78 bool parseAdditiveExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
79 bool parseAndExpression(ExpressionAST *&node, bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
80 bool parseAsmDefinition(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
81 bool parseAssignmentExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
82 bool parseBaseClause(BaseClauseAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
83 bool parseBaseSpecifier(BaseSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
84 bool parseBlockDeclaration(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
85 bool parseCastExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
86 bool parseClassSpecifier(TypeSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
87 bool parseForwardDeclarationSpecifier(TypeSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
88 bool parseCommaExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
89 bool parseCompoundStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
90 bool parseCondition(ConditionAST *&node, bool initRequired = true);
e78566595089 initial import
mandel
parents:
diff changeset
91 bool parseConditionalExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
92 bool parseConstantExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
93 bool parseCtorInitializer(CtorInitializerAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
94 bool parseCvQualify(const ListNode<std::size_t> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
95 bool parseDeclaration(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
96 bool parseDeclarationInternal(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
97 bool parseDeclarationStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
98 bool parseDeclarator(DeclaratorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
99 bool parseDeleteExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
100 bool parseDoStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
101 bool parseElaboratedTypeSpecifier(TypeSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
102 bool parseEnumSpecifier(TypeSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
103 bool parseEnumerator(EnumeratorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
104 bool parseEqualityExpression(ExpressionAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
105 bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
106 bool parseExceptionSpecification(ExceptionSpecificationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
107 bool parseExclusiveOrExpression(ExpressionAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
108 bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
109 bool parseExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
110 bool parseExpressionOrDeclarationStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
111 bool parseExpressionStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
112 bool parseForInitStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
113 bool parseForStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
114 bool parseFunctionBody(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
115 bool parseFunctionSpecifier(const ListNode<std::size_t> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
116 bool parseIfStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
117 bool parseInclusiveOrExpression(ExpressionAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
118 bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
119 bool parseInitDeclarator(InitDeclaratorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
120 bool parseInitDeclaratorList(const ListNode<InitDeclaratorAST*> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
121 bool parseInitializer(InitializerAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
122 bool parseInitializerClause(InitializerClauseAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
123 bool parseLabeledStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
124 bool parseLinkageBody(LinkageBodyAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
125 bool parseLinkageSpecification(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
126 bool parseLogicalAndExpression(ExpressionAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
127 bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
128 bool parseLogicalOrExpression(ExpressionAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
129 bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
130 bool parseMemInitializer(MemInitializerAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
131 bool parseMemInitializerList(const ListNode<MemInitializerAST*> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
132 bool parseMemberSpecification(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
133 bool parseMultiplicativeExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
134 bool parseName(NameAST *&node, bool acceptTemplateId = false);
e78566595089 initial import
mandel
parents:
diff changeset
135 bool parseNamespace(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
136 bool parseNamespaceAliasDefinition(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
137 bool parseNewDeclarator(NewDeclaratorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
138 bool parseNewExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
139 bool parseNewInitializer(NewInitializerAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
140 bool parseNewTypeId(NewTypeIdAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
141 bool parseOperator(OperatorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
142 bool parseOperatorFunctionId(OperatorFunctionIdAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
143 bool parseParameterDeclaration(ParameterDeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
144 bool parseParameterDeclarationClause(ParameterDeclarationClauseAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
145 bool parseParameterDeclarationList(const ListNode<ParameterDeclarationAST*> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
146 bool parsePmExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
147 bool parsePostfixExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
148 bool parsePostfixExpressionInternal(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
149 bool parsePrimaryExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
150 bool parsePtrOperator(PtrOperatorAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
151 bool parsePtrToMember(PtrToMemberAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
152 bool parseRelationalExpression(ExpressionAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
153 bool templArgs = false);
e78566595089 initial import
mandel
parents:
diff changeset
154 bool parseShiftExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
155 bool parseSimpleTypeSpecifier(TypeSpecifierAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
156 bool onlyIntegral = false);
e78566595089 initial import
mandel
parents:
diff changeset
157 bool parseStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
158 bool parseStorageClassSpecifier(const ListNode<std::size_t> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
159 bool parseStringLiteral(StringLiteralAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
160 bool parseSwitchStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
161 bool parseTemplateArgument(TemplateArgumentAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
162 bool parseTemplateArgumentList(const ListNode<TemplateArgumentAST*> *&node,
e78566595089 initial import
mandel
parents:
diff changeset
163 bool reportError = true);
e78566595089 initial import
mandel
parents:
diff changeset
164 bool parseTemplateDeclaration(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
165 bool parseTemplateParameter(TemplateParameterAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
166 bool parseTemplateParameterList(const ListNode<TemplateParameterAST*> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
167 bool parseThrowExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
168 bool parseTranslationUnit(TranslationUnitAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
169 bool parseTryBlockStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
170 bool parseTypeId(TypeIdAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
171 bool parseTypeIdList(const ListNode<TypeIdAST*> *&node);
e78566595089 initial import
mandel
parents:
diff changeset
172 bool parseTypeParameter(TypeParameterAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
173 bool parseTypeSpecifier(TypeSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
174 bool parseTypeSpecifierOrClassSpec(TypeSpecifierAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
175 bool parseTypedef(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
176 bool parseUnaryExpression(ExpressionAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
177 bool parseUnqualifiedName(UnqualifiedNameAST *&node,
e78566595089 initial import
mandel
parents:
diff changeset
178 bool parseTemplateId = true);
e78566595089 initial import
mandel
parents:
diff changeset
179 bool parseUsing(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
180 bool parseUsingDirective(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
181 bool parseWhileStatement(StatementAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
182 bool parseWinDeclSpec(WinDeclSpecAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
183
e78566595089 initial import
mandel
parents:
diff changeset
184 bool parseQ_PROPERTY(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
185 bool parseQ_ENUMS(DeclarationAST *&node);
e78566595089 initial import
mandel
parents:
diff changeset
186
e78566595089 initial import
mandel
parents:
diff changeset
187 bool skipUntil(int token);
e78566595089 initial import
mandel
parents:
diff changeset
188 bool skipUntilDeclaration();
e78566595089 initial import
mandel
parents:
diff changeset
189 bool skipUntilStatement();
e78566595089 initial import
mandel
parents:
diff changeset
190 bool skip(int l, int r);
e78566595089 initial import
mandel
parents:
diff changeset
191
e78566595089 initial import
mandel
parents:
diff changeset
192 void advance();
e78566595089 initial import
mandel
parents:
diff changeset
193
e78566595089 initial import
mandel
parents:
diff changeset
194 // private:
e78566595089 initial import
mandel
parents:
diff changeset
195 TokenStream token_stream;
e78566595089 initial import
mandel
parents:
diff changeset
196 LocationTable location_table;
e78566595089 initial import
mandel
parents:
diff changeset
197 LocationTable line_table;
e78566595089 initial import
mandel
parents:
diff changeset
198
e78566595089 initial import
mandel
parents:
diff changeset
199 bool block_errors(bool block);
e78566595089 initial import
mandel
parents:
diff changeset
200
e78566595089 initial import
mandel
parents:
diff changeset
201 private:
e78566595089 initial import
mandel
parents:
diff changeset
202 QString tokenText(AST *) const;
e78566595089 initial import
mandel
parents:
diff changeset
203
e78566595089 initial import
mandel
parents:
diff changeset
204 LocationManager _M_location;
e78566595089 initial import
mandel
parents:
diff changeset
205 Control *control;
e78566595089 initial import
mandel
parents:
diff changeset
206 Lexer lexer;
e78566595089 initial import
mandel
parents:
diff changeset
207 pool *_M_pool;
e78566595089 initial import
mandel
parents:
diff changeset
208 bool _M_block_errors;
e78566595089 initial import
mandel
parents:
diff changeset
209
e78566595089 initial import
mandel
parents:
diff changeset
210 private:
e78566595089 initial import
mandel
parents:
diff changeset
211 Parser(const Parser& source);
e78566595089 initial import
mandel
parents:
diff changeset
212 void operator = (const Parser& source);
e78566595089 initial import
mandel
parents:
diff changeset
213 };
e78566595089 initial import
mandel
parents:
diff changeset
214
e78566595089 initial import
mandel
parents:
diff changeset
215 #endif
e78566595089 initial import
mandel
parents:
diff changeset
216
e78566595089 initial import
mandel
parents:
diff changeset
217 // kate: space-indent on; indent-width 2; replace-tabs on;