blob: eb85cea8734df3683f1e82d39837a1275c61d34d [file] [log] [blame]
alokp@chromium.org01fd4312012-03-30 21:33:30 +00001//
2// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7#ifndef COMPILER_PREPROCESSOR_LEXER_H_
8#define COMPILER_PREPROCESSOR_LEXER_H_
9
alokp@chromium.org01fd4312012-03-30 21:33:30 +000010namespace pp
11{
12
alokp@chromium.orgd089d112012-04-13 17:05:12 +000013struct Token;
alokp@chromium.org01fd4312012-03-30 21:33:30 +000014
15class Lexer
16{
17 public:
alokp@chromium.org964b7192012-05-17 21:12:27 +000018 virtual ~Lexer();
19
alokp@chromium.org04d7d222012-05-16 19:24:07 +000020 virtual void lex(Token* token) = 0;
alokp@chromium.org01fd4312012-03-30 21:33:30 +000021};
22
23} // namespace pp
alokp@chromium.org4b2a5222012-04-03 17:19:42 +000024#endif // COMPILER_PREPROCESSOR_LEXER_H_
alokp@chromium.org01fd4312012-03-30 21:33:30 +000025