Flutter Engine
The Flutter Engine
|
#include <SkSLReturnStatement.h>
Public Member Functions | |
ReturnStatement (Position pos, std::unique_ptr< Expression > expression) | |
std::unique_ptr< Expression > & | expression () |
const std::unique_ptr< Expression > & | expression () const |
void | setExpression (std::unique_ptr< Expression > expr) |
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< Statement > | Make (Position pos, std::unique_ptr< Expression > expression) |
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::kReturn |
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 'return' statement.
Definition at line 19 of file SkSLReturnStatement.h.
|
inline |
Definition at line 23 of file SkSLReturnStatement.h.
|
inlineoverridevirtual |
Implements SkSL::IRNode.
Definition at line 43 of file SkSLReturnStatement.h.
|
inline |
Definition at line 31 of file SkSLReturnStatement.h.
|
inline |
Definition at line 35 of file SkSLReturnStatement.h.
|
inlinestatic |
Definition at line 27 of file SkSLReturnStatement.h.
|
inline |
Definition at line 39 of file SkSLReturnStatement.h.
|
inlinestaticconstexpr |
Definition at line 21 of file SkSLReturnStatement.h.