16 #ifndef TOKENIZER_H_INCLUDED
17 #define TOKENIZER_H_INCLUDED
71 #ifdef DEBUG_TOKENIZER
72 const token &previous_token()
const
74 return previous_token_;
110 }
while (
UNLIKELY(current_ ==
'\r'));
174 #ifdef DEBUG_TOKENIZER
175 token previous_token_;
int get_start_line() const
Abstract baseclass for the tokenizer.
GLuint GLuint GLsizei GLenum type
const std::string & textdomain() const
int peek()
Gets a character from the buffer.
Helper class for buffering a std::istream.
const token & next_token()
int get()
Gets and consumes a character from the buffer.
GLsizei const GLfloat * value
bool is_alnum(int c) const
bool is_space(int c) const
int char_type(unsigned c) const
const token & current_token() const
Helper class for buffering a std::istream.
const std::string & get_file() const
A config object defines a single node in a WML file, with access to child nodes.
bool skip_command(char const *cmd)
Returns true if the next characters are the one from cmd followed by a space.
GLsizei const GLcharARB ** string