Flutter Engine
The Flutter Engine
|
#include <SkSLForStatement.h>
Public Member Functions | |
ForStatement (Position pos, ForLoopPositions forLoopPositions, std::unique_ptr< Statement > initializer, std::unique_ptr< Expression > test, std::unique_ptr< Expression > next, std::unique_ptr< Statement > statement, std::unique_ptr< LoopUnrollInfo > unrollInfo, std::unique_ptr< SymbolTable > symbols) | |
ForLoopPositions | forLoopPositions () const |
std::unique_ptr< Statement > & | initializer () |
const std::unique_ptr< Statement > & | initializer () const |
std::unique_ptr< Expression > & | test () |
const std::unique_ptr< Expression > & | test () const |
std::unique_ptr< Expression > & | next () |
const std::unique_ptr< Expression > & | next () const |
std::unique_ptr< Statement > & | statement () |
const std::unique_ptr< Statement > & | statement () const |
SymbolTable * | symbols () const |
const LoopUnrollInfo * | unrollInfo () 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 () |
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 > | Convert (const Context &context, Position pos, ForLoopPositions forLoopPositions, std::unique_ptr< Statement > initializer, std::unique_ptr< Expression > test, std::unique_ptr< Expression > next, std::unique_ptr< Statement > statement, std::unique_ptr< SymbolTable > symbolTable) |
static std::unique_ptr< Statement > | ConvertWhile (const Context &context, Position pos, std::unique_ptr< Expression > test, std::unique_ptr< Statement > statement) |
static std::unique_ptr< Statement > | Make (const Context &context, Position pos, ForLoopPositions forLoopPositions, std::unique_ptr< Statement > initializer, std::unique_ptr< Expression > test, std::unique_ptr< Expression > next, std::unique_ptr< Statement > statement, std::unique_ptr< LoopUnrollInfo > unrollInfo, std::unique_ptr< SymbolTable > symbolTable) |
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::kFor |
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 'for' statement.
Definition at line 39 of file SkSLForStatement.h.
|
inline |
Definition at line 43 of file SkSLForStatement.h.
|
static |
Definition at line 102 of file SkSLForStatement.cpp.
|
static |
Definition at line 189 of file SkSLForStatement.cpp.
|
overridevirtual |
Implements SkSL::IRNode.
Definition at line 51 of file SkSLForStatement.cpp.
|
inline |
Definition at line 87 of file SkSLForStatement.h.
|
inline |
Definition at line 91 of file SkSLForStatement.h.
|
inline |
Definition at line 95 of file SkSLForStatement.h.
|
static |
Definition at line 207 of file SkSLForStatement.cpp.
|
inline |
Definition at line 107 of file SkSLForStatement.h.
|
inline |
Definition at line 111 of file SkSLForStatement.h.
|
inline |
Definition at line 115 of file SkSLForStatement.h.
|
inline |
Definition at line 119 of file SkSLForStatement.h.
|
inline |
Definition at line 123 of file SkSLForStatement.h.
|
inline |
Definition at line 99 of file SkSLForStatement.h.
|
inline |
Definition at line 103 of file SkSLForStatement.h.
|
inline |
Loop-unroll information is only supported in strict-ES2 code. Null is returned in ES3+.
Definition at line 128 of file SkSLForStatement.h.
|
inlinestaticconstexpr |
Definition at line 41 of file SkSLForStatement.h.