Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QCss::Scanner Class Reference

#include <qcssparser_p.h>

+ Collaboration diagram for QCss::Scanner:

Static Public Member Functions

static QString preprocess (const QString &input, bool *hasEscapeSequences=nullptr)
 
static void scan (const QString &preprocessedInput, QList< Symbol > *symbols)
 

Detailed Description

Definition at line 715 of file qcssparser_p.h.

Member Function Documentation

◆ preprocess()

QString Scanner::preprocess ( const QString input,
bool *  hasEscapeSequences = nullptr 
)
static

Definition at line 2213 of file qcssparser.cpp.

References i, isHexDigit(), ok, output, and qMin().

Referenced by QCss::Parser::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ scan()

void Scanner::scan ( const QString preprocessedInput,
QList< Symbol > *  symbols 
)
static

Definition at line 2268 of file qcssparser.cpp.

References QList< T >::append(), QCssScanner_Generated::input, QCss::Symbol::len, QCssScanner_Generated::lex(), QCssScanner_Generated::lexemLength, QCssScanner_Generated::lexemStart, QCss::Symbol::start, QCss::Symbol::text, and QCss::Symbol::token.

Referenced by QCss::Parser::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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