ReactOS 0.4.15-dev-8102-g108db8f
Token Class Reference

#include <tokenizer.hpp>

Collaboration diagram for Token:

Public Member Functions

 Token (const std::string &text, size_t pos, size_t len, int type)
std::string str () const
int type () const

Private Attributes

const std::string & m_text
unsigned int m_pos
unsigned int m_len
int m_type

Detailed Description

Definition at line 27 of file tokenizer.hpp.

Constructor & Destructor Documentation

◆ Token()

Token::Token ( const std::string &  text,
size_t  pos,
size_t  len,
int  type 

Definition at line 39 of file tokenizer.hpp.

40 : m_text(text),
41 m_pos(static_cast<unsigned int>(pos)),
42 m_len(static_cast<unsigned int>(len)),
44 {
45#if _DEBUG
46 m_dbgstr = str();
48 }
unsigned int m_len
Definition: tokenizer.hpp:31
unsigned int m_pos
Definition: tokenizer.hpp:30
const std::string & m_text
Definition: tokenizer.hpp:29
int m_type
Definition: tokenizer.hpp:35
std::string str() const
Definition: tokenizer.hpp:50
const WCHAR * text
Definition: package.c:1799
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLenum GLsizei len
Definition: glext.h:6722

Referenced by EHCI_GetErrorFromTD().

Member Function Documentation

◆ str()

◆ type()

Member Data Documentation

◆ m_len

unsigned int Token::m_len

Definition at line 31 of file tokenizer.hpp.

Referenced by str().

◆ m_pos

unsigned int Token::m_pos

Definition at line 30 of file tokenizer.hpp.

Referenced by str().

◆ m_text

const std::string& Token::m_text

Definition at line 29 of file tokenizer.hpp.

Referenced by str().

◆ m_type

int Token::m_type

Definition at line 35 of file tokenizer.hpp.

Referenced by type().

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