Go to the SVN repository for this file.
1 #ifndef ABSTRACT_LEXER_HPP 2 #define ABSTRACT_LEXER_HPP 72 LexerError(
"illegal call: Consume() without NextToken()");
virtual TToken LookupToken(void)=0
const string & GetName(void) const
void SetParser(AbstractParser *parser)
void SkipNextComment(void)
bool TokenStarted(void) const
virtual void LexerWarning(const char *error, int err_subcode=0)
void SkipChars(size_t count)
AbstractParser * m_Parser
virtual void LexerError(const char *error)
list< CComment > m_Comments
void FlushCommentsTo(CComments &comments)
bool CheckSymbol(char symbol)
int CurrentLine(void) const
virtual ~AbstractLexer(void)
AbstractLexer(CNcbiIstream &in, const string &name)
size_t CurrentTokenLength(void) const
AbstractToken m_NextToken
const AbstractToken & FillNextToken(void)
CComment & AddComment(void)
void AddChars(size_t count)
const string & ConsumeAndValue(void)
bool HaveComments(void) const
char FillChar(size_t index)
const AbstractToken & NextToken(void)
virtual void LookupComments(void)=0
int LastTokenLine(void) const
const char * CurrentTokenEnd(void) const
const char * CurrentTokenStart(void) const
const CComment & NextComment(void) const
void RemoveLastComment(void)
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
std::istream & in(std::istream &in_, double &x_)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4