SourceLocation Class
class QQmlSA::SourceLocationソースコード内の位置または領域を表します。詳細...
ヘッダー | #include <SourceLocation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
ステータス | テクニカルプレビュー |
パブリック関数
quint32 | begin() const |
quint32 | end() const |
QQmlSA::SourceLocation | endZeroLengthLocation(QStringView text) const |
quint32 | length() const |
quint32 | offset() const |
quint32 | startColumn() const |
quint32 | startLine() const |
QQmlSA::SourceLocation | startZeroLengthLocation() const |
メンバ関数の説明
quint32 SourceLocation::begin() const
このソース位置の先頭のオフセットを返します。
quint32 SourceLocation::end() const
このソース位置の終端のオフセットを返します。
QQmlSA::SourceLocation SourceLocation::endZeroLengthLocation(QStringView text) const
text を指すこのソース位置の終端を指す、長さゼロのソース位置を返す。
quint32 SourceLocation::length() const
このソース位置の長さを返します。
quint32 SourceLocation::offset() const
このソース位置の先頭のオフセットを返します。
quint32 SourceLocation::startColumn() const
このソース位置の先頭を含む列番号を返します。
quint32 SourceLocation::startLine() const
このソース位置の先頭を含む行番号を返します。
QQmlSA::SourceLocation SourceLocation::startZeroLengthLocation() const
このソース位置の先頭を指す長さ 0 のソース位置を返します。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.