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::OutWriterState Class Reference

#include <qqmldomoutwriter_p.h>

+ Collaboration diagram for QQmlJS::Dom::OutWriterState:

Public Member Functions

 OutWriterState (const Path &itPath, const DomItem &it, const FileLocations::Tree &fLoc)
 
void closeState (OutWriter &)
 

Public Attributes

Path itemCanonicalPath
 
DomItem item
 
PendingSourceLocationId fullRegionId
 
FileLocations::Tree currentMap
 
QMap< FileLocationRegion, PendingSourceLocationIdpendingRegions
 
QMap< FileLocationRegion, CommentedElementpendingComments
 

Detailed Description

Definition at line 30 of file qqmldomoutwriter_p.h.

Constructor & Destructor Documentation

◆ OutWriterState()

QQmlJS::Dom::OutWriterState::OutWriterState ( const Path & itPath,
const DomItem & it,
const FileLocations::Tree & fLoc )

Definition at line 18 of file qqmldomoutwriter.cpp.

References it, and pendingComments.

Member Function Documentation

◆ closeState()

void QQmlJS::Dom::OutWriterState::closeState ( OutWriter & w)

Definition at line 27 of file qqmldomoutwriter.cpp.

References QMap< Key, T >::begin(), QQmlJS::Dom::DomItem::canonicalPath(), QMap< Key, T >::end(), fullRegionId, QMap< Key, T >::isEmpty(), it, item, QMap< Key, T >::keys(), QQmlJS::Dom::LineWriterOptions::Locations, pendingComments, pendingRegions, qCWarning, and QQmlJS::Dom::Path::toString().

+ Here is the call graph for this function:

Member Data Documentation

◆ currentMap

FileLocations::Tree QQmlJS::Dom::OutWriterState::currentMap

Definition at line 40 of file qqmldomoutwriter_p.h.

◆ fullRegionId

PendingSourceLocationId QQmlJS::Dom::OutWriterState::fullRegionId

Definition at line 39 of file qqmldomoutwriter_p.h.

Referenced by closeState().

◆ item

DomItem QQmlJS::Dom::OutWriterState::item

Definition at line 38 of file qqmldomoutwriter_p.h.

Referenced by closeState().

◆ itemCanonicalPath

Path QQmlJS::Dom::OutWriterState::itemCanonicalPath

Definition at line 37 of file qqmldomoutwriter_p.h.

◆ pendingComments

QMap<FileLocationRegion, CommentedElement> QQmlJS::Dom::OutWriterState::pendingComments

Definition at line 42 of file qqmldomoutwriter_p.h.

Referenced by OutWriterState(), and closeState().

◆ pendingRegions

QMap<FileLocationRegion, PendingSourceLocationId> QQmlJS::Dom::OutWriterState::pendingRegions

Definition at line 41 of file qqmldomoutwriter_p.h.

Referenced by closeState().


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