Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
dart::kernel::ProcedureAttributesMetadata Struct Reference

#include <kernel_translation_helper.h>

Public Member Functions

void InitializeFromFlags (uint8_t flags)
 

Public Attributes

bool method_or_setter_called_dynamically = true
 
bool getter_called_dynamically = true
 
bool has_this_uses = true
 
bool has_non_this_uses = true
 
bool has_tearoff_uses = true
 
int32_t method_or_setter_selector_id = kInvalidSelectorId
 
int32_t getter_selector_id = kInvalidSelectorId
 

Static Public Attributes

static constexpr int32_t kInvalidSelectorId = 0
 

Detailed Description

Definition at line 1092 of file kernel_translation_helper.h.

Member Function Documentation

◆ InitializeFromFlags()

void dart::kernel::ProcedureAttributesMetadata::InitializeFromFlags ( uint8_t  flags)

Definition at line 1918 of file kernel_translation_helper.cc.

1918 {
1919 const int kMethodOrSetterCalledDynamicallyBit = 1 << 0;
1920 const int kNonThisUsesBit = 1 << 1;
1921 const int kTearOffUsesBit = 1 << 2;
1922 const int kThisUsesBit = 1 << 3;
1923 const int kGetterCalledDynamicallyBit = 1 << 4;
1924
1926 (flags & kMethodOrSetterCalledDynamicallyBit) != 0;
1927 getter_called_dynamically = (flags & kGetterCalledDynamicallyBit) != 0;
1928 has_this_uses = (flags & kThisUsesBit) != 0;
1929 has_non_this_uses = (flags & kNonThisUsesBit) != 0;
1930 has_tearoff_uses = (flags & kTearOffUsesBit) != 0;
1931}
FlutterSemanticsFlag flags

Member Data Documentation

◆ getter_called_dynamically

bool dart::kernel::ProcedureAttributesMetadata::getter_called_dynamically = true

Definition at line 1096 of file kernel_translation_helper.h.

◆ getter_selector_id

int32_t dart::kernel::ProcedureAttributesMetadata::getter_selector_id = kInvalidSelectorId

Definition at line 1101 of file kernel_translation_helper.h.

◆ has_non_this_uses

bool dart::kernel::ProcedureAttributesMetadata::has_non_this_uses = true

Definition at line 1098 of file kernel_translation_helper.h.

◆ has_tearoff_uses

bool dart::kernel::ProcedureAttributesMetadata::has_tearoff_uses = true

Definition at line 1099 of file kernel_translation_helper.h.

◆ has_this_uses

bool dart::kernel::ProcedureAttributesMetadata::has_this_uses = true

Definition at line 1097 of file kernel_translation_helper.h.

◆ kInvalidSelectorId

constexpr int32_t dart::kernel::ProcedureAttributesMetadata::kInvalidSelectorId = 0
staticconstexpr

Definition at line 1093 of file kernel_translation_helper.h.

◆ method_or_setter_called_dynamically

bool dart::kernel::ProcedureAttributesMetadata::method_or_setter_called_dynamically = true

Definition at line 1095 of file kernel_translation_helper.h.

◆ method_or_setter_selector_id

int32_t dart::kernel::ProcedureAttributesMetadata::method_or_setter_selector_id = kInvalidSelectorId

Definition at line 1100 of file kernel_translation_helper.h.


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