35 |
/*! This function returns the token associated to the name "word" if it |
/*! This function returns the token associated to the name "word" if it |
36 |
corresponds to a Keyword, else, it returns "-1". |
corresponds to a Keyword, else, it returns "-1". |
37 |
*/ |
*/ |
38 |
const int isKeyword (const std::string& word); |
int isKeyword (const std::string& word); |
39 |
|
|
40 |
public: |
public: |
41 |
|
|
42 |
//! The lexer function. |
//! The lexer function. |
43 |
const int yylex(); |
int yylex(); |
44 |
|
|
45 |
//! Constructs a POVLexer for given std::istream and std::ostream. |
//! Constructs a POVLexer for given std::istream and std::ostream. |
46 |
POVLexer(std::istream& In, |
POVLexer(std::istream& In, |