|
FreePOOMA
2.4.1
|
#include <Parser.h>
Public Member Functions | |
| Token (const string &str) | |
| Token (const string &str, int pos, int len, TokenType type, int line) | |
| void | set (int pos, int len, TokenType type, int line) |
| string | text () const |
| TokenType | type () const |
| int | line () const |
| int | isKeyword () const |
| Token::Token | ( | const string & | str | ) | [inline] |
| Token::Token | ( | const string & | str, |
| int | pos, | ||
| int | len, | ||
| TokenType | type, | ||
| int | line | ||
| ) | [inline] |
| void Token::set | ( | int | pos, |
| int | len, | ||
| TokenType | type, | ||
| int | line | ||
| ) | [inline] |
References line(), and type().
Referenced by Lexer::nextToken().
| string Token::text | ( | ) | const [inline] |
Referenced by operator<<().
| TokenType Token::type | ( | ) | const [inline] |
Referenced by Lexer::matchCurrent(), operator<<(), Parser< Descriptor >::parse(), and set().
| int Token::line | ( | ) | const [inline] |
Referenced by Lexer::matchCurrent(), and set().
| int Token::isKeyword | ( | ) | const [inline] |
1.7.6.1