Go to the SVN repository for this file.
41 return isalnum((
unsigned char) c) ?
true:
false;
46 return isdigit((
unsigned char) c) ?
true:
false;
63 if(
Char(1) ==
':'&&
Char(2) ==
'=') {
109 else if( c >=
'a'&& c <=
'z') {
115 else if( c >=
'A'&& c <=
'Z') {
140 if(
Char(1) ==
'-') {
148 if(
Char(1) ==
'*') {
181 if(
Char(1) ==
'-') {
187 if(
Char(1) ==
'/') {
217 if(
Char(1) !=
'\"') {
224 if( c < ' ' && c >
'\0') {
225 LexerWarning(
"illegal character in string: \\...", 4);
258 case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
259 case '9':
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
264 switch(
Char(1) ) {
268 LexerWarning(
"binary string contains hexadecimal digits", 8);
292 else if( c ==
'-') {
312 if(c ==
'.'|| c ==
'e'|| c ==
'E'|| c ==
'-'|| c ==
'+') {
340 case '0':
case '1':
case '2':
case '3':
case '4':
341 case '5':
case '6':
case '7':
case '8':
case '9':
353 #define CHECK(keyword, t, length) \ 354 if ( memcmp(token, keyword, length) == 0 ) return tTToken LookupKeyword(void)
void AddStringChar(char c)
bool AllowIDsEndingWithMinus(void) const
TToken LookupBinHexString(void)
TToken LookupNumber(void)
void LookupIdentifier(void)
virtual void LookupComments(void) override
ASNLexer(CNcbiIstream &in, const string &name)
virtual TToken LookupToken(void) override
bool TokenStarted(void) const
virtual void LexerWarning(const char *error, int err_subcode=0)
void SkipChars(size_t count)
size_t CurrentTokenLength(void) const
CComment & AddComment(void)
void AddChars(size_t count)
const char * CurrentTokenStart(void) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
#define CHECK(keyword, t, length)
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