Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
src
sksl
ir
SkSLContinueStatement.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef SKSL_CONTINUESTATEMENT
9
#define SKSL_CONTINUESTATEMENT
10
11
#include "
src/sksl/ir/SkSLExpression.h
"
12
#include "
src/sksl/ir/SkSLStatement.h
"
13
14
namespace
SkSL
{
15
16
/**
17
* A 'continue' statement.
18
*/
19
class
ContinueStatement
final :
public
Statement
{
20
public
:
21
inline
static
constexpr
Kind
kIRNodeKind
= Kind::kContinue;
22
23
ContinueStatement
(
Position
pos
)
24
:
INHERITED
(
pos
,
kIRNodeKind
) {}
25
26
static
std::unique_ptr<Statement>
Make
(
Position
pos
) {
27
return
std::make_unique<ContinueStatement>(
pos
);
28
}
29
30
std::string
description
()
const override
{
31
return
"continue;"
;
32
}
33
34
private
:
35
using
INHERITED =
Statement
;
36
};
37
38
}
// namespace SkSL
39
40
#endif
pos
SkPoint pos
Definition
ImageShaderTest.cpp:27
SkSLExpression.h
SkSLStatement.h
SkSL::ContinueStatement
Definition
SkSLContinueStatement.h:19
SkSL::ContinueStatement::description
std::string description() const override
Definition
SkSLContinueStatement.h:30
SkSL::ContinueStatement::Make
static std::unique_ptr< Statement > Make(Position pos)
Definition
SkSLContinueStatement.h:26
SkSL::ContinueStatement::kIRNodeKind
static constexpr Kind kIRNodeKind
Definition
SkSLContinueStatement.h:21
SkSL::ContinueStatement::ContinueStatement
ContinueStatement(Position pos)
Definition
SkSLContinueStatement.h:23
SkSL::Position
Definition
SkSLPosition.h:18
SkSL::Statement
Definition
SkSLStatement.h:19
SkSL
Definition
SkCapabilities.h:15
SkSL::StatementKind
StatementKind
Definition
SkSLIRNode.h:43
Generated on Fri Apr 26 2024 06:17:31 for Flutter Engine by
1.9.8