The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs | Enumerations | Functions
wfl::tokenizer Namespace Reference

Classes

struct  token
 
struct  token_error
 

Typedefs

typedef std::string::const_iterator iterator
 

Enumerations

enum  TOKEN_TYPE {
  TOKEN_OPERATOR, TOKEN_STRING_LITERAL, TOKEN_IDENTIFIER, TOKEN_INTEGER,
  TOKEN_DECIMAL, TOKEN_LPARENS, TOKEN_RPARENS, TOKEN_LSQUARE,
  TOKEN_RSQUARE, TOKEN_COMMA, TOKEN_SEMICOLON, TOKEN_WHITESPACE,
  TOKEN_EOL, TOKEN_KEYWORD, TOKEN_COMMENT, TOKEN_POINTER
}
 TOKEN_TYPE is already defined in a Winnt.h (a windows header wich is included under some conditions.) More...
 

Functions

token get_token (iterator &i1, const iterator i2)
 

Typedef Documentation

typedef std::string::const_iterator wfl::tokenizer::iterator

Definition at line 24 of file tokenizer.hpp.

Enumeration Type Documentation

TOKEN_TYPE is already defined in a Winnt.h (a windows header wich is included under some conditions.)

Enumerator
TOKEN_OPERATOR 
TOKEN_STRING_LITERAL 
TOKEN_IDENTIFIER 
TOKEN_INTEGER 
TOKEN_DECIMAL 
TOKEN_LPARENS 
TOKEN_RPARENS 
TOKEN_LSQUARE 
TOKEN_RSQUARE 
TOKEN_COMMA 
TOKEN_SEMICOLON 
TOKEN_WHITESPACE 
TOKEN_EOL 
TOKEN_KEYWORD 
TOKEN_COMMENT 
TOKEN_POINTER 

Definition at line 27 of file tokenizer.hpp.

Function Documentation

token wfl::tokenizer::get_token ( iterator &  i1,
const iterator  i2 
)