42 #ifndef QDECLARATIVEPARSER_P_H 43 #define QDECLARATIVEPARSER_P_H 58 #include <QtCore/qbytearray.h> 59 #include <QtCore/qlist.h> 60 #include <QtCore/qurl.h> 61 #include <QtCore/qstring.h> 62 #include <QtCore/qstringlist.h> 64 #include <private/qobject_p.h> 65 #include <private/qdeclarativerefcount_p.h> 66 #include <private/qdeclarativeglobal_p.h> 146 void setBindingBit(
int);
170 void addAttachedProperty(
Property *);
171 void addGroupedProperty(
Property *);
172 void addValueTypeProperty(
Property *);
173 void addScriptStringProperty(
Property *,
int = 0);
197 int parserStatusCast;
203 DynamicProperty(
const DynamicProperty &);
205 enum Type {
Variant, Int, Bool, Real,
String, Url,
Color, Time, Date, DateTime, Alias, Custom, CustomList };
265 bool isStringList()
const;
267 bool asBoolean()
const;
269 double asNumber()
const;
313 QString primitive()
const {
return value.isString() ? value.asString() : value.asScript(); }
334 void addValue(
Value *v);
335 void addOnValue(
Value *v);
381 #endif // QDECLARATIVEPARSER_P_H
QList< Property * > attachedProperties
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
QList< int > listCommaPositions
The QByteArray class provides an array of bytes.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
QList< Property * > valueProperties
Property * defaultProperty
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
QList< QByteArray > parameterNames
LocationRange listValueRange
QAbstractDynamicMetaObject extObject
QDeclarativePropertyCache * synthCache
QList< QByteArray > parameterTypes
const QMetaObject * metatype
#define QT_BEGIN_NAMESPACE
This macro expands to.
QList< DynamicSlot > dynamicSlots
static QString getValue(const QAInterface &interface)
static bool isEmpty(const char *str)
QByteArray bindingBitmask
QList< DynamicProperty > dynamicProperties
QList< QPair< Property *, int > > scriptStringProperties
The QStringList class provides a list of strings.
QList< DynamicSignal > dynamicSignals
QString primitive() const
QList< Property * > signalProperties
QDeclarativeJS::AST::Node * n
#define Q_DECLARATIVE_EXPORT
bool operator<(LocationSpan &o) const
QList< Property * > groupedProperties
QList< Property * > valueTypeProperties
QList< QByteArray > parameterNames
static QTestResult::TestLocation location
bool isValueTypeSubProperty
Q_DECLARE_OPERATORS_FOR_FLAGS(QDeclarativeParser::Object::ScriptBlock::Pragmas)
The QList class is a template class that provides lists.
QHash< QByteArray, Property * > properties
QList< Value * > onValues
QDeclarativeParser::Property * defaultValue