Qt 4.8
Public Functions | Properties | List of all members
QPatternist::ReflectYYLTYPE Class Reference
Inheritance diagram for QPatternist::ReflectYYLTYPE:
QPatternist::SourceLocationReflection

Public Functions

virtual const SourceLocationReflectionactualReflection () const
 
virtual QString description () const
 
 ReflectYYLTYPE (const YYLTYPE &sourceLocator, const ParserContext *const pi)
 
virtual QSourceLocation sourceLocation () const
 
- Public Functions inherited from QPatternist::SourceLocationReflection
 SourceLocationReflection ()
 
virtual ~SourceLocationReflection ()
 

Properties

const ParserContext *const m_parseInfo
 
const YYLTYPEm_sl
 

Detailed Description

Definition at line 317 of file qquerytransformparser.cpp.

Constructors and Destructors

◆ ReflectYYLTYPE()

QPatternist::ReflectYYLTYPE::ReflectYYLTYPE ( const YYLTYPE sourceLocator,
const ParserContext *const  pi 
)
inline

Definition at line 320 of file qquerytransformparser.cpp.

321  : m_sl(sourceLocator)
322  , m_parseInfo(pi)
323  {
324  }
const ParserContext *const m_parseInfo

Functions

◆ actualReflection()

virtual const SourceLocationReflection* QPatternist::ReflectYYLTYPE::actualReflection ( ) const
inlinevirtual

Implements QPatternist::SourceLocationReflection.

Definition at line 326 of file qquerytransformparser.cpp.

327  {
328  return this;
329  }

◆ description()

virtual QString QPatternist::ReflectYYLTYPE::description ( ) const
inlinevirtual

A description of what represents the source code location, for human consumption. Must be translated, as appropriate.

Reimplemented from QPatternist::SourceLocationReflection.

Definition at line 336 of file qquerytransformparser.cpp.

337  {
338  Q_ASSERT(false);
339  return QString();
340  }
The QString class provides a Unicode character string.
Definition: qstring.h:83
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

◆ sourceLocation()

virtual QSourceLocation QPatternist::ReflectYYLTYPE::sourceLocation ( ) const
inlinevirtual

Reimplemented from QPatternist::SourceLocationReflection.

Definition at line 331 of file qquerytransformparser.cpp.

332  {
333  return fromYYLTYPE(m_sl, m_parseInfo);
334  }
const ParserContext *const m_parseInfo
static QSourceLocation fromYYLTYPE(const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)

Properties

◆ m_parseInfo

const ParserContext* const QPatternist::ReflectYYLTYPE::m_parseInfo
private

Definition at line 344 of file qquerytransformparser.cpp.

Referenced by sourceLocation().

◆ m_sl

const YYLTYPE& QPatternist::ReflectYYLTYPE::m_sl
private

Definition at line 343 of file qquerytransformparser.cpp.

Referenced by sourceLocation().


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