blob: 990dc5e21de56e1f32e209fcddc6d1e1b162da0c [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.org01fd4312012-03-30 21:33:30 +000024
Geoff Lang0a73dd82014-11-19 16:18:08 -050025#endif // COMPILER_PREPROCESSOR_LEXER_H_