Represents a location or region in the source code. 更多...
头: | #include <SourceLocation> |
Status: | Technical Preview |
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 |
Returns the offset of the beginning of this source location.
Returns the offset of the end of this source location.
Returns a source location of lenth zero pointing to the end of this source location pointing to text .
Returns the length of this source location.
Returns the offset of the beginning of this source location.
Returns the column number containing the beginning of this source location.
Returns the line number containing the beginning of this source location.
Returns a source location of lenth zero pointing to the beginning of this source location.