() == token;
109 if( !
Check(token) )
114 if( !
Check(token) )
138 char expected[2] = { symbol,
'\0'};
159 if( symbol == symbol1 || symbol == symbol2 )
void FlushCommentsTo(CComments &comments)
bool CheckSymbol(char symbol)
const string & ConsumeAndValue(void)
const AbstractToken & NextToken(void)
int LastTokenLine(void) const
const string & ConsumeAndValue(void)
const string & ValueOf(TToken token, const char *expected)
bool ConsumeIfSymbol(char symbol)
int LastTokenLine(void) const
void Expect(TToken token, const char *expected)
bool ConsumeIf(TToken token)
const AbstractToken & NextToken(void) const
bool CheckSymbol(char symbol)
void Consume(TToken token, const char *expected)
char CheckSymbols(char symbol1, char symbol2)
void ExpectSymbol(char symbol)
void ConsumeSymbol(char symbol)
AbstractParser(AbstractLexer &lexer)
void CopyLineComment(int line, CComments &comments, int flags=0)
virtual void EndCommentBlock(void)
AbstractLexer & Lexer(void)
void SetLexer(AbstractLexer *lexer)
virtual void ParseError(const char *error, const char *expected, const AbstractToken &token)
void CopyComments(CComments &comments)
void ParseError(const char *error, const char *expected)
virtual string GetLocation(void)
virtual ~AbstractParser(void)
int NextTokenLine(void) const
void ParseError(const char *expected)
const AbstractLexer & Lexer(void) const
char GetSymbol(void) const
TToken GetToken(void) const
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * expected[]
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
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