branch | RCL_3 |
changeset 8 | 3f74d0d4af4c |
parent 4 | 3b1da2848fc7 |
child 30 | 5dc02b23752f |
6:dee5afe5301f | 8:3f74d0d4af4c |
---|---|
114 }; |
114 }; |
115 |
115 |
116 struct PropertyDef |
116 struct PropertyDef |
117 { |
117 { |
118 PropertyDef():notifyId(-1), constant(false), final(false), gspec(ValueSpec){} |
118 PropertyDef():notifyId(-1), constant(false), final(false), gspec(ValueSpec){} |
119 QByteArray name, type, read, write, reset, designable, scriptable, editable, stored, user, notify; |
119 QByteArray name, type, read, write, reset, designable, scriptable, editable, stored, user, notify, inPrivateClass; |
120 int notifyId; |
120 int notifyId; |
121 bool constant; |
121 bool constant; |
122 bool final; |
122 bool final; |
123 enum Specification { ValueSpec, ReferenceSpec, PointerSpec }; |
123 enum Specification { ValueSpec, ReferenceSpec, PointerSpec }; |
124 Specification gspec; |
124 Specification gspec; |
215 bool parseMaybeFunction(const ClassDef *cdef, FunctionDef *def); |
215 bool parseMaybeFunction(const ClassDef *cdef, FunctionDef *def); |
216 |
216 |
217 void parseSlots(ClassDef *def, FunctionDef::Access access); |
217 void parseSlots(ClassDef *def, FunctionDef::Access access); |
218 void parseSignals(ClassDef *def); |
218 void parseSignals(ClassDef *def); |
219 void parseProperty(ClassDef *def); |
219 void parseProperty(ClassDef *def); |
220 void createPropertyDef(PropertyDef &def); |
|
220 void parseEnumOrFlag(ClassDef *def, bool isFlag); |
221 void parseEnumOrFlag(ClassDef *def, bool isFlag); |
221 void parseFlag(ClassDef *def); |
222 void parseFlag(ClassDef *def); |
222 void parseClassInfo(ClassDef *def); |
223 void parseClassInfo(ClassDef *def); |
223 void parseInterfaces(ClassDef *def); |
224 void parseInterfaces(ClassDef *def); |
224 void parseDeclareInterface(); |
225 void parseDeclareInterface(); |
225 void parseDeclareMetatype(); |
226 void parseDeclareMetatype(); |
226 void parseSlotInPrivate(ClassDef *def, FunctionDef::Access access); |
227 void parseSlotInPrivate(ClassDef *def, FunctionDef::Access access); |
228 void parsePrivateProperty(ClassDef *def); |
|
227 |
229 |
228 void parseFunctionArguments(FunctionDef *def); |
230 void parseFunctionArguments(FunctionDef *def); |
229 |
231 |
230 QByteArray lexemUntil(Token); |
232 QByteArray lexemUntil(Token); |
231 bool until(Token); |
233 bool until(Token); |