Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::CompiledData::Location Struct Reference

#include <qv4compileddata_p.h>

+ Collaboration diagram for QV4::CompiledData::Location:

Public Member Functions

 Location ()
 
 Location (quint32 l, quint32 c)
 
bool operator< (const Location &other) const
 
void set (quint32 line, quint32 column)
 
quint32 line () const
 
quint32 column () const
 

Friends

size_t qHash (const Location &location, size_t seed=0)
 
bool operator== (const Location &a, const Location &b)
 

Detailed Description

Definition at line 113 of file qv4compileddata_p.h.

Constructor & Destructor Documentation

◆ Location() [1/2]

QV4::CompiledData::Location::Location ( )
inline

Definition at line 115 of file qv4compileddata_p.h.

◆ Location() [2/2]

QV4::CompiledData::Location::Location ( quint32 l,
quint32 c )
inline

Definition at line 116 of file qv4compileddata_p.h.

References Q_ASSERT.

Member Function Documentation

◆ column()

quint32 QV4::CompiledData::Location::column ( ) const
inline

Definition at line 147 of file qv4compileddata_p.h.

Referenced by QQmlTypeLoader::Blob::dependencyComplete(), QQmlScriptBlob::done(), QQmlTypeData::done(), QmlIR::Object::init(), set(), QV4::Function::sourceLocation(), and QQmlTranslationBindingFromBinding::sourceLocation().

+ Here is the caller graph for this function:

◆ line()

quint32 QV4::CompiledData::Location::line ( ) const
inline

Definition at line 146 of file qv4compileddata_p.h.

Referenced by createBinding(), QQmlTypeLoader::Blob::dependencyComplete(), QQmlScriptBlob::done(), QQmlTypeData::done(), QmlIR::Object::init(), QmlIR::IRBuilder::sanityCheckFunctionNames(), set(), QV4::Function::sourceLocation(), and QQmlTranslationBindingFromBinding::sourceLocation().

+ Here is the caller graph for this function:

◆ operator<()

bool QV4::CompiledData::Location::operator< ( const Location & other) const
inline

Definition at line 124 of file qv4compileddata_p.h.

References other().

+ Here is the call graph for this function:

◆ set()

void QV4::CompiledData::Location::set ( quint32 line,
quint32 column )
inline

Definition at line 140 of file qv4compileddata_p.h.

References column(), and line().

Referenced by QmlIR::IRBuilder::appendAlias(), QmlIR::IRBuilder::appendBinding(), QmlIR::IRBuilder::appendBinding(), QmlIR::IRBuilder::resolveQualifiedId(), QmlIR::IRBuilder::setBindingValue(), QmlIR::IRBuilder::setId(), and QmlIR::IRBuilder::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const Location & a,
const Location & b )
friend

Definition at line 135 of file qv4compileddata_p.h.

◆ qHash

size_t qHash ( const Location & location,
size_t seed = 0 )
friend

Definition at line 130 of file qv4compileddata_p.h.


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