18 #pragma warning(disable:4231)
37 return "TT_IDENTIFIER";
53 return "TT_PARENOPEN";
57 return "TT_PARENCLOSE";
117 std::string::iterator
end;
Definition: UnitStringLexer.h:81
std::string source
Definition: UnitStringLexer.h:114
void PeekNextToken(SUnitStringToken &token)
Definition: UnitStringLexer.h:99
bool scanNext
Definition: UnitStringLexer.h:116
std::string::iterator cursor
Definition: UnitStringLexer.h:118
void ScanNextToken()
Definition: UnitStringLexer.cpp:12
CUnitStringLexer(const std::string &src)
Definition: UnitStringLexer.h:83
void GetNextToken(SUnitStringToken &token)
Definition: UnitStringLexer.h:89
std::string::iterator end
Definition: UnitStringLexer.h:117
SUnitStringToken curToken
Definition: UnitStringLexer.h:115
Definition: UnitStringLexer.h:23
SUnitStringToken()
Definition: UnitStringLexer.h:24
enum SUnitStringToken::@0 tokenID
@ TT_IDENTIFIER
Definition: UnitStringLexer.h:75
@ TT_PARENCLOSE
Definition: UnitStringLexer.h:75
@ TT_ERR
Definition: UnitStringLexer.h:75
@ TT_EOF
Definition: UnitStringLexer.h:75
@ TT_EXPONENT
Definition: UnitStringLexer.h:75
@ TT_SLASH
Definition: UnitStringLexer.h:75
@ TT_DB
Definition: UnitStringLexer.h:75
@ TT_FLOAT
Definition: UnitStringLexer.h:75
@ TT_PARENOPEN
Definition: UnitStringLexer.h:75
double fltval
Definition: UnitStringLexer.h:77
std::string symbol
Definition: UnitStringLexer.h:76
std::string toString() const
Definition: UnitStringLexer.h:32
SUnitStringToken(SUnitStringToken &src)
Definition: UnitStringLexer.h:28