15 QString functionParameters;
47 m_includeDirs.append(list);
53 void parseParamReplace(
const QString &data, qsizetype offset,
const QString &name);
55 void parsePoint(
const QString &data, qsizetype offset);
56 void parsePrefix(
const QString &data, qsizetype offset);
57 void parseMetadata(
const QString &data, qsizetype offset,
const QStringList &includes);
60 void parse(QIODevice &input,
const QString &name);
61 void write(QIODevice &input)
const;
64 return m_functions.isEmpty() && m_points.isEmpty();
QList< QString > m_metadata
int lineNumber(qsizetype offset) const
void addIncludesRecursive(const QString &filename, QStringList &includes)
void parseParamReplace(const QString &data, qsizetype offset, const QString &name)
void parse(QIODevice &input, const QString &name)
QList< QString > m_includeDirs
void parseMetadata(const QString &data, qsizetype offset, const QStringList &includes)
QList< Replace > m_replaces
void parsePrefix(const QString &data, qsizetype offset)
Parser(const QString &provider)
void write(QIODevice &input) const
QList< QString > m_prefixes
QString resolveInclude(const QString &filename)
void addIncludeDirs(const QStringList &list)
QStringList findEnumValues(const QString &name, const QStringList &includes)
void parseInstrument(const QString &data, qsizetype offset)
void parsePoint(const QString &data, qsizetype offset)
QList< Function > m_functions
QList< LineNumber > m_offsets
QT_FORWARD_DECLARE_CLASS(QTextStream)
void panic(const char *fmt,...)
static void removeOffsetRange(qsizetype begin, qsizetype end, QList< LineNumber > &offsets)
static void simplifyData(QString &data, QList< LineNumber > &offsets)
static void simplifyData(QString &data)
static QList< EnumNameValue > enumsToValues(const QStringList &values)
static bool findSpaceRange(const QString &data, qsizetype &offset, qsizetype &end)
static QString preprocessMetadata(const QString &in)
#define DEBUG_TRACEPOINTGEN