blob: d42d3db7e095b83d51687033a39743c9f8289f58 [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
Zhenyao Mod526f982014-05-13 14:51:19 -070020 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