1 //===--------------------- StringLexer.h -------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef utility_StringLexer_h_
11 #define utility_StringLexer_h_
16 namespace lldb_utility {
21 typedef std::string::size_type Position;
22 typedef std::string::size_type Size;
24 typedef std::string::value_type Character;
26 StringLexer (std::string s);
28 StringLexer (const StringLexer& rhs);
46 PutBack (Character c);
49 operator = (const StringLexer& rhs);
54 std::list<Character> m_putback_data;
60 } // namespace lldb_private
62 #endif // #ifndef utility_StringLexer_h_