lux/lexer/term.h

00001 #ifndef LUX_LEXER_TERM_H
00002 #define LUX_LEXER_TERM_H
00003 
00004 #include <string>
00005 
00006 namespace Lux {
00007 
00008   class Term {
00009   public:
00010     Term(std::string text = "", unsigned int length = 0, unsigned int offset = 0);
00011     Term operator+(Term &term);
00012     Term &operator+=(Term &term);
00013 
00014     std::string text_;
00015     unsigned int length_;
00016     unsigned int offset_;
00017   };
00018 }
00019 
00020 #endif

Generated on Fri Feb 5 15:50:30 2010 for Lux by  doxygen 1.4.7