Flutter Engine
The Flutter Engine
|
#include <SkSLFieldSymbol.h>
Public Member Functions | |
FieldSymbol (Position pos, const Variable *owner, int fieldIndex) | |
int | fieldIndex () const |
const Variable & | owner () const |
std::string | description () const override |
Public Member Functions inherited from SkSL::Symbol | |
Symbol (Position pos, Kind kind, std::string_view name, const Type *type=nullptr) | |
~Symbol () override | |
std::unique_ptr< Expression > | instantiate (const Context &context, Position pos) const |
const Type & | type () const |
Kind | kind () const |
std::string_view | name () const |
void | setName (std::string_view newName) |
Public Member Functions inherited from SkSL::IRNode | |
virtual | ~IRNode () |
virtual std::string | description () const =0 |
IRNode (const IRNode &)=delete | |
IRNode & | operator= (const IRNode &)=delete |
Position | position () const |
void | setPosition (Position p) |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | as () const |
template<typename T > | |
T & | as () |
Static Public Attributes | |
static constexpr Kind | kIRNodeKind = Kind::kField |
Additional Inherited Members | |
Public Types inherited from SkSL::Symbol | |
using | Kind = SymbolKind |
Static Public Member Functions inherited from SkSL::Poolable | |
static void * | operator new (const size_t size) |
static void | operator delete (void *ptr) |
Public Attributes inherited from SkSL::IRNode | |
Position | fPosition |
Protected Member Functions inherited from SkSL::IRNode | |
IRNode (Position position, int kind) | |
Protected Attributes inherited from SkSL::IRNode | |
int | fKind |
A symbol which should be interpreted as a field access. Fields are added to the symboltable whenever a bare reference to an identifier should refer to a struct field; in GLSL, this is the result of declaring anonymous interface blocks.
Definition at line 23 of file SkSLFieldSymbol.h.
Definition at line 27 of file SkSLFieldSymbol.h.
|
inlineoverridevirtual |
Implements SkSL::IRNode.
Definition at line 41 of file SkSLFieldSymbol.h.
|
inline |
Definition at line 33 of file SkSLFieldSymbol.h.
|
inline |
Definition at line 37 of file SkSLFieldSymbol.h.
|
inlinestaticconstexpr |
Definition at line 25 of file SkSLFieldSymbol.h.