Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SkSL::Field Struct Reference

#include <SkSLType.h>

Public Member Functions

 Field (Position pos, Layout layout, ModifierFlags flags, std::string_view name, const Type *type)
 
std::string description () const
 

Public Attributes

Position fPosition
 
Layout fLayout
 
ModifierFlags fModifierFlags
 
std::string_view fName
 
const TypefType
 

Detailed Description

Represents a single field in a struct type.

Definition at line 74 of file SkSLType.h.

Constructor & Destructor Documentation

◆ Field()

SkSL::Field::Field ( Position  pos,
Layout  layout,
ModifierFlags  flags,
std::string_view  name,
const Type type 
)
inline

Definition at line 75 of file SkSLType.h.

76 : fPosition(pos)
77 , fLayout(layout)
79 , fName(name)
80 , fType(type) {}
SkPoint pos
FlutterSemanticsFlag flags
const char * name
Definition fuchsia.cc:50
Layout fLayout
Definition SkSLType.h:85
std::string_view fName
Definition SkSLType.h:87
Position fPosition
Definition SkSLType.h:84
const Type * fType
Definition SkSLType.h:88
ModifierFlags fModifierFlags
Definition SkSLType.h:86

Member Function Documentation

◆ description()

std::string SkSL::Field::description ( ) const

Definition at line 1357 of file SkSLType.cpp.

1357 {
1359 ' ' + std::string(fName) + ';';
1360}
std::string paddedDescription() const
std::string displayName() const
Definition SkSLType.h:234
std::string paddedDescription() const

Member Data Documentation

◆ fLayout

Layout SkSL::Field::fLayout

Definition at line 85 of file SkSLType.h.

◆ fModifierFlags

ModifierFlags SkSL::Field::fModifierFlags

Definition at line 86 of file SkSLType.h.

◆ fName

std::string_view SkSL::Field::fName

Definition at line 87 of file SkSLType.h.

◆ fPosition

Position SkSL::Field::fPosition

Definition at line 84 of file SkSLType.h.

◆ fType

const Type* SkSL::Field::fType

Definition at line 88 of file SkSLType.h.


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