Flutter Engine
The Flutter Engine
|
#include <SkSLSymbol.h>
Public Types | |
using | Kind = SymbolKind |
Public Member Functions | |
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 () |
Additional Inherited Members | |
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 |
Represents a symbol table entry.
Definition at line 27 of file SkSLSymbol.h.
using SkSL::Symbol::Kind = SymbolKind |
Definition at line 29 of file SkSLSymbol.h.
|
inline |
Definition at line 31 of file SkSLSymbol.h.
|
inlineoverride |
Definition at line 38 of file SkSLSymbol.h.
std::unique_ptr< Expression > SkSL::Symbol::instantiate | ( | const Context & | context, |
Position | pos | ||
) | const |
Definition at line 24 of file SkSLSymbol.cpp.
|
inline |
Definition at line 47 of file SkSLSymbol.h.
|
inline |
Definition at line 51 of file SkSLSymbol.h.
|
inline |
Don't call this directly–use SymbolTable::renameSymbol instead!
Definition at line 58 of file SkSLSymbol.h.
|
inline |
Definition at line 42 of file SkSLSymbol.h.