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

#include <qqmldomlinewriter_p.h>

+ Collaboration diagram for QQmlJS::Dom::IndentInfo:

Public Member Functions

 IndentInfo (QStringView line, int tabSize, int initialColumn=0)
 

Public Attributes

QStringView string
 
QStringView trailingString
 
int nNewlines = 0
 
int column = 0
 

Detailed Description

Definition at line 31 of file qqmldomlinewriter_p.h.

Constructor & Destructor Documentation

◆ IndentInfo()

QQmlJS::Dom::IndentInfo::IndentInfo ( QStringView line,
int tabSize,
int initialColumn = 0 )
inline

Definition at line 39 of file qqmldomlinewriter_p.h.

References i, line, QString::mid(), nNewlines, QString::size(), and trailingString.

+ Here is the call graph for this function:

Member Data Documentation

◆ column

int QQmlJS::Dom::IndentInfo::column = 0

◆ nNewlines

int QQmlJS::Dom::IndentInfo::nNewlines = 0

Definition at line 36 of file qqmldomlinewriter_p.h.

Referenced by IndentInfo(), and QQmlJS::Dom::LineWriter::ensureSpace().

◆ string

QStringView QQmlJS::Dom::IndentInfo::string

Definition at line 34 of file qqmldomlinewriter_p.h.

◆ trailingString

QStringView QQmlJS::Dom::IndentInfo::trailingString

Definition at line 35 of file qqmldomlinewriter_p.h.

Referenced by IndentInfo(), and QQmlJS::Dom::LineWriter::ensureSpace().


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