BackwardsScanner Class
(CPlusPlus::BackwardsScanner)Public Functions
| BackwardsScanner(const QTextCursor &cursor, const LanguageFeatures &languageFeatures, int maxBlockCount = MAX_BLOCK_COUNT, const QString &suffix = QString(), bool skipComments = true) | |
| Token | LA(int index) const |
| QString | indentationString(int index) const |
| QString | mid(int index) const |
| int | size() const |
| int | startOfBlock(int index) const |
| int | startOfLine(int index) const |
| int | startOfMatchingBrace(int index) const |
| int | startPosition() const |
| int | startToken() const |
| QString | text() const |
| QString | text(int index) const |
| QStringRef | textRef(int index) const |
| Token | operator[](int index) const |
Static Public Members
| int | previousBlockState(const QTextBlock &block) |
Member Function Documentation
BackwardsScanner::BackwardsScanner(const QTextCursor &cursor, const LanguageFeatures &languageFeatures, int maxBlockCount = MAX_BLOCK_COUNT, const QString &suffix = QString(), bool skipComments = true)
Default constructs an instance of BackwardsScanner.