Qt 6.x
The Qt SDK
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 93 of file qv4compileddata_p.h.

Constructor & Destructor Documentation

◆ Location() [1/2]

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

Definition at line 95 of file qv4compileddata_p.h.

◆ Location() [2/2]

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

Definition at line 96 of file qv4compileddata_p.h.

References Q_ASSERT.

Member Function Documentation

◆ column()

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

Definition at line 127 of file qv4compileddata_p.h.

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

+ Here is the caller graph for this function:

◆ line()

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

Definition at line 126 of file qv4compileddata_p.h.

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

+ Here is the caller graph for this function:

◆ operator<()

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

Definition at line 104 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 120 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(), QmlIR::IRBuilder::visit(), 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 115 of file qv4compileddata_p.h.

◆ qHash

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

Definition at line 110 of file qv4compileddata_p.h.


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