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

#include <object.h>

Public Member Functions

 NameFormattingParams (Object::NameVisibility visibility, Object::NameDisambiguation name_disambiguation=Object::NameDisambiguation::kNo)
 

Static Public Member Functions

static NameFormattingParams DisambiguatedWithoutClassName (Object::NameVisibility visibility)
 
static NameFormattingParams DisambiguatedUnqualified (Object::NameVisibility visibility)
 

Public Attributes

Object::NameVisibility name_visibility
 
bool disambiguate_names
 
bool include_class_name = true
 
bool include_parent_name = true
 

Detailed Description

Definition at line 2944 of file object.h.

Constructor & Destructor Documentation

◆ NameFormattingParams()

dart::NameFormattingParams::NameFormattingParams ( Object::NameVisibility  visibility,
Object::NameDisambiguation  name_disambiguation = Object::NameDisambiguation::kNo 
)
inline

Definition at line 2961 of file object.h.

2964 : name_visibility(visibility),
2965 disambiguate_names(name_disambiguation ==
Object::NameVisibility name_visibility
Definition: object.h:2945

Member Function Documentation

◆ DisambiguatedUnqualified()

static NameFormattingParams dart::NameFormattingParams::DisambiguatedUnqualified ( Object::NameVisibility  visibility)
inlinestatic

Definition at line 2975 of file object.h.

2976 {
2978 params.include_class_name = false;
2979 params.include_parent_name = false;
2980 return params;
2981 }
const EmbeddedViewParams * params
NameFormattingParams(Object::NameVisibility visibility, Object::NameDisambiguation name_disambiguation=Object::NameDisambiguation::kNo)
Definition: object.h:2961

◆ DisambiguatedWithoutClassName()

static NameFormattingParams dart::NameFormattingParams::DisambiguatedWithoutClassName ( Object::NameVisibility  visibility)
inlinestatic

Definition at line 2968 of file object.h.

2969 {
2971 params.include_class_name = false;
2972 return params;
2973 }

Member Data Documentation

◆ disambiguate_names

bool dart::NameFormattingParams::disambiguate_names

Definition at line 2946 of file object.h.

◆ include_class_name

bool dart::NameFormattingParams::include_class_name = true

Definition at line 2952 of file object.h.

◆ include_parent_name

bool dart::NameFormattingParams::include_parent_name = true

Definition at line 2959 of file object.h.

◆ name_visibility

Object::NameVisibility dart::NameFormattingParams::name_visibility

Definition at line 2945 of file object.h.


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