Qt 4.8
Public Functions | Public Variables | List of all members
QPatternist::TokenSource::Token Class Reference

#include <qtokensource_p.h>

Public Functions

bool hasError () const
 
 Token ()
 
 Token (const TokenType t)
 
 Token (const TokenType t, const QString &val)
 

Public Variables

TokenType type
 
QString value
 

Detailed Description

Represents a token by carrying its name and value.

Definition at line 121 of file qtokensource_p.h.

Constructors and Destructors

◆ Token() [1/3]

QPatternist::TokenSource::Token::Token ( )
inline

Constructs an invalid Token. This default constructor is need in Qt's container classes.

Definition at line 128 of file qtokensource_p.h.

128 {}

◆ Token() [2/3]

QPatternist::TokenSource::Token::Token ( const TokenType  t)
inline

Definition at line 129 of file qtokensource_p.h.

129 : type(t) {}

◆ Token() [3/3]

QPatternist::TokenSource::Token::Token ( const TokenType  t,
const QString val 
)
inline

Definition at line 130 of file qtokensource_p.h.

Functions

◆ hasError()

bool QPatternist::TokenSource::Token::hasError ( ) const
inline

Properties

◆ type

TokenType QPatternist::TokenSource::Token::type

◆ value

QString QPatternist::TokenSource::Token::value

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