OSDN Git Service

Increment the version number.
[android-x86/external-swiftshader.git] / src / Radiance / compiler / preprocessor / ExpressionParser.h
1 //\r
2 // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.\r
3 // Use of this source code is governed by a BSD-style license that can be\r
4 // found in the LICENSE file.\r
5 //\r
6 \r
7 #ifndef COMPILER_PREPROCESSOR_EXPRESSION_PARSER_H_\r
8 #define COMPILER_PREPROCESSOR_EXPRESSION_PARSER_H_\r
9 \r
10 #include "pp_utils.h"\r
11 \r
12 namespace pp\r
13 {\r
14 \r
15 class Diagnostics;\r
16 class Lexer;\r
17 struct Token;\r
18 \r
19 class ExpressionParser\r
20 {\r
21   public:\r
22     ExpressionParser(Lexer* lexer, Diagnostics* diagnostics);\r
23 \r
24     bool parse(Token* token, int* result);\r
25 \r
26   private:\r
27     PP_DISALLOW_COPY_AND_ASSIGN(ExpressionParser);\r
28 \r
29     Lexer* mLexer;\r
30     Diagnostics* mDiagnostics;\r
31 };\r
32 \r
33 }  // namespace pp\r
34 #endif  // COMPILER_PREPROCESSOR_EXPRESSION_PARSER_H_\r