Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
utils.h File Reference

(0344332c769db98920c821652c6a6b3fa2502f72)

#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.

Referenced by is_identifier(), Moc::lexemUntil(), newState(), and Preprocessor::tokenize().

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.

Referenced by newState().

Here is the caller graph for this function:

◆ is_identifier()

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

Definition at line 35 of file utils.h.

References is_ident_char().

Here is the call graph for this function:

◆ is_space()

bool is_space ( char s)
inline

Definition at line 19 of file utils.h.

Referenced by cleaned().

Here is the caller graph for this function:

◆ 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: