![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4compileddata_p.h>
Public Types | |
enum | Type : unsigned int { Type_Invalid , Type_Boolean , Type_Number , Type_String , Type_Null , Type_Translation , Type_TranslationById , Type_Script , Type_Object , Type_AttachedProperty , Type_GroupProperty } |
enum | Flag : unsigned int { IsSignalHandlerExpression = 0x1 , IsSignalHandlerObject = 0x2 , IsOnAssignment = 0x4 , InitializerForReadOnlyDeclaration = 0x8 , IsResolvedEnum = 0x10 , IsListItem = 0x20 , IsBindingToAlias = 0x40 , IsDeferredBinding = 0x80 , IsCustomParserBinding = 0x100 , IsFunctionExpression = 0x200 , IsPropertyObserver = 0x400 } |
using | FlagsField = quint32_le_bitfield_member<0, 16> |
using | TypeField = quint32_le_bitfield_member<16, 16> |
Public Member Functions | |
Q_DECLARE_FLAGS (Flags, Flag) | |
void | clearFlags () |
void | setFlag (Flag flag) |
bool | hasFlag (Flag flag) const |
Flags | flags () const |
void | setType (Type type) |
Type | type () const |
bool | hasSignalHandlerBindingFlag () const |
bool | isValueBinding () const |
bool | isValueBindingNoAlias () const |
bool | isValueBindingToAlias () const |
bool | isSignalHandler () const |
bool | isAttachedProperty () const |
bool | isGroupProperty () const |
bool | isFunctionExpression () const |
bool | isTranslationBinding () const |
bool | evaluatesToString () const |
bool | isNumberBinding () const |
bool | valueAsBoolean () const |
Static Public Member Functions | |
static QString | escapedString (const QString &string) |
Definition at line 547 of file qv4compileddata_p.h.
using QV4::CompiledData::Binding::FlagsField = quint32_le_bitfield_member<0, 16> |
Definition at line 580 of file qv4compileddata_p.h.
using QV4::CompiledData::Binding::TypeField = quint32_le_bitfield_member<16, 16> |
Definition at line 581 of file qv4compileddata_p.h.
enum QV4::CompiledData::Binding::Flag : unsigned int |
Definition at line 565 of file qv4compileddata_p.h.
enum QV4::CompiledData::Binding::Type : unsigned int |
Enumerator | |
---|---|
Type_Invalid | |
Type_Boolean | |
Type_Number | |
Type_String | |
Type_Null | |
Type_Translation | |
Type_TranslationById | |
Type_Script | |
Type_Object | |
Type_AttachedProperty | |
Type_GroupProperty |
Definition at line 551 of file qv4compileddata_p.h.
|
inline |
Definition at line 584 of file qv4compileddata_p.h.
Definition at line 663 of file qv4compileddata_p.h.
|
inline |
Definition at line 710 of file qv4compileddata_p.h.
References isTranslationBinding(), type(), and Type_String.
|
inline |
Definition at line 587 of file qv4compileddata_p.h.
|
inline |
Definition at line 586 of file qv4compileddata_p.h.
Referenced by isFunctionExpression(), isValueBindingNoAlias(), and isValueBindingToAlias().
|
inline |
Definition at line 605 of file qv4compileddata_p.h.
References IsPropertyObserver, IsSignalHandlerExpression, and IsSignalHandlerObject.
Referenced by isSignalHandler(), and isValueBinding().
|
inline |
Definition at line 638 of file qv4compileddata_p.h.
References isGroupProperty(), isSignalHandler(), isValueBinding(), type(), and Type_AttachedProperty.
Referenced by isGroupProperty(), and isSignalHandler().
|
inline |
Definition at line 660 of file qv4compileddata_p.h.
References hasFlag(), and IsFunctionExpression.
|
inline |
Definition at line 649 of file qv4compileddata_p.h.
References isAttachedProperty(), isSignalHandler(), isValueBinding(), type(), and Type_GroupProperty.
Referenced by isAttachedProperty(), and isSignalHandler().
|
inline |
Definition at line 712 of file qv4compileddata_p.h.
References type(), and Type_Number.
|
inline |
Definition at line 627 of file qv4compileddata_p.h.
References hasSignalHandlerBindingFlag(), isAttachedProperty(), isGroupProperty(), and isValueBinding().
Referenced by isAttachedProperty(), and isGroupProperty().
|
inline |
Definition at line 705 of file qv4compileddata_p.h.
References type(), Type_Translation, and Type_TranslationById.
Referenced by evaluatesToString().
|
inline |
Definition at line 613 of file qv4compileddata_p.h.
References hasSignalHandlerBindingFlag(), type(), Type_AttachedProperty, and Type_GroupProperty.
Referenced by isAttachedProperty(), isGroupProperty(), isSignalHandler(), isValueBindingNoAlias(), and isValueBindingToAlias().
|
inline |
Definition at line 624 of file qv4compileddata_p.h.
References hasFlag(), IsBindingToAlias, and isValueBinding().
|
inline |
Definition at line 625 of file qv4compileddata_p.h.
References hasFlag(), IsBindingToAlias, and isValueBinding().
Definition at line 585 of file qv4compileddata_p.h.
Definition at line 589 of file qv4compileddata_p.h.
|
inline |
Definition at line 590 of file qv4compileddata_p.h.
Referenced by QV4::CompiledData::CompilationUnit::bindingValueAsNumber(), QV4::CompiledData::CompilationUnit::bindingValueAsString(), evaluatesToString(), isAttachedProperty(), isGroupProperty(), isNumberBinding(), isTranslationBinding(), and isValueBinding().
|
inline |
Definition at line 714 of file qv4compileddata_p.h.
bool QV4::CompiledData::Binding::b |
Definition at line 593 of file qv4compileddata_p.h.
quint32_le QV4::CompiledData::Binding::compiledScriptIndex |
Definition at line 595 of file qv4compileddata_p.h.
quint32_le QV4::CompiledData::Binding::constantValueIndex |
Definition at line 594 of file qv4compileddata_p.h.
quint32_le_bitfield_union<FlagsField, TypeField> QV4::CompiledData::Binding::flagsAndType |
Definition at line 582 of file qv4compileddata_p.h.
Location QV4::CompiledData::Binding::location |
Definition at line 602 of file qv4compileddata_p.h.
quint32 QV4::CompiledData::Binding::nullMarker |
Definition at line 598 of file qv4compileddata_p.h.
quint32_le QV4::CompiledData::Binding::objectIndex |
Definition at line 596 of file qv4compileddata_p.h.
quint32_le QV4::CompiledData::Binding::propertyNameIndex |
Definition at line 549 of file qv4compileddata_p.h.
quint32_le QV4::CompiledData::Binding::stringIndex |
Definition at line 600 of file qv4compileddata_p.h.
quint32_le QV4::CompiledData::Binding::translationDataIndex |
Definition at line 597 of file qv4compileddata_p.h.
union { ... } QV4::CompiledData::Binding::value |
Location QV4::CompiledData::Binding::valueLocation |
Definition at line 603 of file qv4compileddata_p.h.