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
7 #ifndef COMPILER_PREPROCESSOR_EXPRESSION_PARSER_H_
\r
8 #define COMPILER_PREPROCESSOR_EXPRESSION_PARSER_H_
\r
10 #include "pp_utils.h"
\r
19 class ExpressionParser
\r
22 ExpressionParser(Lexer* lexer, Diagnostics* diagnostics);
\r
24 bool parse(Token* token, int* result);
\r
27 PP_DISALLOW_COPY_AND_ASSIGN(ExpressionParser);
\r
30 Diagnostics* mDiagnostics;
\r
34 #endif // COMPILER_PREPROCESSOR_EXPRESSION_PARSER_H_
\r