00001 #ifndef INC_TreeParserSharedInputState_hpp__ 00002 #define INC_TreeParserSharedInputState_hpp__ 00003 00004 /* ANTLR Translator Generator 00005 * Project led by Terence Parr at http://www.jGuru.com 00006 * Software rights: http://www.antlr.org/license.html 00007 * 00008 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/TreeParserSharedInputState.hpp#2 $ 00009 */ 00010 00011 #include <antlr/config.hpp> 00012 #include <antlr/RefCount.hpp> 00013 00014 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE 00015 namespace antlr { 00016 #endif 00017 00024 class ANTLR_API TreeParserInputState { 00025 public: 00026 TreeParserInputState() : guessing(0) {} 00027 virtual ~TreeParserInputState() {} 00028 00029 public: 00031 int guessing; //= 0; 00032 00033 private: 00034 // we don't want these: 00035 TreeParserInputState(const TreeParserInputState&); 00036 TreeParserInputState& operator=(const TreeParserInputState&); 00037 }; 00038 00039 typedef RefCount<TreeParserInputState> TreeParserSharedInputState; 00040 00041 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE 00042 } 00043 #endif 00044 00045 #endif //INC_TreeParserSharedInputState_hpp__