summaryrefslogtreecommitdiffstats
path: root/gfx/angle/src/compiler/preprocessor/Lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/src/compiler/preprocessor/Lexer.h')
-rwxr-xr-xgfx/angle/src/compiler/preprocessor/Lexer.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/gfx/angle/src/compiler/preprocessor/Lexer.h b/gfx/angle/src/compiler/preprocessor/Lexer.h
new file mode 100755
index 000000000..775bc0a20
--- /dev/null
+++ b/gfx/angle/src/compiler/preprocessor/Lexer.h
@@ -0,0 +1,27 @@
+//
+// Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+
+#ifndef COMPILER_PREPROCESSOR_LEXER_H_
+#define COMPILER_PREPROCESSOR_LEXER_H_
+
+#include "common/angleutils.h"
+
+namespace pp
+{
+
+struct Token;
+
+class Lexer : angle::NonCopyable
+{
+ public:
+ virtual ~Lexer();
+
+ virtual void lex(Token *token) = 0;
+};
+
+} // namespace pp
+
+#endif // COMPILER_PREPROCESSOR_LEXER_H_