ANTLR Support Libraries 2.7.1+
String.hpp
Go to the documentation of this file.
1 #ifndef INC_String_hpp__
2 #define INC_String_hpp__
3 
4 /* ANTLR Translator Generator
5  * Project led by Terence Parr at http://www.jGuru.com
6  * Software rights: http://www.antlr.org/license.html
7  *
8  * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/String.hpp#2 $
9  */
10 
11 #include <antlr/config.hpp>
12 #include <string>
13 
14 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
15 namespace antlr {
16 #endif
17 
18 ANTLR_API ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_USE_NAMESPACE(std)string& lhs, const int rhs );
19 ANTLR_API ANTLR_USE_NAMESPACE(std)string operator+( const ANTLR_USE_NAMESPACE(std)string& lhs, size_t rhs );
20 
21 ANTLR_API ANTLR_USE_NAMESPACE(std)string charName( int ch );
22 
23 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
24 }
25 #endif
26 
27 #endif //INC_String_hpp__
Definition: ANTLRException.hpp:15
#define ANTLR_API
Definition: config.hpp:22
#define ANTLR_USE_NAMESPACE(_x_)
Definition: config.hpp:18
std ::string operator+(const std ::string &lhs, const int rhs)
Definition: String.cpp:31
std ::string charName(int ch)
Definition: String.cpp:47