Flutter Engine
The Flutter Engine
|
#include <SkSLSwitchCase.h>
Public Member Functions | |
bool | isDefault () const |
SKSL_INT | value () const |
std::unique_ptr< Statement > & | statement () |
const std::unique_ptr< Statement > & | statement () const |
std::string | description () const override |
Public Member Functions inherited from SkSL::Statement | |
Statement (Position pos, Kind kind) | |
Kind | kind () const |
virtual bool | isEmpty () 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 Member Functions | |
static std::unique_ptr< SwitchCase > | Make (Position pos, SKSL_INT value, std::unique_ptr< Statement > statement) |
static std::unique_ptr< SwitchCase > | MakeDefault (Position pos, std::unique_ptr< Statement > statement) |
Static Public Member Functions inherited from SkSL::Poolable | |
static void * | operator new (const size_t size) |
static void | operator delete (void *ptr) |
Static Public Attributes | |
static constexpr Kind | kIRNodeKind = Kind::kSwitchCase |
Additional Inherited Members | |
Public Types inherited from SkSL::Statement | |
using | Kind = StatementKind |
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 single case of a 'switch' statement.
Definition at line 26 of file SkSLSwitchCase.h.
|
overridevirtual |
Implements SkSL::IRNode.
Definition at line 25 of file SkSLSwitchCase.cpp.
|
inline |
Definition at line 37 of file SkSLSwitchCase.h.
|
static |
Definition at line 12 of file SkSLSwitchCase.cpp.
|
static |
Definition at line 19 of file SkSLSwitchCase.cpp.
|
inline |
Definition at line 46 of file SkSLSwitchCase.h.
|
inline |
Definition at line 50 of file SkSLSwitchCase.h.
|
inline |
Definition at line 41 of file SkSLSwitchCase.h.
|
inlinestaticconstexpr |
Definition at line 28 of file SkSLSwitchCase.h.