Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
utils.h File Reference
#include <QtCore/qglobal.h>
#include <private/qtools_p.h>
#include <algorithm>
+ Include dependency graph for utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE bool is_whitespace (char s)
 
bool is_space (char s)
 
bool is_ident_start (char s)
 
bool is_ident_char (char s)
 
bool is_identifier (const char *s, qsizetype len)
 
const char * skipQuote (const char *data)
 

Function Documentation

◆ is_ident_char()

bool is_ident_char ( char  s)
inline

Definition at line 30 of file utils.h.

References QtMiscUtils::isAsciiLetterOrNumber().

Referenced by is_identifier().

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

◆ is_ident_start()

bool is_ident_start ( char  s)
inline

Definition at line 24 of file utils.h.

◆ is_identifier()

bool is_identifier ( const char *  s,
qsizetype  len 
)
inline

Definition at line 35 of file utils.h.

References is_ident_char().

Referenced by Preprocessor::parseDefineArguments().

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

◆ is_space()

bool is_space ( char  s)
inline

Definition at line 19 of file utils.h.

◆ is_whitespace()

QT_BEGIN_NAMESPACE bool is_whitespace ( char  s)
inline

Definition at line 14 of file utils.h.

◆ skipQuote()

const char * skipQuote ( const char *  data)
inline

Definition at line 42 of file utils.h.

Referenced by Preprocessor::tokenize().

+ Here is the caller graph for this function: