3#ifndef QQMLJSGLOBAL_P_H
4#define QQMLJSGLOBAL_P_H
17#include <QtCore/private/qglobal_p.h>
20# if defined(QT_BUILD_QML_LIB)
21# define QML_PARSER_EXPORT Q_DECL_EXPORT
23# define QML_PARSER_EXPORT Q_DECL_IMPORT
26# define QML_PARSER_EXPORT
friend size_t qHash(const SourceLocation &location, size_t seed=0)
SourceLocation startZeroLengthLocation() const
friend bool operator!=(const SourceLocation &a, const SourceLocation &b)
static quint32 offsetFrom(QStringView text, quint32 line, quint32 column, const SourceLocation &startHint=SourceLocation{})
friend SourceLocation combine(const SourceLocation &l1, const SourceLocation &l2)
static SourceLocation fromQSizeType(qsizetype offset, qsizetype length=0, qsizetype line=0, qsizetype column=0)
SourceLocation(quint32 offset=0, quint32 length=0, quint32 line=0, quint32 column=0)
SourceLocation endZeroLengthLocation(QStringView text) const
friend bool operator==(const SourceLocation &a, const SourceLocation &b)
static std::pair< quint32, quint32 > rowAndColumnFrom(QStringView text, quint32 offset, const SourceLocation &startHint=SourceLocation{})
FunctionExpression * asAnonymousFunctionDefinition(Node *n)
T lastListElement(T head)
ClassExpression * asAnonymousClassDefinition(Node *n)
Combined button and popup list for selecting options.
#define QQMLJS_DECLARE_AST_NODE(name)
#define QQmlJSASTUiClassListToVisit
#define QQmlJSASTQQmlJSClassListToVisit
#define QQmlJSASTClassListToVisit
#define QML_PARSER_EXPORT
bool contains(const QString &name) const
int indexOf(const QString &name, int from=0) const