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
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 111 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

◆ open

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

Definition at line 123 of file qqmldomlinewriter_p.h.

◆ toUpdate

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

Definition at line 121 of file qqmldomlinewriter_p.h.

Referenced by commit().

◆ updater

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

Definition at line 122 of file qqmldomlinewriter_p.h.

Referenced by commit().

◆ value

SourceLocation QQmlJS::Dom::PendingSourceLocation::value

Definition at line 120 of file qqmldomlinewriter_p.h.

Referenced by commit().


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