![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Namespaces | |
| namespace | QmlFormat |
Functions | |
| static QLatin1StringView | QmlFormat::detectNewLine (QStringView code) |
| static quint32 | QmlFormat::findLineStartOffset (QStringView m_code, qsizetype pos, QLatin1StringView newLine) |
| static quint32 | QmlFormat::findDirectiveEndOffset (QStringView m_code, qsizetype offsetoffset, QLatin1StringView newLine) |
| static QQmlJS::SourceLocation | QmlFormat::formRegion (QStringView code, const QQmlJS::SourceLocation &off, const QQmlJS::SourceLocation &on, QLatin1StringView newline) |
| static QStringView | QmlFormat::commentLineFromLoc (QStringView code, const QQmlJS::SourceLocation &loc, QLatin1StringView newline) |
| DisabledRegions | QmlFormat::identifyDisabledRegions (QStringView code, const QList< QQmlJS::SourceLocation > &comments) |
| std::optional< Directive > | QmlFormat::directiveFromComment (QStringView commentLine) |
Variables | |
| static constexpr auto | QmlFormat::directive = QLatin1StringView("qmlformat") |
| static constexpr auto | QmlFormat::onCmd = QLatin1StringView("on") |
| static constexpr auto | QmlFormat::offCmd = QLatin1StringView("off") |
| static constexpr auto | QmlFormat::commentStartString = QLatin1StringView("//") |