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
PP_Expression Class Reference
Inheritance diagram for PP_Expression:
Collaboration diagram for PP_Expression:

Public Member Functions

int value ()
int conditional_expression ()
int logical_OR_expression ()
int logical_AND_expression ()
int inclusive_OR_expression ()
int exclusive_OR_expression ()
int AND_expression ()
int equality_expression ()
int relational_expression ()
int shift_expression ()
int additive_expression ()
int multiplicative_expression ()
int unary_expression ()
bool unary_expression_lookup ()
int primary_expression ()
bool primary_expression_lookup ()
int value ()
int conditional_expression ()
int logical_OR_expression ()
int logical_AND_expression ()
int inclusive_OR_expression ()
int exclusive_OR_expression ()
int AND_expression ()
int equality_expression ()
int relational_expression ()
int shift_expression ()
int additive_expression ()
int multiplicative_expression ()
int unary_expression ()
bool unary_expression_lookup ()
int primary_expression ()
bool primary_expression_lookup ()
Public Member Functions inherited from Parser
bool hasNext () const
Token next ()
Token peek ()
bool test (Token)
void next (Token)
void next (Token, const char *msg)
void prev ()
Token lookup (int k=1)
const Symbolsymbol_lookup (int k=1)
Token token ()
QByteArray lexem ()
QByteArray unquotedLexem ()
QByteArrayView lexemView ()
QByteArrayView unquotedLexemView ()
const Symbolsymbol ()
const SymbolsymbolAt (qsizetype idx)
Q_NORETURN void error (const Symbol &symbol)
Q_NORETURN void error (const char *msg=nullptr)
Q_NORETURN void error (const Symbol &symbol, const char *msg)
void warning (const char *=nullptr)
void warning (const Symbol &sym, QByteArrayView msg)
void note (const char *=nullptr)
void defaultErrorMsg (const Symbol &sym)
void printMsg (QByteArrayView formatStringSuffix, QByteArrayView msg, const Symbol &sym)
 Parser (const QString &provider)
void addIncludeDirs (const QStringList &list)
QString resolveInclude (const QString &filename)
void addIncludesRecursive (const QString &filename, QStringList &includes)
QStringList findEnumValues (const QString &name, const QStringList &includes)
void parseParamReplace (const QString &data, qsizetype offset, const QString &name)
void parseInstrument (const QString &data, qsizetype offset)
void parsePoint (const QString &data, qsizetype offset)
void parsePrefix (const QString &data, qsizetype offset)
void parseMetadata (const QString &data, qsizetype offset, const QStringList &includes)
int lineNumber (qsizetype offset) const
void parse (QIODevice &input, const QString &name)
void write (QIODevice &input) const
bool isEmpty () const

Additional Inherited Members

Public Attributes inherited from Parser
Symbols symbols
qsizetype index = 0
bool displayWarnings = true
bool displayNotes = true
bool activeQtMode = false
bool qmlMacroWarningIsFatal = false
QList< IncludePathincludes
std::stack< QByteArray, QByteArrayListcurrentFilenames
QList< Functionm_functions
QList< Pointm_points
QList< Replacem_replaces
QList< QStringm_prefixes
QList< QStringm_metadata
QList< LineNumberm_offsets
QList< QStringm_includeDirs
QString m_provider

Detailed Description

Definition at line 767 of file preprocessor.cpp.

Member Function Documentation

◆ additive_expression() [1/2]

int PP_Expression::additive_expression ( )

Definition at line 886 of file preprocessor.cpp.

References additive_expression(), and multiplicative_expression().

Referenced by additive_expression(), and shift_expression().

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

◆ additive_expression() [2/2]

int PP_Expression::additive_expression ( )

◆ AND_expression() [1/2]

int PP_Expression::AND_expression ( )

Definition at line 832 of file preprocessor.cpp.

References AND_expression(), and equality_expression().

Referenced by AND_expression(), and exclusive_OR_expression().

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

◆ AND_expression() [2/2]

int PP_Expression::AND_expression ( )

◆ conditional_expression() [1/2]

int PP_Expression::conditional_expression ( )

Definition at line 789 of file preprocessor.cpp.

References conditional_expression(), and logical_OR_expression().

Referenced by conditional_expression(), primary_expression(), and value().

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

◆ conditional_expression() [2/2]

int PP_Expression::conditional_expression ( )

◆ equality_expression() [1/2]

