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
QQmlLSUtilsLocation Struct Reference

#include <qqmllsutils_p.h>

+ Collaboration diagram for QQmlLSUtilsLocation:

Static Public Member Functions

static QQmlLSUtilsLocation from (const QString &fileName, const QString &code, quint32 startLine, quint32 startCharacter, quint32 length)
 

Public Attributes

QString filename
 
QQmlJS::SourceLocation sourceLocation
 

Friends

bool operator< (const QQmlLSUtilsLocation &a, const QQmlLSUtilsLocation &b)
 
bool operator== (const QQmlLSUtilsLocation &a, const QQmlLSUtilsLocation &b)
 

Detailed Description

Definition at line 72 of file qqmllsutils_p.h.

Member Function Documentation

◆ from()

QQmlLSUtilsLocation QQmlLSUtilsLocation::from ( const QString & fileName,
const QString & code,
quint32 startLine,
quint32 startCharacter,
quint32 length )
static

Definition at line 2113 of file qqmllsutils.cpp.

References fileName, and QQmlLSUtils::textOffsetFrom().

Referenced by QQmlLSUtilsEdit::from().

+ 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 QQmlLSUtilsLocation & a,
const QQmlLSUtilsLocation & b )
friend

Definition at line 80 of file qqmllsutils_p.h.

◆ operator==

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

Definition at line 85 of file qqmllsutils_p.h.

Member Data Documentation

◆ filename

QString QQmlLSUtilsLocation::filename

Definition at line 74 of file qqmllsutils_p.h.

Referenced by locationFromDomItem().

◆ sourceLocation

QQmlJS::SourceLocation QQmlLSUtilsLocation::sourceLocation

Definition at line 75 of file qqmllsutils_p.h.

Referenced by QQmlLSUtils::findTypeDefinitionOf().


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