Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
SkSL::ContinueStatement Class Referencefinal

#include <SkSLContinueStatement.h>

Inheritance diagram for SkSL::ContinueStatement:
SkSL::Statement SkSL::IRNode SkSL::Poolable

Public Member Functions

 ContinueStatement (Position pos)
 
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
 
IRNodeoperator= (const IRNode &)=delete
 
Position position () const
 
void setPosition (Position p)
 
template<typename T >
bool is () const
 
template<typename T >
const Tas () const
 
template<typename T >
Tas ()
 

Static Public Member Functions

static std::unique_ptr< StatementMake (Position pos)
 
- 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::kContinue
 

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
 

Detailed Description

A 'continue' statement.

Definition at line 19 of file SkSLContinueStatement.h.

Constructor & Destructor Documentation

◆ ContinueStatement()

SkSL::ContinueStatement::ContinueStatement ( Position  pos)
inline

Definition at line 23 of file SkSLContinueStatement.h.

24 : INHERITED(pos, kIRNodeKind) {}
SkPoint pos
static constexpr Kind kIRNodeKind

Member Function Documentation

◆ description()

std::string SkSL::ContinueStatement::description ( ) const
inlineoverridevirtual

Implements SkSL::IRNode.

Definition at line 30 of file SkSLContinueStatement.h.

30 {
31 return "continue;";
32 }

◆ Make()

static std::unique_ptr< Statement > SkSL::ContinueStatement::Make ( Position  pos)
inlinestatic

Definition at line 26 of file SkSLContinueStatement.h.

26 {
27 return std::make_unique<ContinueStatement>(pos);
28 }

Member Data Documentation

◆ kIRNodeKind

constexpr Kind SkSL::ContinueStatement::kIRNodeKind = Kind::kContinue
inlinestaticconstexpr

Definition at line 21 of file SkSLContinueStatement.h.


The documentation for this class was generated from the following file: