Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJS::Dom::PendingSourceLocation Class Reference

#include <qqmldomlinewriter_p.h>

+ Collaboration diagram for QQmlJS::Dom::PendingSourceLocation:

Public Member Functions

quint32 utf16Start () const
 
quint32 utf16End () const
 
void changeAtOffset (quint32 offset, qint32 change, qint32 colChange, qint32 lineChange)
 
void commit ()
 

Public Attributes

PendingSourceLocationId id
 
SourceLocation value
 
SourceLocationtoUpdate = nullptr
 
std::function< void(SourceLocation)> updater = nullptr
 
bool open = true
 

Detailed Description

Definition at line 106 of file qqmldomlinewriter_p.h.

Member Function Documentation

◆ changeAtOffset()

void QQmlJS::Dom::PendingSourceLocation::changeAtOffset ( quint32  offset,
qint32  change,
qint32  colChange,
qint32  lineChange 
)

Definition at line 22 of file qqmldomlinewriter.cpp.

References c2, utf16End(), and utf16Start().

+ Here is the call graph for this function:

◆ commit()

void QQmlJS::Dom::PendingSourceLocation::commit ( )

Definition at line 45 of file qqmldomlinewriter.cpp.

References toUpdate, updater, and value.

◆ utf16End()

quint32 QQmlJS::Dom::PendingSourceLocation::utf16End ( ) const

Definition at line 17 of file qqmldomlinewriter.cpp.

Referenced by changeAtOffset().

+ Here is the caller graph for this function:

◆ utf16Start()

quint32 QQmlJS::Dom::PendingSourceLocation::utf16Start ( ) const

Definition at line 12 of file qqmldomlinewriter.cpp.

Referenced by changeAtOffset().

+ Here is the caller graph for this function:

Member Data Documentation

◆ id

PendingSourceLocationId QQmlJS::Dom::PendingSourceLocation::id

Definition at line 114 of file qqmldomlinewriter_p.h.

◆ open

bool QQmlJS::Dom::PendingSourceLocation::open = true

Definition at line 118 of file qqmldomlinewriter_p.h.

◆ toUpdate

SourceLocation* QQmlJS::Dom::PendingSourceLocation::toUpdate = nullptr

Definition at line 116 of file qqmldomlinewriter_p.h.

Referenced by commit().

◆ updater

std::function<void(SourceLocation)> QQmlJS::Dom::PendingSourceLocation::updater = nullptr

Definition at line 117 of file qqmldomlinewriter_p.h.

Referenced by commit().

◆ value

SourceLocation QQmlJS::Dom::PendingSourceLocation::value

Definition at line 115 of file qqmldomlinewriter_p.h.

Referenced by commit().


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