Flutter Engine
The Flutter Engine
|
#include <SkSLVarDeclarations.h>
Public Member Functions | |
GlobalVarDeclaration (std::unique_ptr< Statement > decl) | |
std::unique_ptr< Statement > & | declaration () |
const std::unique_ptr< Statement > & | declaration () const |
VarDeclaration & | varDeclaration () |
const VarDeclaration & | varDeclaration () const |
std::string | description () const override |
Public Member Functions inherited from SkSL::ProgramElement | |
ProgramElement (Position pos, Kind kind) | |
Kind | kind () const |
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::kGlobalVar |
Additional Inherited Members | |
Public Types inherited from SkSL::ProgramElement | |
using | Kind = ProgramElementKind |
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 variable declaration appearing at global scope. A global declaration like 'int x, y;' produces two GlobalVarDeclaration elements, each containing the declaration of one variable.
Definition at line 138 of file SkSLVarDeclarations.h.
|
inline |
Definition at line 142 of file SkSLVarDeclarations.h.
|
inline |
Definition at line 149 of file SkSLVarDeclarations.h.
|
inline |
Definition at line 153 of file SkSLVarDeclarations.h.
|
inlineoverridevirtual |
Implements SkSL::IRNode.
Definition at line 165 of file SkSLVarDeclarations.h.
|
inline |
Definition at line 157 of file SkSLVarDeclarations.h.
|
inline |
Definition at line 161 of file SkSLVarDeclarations.h.
|
inlinestaticconstexpr |
Definition at line 140 of file SkSLVarDeclarations.h.