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::Pragma Struct Reference

#include <qqmlirbuilder_p.h>

+ Collaboration diagram for QmlIR::Pragma:

Public Types

enum  PragmaType {
  Singleton , Strict , ListPropertyAssignBehavior , ComponentBehavior ,
  FunctionSignatureBehavior , NativeMethodBehavior , ValueTypeBehavior , Translator
}
 
enum  ListPropertyAssignBehaviorValue { Append , Replace , ReplaceIfNotDefault }
 
enum  ComponentBehaviorValue { Unbound , Bound }
 
enum  FunctionSignatureBehaviorValue { Ignored , Enforced }
 
enum  NativeMethodBehaviorValue { AcceptThisObject , RejectThisObject }
 
enum  ValueTypeBehaviorValue { Copy = 0x1 , Addressable = 0x2 }
 

Public Member Functions

 Q_DECLARE_FLAGS (ValueTypeBehaviorValues, ValueTypeBehaviorValue)
 

Public Attributes

PragmaType type
 
union { 
 
   ListPropertyAssignBehaviorValue   listPropertyAssignBehavior 
 
   ComponentBehaviorValue   componentBehavior 
 
   FunctionSignatureBehaviorValue   functionSignatureBehavior 
 
   NativeMethodBehaviorValue   nativeMethodBehavior 
 
   ValueTypeBehaviorValues::Int   valueTypeBehavior 
 
   uint   translationContextIndex 
 
};  
 
QV4::CompiledData::Location location
 

Detailed Description

Definition at line 403 of file qqmlirbuilder_p.h.

Member Enumeration Documentation

◆ ComponentBehaviorValue

Enumerator
Unbound 
Bound 

Definition at line 424 of file qqmlirbuilder_p.h.

◆ FunctionSignatureBehaviorValue

Enumerator
Ignored 
Enforced 

Definition at line 430 of file qqmlirbuilder_p.h.

◆ ListPropertyAssignBehaviorValue

Enumerator
Append 
Replace 
ReplaceIfNotDefault 

Definition at line 417 of file qqmlirbuilder_p.h.

◆ NativeMethodBehaviorValue

Enumerator
AcceptThisObject 
RejectThisObject 

Definition at line 436 of file qqmlirbuilder_p.h.

◆ PragmaType

Enumerator
Singleton 
Strict 
ListPropertyAssignBehavior 
ComponentBehavior 
FunctionSignatureBehavior 
NativeMethodBehavior 
ValueTypeBehavior 
Translator 

Definition at line 405 of file qqmlirbuilder_p.h.

◆ ValueTypeBehaviorValue

Enumerator
Copy 
Addressable 

Definition at line 442 of file qqmlirbuilder_p.h.

Member Function Documentation

◆ Q_DECLARE_FLAGS()

QmlIR::Pragma::Q_DECLARE_FLAGS ( ValueTypeBehaviorValues ,
ValueTypeBehaviorValue  )

Member Data Documentation

◆ [union]

union { ... } QmlIR::Pragma

◆ componentBehavior

ComponentBehaviorValue QmlIR::Pragma::componentBehavior

Definition at line 453 of file qqmlirbuilder_p.h.

◆ functionSignatureBehavior

FunctionSignatureBehaviorValue QmlIR::Pragma::functionSignatureBehavior

Definition at line 454 of file qqmlirbuilder_p.h.

◆ listPropertyAssignBehavior

ListPropertyAssignBehaviorValue QmlIR::Pragma::listPropertyAssignBehavior

Definition at line 452 of file qqmlirbuilder_p.h.

◆ location

QV4::CompiledData::Location QmlIR::Pragma::location

Definition at line 460 of file qqmlirbuilder_p.h.

◆ nativeMethodBehavior

NativeMethodBehaviorValue QmlIR::Pragma::nativeMethodBehavior

Definition at line 455 of file qqmlirbuilder_p.h.

◆ translationContextIndex

uint QmlIR::Pragma::translationContextIndex

Definition at line 457 of file qqmlirbuilder_p.h.

◆ type

PragmaType QmlIR::Pragma::type

Definition at line 449 of file qqmlirbuilder_p.h.

◆ valueTypeBehavior

ValueTypeBehaviorValues::Int QmlIR::Pragma::valueTypeBehavior

Definition at line 456 of file qqmlirbuilder_p.h.


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