Go to the SVN repository for this file.
62 if(
Char(1)==
'!') {
66}
else if(
Char() ==
'[') {
72 LexerError(
"name must start with a letter (alpha)");
96 if(
Char(1) ==
']'&&
Char(2) ==
'>') {
102 if(
isalpha((
unsigned char) c)) {
106 if(
isdigit((
unsigned char) c)) {
137 if((
Char(1) ==
'!') && (
Char(2) ==
'-') && (
Char(3) ==
'-')) {
150 if(
Char(1) ==
'-') {
166 boolallblank =
true;
190 if((
Char(1) ==
'!') && (
Char(2) ==
'-') && (
Char(3) ==
'-')) {
205 if(
Char(1) ==
'-') {
213 if((
Char(1) ==
'-') && (
Char(2) ==
'>')) {
224allblank = allblank &&
isspace((
unsigned char)c);
237 return isalnum((
unsigned char) c) || strchr(
"#._-:", c);
246 for(c =
Char(); c != 0; c =
Char()) {
260 #define CHECK(keyword, t, length) \ 261 if ( memcmp(token, keyword, length) == 0 ) return t 321}
else if(
isalpha((
unsigned char)
Char(1))) {
324 for(c =
Char(); c !=
';'&& c != 0; c =
Char()) {
345 if(c0 !=
'\"'&& c0 !=
'\'') {
351 for(
charc =
Char(); c != c0 && c != 0; c =
Char()) {
void SkipChars(size_t count)
virtual void LexerError(const char *error)
size_t CurrentTokenLength(void) const
CComment & AddComment(void)
const char * CurrentTokenStart(void) const
void RemoveLastComment(void)
virtual ~DTDEntityLexer(void)
DTDEntityLexer(CNcbiIstream &in, const string &name, bool autoDelete=true)
TToken LookupString(void)
virtual void LookupComments(void) override
bool IsIdentifierSymbol(char c)
DTDLexer(CNcbiIstream &in, const string &name)
TToken LookupEntity(void)
virtual TToken LookupKeyword(void)
virtual TToken LookupToken(void) override
bool ProcessComment(bool sgml_type=false)
TToken LookupIdentifier(void)
#define CHECK(keyword, t, length)
#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