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

#include <qqmldomscanner_p.h>

+ Collaboration diagram for QQmlJS::Dom::Scanner:

Classes

struct  State
 

Public Member Functions

QList< Tokenoperator() (QStringView text, const State &startState)
 
State state () const
 

Detailed Description

Definition at line 76 of file qqmldomscanner_p.h.

Member Function Documentation

◆ operator()()

QList< Token > Scanner::operator() ( QStringView text,
const State & startState )

Definition at line 394 of file qqmldomscanner.cpp.

References addLexToken(), QQmlJS::Lexer::Continue, QString::endsWith(), QQmlJS::Lexer::lex(), line, QQmlJS::Lexer::LineByLine, QQmlJS::Dom::Scanner::State::regexpMightFollow, QQmlJS::Lexer::setCode(), QQmlJS::Lexer::setState(), QQmlJS::Lexer::state(), QQmlJS::Dom::Scanner::State::state, and text.

+ Here is the call graph for this function:

◆ state()

Scanner::State Scanner::state ( ) const

Definition at line 417 of file qqmldomscanner.cpp.

Referenced by QQmlJS::Dom::FormatPartialStatus::FormatPartialStatus(), and QQmlJS::Dom::Scanner::State::isMultilineComment().

+ Here is the caller graph for this function:

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