int PP_Expression::equality_expression ( )

Definition at line 840 of file preprocessor.cpp.

References equality_expression(), and relational_expression().

Referenced by AND_expression(), and equality_expression().

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

◆ equality_expression() [2/2]

int PP_Expression::equality_expression ( )

◆ exclusive_OR_expression() [1/2]

int PP_Expression::exclusive_OR_expression ( )

Definition at line 824 of file preprocessor.cpp.

References AND_expression(), and exclusive_OR_expression().

Referenced by exclusive_OR_expression(), and inclusive_OR_expression().

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

◆ exclusive_OR_expression() [2/2]

int PP_Expression::exclusive_OR_expression ( )

◆ inclusive_OR_expression() [1/2]

int PP_Expression::inclusive_OR_expression ( )

Definition at line 816 of file preprocessor.cpp.

References exclusive_OR_expression(), and inclusive_OR_expression().

Referenced by inclusive_OR_expression(), and logical_AND_expression().

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

◆ inclusive_OR_expression() [2/2]

int PP_Expression::inclusive_OR_expression ( )

◆ logical_AND_expression() [1/2]

int PP_Expression::logical_AND_expression ( )

Definition at line 808 of file preprocessor.cpp.

References inclusive_OR_expression(), and logical_AND_expression().

Referenced by logical_AND_expression(), and logical_OR_expression().

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

◆ logical_AND_expression() [2/2]

int PP_Expression::logical_AND_expression ( )

◆ logical_OR_expression() [1/2]

int PP_Expression::logical_OR_expression ( )

Definition at line 800 of file preprocessor.cpp.

References logical_AND_expression(), and logical_OR_expression().

Referenced by conditional_expression(), and logical_OR_expression().

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

◆ logical_OR_expression() [2/2]

int PP_Expression::logical_OR_expression ( )

◆ multiplicative_expression() [1/2]

int PP_Expression::multiplicative_expression ( )

Definition at line 900 of file preprocessor.cpp.

References multiplicative_expression(), and unary_expression().

Referenced by additive_expression(), and multiplicative_expression().

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

◆ multiplicative_expression() [2/2]

int PP_Expression::multiplicative_expression ( )

◆ primary_expression() [1/2]

int PP_Expression::primary_expression ( )

Definition at line 962 of file preprocessor.cpp.

References conditional_expression().

Referenced by unary_expression().

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

◆ primary_expression() [2/2]

int PP_Expression::primary_expression ( )

◆ primary_expression_lookup() [1/2]

bool PP_Expression::primary_expression_lookup ( )

Definition at line 978 of file preprocessor.cpp.

Referenced by unary_expression_lookup().

Here is the caller graph for this function:

◆ primary_expression_lookup() [2/2]

bool PP_Expression::primary_expression_lookup ( )

◆ relational_expression() [1/2]

int PP_Expression::relational_expression ( )

Definition at line 854 of file preprocessor.cpp.

References relational_expression(), and shift_expression().

Referenced by equality_expression(), and relational_expression().

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

◆ relational_expression() [2/2]

int PP_Expression::relational_expression ( )

◆ shift_expression() [1/2]

int PP_Expression::shift_expression ( )

Definition at line 872 of file preprocessor.cpp.

References additive_expression(), and shift_expression().

Referenced by relational_expression(), and shift_expression().

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

◆ shift_expression() [2/2]

int PP_Expression::shift_expression ( )

◆ unary_expression() [1/2]

int PP_Expression::unary_expression ( )

Definition at line 930 of file preprocessor.cpp.

References primary_expression(), and unary_expression().

Referenced by multiplicative_expression(), and unary_expression().

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

◆ unary_expression() [2/2]

int PP_Expression::unary_expression ( )

◆ unary_expression_lookup() [1/2]

bool PP_Expression::unary_expression_lookup ( )

Definition at line 951 of file preprocessor.cpp.

References primary_expression_lookup().

Referenced by value().

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

◆ unary_expression_lookup() [2/2]

bool PP_Expression::unary_expression_lookup ( )

◆ value() [1/2]

int PP_Expression::value ( )
inline

Definition at line 770 of file preprocessor.cpp.

References conditional_expression(), and unary_expression_lookup().

Referenced by Preprocessor::evaluateCondition().

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

◆ value() [2/2]

int PP_Expression::value ( )
inline

Definition at line 770 of file preprocessor.cpp.


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