ANTLR Support Libraries 2.7.1+
ANTLRUtil.hpp
Go to the documentation of this file.
1 #ifndef INC_ANTLRUtil_hpp__
2 #define INC_ANTLRUtil_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:$
9  */
10 
11 #include <antlr/config.hpp>
12 #include <iostream>
13 
14 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
15 namespace antlr {
16 #endif
17 
22 
30 
31 /* Read a ([A-Z][0-9][a-z]_)* kindoff thing. Skips leading whitespace.
32  * @param in the istream to read from.
33  */
35 
46  ANTLR_USE_NAMESPACE(std)string& attribute,
47  ANTLR_USE_NAMESPACE(std)string& value );
48 
49 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
50 }
51 #endif
52 
53 #endif
Definition: ANTLRException.hpp:15
std ::string read_identifier(std ::istream &in)
Definition: ANTLRUtil.cpp:112
std ::istream & eatwhite(std ::istream &is)
Definition: ANTLRUtil.cpp:22
std ::string read_string(std ::istream &in)
Definition: ANTLRUtil.cpp:46
void read_AttributeNValue(std ::istream &in, std ::string &attribute, std ::string &value)
Definition: ANTLRUtil.cpp:148
#define ANTLR_USE_NAMESPACE(_x_)
Definition: config.hpp:18