Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QmlIR::Binding Struct Reference

#include <qqmlirbuilder_p.h>

+ Inheritance diagram for QmlIR::Binding:
+ Collaboration diagram for QmlIR::Binding:

Public Attributes

quint32 offset
 
Bindingnext
 
- Public Attributes inherited from QV4::CompiledData::Binding
quint32_le propertyNameIndex
 
quint32_le_bitfield_union< FlagsField, TypeFieldflagsAndType
 
union { 
 
   bool   b 
 
   quint32_le   constantValueIndex 
 
   quint32_le   compiledScriptIndex 
 
   quint32_le   objectIndex 
 
   quint32_le   translationDataIndex 
 
   quint32   nullMarker 
 
value 
 
quint32_le stringIndex
 
Location location
 
Location valueLocation
 

Additional Inherited Members

- Public Types inherited from QV4::CompiledData::Binding
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 inherited from QV4::CompiledData::Binding
 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 inherited from QV4::CompiledData::Binding
static QString escapedString (const QString &string)
 

Detailed Description

Definition at line 258 of file qqmlirbuilder_p.h.

Member Data Documentation

◆ next

◆ offset


The documentation for this struct was generated from the following file: