cppexpose  1.0.0.b785e04f23b8
C++ library for type introspection, reflection, and scripting interface
Public Attributes | List of all members
cppexpose::Tokenizer::Token Struct Reference

Token. More...

#include <cppexpose/include/cppexpose/base/Tokenizer.h>

Public Attributes

TokenType type
 Type of token (see TokenType) More...
 
std::string content
 Token content (the actual string read) More...
 
Variant value
 Interpreted value of the token. More...
 
const char * begin
 Pointer to the first character of the token. More...
 
const char * end
 Pointer to the first character after the token. More...
 
unsigned int line
 Line number where the token begins. More...
 
unsigned int column
 Columns number where the token begins. More...
 

Detailed Description

Token.

Member Data Documentation

TokenType cppexpose::Tokenizer::Token::type

Type of token (see TokenType)

std::string cppexpose::Tokenizer::Token::content

Token content (the actual string read)

Variant cppexpose::Tokenizer::Token::value

Interpreted value of the token.

const char* cppexpose::Tokenizer::Token::begin

Pointer to the first character of the token.

const char* cppexpose::Tokenizer::Token::end

Pointer to the first character after the token.

unsigned int cppexpose::Tokenizer::Token::line

Line number where the token begins.

unsigned int cppexpose::Tokenizer::Token::column

Columns number where the token begins.


The documentation for this struct was generated from the following file: