17#include <private/qtools_p.h>
115 QByteArray name,
type,
member,
read,
write,
bind,
reset,
designable,
scriptable,
stored,
user,
notify,
inPrivateClass;
291 if (
type.endsWith(
'&')) {
292 if (
type.endsWith(
"&&"))
void checkSuperClasses(ClassDef *def)
bool parseEnum(EnumDef *def)
void parseProperty(ClassDef *def, PropertyMode mode)
QByteArray lexemUntil(Token)
EncounteredQmlMacro parseClassInfo(BaseDef *def)
QList< QByteArray > includeFiles
bool requireCompleteTypes
QHash< QByteArray, QByteArray > knownQObjectClasses
void createPropertyDef(PropertyDef &def, int propertyIndex, PropertyMode mode)
bool parseClassHead(ClassDef *def)
void parsePrivateProperty(ClassDef *def, PropertyMode mode)
void parseFlag(BaseDef *def)
void parseSignals(ClassDef *def)
void parseDeclareMetatype()
void parsePropertyAttributes(PropertyDef &propDef)
void parseInterfaces(ClassDef *def)
bool testFunctionRevision(FunctionDef *def)
bool testFunctionAttribute(FunctionDef *def)
void prependNamespaces(BaseDef &def, const QList< NamespaceDef > &namespaceList) const
QHash< QByteArray, QByteArray > knownGadgets
QList< QByteArray > metaTypes
bool parseFunction(FunctionDef *def, bool inMacro=false)
QByteArray parsePropertyAccessor()
QMap< QString, QJsonArray > metaArgs
bool testForFunctionModifiers(FunctionDef *def)
void parseSlots(ClassDef *def, FunctionDef::Access access)
void parseDeclareInterface()
void checkListSizes(const ClassDef &def)
QTypeRevision parseRevision()
QList< QString > parsedPluginMetadataFiles
bool parseMaybeFunction(const ClassDef *cdef, FunctionDef *def)
void checkProperties(ClassDef *cdef)
void parseFunctionArguments(FunctionDef *def)
void parseSlotInPrivate(ClassDef *def, FunctionDef::Access access)
bool inClass(const ClassDef *def) const
void parsePluginData(ClassDef *def)
void generate(FILE *out, FILE *jsonOutput)
QMap< QByteArray, QByteArray > interface2IdMap
bool inNamespace(const NamespaceDef *def) const
QList< ClassDef > classList
void parseEnumOrFlag(BaseDef *def, bool isFlag)
QByteArray left(qsizetype len) const
Returns a byte array that contains the first len bytes of this byte array.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
QByteArray noRef(const QByteArray &type)
Combined button and popup list for selecting options.
constexpr char toAsciiUpper(char ch) noexcept
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
QTextStream out(stdout)
[7]
QByteArray normalizedType
QJsonObject toJson() const
QByteArray typeNameForCast
QMap< QByteArray, QByteArray > flagAliases
QMap< QByteArray, bool > enumDeclarations
QList< ClassInfoDef > classInfoList
QList< EnumDef > enumList
Interface(const QByteArray &_className)
QMap< QString, QJsonArray > metaArgs
QList< QList< Interface > > interfaceList
QList< FunctionDef > publicList
QList< FunctionDef > methodList
QList< PropertyDef > propertyList
QList< FunctionDef > constructorList
bool requireCompleteMethodTypes
QList< QPair< QByteArray, FunctionDef::Access > > superclassList
QList< FunctionDef > slotList
QList< FunctionDef > signalList
struct ClassDef::PluginData pluginData
QJsonObject toJson() const
QList< QByteArray > nonClassSignalList
QByteArray qualifiedType(const ClassDef *cdef) const
QJsonObject toJson(const ClassDef &cdef) const
QList< QByteArray > values
QByteArray normalizedType
QJsonObject toJson() const
static void accessToJson(QJsonObject *obj, Access acs)
QByteArray inPrivateClass
QList< ArgumentDef > arguments
bool returnTypeIsVolatile
QByteArray inPrivateClass
QJsonObject toJson() const
Type(const QByteArray &_name)
ReferenceType referenceType